# Human Resource Petri Net Allocation Model Based on Artificial Intelligence and Neural Network

Authors: Weihuang Dai; Yi Hu; Zijiang Zhu; Xiaofang Liao
Journal: Mobile Information Systems
 (2021)

---

## Abstract

The reasonable allocation and use of human resources is an important content in the process of complex system analysis and design. This paper studies the human resource allocation model of Petri net based on artificial intelligence and neural network. In this paper, combined with the characteristics of human resource scheduling, human resource mobility, concurrency, and obvious classification characteristics, the human resource allocation model based on Petri net is implemented. In this paper, the model is trained with the python version of human resource analysis data set. The training parameters are 100, the error coefficient is 0.001, and the learning speed is 0.01. First, the coding rules of human resource data are established. Then, the parameters are input into the model, and the human resource data are trained in the model. Finally, the results of the model output layer are analyzed. The research study shows that the average prediction accuracy of this model is 78.85%. Model training requires the addition of 25 neurons for every 0.01 increase to improve the accuracy of predicting dynamic data of human resources. If the accuracy rate exceeds 75%, the increase in the number of neurons cannot be compensated for by the increase in the accuracy rate, but it is most efficient when the amount of data for human resource scheduling is 2000 to 4000. Therefore, this system can effectively allocate small- and medium-sized human resources and has a high accuracy.


---

## Body

## 1. Introduction

At present, China’s structural reform of human resources is in a critical period, and the role of product innovation in the competitive market and economic reform is gradually highlighted. It has become an important path choice for enterprises to obtain leapfrog development, sustainable development, high-quality development, and market competitive advantage. What kind of strategic human resource management (SHRM) measures enterprises adopt to support and promote product innovation, in order to obtain sufficient development power and clear development goals, is one of the hot spots of management practice and theoretical research. Existing studies have confirmed that the effective SHRM system can help enterprises quickly gain market competitive advantage, and the SHRM research can be summarized into two views: configuration view and contingency view. Among them, the configuration view emphasizes the consistent combination within the management practice, and the contingency view emphasizes the vertical fit between the human resource practice and the external situational elements.In order to solve the task scheduling problem in the cluster with limited manpower supply, Mom and others proposed a task scheduling method based on task value [1]. Salas vallina first predicted the running time of all tasks to be executed under all possible resource allocation conditions and then calculated the value of each task under each resource allocation condition [2]. The algorithm selects the most valuable task and provides the optimal cluster configuration for the task. Parallel tasks in heterogeneous clusters will compete for resources in the cluster, which will lead to the degradation of cluster performance. Prieto pastor proposed a two-stage task scheduling method based on reinforcement learning and neural collaborative filtering, which can solve the above problems through task segmentation [3]. Its learning driven load parallelization algorithm can find suitable running nodes for independent tasks. Gibson’s spark resource scheduling method focuses on the reasonable allocation of computing resources but does not consider the network resources, which may increase the network delay and reduce the cluster performance [4]. Ahammad et al. used Petri net to model the locomotive scheduling process in detail, analyzed its deadlock free scheduling, and proposed the optimal scheduling strategy but did not further combine the scheduling strategy with the scheduling system to solve the locomotive scheduling automation problem [5].On the structure optimization of Petri net, Kang analyzed the characteristics of the so-called hybrid workshop problem and proposed an improved genetic algorithm to maximize the efficiency of hybrid workshop planning and provide a solution for improving the efficiency of underground locomotive scheduling [6]. In 2020, park established a Petri net model for railway dispatching. In view of the principle of limited resources, few organizations can take into account many human resource practices at the same time and put it in an equally important position [7]. In order to make up for the deficiency of this theory, Jørgensen and Becker proposed that the combination of the Petri model and human resources can more deeply analyze the collaborative combination effect of multiple human resources practices [8]. The most direct is that Chang’s research found that the good state of work drive and work enjoyment directly stimulates the dual behavior of employees, which largely reflects the connotation characteristics of human resource allocation [9]. Diaz-Fernandez has proposed indicators of human resource intermediation, capacity limitations, and the importance of corporate bachelor’s degrees. This paper introduces the contribution of maximum flow transmission. This overcomes the drawback that traditional neutrality indices only consider power flow transmission along the shortest path between buses [10]. However, the existing research has not been able to analyze the relative importance of human resource internal practice from the Petri model, that is, when and what human resource management practice plays a core role in the acquisition of competitive advantage. Therefore, the primary purpose of this study is to clarify the relative importance of human resource internal practice. On the basis of configuration view and from the perspective of weight change, the situational effect of human resources is mainly manifested in two paths: resource-based and dynamic capability.This paper studies the human resource allocation model of Petri net based on artificial intelligence and neural network. In this paper, combined with the characteristics of human resource scheduling, human resource mobility, concurrency, and obvious classification characteristics, the human resource allocation model based on Petri net is implemented. In this paper, the model is trained with the python version of human resource analysis data set. The training parameters are 100, the error coefficient is 0.001, and the learning speed is 0.01. First, the coding rules of human resource data are established. Then, the parameters are input into the model, and the human resource data are trained in the model. Finally, the results of the model output layer are analyzed.


## 2. Human Resource Allocation Factors and Petri Net Model

### 2.1. Human Resource Allocation Factors

