Abstract

The study is aimed at solving the security problems caused by malicious network attacks in human resource management in the development of smart cities. First, the Stackelberg game theory model is used to describe the interaction between intelligent sensors and intelligent jammers, and the security of the information physics system is effectively evaluated. Second, a denoise autoencoder machine model that can be used in human resource management with demographic information is proposed to ensure the security of intelligent sensors. Finally, its performance is simulated and analyzed. The results show that the more packets successfully arrive at the estimator, the more favorable the estimation effect of the estimator is. The designed defense strategy is very effective in protecting the security of intelligent sensors. When the number of nearest neighbor increases, MAE of four datasets first decreases and then tends to be stable. With the increase of , MAE of the algorithm proposed decreases from 0.8232 to 0.8095, 0.8086 to 0.7897, and 0.8563 to 0.8351, respectively. It decreases from 1.0169 to 1.0091 and then keeps stable. The recommendation algorithm proposed shows high accuracy in rating prediction and can quickly and effectively extract the hidden features of users and adjust the sparsity of data. Therefore, it can be applied to human resource management. This study provides a new idea for the research on the security of intelligent sensors and human resource management in the development of smart cities.

1. Introduction

In recent years, sensor technology has developed rapidly, and many computer-based information systems are established by using sensor networks. And there is no exception for the system used to develop smart cities. The system has greatly promoted urban construction and economic development. With the progress of the development of smart cities, urban infrastructure is expanded, the mobile Internet is gradually mature, and the development of smart cities is increasingly dependent on the Internet of Things (IoT) and cloud computing and other technologies, causing the problem of the information security [13].

The model for the development of smart cities changes the information service model of all parties in the city, which inevitably brings major changes to the concept of urban service. In this case, information security is becoming more and more important, and how to realize information sharing in the development of smart cities receives much attention from all walks of life [46]. The coordination and integration of information play a great role in protecting the information, and they can promote the sustainable development of smart cities [7]. The basic elements for the development of smart cities include intelligent technology, intelligent industry, intelligent service, intelligent management, and intelligent life [8]. IoT is used to install sensors and connect them to the Internet through specific information exchange and communication protocols to achieve intelligent identification, positioning, tracking, monitoring, and management [9, 10]. With the technical support of IoT, smart cities should have three characteristics, namely, instrumentation, interconnection, and intelligence. In this way, smart cities can be developed by integrating all these intelligent functions with the development of IoT [11]. The explosive growth of smart cities and IoT applications post many scientific and engineering challenges that require creative research from academia and industry, especially on developing efficient, scalable, and reliable smart cities based on IoT [12, 13]. And new protocols, architectures, and services are urgently needed to overcome these challenges.

In the development of smart cities, the network will pose a threat to the security of the information physics system, and the intelligent jammer will destroy the communication channel, which will cause data loss or error in the information physics system. Therefore, it is necessary to explore the security of the intelligent sensor.

The innovation is to solve the security problems caused by malicious network attacks in human resource management. The Stackelberg game theory model is used to describe the interactive decisions between intelligent sensors and intelligent jammers, so that the security of the physical information system is effectively evaluated. In the case of human resource security, a human resource security model can be integrated into human resource security management. This research provides a new idea for the research on the safety performance of intelligent sensors and human resource management in smart cities.

2. Literature Review

2.1. Research Status of the Safety of Intelligent Sensors in the Development of Smart Cities