Human resource allocation, also known as flow at work, is used to describe this cognitive state in the text. A path of “enjoy with heart, create with great concentration” is used to stimulate Petri human resource allocation, including the interactive effect of testing ability and motivation-oriented Petri orientation, the mediating effect of human resource allocation sense, and the moderating effect of opportunity-oriented Petri orientation [11]. As motivation scholars have emphasized, intrinsic motivation is more durable than extrinsic motivation. The Petri human resource allocation system that influences employees’ behavior by stimulating intrinsic motivation is not only more long-term than other paths but also the general trend of the era of humanistic management [12]. Individual duality is one of the frontier research studies of duality theory. Scholars define it as the multidimensional behavior level of employees who carry out exploration and development work at the same time. In the field of innovation, it is called individual Petri human resource allocation. Exploratory innovation focuses on searching for new knowledge, discovering new opportunities, and developing new technologies, while exploitative innovation is committed to further consolidating and improving existing capabilities [13]. As the driving force of enterprise innovation and development, if R&D and innovation personnel can treat conventional and unconventional work equally and carry out creative and continuous innovation activities in a balanced way, it will be of great help to the common realization of short-term and long-term goals of enterprises [14]. However, it is not easy to engage in exploratory and exploitative innovation activities at the same time, and it is difficult to avoid the conflict between cognition and resources, which makes many innovators “hard pressed” in the allocation of resources. In addition, both exploration and development have the function of self reinforcement. The former will induce employees to find it difficult to extricate themselves from the cycle of trying new things and failure, while the latter will lead to path dependence [15]. To overcome the above difficulties, some scholars say that innovators have a strong cognitive quality, actively change their thinking, and minimize the negative emotions caused by role conflicts and their condition. He pointed out that the greatest potential needs to be stimulated. So, what mechanisms can be used to stimulate the potential of innovative talents? For example, to improve Petri's ability to allocate talents. Organization level and individual level × Interaction effect box refers to the circle of the Petri human resource allocation system, which is easy to show the ability and motivation-oriented interaction effect. X refers to the interactive product force, which has become the current research hot spot [16]. In many organizational mechanisms, top-down Petri-oriented mechanism undoubtedly occupies an important position. Petri-oriented mechanism always needs to stimulate individual cognitive organism (such as motivation) to influence their behavior, and Petri human resource allocation, a Petri-oriented mechanism characterized by high employee engagement, shows this effect [17]. Petri human resource allocation can stimulate employees’ potential by improving their control and decision-making power over their own work and absorb employees’ potential wisdom, ideas, and motivation to inject them into organizational performance [18]. The Petri human resource allocation system mainly includes three modules: personnel flow, evaluation and reward, and labor relations [19]. Scholars have mapped out three kinds of incentive orientation, motivation, and opportunity orientation (AMO framework) for these modules. Ability-oriented Petri-oriented mainly expands the skills, knowledge, and experience of employees by means of selection and training; motivation-oriented Petri-oriented mainly uses the reward and punishment system to induce employees to engage in the activities expected by the organization; opportunity-oriented and Petri-oriented give employees more room to play through authorization, cooperation, and other ways [20]. It is not hard to imagine that the Petri human resource allocation system based on AMO can help to improve employees’ skills, motivation, and autonomy, and these abilities are the key quality basis for employees to engage in Petri human resource allocation [21].


### 2.2. Petri Net Model and Function Algorithm

Petri net has many elements, such as place and transition:(1)P=p1,p2,…,pn.The transmitter and receiver must exist in pairs, and the driver can be directly connected to the relevant device without conflict. Transition is divided into instantaneous change and time change. Like the original PN, temporal transition takes a certain amount of time to process:(2)PN=n∑i=1n∑j=1nwijxi−x¯xj−x¯∑i=1n∑j=1nwijxi−x¯2=n∑i=1n∑i≠jnwijxi−x¯xj−x¯S2∑i=1n∑j=1nwij,(3)transition=∑j=1k∑h=1k∑t=1nj∑r=1nhyij−yhr2n2u.Program statements are generally composed of data processing operations, while the functional behavior of program code is represented by the conversion process of data object type and number. In this paper, data objects of operations are regarded as resources, and program operations are events that lead to resource flow [22]. According to the above Petri net definition, the types and statements of data objects can be represented by places and transitions, and the number of data objects can be represented by directed arc weights:(4)Petrijh=∑Z=1hj∑r=1nhyji−yhrnjnhuj+uhThe code behavior process based on Petri net is described as follows: the type conversion relationship between data objects in a statement is represented by the direction of directed arc in Petri net, and the number of different types of data objects in a statement is represented by the weight of directed arc:(5)Pssim=1−2μxμy+C12σxy+C2μx2+μy2+C1σx2+σy2+C2.This section presents a modeling method of code behavior process based on Petri net. First, the code behavior modeling mechanism based on Petri net is clarified, and the corresponding relationship between Petri net elements and code elements is formulated:(6)Odi,wj=PdiPwj|di;Pwj|di=∑k=1KPwj|zkPzk|di,(7)Iκ=2kk+1+12+12kc2−c132+2c2−c13.Based on the corresponding relationship, the static analysis technology is used to analyze and process the program code to complete the transformation from code to Petri net:(8)Cjh=∫0∞dFjy∫0yy−xdFhx.A single program statement includes related operation, input data object set processed, and output data object generated after processing [23]. For example, a function call statement is composed of a function name, a caller calling the function, a callee as a parameter, and a return data object. The function name is an operator, the calling and called data objects are input data objects, and the return data object is output data object. Program statements are triples:(9)lnPitPit−1=α+βlnPit−1+caller,(10)callee=∑x=1θVx∗I=∑x=1ϑW+Si/∑1nWℑ/C+S+Scα+βlnPit+O/C.SC represents the set of operators, Si represents the set of input data objects, andO represents the set of output data objects. For ∀ C ∈ SC, the statement input data object I corresponds to the input data object of operation C and the statement output data object o corresponds to the output data object of operation C with the lowest priority, such as follows:(11)lnPetriit=a0+a1du∗dt+∑i=1NbjXu+εu,(12)fa=1Nh∑i=1NkXi−xh.Obviously, the function of the whole statement should be reflected in the final result of the assignment operation, so the variablea is taken as the final output object. The change process of the number and type of data objects can be simply summarized as follows: processing data objects through statements and converting a certain number of input data objects of specific types into output data objects of specific types [24]. The process can be described in Petri net as follows: through the direction and weight of input/output arc of statement transition, the transformation process from input data object to output object is represented.(13)σtS=1/n∑i=1nSiit−Siit2Siit+ts,(14)uj|i=wijAiSiit−Siit.The arc points from the input data object type to the output data object type and the weight of the input and output arc, respectively, represent the number of input data objects consumed and output data objects generated in the conversion process. For the statements ∈ s, TS is used to represent the statement transition. For the input data object type I ∈ Si, PI is used to represent the input data object type library. For the output data object type O, po is used to represent the output data object type library:(15)pox=12πWpi,ts−x22.For the convenience of description, the input arc connecting statement transition and input data object type library is expressed as (PI, TS), and the weight of input arc is expressed asw (PI, TS), that is, the number of input data objects of type I in statement s. The output arc connecting the statement transition and the output data object type is expressed as (TS, PO), and the output arc weight is expressed as w (TS, PO), and w (TS, PO) = 1. In Petri net, the consumption of input data objects and the generation of output data objects are used to model program statements, which is prone to inconsistency of code semantic description [25, 26]. For example, for an active object x that needs to be called many times, when x executes a method call, it consumes the data object x in the statement description of the corresponding Petri net, resulting in the inaccurate description of other program statements involving x call in the future.(16)GtWpi,ts=∑j=2k∑h=1j−1Gjhpjsh+phsjDjh1−Djh,(17)DH=p2−p1+12.Therefore, for data objects that are repeatedly used,y is used to represent the type of such data objects. For this kind of data object y ∈ y, this paper introduces a special copy transition cy. The input arc and output arc connecting the copy transition and the data object type library are represented as (py, CY) and (CY, py), respectively, where py represents the type library. The input arc weight is expressed as w (py, CY), and w (py, CY) = 1. The weight of output arc is expressed as w (CY, py), which is the number of times that this type of data object is repeatedly used in program code. In this paper, the corresponding relationship between program code elements and Petri net elements is given, as shown in Table 1.(18)Yt=tanhwcxt+ucrtWCy,pyΘSt−1+Tc.Table 1
Graphic description ability of Petri net.
ItemPetriDual innovationAMOHRPRear adjustmentEffectivenessPerformance1.321.470.241.461.780.12Attitude3.653.842.831.53.262.89Psychological4.33.095.53.774.222.18Distribution4.882.572.273.864.794.05Neurons4.411.142.044.781.232.88Petri net element transformation semantics describes data object type libraryP. Library set P represents the data object type collection statement collection, s represents the transition, T represents the program statement collection input data object type i-statement s input arc (PI, TS), input arc (PI, TS) represents the type, and I is the input data object of statement s input arc weight:(19)St=ztΘht−1+1−ztΘht.For the statements without obvious input or output type, in order to fully retain the semantic information in the statements, void is used to represent the input or output data object type of such statements, such as the input type of new statement and the output type of close statement.


## 2.1. Human Resource Allocation Factors

Human resource allocation, also known as flow at work, is used to describe this cognitive state in the text. A path of “enjoy with heart, create with great concentration” is used to stimulate Petri human resource allocation, including the interactive effect of testing ability and motivation-oriented Petri orientation, the mediating effect of human resource allocation sense, and the moderating effect of opportunity-oriented Petri orientation [11]. As motivation scholars have emphasized, intrinsic motivation is more durable than extrinsic motivation. The Petri human resource allocation system that influences employees’ behavior by stimulating intrinsic motivation is not only more long-term than other paths but also the general trend of the era of humanistic management [12]. Individual duality is one of the frontier research studies of duality theory. Scholars define it as the multidimensional behavior level of employees who carry out exploration and development work at the same time. In the field of innovation, it is called individual Petri human resource allocation. Exploratory innovation focuses on searching for new knowledge, discovering new opportunities, and developing new technologies, while exploitative innovation is committed to further consolidating and improving existing capabilities [13]. As the driving force of enterprise innovation and development, if R&D and innovation personnel can treat conventional and unconventional work equally and carry out creative and continuous innovation activities in a balanced way, it will be of great help to the common realization of short-term and long-term goals of enterprises [14]. However, it is not easy to engage in exploratory and exploitative innovation activities at the same time, and it is difficult to avoid the conflict between cognition and resources, which makes many innovators “hard pressed” in the allocation of resources. In addition, both exploration and development have the function of self reinforcement. The former will induce employees to find it difficult to extricate themselves from the cycle of trying new things and failure, while the latter will lead to path dependence [15]. To overcome the above difficulties, some scholars say that innovators have a strong cognitive quality, actively change their thinking, and minimize the negative emotions caused by role conflicts and their condition. He pointed out that the greatest potential needs to be stimulated. So, what mechanisms can be used to stimulate the potential of innovative talents? For example, to improve Petri's ability to allocate talents. Organization level and individual level × Interaction effect box refers to the circle of the Petri human resource allocation system, which is easy to show the ability and motivation-oriented interaction effect. X refers to the interactive product force, which has become the current research hot spot [16]. In many organizational mechanisms, top-down Petri-oriented mechanism undoubtedly occupies an important position. Petri-oriented mechanism always needs to stimulate individual cognitive organism (such as motivation) to influence their behavior, and Petri human resource allocation, a Petri-oriented mechanism characterized by high employee engagement, shows this effect [17]. Petri human resource allocation can stimulate employees’ potential by improving their control and decision-making power over their own work and absorb employees’ potential wisdom, ideas, and motivation to inject them into organizational performance [18]. The Petri human resource allocation system mainly includes three modules: personnel flow, evaluation and reward, and labor relations [19]. Scholars have mapped out three kinds of incentive orientation, motivation, and opportunity orientation (AMO framework) for these modules. Ability-oriented Petri-oriented mainly expands the skills, knowledge, and experience of employees by means of selection and training; motivation-oriented Petri-oriented mainly uses the reward and punishment system to induce employees to engage in the activities expected by the organization; opportunity-oriented and Petri-oriented give employees more room to play through authorization, cooperation, and other ways [20]. It is not hard to imagine that the Petri human resource allocation system based on AMO can help to improve employees’ skills, motivation, and autonomy, and these abilities are the key quality basis for employees to engage in Petri human resource allocation [21].


## 2.2. Petri Net Model and Function Algorithm