Intelligent sensors play important roles in the development of smart cities. Ballard et al. [14] used the reverse design method and machine learning to redesign the data acquisition hardware to “lock” the best sensing data according to the cost function defined by the user or the design constraint, and a new computational sensing system is proposed. The system can relieve the burden of data and improve their sensing ability. Through iterative analysis of the sensing results driven by data, the low-cost and compact sensors are obtained. In urban development, the construction of smart cities has attracted the attention of the government and society. In the promoting of urban intelligence, intelligent lighting of urban roads has been the research focus of the construction and development of smart cities, and the studies on lighting sources and their control methods have made great achievements. Wu et al. [15] studied the software of the intelligent sensing robot system based on multidata fusion and proposed a path based on the ant colony algorithm for high precision and fast response of the robot. Path planning is carried out by the intelligent robot for obstacle avoidance, and the global optimization is carried out by the ant colony optimization algorithm. The safest and shortest path of the adaptive function, including obstacle reduction and path length, is finally obtained by using the ant colony optimization algorithm. Wang et al. [16] proposed an efficient and intelligent data fusion algorithm by reasonably combining the artificial neural network (ANN), genetic algorithm (GA), and particle swarm optimization algorithm (PSOA) to lengthen the use time of the network. In the implementation of the algorithm, wireless sensors are used as the neurons in the neural network, ANN extracts the data collected by the sensors, and the number of the data sent to the base station or sink node is reduced by additional data fusion based on clustering routing. The development system of smart cities is aimed at achieving seamless and secure interconnection of sensors, actuators, and data processing resources to ensure digital, efficient, and reliable services. Habibzadeh et al. [17] overviewed the architecture of the developing system of smart cities by introducing its application, sensing, communication, data, and security/privacy planes. Customizing existing communication protocols and infrastructure to connect large-scale deployed sensors and data processing/storage resources brings communication challenges for the development of smart cities.

2.2. Research Status of Human Resource Management

Dual strategies are increasingly used by more relevant organizations in the international market to improve their abilities for exploration and development. However, their flexible working modes bring new challenges to the current human resource management. Ferraris et al. [18] pointed out that the enterprise human resource management system focuses on providing incentives and development capabilities for the management of smart cities. For the projects, the interconnected exploratory and developmental human resource management systems provide customized management tools to support social integration and knowledge management between internal and external employees. Liu et al. [19] realized the optimal configuration of enterprise management of human resources, improved the efficiency of the optimal configuration model in the adaptive neural network based on Field Programmable Gate Array (FPGA) in mining and controlling the information of enterprise human resources, and realized the multifunctional configuration of enterprise human resources. Turner et al. [20] investigated five kinds of human resource management practices: systematic selection, extensive training, performance evaluation, high relative remuneration, and delegation of authority when predicting the injury rate. Roundy and Burke-Smalley [21] proposed a human resource management model for the entrepreneurial ecosystem. Theoretically, it is believed that people in the ecosystem should jointly manage the human resources of the entrepreneurial community. The economic rent theory explains how to encourage people in the entrepreneurial ecosystem and adopt the method of metaorganization human resource management, thereby coordinating talent acquisition, learning, development, performance management, reward, and retention. Amrutha and Geetha [22] analyzed the current situation and research gaps according to the literature on green human resource management. They figured out specific activities to realize the sustainable development of the organization and society. They also conducted content coding and cluster analysis. The results show that there are three clusters in the implementation of green human resource management, namely, green human resource management practices, employees’ green behavior at workplaces, and the organization’s sustainable development. And further analysis shows that social sustainability is studied less than economic and environmental sustainability.

In summary, a good combination of ANN, GA, and PSOA can extend the network’s life. However, there are also some shortcomings. For example, there is still little research on the collaborative research of human resource management and the security performance of intelligent sensors. Since smart sensors play an essential role in smart cities, it is necessary to explore the security of intelligent sensors. The Stackelberg game theory model is used to describe the interactive decisions between intelligent sensors and jammers and solve the security problems caused by malicious network attacks, so that the security of the physical information system is effectively evaluated. Based on the security performance of intelligent sensors, an improved collaborative filtering algorithm is used to discuss human resource management.

3. Materials and Methods

3.1. Security Estimation of the State-Coupled Information Physical System under Intelligent Interference Attacks

The application of intelligent sensors in the human resource department can help human resource specialists perform almost all their responsibilities, such as recruiting, monitoring, or paying employees. The human resource team can use networking equipment to monitor and track the health status of employees. Wearable devices can collect various data, such as food intake, walking distance, and important data of employees. Based on the data collected, human resource specialists can find out the root causes of some health problems and take appropriate measures to avoid them. Staff’s safety can be ensured using intelligent sensors. For example, IoT sensors can monitor the pressure in natural gas pipelines to avoid any leakage due to excessive pressure. The human resource specialists use IoT sensors to track employees’ attendance and make payroll. They can also attach radio frequency identification (RFID) tags with sensors to employee badges, including the employees’ information and their absence. The application of intelligent sensors in human resource management provides human resource specialists with many benefits, but some network security threats also accompany these benefits.