Petri net has many elements, such as place and transition:(1)P=p1,p2,…,pn.The transmitter and receiver must exist in pairs, and the driver can be directly connected to the relevant device without conflict. Transition is divided into instantaneous change and time change. Like the original PN, temporal transition takes a certain amount of time to process:(2)PN=n∑i=1n∑j=1nwijxi−x¯xj−x¯∑i=1n∑j=1nwijxi−x¯2=n∑i=1n∑i≠jnwijxi−x¯xj−x¯S2∑i=1n∑j=1nwij,(3)transition=∑j=1k∑h=1k∑t=1nj∑r=1nhyij−yhr2n2u.Program statements are generally composed of data processing operations, while the functional behavior of program code is represented by the conversion process of data object type and number. In this paper, data objects of operations are regarded as resources, and program operations are events that lead to resource flow [22]. According to the above Petri net definition, the types and statements of data objects can be represented by places and transitions, and the number of data objects can be represented by directed arc weights:(4)Petrijh=∑Z=1hj∑r=1nhyji−yhrnjnhuj+uhThe code behavior process based on Petri net is described as follows: the type conversion relationship between data objects in a statement is represented by the direction of directed arc in Petri net, and the number of different types of data objects in a statement is represented by the weight of directed arc:(5)Pssim=1−2μxμy+C12σxy+C2μx2+μy2+C1σx2+σy2+C2.This section presents a modeling method of code behavior process based on Petri net. First, the code behavior modeling mechanism based on Petri net is clarified, and the corresponding relationship between Petri net elements and code elements is formulated:(6)Odi,wj=PdiPwj|di;Pwj|di=∑k=1KPwj|zkPzk|di,(7)Iκ=2kk+1+12+12kc2−c132+2c2−c13.Based on the corresponding relationship, the static analysis technology is used to analyze and process the program code to complete the transformation from code to Petri net:(8)Cjh=∫0∞dFjy∫0yy−xdFhx.A single program statement includes related operation, input data object set processed, and output data object generated after processing [23]. For example, a function call statement is composed of a function name, a caller calling the function, a callee as a parameter, and a return data object. The function name is an operator, the calling and called data objects are input data objects, and the return data object is output data object. Program statements are triples:(9)lnPitPit−1=α+βlnPit−1+caller,(10)callee=∑x=1θVx∗I=∑x=1ϑW+Si/∑1nWℑ/C+S+Scα+βlnPit+O/C.SC represents the set of operators, Si represents the set of input data objects, andO represents the set of output data objects. For ∀ C ∈ SC, the statement input data object I corresponds to the input data object of operation C and the statement output data object o corresponds to the output data object of operation C with the lowest priority, such as follows:(11)lnPetriit=a0+a1du∗dt+∑i=1NbjXu+εu,(12)fa=1Nh∑i=1NkXi−xh.Obviously, the function of the whole statement should be reflected in the final result of the assignment operation, so the variablea is taken as the final output object. The change process of the number and type of data objects can be simply summarized as follows: processing data objects through statements and converting a certain number of input data objects of specific types into output data objects of specific types [24]. The process can be described in Petri net as follows: through the direction and weight of input/output arc of statement transition, the transformation process from input data object to output object is represented.(13)σtS=1/n∑i=1nSiit−Siit2Siit+ts,(14)uj|i=wijAiSiit−Siit.The arc points from the input data object type to the output data object type and the weight of the input and output arc, respectively, represent the number of input data objects consumed and output data objects generated in the conversion process. For the statements ∈ s, TS is used to represent the statement transition. For the input data object type I ∈ Si, PI is used to represent the input data object type library. For the output data object type O, po is used to represent the output data object type library:(15)pox=12πWpi,ts−x22.For the convenience of description, the input arc connecting statement transition and input data object type library is expressed as (PI, TS), and the weight of input arc is expressed asw (PI, TS), that is, the number of input data objects of type I in statement s. The output arc connecting the statement transition and the output data object type is expressed as (TS, PO), and the output arc weight is expressed as w (TS, PO), and w (TS, PO) = 1. In Petri net, the consumption of input data objects and the generation of output data objects are used to model program statements, which is prone to inconsistency of code semantic description [25, 26]. For example, for an active object x that needs to be called many times, when x executes a method call, it consumes the data object x in the statement description of the corresponding Petri net, resulting in the inaccurate description of other program statements involving x call in the future.(16)GtWpi,ts=∑j=2k∑h=1j−1Gjhpjsh+phsjDjh1−Djh,(17)DH=p2−p1+12.Therefore, for data objects that are repeatedly used,y is used to represent the type of such data objects. For this kind of data object y ∈ y, this paper introduces a special copy transition cy. The input arc and output arc connecting the copy transition and the data object type library are represented as (py, CY) and (CY, py), respectively, where py represents the type library. The input arc weight is expressed as w (py, CY), and w (py, CY) = 1. The weight of output arc is expressed as w (CY, py), which is the number of times that this type of data object is repeatedly used in program code. In this paper, the corresponding relationship between program code elements and Petri net elements is given, as shown in Table 1.(18)Yt=tanhwcxt+ucrtWCy,pyΘSt−1+Tc.Table 1
Graphic description ability of Petri net.
ItemPetriDual innovationAMOHRPRear adjustmentEffectivenessPerformance1.321.470.241.461.780.12Attitude3.653.842.831.53.262.89Psychological4.33.095.53.774.222.18Distribution4.882.572.273.864.794.05Neurons4.411.142.044.781.232.88Petri net element transformation semantics describes data object type libraryP. Library set P represents the data object type collection statement collection, s represents the transition, T represents the program statement collection input data object type i-statement s input arc (PI, TS), input arc (PI, TS) represents the type, and I is the input data object of statement s input arc weight:(19)St=ztΘht−1+1−ztΘht.For the statements without obvious input or output type, in order to fully retain the semantic information in the statements, void is used to represent the input or output data object type of such statements, such as the input type of new statement and the output type of close statement.


## 3. Human Resource Design Based on Petri Model

### 3.1. Research Methods

This paper studies the human resource allocation model of Petri net based on artificial intelligence and neural network. In this paper, combined with the characteristics of human resource scheduling, human resource mobility, concurrency, and obvious classification characteristics, the human resource allocation model based on Petri net is implemented. In this white paper, the model is trained using the Python version of the HR analytics dataset. The training parameter is 100, the error factor is 0.001, and the learning speed is 0.01. First, the coding rules of human resource data are established. Then, the parameters are input into the model, and the human resource data are trained in the model. Finally, the results of the model output layer are analyzed [27].


### 3.2. Experimental Design

In order to match program code, all candidate codes need to be transformed into corresponding Petri nets. The transformation process from code fragment to Petri nets is shown in Figure1, where T represents the state.Figure 1
The conversion process of code snippets to Petri nets.In this paper, the program code written in Python language is taken as the research object. First, with the help of existing code analysis tools, candidate code fragments are parsed to extract various code elements, such as statement, operation, number, and type of parameters. Second, based on the mapping relationship between code elements and Petri net elements mentioned above, the candidate code is constructed into the corresponding Petri net model. It is stored in graph database to prepare for later code matching. For the sake of seamless connection with Python code and efficiency consideration, this paper selects the lightweight eclipse JDT code parsing component ASTParser, which can quickly parse Python program code into abstract syntax tree representation based on document object model (DOM) structure. Each element in the code corresponds to a node in the abstract syntax tree. With the help of depth first search strategy and related API, the code elements such as statements, operations, parameters, and their contextual semantic relations can be obtained, and the determination of repeated object set is to determine whether different operation nodes in the abstract syntax tree have the same input variables. On this basis, the mapping relationship between code elements and Petri net elements described in the previous section is used to complete the transformation from candidate code to the Petri net model.The detailed step algorithm is shown in Figure2. Parsestatement() is used to analyze and determine the code operation, including the program statement and the copy transition of reusable object settings in the program code. Parseinputtype() and parseoutputtype() are used to analyze the input and output objects of a specific operation, including the input and output types of statement operations, and the reuse object types corresponding to copy transitions. Parseinputnum and parseoutputnum are used to analyze the number of specific input and output objects in an operation statement, including the number of input and output types manipulated by the specific statement. To improve the efficiency of later code matching, Petri net description, this paper uses efficient neo4j to store Petri net information that corresponds to the program code. Neo4j has a similar data organization and structure to Petri net, that is to say, the graph is constructed by nodes and edges, and cypher, a language similar to SQL, is provided to facilitate users to perform query, edit, and other operations.Figure 2
Detailed step-by-step algorithm for human resource allocation.


## 3.1. Research Methods

This paper studies the human resource allocation model of Petri net based on artificial intelligence and neural network. In this paper, combined with the characteristics of human resource scheduling, human resource mobility, concurrency, and obvious classification characteristics, the human resource allocation model based on Petri net is implemented. In this white paper, the model is trained using the Python version of the HR analytics dataset. The training parameter is 100, the error factor is 0.001, and the learning speed is 0.01. First, the coding rules of human resource data are established. Then, the parameters are input into the model, and the human resource data are trained in the model. Finally, the results of the model output layer are analyzed [27].


## 3.2. Experimental Design

In order to match program code, all candidate codes need to be transformed into corresponding Petri nets. The transformation process from code fragment to Petri nets is shown in Figure1, where T represents the state.Figure 1
The conversion process of code snippets to Petri nets.In this paper, the program code written in Python language is taken as the research object. First, with the help of existing code analysis tools, candidate code fragments are parsed to extract various code elements, such as statement, operation, number, and type of parameters. Second, based on the mapping relationship between code elements and Petri net elements mentioned above, the candidate code is constructed into the corresponding Petri net model. It is stored in graph database to prepare for later code matching. For the sake of seamless connection with Python code and efficiency consideration, this paper selects the lightweight eclipse JDT code parsing component ASTParser, which can quickly parse Python program code into abstract syntax tree representation based on document object model (DOM) structure. Each element in the code corresponds to a node in the abstract syntax tree. With the help of depth first search strategy and related API, the code elements such as statements, operations, parameters, and their contextual semantic relations can be obtained, and the determination of repeated object set is to determine whether different operation nodes in the abstract syntax tree have the same input variables. On this basis, the mapping relationship between code elements and Petri net elements described in the previous section is used to complete the transformation from candidate code to the Petri net model.The detailed step algorithm is shown in Figure2. Parsestatement() is used to analyze and determine the code operation, including the program statement and the copy transition of reusable object settings in the program code. Parseinputtype() and parseoutputtype() are used to analyze the input and output objects of a specific operation, including the input and output types of statement operations, and the reuse object types corresponding to copy transitions. Parseinputnum and parseoutputnum are used to analyze the number of specific input and output objects in an operation statement, including the number of input and output types manipulated by the specific statement. To improve the efficiency of later code matching, Petri net description, this paper uses efficient neo4j to store Petri net information that corresponds to the program code. Neo4j has a similar data organization and structure to Petri net, that is to say, the graph is constructed by nodes and edges, and cypher, a language similar to SQL, is provided to facilitate users to perform query, edit, and other operations.Figure 2
Detailed step-by-step algorithm for human resource allocation.


## 4. Results and Discussion

### 4.1. Human Resource Allocation Based on Petri Net Model