In the development of smart cities, the intelligent interference attacks will pose a threat to the security of the information physics system, and the intelligent jammer will destroy the communication channel, making the data in the information physics system lost or incorrect. Intelligent sensors are very important in maintaining network security and avoiding cyber-attacks, so it is necessary to study the security of intelligent sensors in the network [23]. The Stackelberg game theory model is used to describe the interaction between intelligent sensors and intelligent jammers, and the security of information physics systems is effectively evaluated.

Intelligent sensors send the local state estimation to the estimator along the communication channel, and they may be attacked by the intelligent jammer in the process. If the intelligent sensor is a defender, it knows that it may be attacked by the intelligent jammer and has obtained all the information related to the intelligent jamming. The security functions of the intelligent sensor and the intelligent jammer are designed. Both of them want to maximize their benefits. In this case, the intelligent sensor plays the role of a leader, so that it can gain the best power transmission strategy, and the intelligent jammer becomes a follower [2426]. Therefore, when the system is attacked by the jammer, the maximum benefit of the optimal response strategy against the intelligent jammer can be calculated by the following equation:

When the intelligent sensor knows that there is intelligent interference in advance, the following equation can be used to maximize the benefit:

In equation (2), is the transmission power of the -th intelligent sensor, is the attack power of the -th intelligent sensor by the intelligent jammer, is the unit transmission power of the intelligent sensor, is the unit transmission power of the intelligent jammer, is the noise, and and are the gain of energy transmission. The values of the above parameters are greater than 0.

The signal-to-noise ratio (SNR) and bit error rate (BER) should be known to analyze the communication state of the channel, and they can be calculated by the following equations:

and are SNR and BER in the communication channel of the -th intelligent sensor, respectively.

The functions and can be calculated by:

and are the data transmission rate and bandwidth of the communication channel of the -th intelligent sensor, respectively. The packet loss rate of the -th communication channel is calculated by:

represents that there are bits data and 1 bits check code in the packet.

The equilibrium solutions of the intelligent sensor and the intelligent jammer in the Stackelberg game are obtained to optimize the results of the solution, and strategy pairs are calculated by:

is the noise, and and are the gains of energy transmission, respectively. is the unit transmission power of the intelligent sensor, and is the unit transmission power of the intelligent interference.

The information physics system includes three nodes. The model of the system is implemented by the following equations:

In the above equations, symbolizes the -th node, stands for the -th node, represents the state value, is the observation value of the -th intelligent sensor, and is the coupling relationship between the established nodes in the system.

The coupling relationship between the nodes is studied by numerical simulation, and represents the three subsystems. The corresponding parameters of the three subsystems are as follows: can be -0.6, -0.6, and -0.55, respectively. is 1; can be 0.8, 0.9, and 1, respectively; can be 0.5, 0.6, and 0.4, respectively; can be 0.25, 0.4, and 0.1, respectively; can be 0.1, 0.1, and 0.2, respectively; and are set as 1; can be 5.4, 7.9, and 10, respectively; can be 1, 1, and 3, respectively.

3.2. Collaborative Filtering Recommendation Algorithm for the Tag Weight of the Denoise Autoencoder
3.2.1. Collaborative Filtering Recommendation Algorithm Based on Deep Learning

Since it has good scalability and is easy to use, the collaborative filtering recommendation algorithm is widely used in the e-commerce commodity trade of the Internet of Things (IoT), and it also can be applied to human resource management, such as the ITU recruitment and Boss direct recruitment. It can be used to optimize the human resource information management system, by which the work efficiency of the human resource department is improved [27, 28]. Collaborative algorithms mainly include model-based collaborative algorithms and memory-based collaborative algorithms, as shown in Figure 1.

The proposed algorithm can improve the autoencoder’s performance based on deep learning. Its working principle is to use the autoencoder to reduce the noise in the user’s learning process and add demographic information to assist the learning in the training process. And the tag weight of a set of items registered by the user is calculated according to the TF-IDF (term frequency-inverse document frequency), and then, a weight matrix is constructed. Finally, the two similarities are weighted to obtain a new similarity. The calculation process of the algorithm is shown in Figure 2.