In this paper, we find that human resource allocation can be influenced by a series of ability, motivation, and opportunity tools, and the internal cognitive mechanism is a direction to be explored. Second, this influence mechanism is not simply implemented at the same time but should pay attention to the way and degree of control. For example, in the literature on functional mechanism, the moderating effect of climate and relationship is often mentioned, which implies opportunity-oriented HR practice. Other literatures found that the mechanism of setting up rewards and other incentives to stimulate the desire for challenge requires employees to have corresponding skills in order to play its effectiveness, which also implies that the challenges and skills brought by the allocation of human resources in Petri net should be improved at the same time.So far, there is no empirical study that directly explores the mechanism by which Petri human resource allocation affects Petri’s human resource allocation behavior at the individual level. This limits our understanding of the operation of Petri human resource allocation and how it affects employee innovation, especially how to induce a long-term internal drive mechanism, so we need to continue to explore in this direction. As shown in Figure3, we will analyze the cross-layer integration framework of AMO-oriented Petri’s human resource allocation affecting Petri’s human resource allocation more thoroughly, including the interaction between ability and motivation-oriented Petri-oriented, and opportunity-oriented Petri-oriented back-end adjustment effect, and the mediating effect of the sense of human resource distribution, forming a moderated mediating effect model as a whole. The following will make a specific analysis of the relationship between the variables at each stage.Figure 3
The operation of human resource allocation and its influence.As shown in Figure4, the Petri orientation in the Internet age is extending its focus to the work value itself. Positive psychology calls the state of passion and dedication at work human resource allocation. Human resource allocation (i.e., flow) is the peak cognitive experience of employees at work, which is mainly characterized by hedonism, concentration, and intrinsic motivation. Hedonism refers to employees’ high-quality experience of their work process; concentration is a selfless dedication to work, forgetting about changes in time and surroundings. Intrinsic motivation refers to active work for their own interests and values, rather than external stimuli. Scholars are controversial about whether human resource allocation is real-time or stable. Real-time state indicates that the occurrence of sense of distribution is one after another, and it has strong immediacy; stable state is a questionnaire survey of employees’ overall feeling of work in a period of time, which has a great relationship with the characteristics of the work itself.Figure 4
Petri orientation in the internet age.As shown in Figure5, allocation is indeed affected by some job skills and task requirements (such as planning, problem solving, and evaluation), which indicates that human resource allocation can be induced by organizational mechanisms. The most direct reason for the sense of human resource allocation is “challenge skill balance,” that is, employees feel that the task difficulty is equal to the level of work resources they have, so they can maximize their skills to control the task and enjoy the work.Figure 5
The most direct reason for the sense of distribution of human resources.As shown in Table1, Petri net has powerful graphic description ability and clear logical reasoning ability, which are widely used in dynamic system simulation of discrete events and can describe the propagation characteristics of energy flow, material flow, and information flow. Petri’s Human Resources Allocation is a corporate strategy support system consisting of a series of closely related HR practices activities based on employee commitment and participation. Different from traditional Petri orientation, Petri human resource allocation can significantly motivate and guide employees to cooperate, expand, and actively learn and improve employees’ willingness to cooperate and diverse task skills.As shown in Figure6, duality research has initially found that employees’ positive psychological cognition, such as attitude, psychological situation, and intrinsic motivation, will lead to more Petri human resource allocation behavior, but these psychological characteristics are not formalized, which limits the practical value of exploring its mechanism.Figure 6
Psychological characteristics of human resources morphology.As shown in Table2, work experience well reflects the characteristics of human resource allocation, which is employees’ cognition of efficient, hedonic, and dynamic work state. It can not only bring physical and mental health but also significantly improve creativity and work performance. According to the distribution theory, the sense of distribution mainly occurs in the work of “challenge skill balance,” because at this time, the employees have the most task control ability and can maximize their potential.Table 2
Characteristics of human resource allocation.
ItemPetriDual innovationAMOHRPRear adjustmentPerformance2.71.843.382.823.75Attitude2.482.053.575.255.46Psychological3.783.341.531.325.71Distribution4.472.613.854.784.55As shown in Table3, although there may be a causal relationship between distribution and innovation behavior, this paper argues that the key value of the sense of distribution lies in the predictive effect of binary interaction gain. The theory of distribution points out that the sense of distribution is a kind of positive emotion, which has the function of lasting adaptive value. It can create individual resources and extend people’s activity types. The peak enjoyment that people experience in the distribution will induce them to continuously develop their own potential and maintain this balanced peak state by coordinating exploration and development.Table 3
Relationship between distribution and innovative behavior.
ItemPetriDual innovationAMONeuronsEffectivenessBiasDistribution1.045.873.421.734.22.69Performance2.393.44.512.611.262.46Attitude4.65.032.435.925.731.84Psychological5.346.351.292.183.036.7Behavior1.625.95.992.285.831.21As shown in Figure7, the employee’s positive emotion in human resource allocation can effectively ignite his innovation enthusiasm. Instead of being satisfied with the existing innovation content, he actively tries to expand new activity types and continuously improves behavior performance. Experiments with human-computer interactions have shown that the experience of distribution can motivate individuals to engage in exploratory and development activities at the same time. In the process of distribution, individuals clearly feel a high degree of controllability of their behavior, clearly understand the duality of exploration and development, and can take action smoothly and easily.Figure 7
Try to actively develop new types of activities.As shown in Table4, the operation state is mainly based on the entropy theory, which equates the “destructiveness” of links with the importance and measures the risk by the uniformity of power flow distribution. In this paper, the load flow entropy index is proposed to improve the defect that the load flow entropy index cannot distinguish heavy load branch from light load branch. In addition, the literature combines the influence of external factors such as weather with the time-varying failure rate model of enterprises. With the trend of deep coupling of human resources and personnel transfer system, the research of weak link identification is further extended to the integrated energy system.Table 4
Load flow entropy index.
ItemPsychologicalDistributionNeuronsEffectivenessBiasDual innovation2.612.71.843.382.82AMO3.222.482.053.575.25Petri5.523.783.341.531.32Rear adjustment4.284.472.613.854.78Performance3.972.914.092.956.39Attitude2.684.3161.073.55As shown in Table5, the sense of human resource allocation is improved with the improvement of employees’ mastery of challenges. When the innovators take the performance of high challenge and high return as their set goal, if they are equipped with corresponding skill training and knowledge learning, their self-confidence and mastery will be enhanced. When they reach the challenge goals of each stage, they can feel the sense of achievement and gain, accumulate constantly, and make themself look forward to high challenges and high returns. To locate the key components of the thermoelectric coupling system and find out the correlation between cascading interrupts, an improved cross entropy method based on multipeak optimal allocation function is proposed to calculate the risk index of the system out of limit probability. The human system sensitivity analysis technology is extended to the joint system to analyze the weak areas of the system.Table 5
Sense of human resource allocation and employees’ control.
ItemPetriDual innovationNeuronsEffectivenessBiasAMO3.222.662.793.371.08Rear adjustment2.224.573.871.523.41Performance4.111.72.893.613.24Attitude4.774.495.723.616.73Psychological1.726.7344.515.76As shown in Figure8, the delayed response characteristics of personnel call are considered in the evaluation of weak links, but the dynamic mechanism of fault development is not involved. The Fordful Carson method is used to quantify the marginal risk of gas network failures, and a cascade failure model for electrical and gas coupling systems is established taking into account the minimum marginal risk of human call networks. The existing models are lack of distinguishing the time scale differences of cascaded fault propagation, describing the causal relationship of fault propagation and the dynamic characteristics of fault development. Starting from the dynamic propagation process of cascaded failures, this paper proposes a weak link identification method of electronic equipment based on time Petri net.Figure 8
Delayed response characteristics of personnel calls.As shown in Figure9, the human resource allocation of Petri net can significantly promote the performance of employees and organizations. Especially in the long-term closed environment influenced by COVID-19 recently, whether all kinds of innovative personnel can independently maintain the balanced development of existing skills and explore new value under the condition of no leadership can directly affect the survival and continuity of the enterprise. So, under the test of numerous contradictions brought by the current Chinese innovation boom, how to use the human resource management mechanism to motivate employees to allocate human resources and improve their work performance in the change has become an important issue of organizational research. In recent years, the incentive mechanism of high participation in human resource practice has attracted much attention.Figure 9
Employee attitudes of organizational performance to personnel recruitment.As shown in Figure10, the average prediction accuracy of the proposed model is 78.85%. In the model training, in order to improve the prediction accuracy of human resource dynamic data, 25 neurons should be added for every 0.01 increase. When the accuracy rate reaches more than 75%, the increase in accuracy rate cannot make up for the increase in the number of neurons, but the efficiency is the highest when the amount of data of human resource scheduling is 200–4000. Therefore, this system can effectively allocate small- and medium-sized human resources and has a high accuracy.Figure 10
The prediction accuracy rate of the human resource allocation model.


### 4.2. Discussion

The existing studies basically agree that the system can improve the innovation performance of organization members, but the measurement of innovation in these studies is relatively general, which cannot capture the possible consequences of different types of innovation and its imbalance. It ignores the personal emotional feelings of employees when they innovate and fails to grasp the incentive methods of different innovative behaviors from their behavior level. Guided by the AMO (ability motivation opportunity) framework, some scholars qualitatively analyze HR practice from three types: ability-oriented, motivation-oriented, and opportunity-oriented, so as to distinguish the effect differences of the three types of HR practice in stimulating employee innovation. But are the three HR practices independent or interactive? Do they work in parallel or do they work differently? These questions have not been answered. Also, Petri’s human resource allocation is generally thought to affect the dual behavior of employees by improving human capital, structural design, and other functional mechanisms but the emotional state of employees. And other cognitive mechanisms have received little attention. In view of the fact that some studies have found that HR practice is difficult to motivate subsequent performance when it fails to trigger employees’ perceived experience, this paper discusses the impact of Petri human resource allocation on employees’ Petri human resource allocation from a new cognitive mechanism and analyzes the action mode and interaction relationship of different types of HR practice in the process, and it helps to better fit the system integrity and tool differences of human resource allocation of Petris and makes enterprises use human resource allocation of Petri s more scientifically to influence employee innovation.On this basis, it is not difficult to make two conjectures: first, the peak enjoyment brought by the sense of human resource allocation may enhance the innovators’ desire to explore new things and their concentration on existing tasks at the same time and consciously coordinate the balance of the two behaviors so as to avoid the anxiety caused by excessive exploration (challenge) or the boredom caused by excessive development (skills). Second, the human resource allocation tools based on the AMO framework may play different roles in influencing employees’ innovation behavior. For example, ability-oriented Petri orientation corresponds to higher skills, motivation-oriented Petri orientation is associated with higher challenges, and opportunity-oriented Petri orientation stimulates more performance. This implies that the coordination of attention strengthening ability and motivation-oriented practice is likely to lead to the allocation of human resources and then motivates the allocation of human resources in Petri net; strengthening the opportunity-oriented tool may expand the utility boundary of the sense of allocation to the allocation of Petri human resources. Based on the above discussion, this article uses the meaning of human resource allocation to establish three models of the relationship between Petri human resources allocation and employees and builds the dual ability of Petri human resources allocation and dual capabilities.


## 4.1. Human Resource Allocation Based on Petri Net Model

In this paper, we find that human resource allocation can be influenced by a series of ability, motivation, and opportunity tools, and the internal cognitive mechanism is a direction to be explored. Second, this influence mechanism is not simply implemented at the same time but should pay attention to the way and degree of control. For example, in the literature on functional mechanism, the moderating effect of climate and relationship is often mentioned, which implies opportunity-oriented HR practice. Other literatures found that the mechanism of setting up rewards and other incentives to stimulate the desire for challenge requires employees to have corresponding skills in order to play its effectiveness, which also implies that the challenges and skills brought by the allocation of human resources in Petri net should be improved at the same time.So far, there is no empirical study that directly explores the mechanism by which Petri human resource allocation affects Petri’s human resource allocation behavior at the individual level. This limits our understanding of the operation of Petri human resource allocation and how it affects employee innovation, especially how to induce a long-term internal drive mechanism, so we need to continue to explore in this direction. As shown in Figure3, we will analyze the cross-layer integration framework of AMO-oriented Petri’s human resource allocation affecting Petri’s human resource allocation more thoroughly, including the interaction between ability and motivation-oriented Petri-oriented, and opportunity-oriented Petri-oriented back-end adjustment effect, and the mediating effect of the sense of human resource distribution, forming a moderated mediating effect model as a whole. The following will make a specific analysis of the relationship between the variables at each stage.Figure 3
The operation of human resource allocation and its influence.As shown in Figure4, the Petri orientation in the Internet age is extending its focus to the work value itself. Positive psychology calls the state of passion and dedication at work human resource allocation. Human resource allocation (i.e., flow) is the peak cognitive experience of employees at work, which is mainly characterized by hedonism, concentration, and intrinsic motivation. Hedonism refers to employees’ high-quality experience of their work process; concentration is a selfless dedication to work, forgetting about changes in time and surroundings. Intrinsic motivation refers to active work for their own interests and values, rather than external stimuli. Scholars are controversial about whether human resource allocation is real-time or stable. Real-time state indicates that the occurrence of sense of distribution is one after another, and it has strong immediacy; stable state is a questionnaire survey of employees’ overall feeling of work in a period of time, which has a great relationship with the characteristics of the work itself.Figure 4
Petri orientation in the internet age.As shown in Figure5, allocation is indeed affected by some job skills and task requirements (such as planning, problem solving, and evaluation), which indicates that human resource allocation can be induced by organizational mechanisms. The most direct reason for the sense of human resource allocation is “challenge skill balance,” that is, employees feel that the task difficulty is equal to the level of work resources they have, so they can maximize their skills to control the task and enjoy the work.Figure 5
The most direct reason for the sense of distribution of human resources.As shown in Table1, Petri net has powerful graphic description ability and clear logical reasoning ability, which are widely used in dynamic system simulation of discrete events and can describe the propagation characteristics of energy flow, material flow, and information flow. Petri’s Human Resources Allocation is a corporate strategy support system consisting of a series of closely related HR practices activities based on employee commitment and participation. Different from traditional Petri orientation, Petri human resource allocation can significantly motivate and guide employees to cooperate, expand, and actively learn and improve employees’ willingness to cooperate and diverse task skills.As shown in Figure6, duality research has initially found that employees’ positive psychological cognition, such as attitude, psychological situation, and intrinsic motivation, will lead to more Petri human resource allocation behavior, but these psychological characteristics are not formalized, which limits the practical value of exploring its mechanism.Figure 6
Psychological characteristics of human resources morphology.As shown in Table2, work experience well reflects the characteristics of human resource allocation, which is employees’ cognition of efficient, hedonic, and dynamic work state. It can not only bring physical and mental health but also significantly improve creativity and work performance. According to the distribution theory, the sense of distribution mainly occurs in the work of “challenge skill balance,” because at this time, the employees have the most task control ability and can maximize their potential.Table 2
Characteristics of human resource allocation.
ItemPetriDual innovationAMOHRPRear adjustmentPerformance2.71.843.382.823.75Attitude2.482.053.575.255.46Psychological3.783.341.531.325.71Distribution4.472.613.854.784.55As shown in Table3, although there may be a causal relationship between distribution and innovation behavior, this paper argues that the key value of the sense of distribution lies in the predictive effect of binary interaction gain. The theory of distribution points out that the sense of distribution is a kind of positive emotion, which has the function of lasting adaptive value. It can create individual resources and extend people’s activity types. The peak enjoyment that people experience in the distribution will induce them to continuously develop their own potential and maintain this balanced peak state by coordinating exploration and development.Table 3
Relationship between distribution and innovative behavior.
ItemPetriDual innovationAMONeuronsEffectivenessBiasDistribution1.045.873.421.734.22.69Performance2.393.44.512.611.262.46Attitude4.65.032.435.925.731.84Psychological5.346.351.292.183.036.7Behavior1.625.95.992.285.831.21As shown in Figure7, the employee’s positive emotion in human resource allocation can effectively ignite his innovation enthusiasm. Instead of being satisfied with the existing innovation content, he actively tries to expand new activity types and continuously improves behavior performance. Experiments with human-computer interactions have shown that the experience of distribution can motivate individuals to engage in exploratory and development activities at the same time. In the process of distribution, individuals clearly feel a high degree of controllability of their behavior, clearly understand the duality of exploration and development, and can take action smoothly and easily.Figure 7
Try to actively develop new types of activities.As shown in Table4, the operation state is mainly based on the entropy theory, which equates the “destructiveness” of links with the importance and measures the risk by the uniformity of power flow distribution. In this paper, the load flow entropy index is proposed to improve the defect that the load flow entropy index cannot distinguish heavy load branch from light load branch. In addition, the literature combines the influence of external factors such as weather with the time-varying failure rate model of enterprises. With the trend of deep coupling of human resources and personnel transfer system, the research of weak link identification is further extended to the integrated energy system.Table 4
Load flow entropy index.
ItemPsychologicalDistributionNeuronsEffectivenessBiasDual innovation2.612.71.843.382.82AMO3.222.482.053.575.25Petri5.523.783.341.531.32Rear adjustment4.284.472.613.854.78Performance3.972.914.092.956.39Attitude2.684.3161.073.55As shown in Table5, the sense of human resource allocation is improved with the improvement of employees’ mastery of challenges. When the innovators take the performance of high challenge and high return as their set goal, if they are equipped with corresponding skill training and knowledge learning, their self-confidence and mastery will be enhanced. When they reach the challenge goals of each stage, they can feel the sense of achievement and gain, accumulate constantly, and make themself look forward to high challenges and high returns. To locate the key components of the thermoelectric coupling system and find out the correlation between cascading interrupts, an improved cross entropy method based on multipeak optimal allocation function is proposed to calculate the risk index of the system out of limit probability. The human system sensitivity analysis technology is extended to the joint system to analyze the weak areas of the system.Table 5
Sense of human resource allocation and employees’ control.
ItemPetriDual innovationNeuronsEffectivenessBiasAMO3.222.662.793.371.08Rear adjustment2.224.573.871.523.41Performance4.111.72.893.613.24Attitude4.774.495.723.616.73Psychological1.726.7344.515.76As shown in Figure8, the delayed response characteristics of personnel call are considered in the evaluation of weak links, but the dynamic mechanism of fault development is not involved. The Fordful Carson method is used to quantify the marginal risk of gas network failures, and a cascade failure model for electrical and gas coupling systems is established taking into account the minimum marginal risk of human call networks. The existing models are lack of distinguishing the time scale differences of cascaded fault propagation, describing the causal relationship of fault propagation and the dynamic characteristics of fault development. Starting from the dynamic propagation process of cascaded failures, this paper proposes a weak link identification method of electronic equipment based on time Petri net.Figure 8
Delayed response characteristics of personnel calls.As shown in Figure9, the human resource allocation of Petri net can significantly promote the performance of employees and organizations. Especially in the long-term closed environment influenced by COVID-19 recently, whether all kinds of innovative personnel can independently maintain the balanced development of existing skills and explore new value under the condition of no leadership can directly affect the survival and continuity of the enterprise. So, under the test of numerous contradictions brought by the current Chinese innovation boom, how to use the human resource management mechanism to motivate employees to allocate human resources and improve their work performance in the change has become an important issue of organizational research. In recent years, the incentive mechanism of high participation in human resource practice has attracted much attention.Figure 9
Employee attitudes of organizational performance to personnel recruitment.As shown in Figure10, the average prediction accuracy of the proposed model is 78.85%. In the model training, in order to improve the prediction accuracy of human resource dynamic data, 25 neurons should be added for every 0.01 increase. When the accuracy rate reaches more than 75%, the increase in accuracy rate cannot make up for the increase in the number of neurons, but the efficiency is the highest when the amount of data of human resource scheduling is 200–4000. Therefore, this system can effectively allocate small- and medium-sized human resources and has a high accuracy.Figure 10
The prediction accuracy rate of the human resource allocation model.