3.2.2. Denoising Autoencoder with Demographic Information

Demographic information includes gender, age, graduated universities, hobbies, etc. These variables are discontinuous and nonlinear. If Qu is a demographic information matrix, the feature information will be quantified when Qu is constructed. The data need to be standardized to extract users’ features easily. The -score algorithm is used, and its equation is

represents the average of all user vectors, σ represents the standard deviation of all user data, and represents the normalized vector.

The denoise autoencoder is used to learn the hidden features of users. That is, noise is added to the input layer, and the values of some nodes in the input layer are set to 0 according to a certain proportion. The final training results are improved by reconstructing errors and predicting the error in back propagation. The loss function is calculated by the following equation:

represents the set of input data after noise is added, is the dataset that has been graded, is the output results trained by the denoise autoencoder, is the prediction error coefficient, and β is the reconstruction error coefficient. is a regular term, and it is used to prevent overfitting in the training process [29]. The structure shown in Figure 3 is combined with the network structure and the weight of the tag with the demographic information, so that the hidden layer, the output layer, and the preprocessed demographic information are fully connected. The calculation equation is as follows:

is the demographic information of each user, is the user’s rating vector, and , , , and are the network training parameters of the autoencoder.

3.2.3. Calculation of Users’ Similarities and the Prediction of Ratings

The cosine similarity equation is used to calculate the similarity between the user’s implicit feature vectors learned by the autoencoder. The calculation equation is as follows:

is the feature vector of user learned by the autoencoder, and is the feature vector of user .

The similarity between the user’s tag weight matrices is calculated as follows:

is the label weight matrix of user , and is the label weight matrix of user .

Then, the two similarities are weighted, and the equation used is as follows:

In equation (17), represents the equilibrium coefficient. When , it means that the similarity is calculated only according to the user’s feature vector. When , it means that the user similarity is calculated based on the tag weight. For different datasets, the values of α are selected differently.

According to the optimized similarity, nearest neighbor users of the target users can be obtained, and the ratings of the users are predicted. The calculation equation is as follows:

and are the average scores of and for each item, is the true score from other users for item , and is the nearest users of user .

The datasets used in this experiment are the MovieLens 1M dataset, book-crossing dataset, MovieLens 100k dataset, and electronic product dataset in the Amazon dataset. Their sparsity has been calculated before the experiment, and it is high. Three different types of data are used for experiments, and they are described as follows:

The first dataset is about movies and is provided by the GroupLens team of the University of Minnesota. Among them, MovieLens 1M and MovieLens 100k datasets are selected. MovieLens 1M has 6040 users, 3952 rated film projects, and 1000209 comments. Each user rates at least 20 movies. The types of films include comedy, action, romance, crime, etc. Each film is marked by one or more tags of this type, and the score range is 1 to 5. MovieLens 100k has 943 users, 1682 rated movie items, and 100000 comments. Other information is consistent with the MovieLens 1M dataset. There are 18 movie tags in both datasets.

The second dataset is about books and is proposed by the University of Freeburg in Germany. The dataset has 278858 users and 271379 books, with 1149780 corresponding scoring data. The dataset contains three data scales, namely, users’ data (user ID, gender, age, and geographical location with unique identification), books’ data (book number, name, year, and type), and book scoring scales (users’ ID, books’ ID, and their scores, in which the scoring range is from 1 to 10).

The third dataset is about e-commerce. It includes 142.8 million product reviews and metadata from Amazon from May 1996 to July 2014. The dataset contains three scales, which are users’ data scale (users’ ID, gender, age, and geographical location), commodity scale (commodity ID, name, description, selling price, brand, picture, size), and the commodity scoring scale (users’ ID, commodity ID, scores, and evaluation, in which 1-5 star/stars represent (s) the score).

The experimental environment is as follows: the operating system is Window10, CPU configuration is Core (TM) i5-10210U @ 1.60 GHz, memory is 8 GB, the experimental program is Python 3.0, the step length is 0.1, and equilibrium coefficient α is between 0 and 1.

4. Results and Discussion

4.1. Effectiveness Analysis of the Defense Strategy