## 4.2. Discussion

The existing studies basically agree that the system can improve the innovation performance of organization members, but the measurement of innovation in these studies is relatively general, which cannot capture the possible consequences of different types of innovation and its imbalance. It ignores the personal emotional feelings of employees when they innovate and fails to grasp the incentive methods of different innovative behaviors from their behavior level. Guided by the AMO (ability motivation opportunity) framework, some scholars qualitatively analyze HR practice from three types: ability-oriented, motivation-oriented, and opportunity-oriented, so as to distinguish the effect differences of the three types of HR practice in stimulating employee innovation. But are the three HR practices independent or interactive? Do they work in parallel or do they work differently? These questions have not been answered. Also, Petri’s human resource allocation is generally thought to affect the dual behavior of employees by improving human capital, structural design, and other functional mechanisms but the emotional state of employees. And other cognitive mechanisms have received little attention. In view of the fact that some studies have found that HR practice is difficult to motivate subsequent performance when it fails to trigger employees’ perceived experience, this paper discusses the impact of Petri human resource allocation on employees’ Petri human resource allocation from a new cognitive mechanism and analyzes the action mode and interaction relationship of different types of HR practice in the process, and it helps to better fit the system integrity and tool differences of human resource allocation of Petris and makes enterprises use human resource allocation of Petri s more scientifically to influence employee innovation.On this basis, it is not difficult to make two conjectures: first, the peak enjoyment brought by the sense of human resource allocation may enhance the innovators’ desire to explore new things and their concentration on existing tasks at the same time and consciously coordinate the balance of the two behaviors so as to avoid the anxiety caused by excessive exploration (challenge) or the boredom caused by excessive development (skills). Second, the human resource allocation tools based on the AMO framework may play different roles in influencing employees’ innovation behavior. For example, ability-oriented Petri orientation corresponds to higher skills, motivation-oriented Petri orientation is associated with higher challenges, and opportunity-oriented Petri orientation stimulates more performance. This implies that the coordination of attention strengthening ability and motivation-oriented practice is likely to lead to the allocation of human resources and then motivates the allocation of human resources in Petri net; strengthening the opportunity-oriented tool may expand the utility boundary of the sense of allocation to the allocation of Petri human resources. Based on the above discussion, this article uses the meaning of human resource allocation to establish three models of the relationship between Petri human resources allocation and employees and builds the dual ability of Petri human resources allocation and dual capabilities.


## 5. Conclusions

At present, the resource scheduling algorithm of Petri cluster does not fully consider the relationship between the type of human resource allocation and the node processing performance bias. In order to further improve the performance of Petricluster and effectively reduce job execution time, this paper proposes an npa resource scheduling algorithm that takes into account job characteristics and node performance bias. The simulation results show that npa effectively improves system performance and reduces job execution time compared with the default resource scheduling algorithms of the Petri net and SDASA algorithms, without considering the correlation between node performance and job type. The future work will be carried out in the following aspects. (1) At present, the job types considered in this paper only include Petri memory intensive, and the next research will discuss more types of human resource allocation, such as scheduling intensive and allocation intensive. Artificial intelligence methods such as machine learning are introduced to determine the threshold of human resource allocation type more accurately. (2) The dynamic resource influencing factors will be added to confirm the performance bias of nodes in different time periods more accurately. (3) Experiments are carried out on large-scale clusters to verify the effectiveness of the algorithm.



---

*Source: 5988742-2021-08-28.xml*