The coupling state of the intelligent sensor is estimated to verify the effect of the proposed algorithm. The results are shown in Figure 4.

Figure 4 shows that there is little difference in the coupling state of node 1, node 2, and node 3 between the estimated value and the actual value, and the curves are basically consistent, indicating that the defense strategy designed has a good effect on the estimation of the coupling state of , , and .

The trajectory and the estimation value of the actual state are shown in Figure 5.

Figure 5 shows that the real values of the states of nodes 1, 2, and 3 are very close to the actual values, and the curves are basically consistent, which indicates that the defense strategy designed is good for estimating the state of the system. The more packets successfully arrive at the end of the estimator, the better the estimation effect of the estimator is. Therefore, the defense strategy designed is very effective to protect the safety of intelligent sensors.

4.2. Determination of Equilibrium Coefficient in the Improved Similarity

Figure 6 shows that when balance coefficient α takes different values, the corresponding MAE value of the prediction is also different. The proportion of the training set and the test set directly affects the MAE value of the prediction. The overall MAE value decreases first and then increases. In the MovieLens 100k dataset, the overall MAE value is the largest when the test set is 0.4, the overall MAE value is relatively small when the test set is 0.1, and the corresponding MAE value is the smallest when balance coefficient α is 0.7. In the MovieLens 1M dataset, the overall MAE value is relatively small when the test set is 0.2, and the corresponding MAE value is the smallest when balance coefficient is 0.6. In the book-crossing dataset, the overall MAE value is relatively small when the test set is 0.1, and the corresponding MAE value is the smallest when equilibrium coefficient α is 0.8. In the dataset of electronic products, the overall MAE value is relatively small when the test set is 0.1, and the corresponding MAE value is the smallest when balance coefficient α is 0.8.

4.3. Improved Algorithm for Similarity Calculation and the Comparison with Other Algorithms

On the basis of the above, the effectiveness of the improved similarity algorithm is verified. The results are shown in Figure 7.

Figure 7 shows that when the number of nearest neighbor increases, the MAE values of the corresponding four datasets decrease first and then tend to be stable. In MovieLens 100k dataset, MovieLens 1M dataset, book-crossing dataset, and electronic product dataset, the MAE values of the proposed algorithm decrease from 0.8232 to 0.8095, 0.8086 to 0.7897, 0.8563 to 0.8351, and from 1.0169 to 1.0091, respectively, and then tend to be stable. The improved algorithm is better than other algorithms in these four different datasets, so it can be used in human resource management.

5. Conclusion

In the development of smart cities, the intelligent management of human resources affects the security of the information physics system. Therefore, the Stackelberg game theory model is used to describe the interaction between intelligent sensors and intelligent jammers, and the security of the physical information system is effectively evaluated. Then, a denoise autoencoder machine model that can be used in human resource management with demographic information is proposed when the intelligent sensors are safe and their performance is analyzed. The results show that the more packets successfully arrive at the estimator, the more favorable the estimation effect of the estimator is. The defense strategy designed is very effective to ensure the security of intelligent sensors. Compared with other algorithms, the proposed algorithm has high accuracy in rating prediction and can quickly and effectively extract the implicit features of users. Therefore, it can be applied to human resource management. This study provides a new idea for the research on the security of intelligent sensors and human resource management in the development of smart cities. The shortcoming is that the user’s item tag used in the recommendation algorithm does not involve the user’s marking time. In many cases, the user’s comment is the user’s real and objective feeling. The recommendation effect will be better if it can be applied to the recommendation system. In the follow-up study, evolutionary game, Bayesian law, and other methods will be considered to model and analyze the interactive decision-making between attackers and defenders.

Data Availability

The data used to support the findings of this study are included within the article.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This article was supported in part by the Key Research and Development Plan of Shandong Province in 2021 (Soft Science Project) “Research on Shandong Science and Technology Talent Development Policies Collaboration from the Perspective of Innovation Value Chain” (Project No. 2021RKY05084) and the Social Science Research Project of Shandong Province in 2020 “Research on the Selection and Development Path of Migrant Workers’ Backflow in Shandong Province under Reverse Push-Pull Structure” (Project No. 20CPYJ69).