A resource scheduling method and system for ERP system

By using deep learning and natural language processing technology in the ERP system to extract high-dimensional implicit semantic association information in enterprise resource supply-side and demand-side texts, and calculate the resource matching degree, the shortcomings in the effectiveness of resource scheduling management in the existing technology are solved. Improves the efficiency of corporate decision-making and resource utilization.

CN116307624BActive Publication Date: 2024-09-20HANGZHOU ZHANJUN TECH CO LTD

Patent Information

Application Number
CN202310347588.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-28
Publication Date
2024-09-20
Estimated Expiration
2043-03-28

AI Technical Summary

Technical Problem

The existing ERP system uses micro-level information resource management technology in resource scheduling management, which results in insufficient effectiveness in processing information inside and outside the enterprise, reducing the correctness and effectiveness of enterprise decision-making.

Method used

Using natural language processing technology based on deep learning and artificial intelligence, the context encoder of the converter extracts high-dimensional implicit semantic association information in the text of enterprise resource suppliers and demanders, calculates the resource matching degree, and generates resource scheduling results.

Benefits of technology

It improves the correctness and effectiveness of corporate decision-making, and optimizes the rational development and utilization of resources through the analysis of macro-environmental information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116307624B
    Figure CN116307624B
Patent Text Reader

Abstract

The present application relates to the field of enterprise resource planning and scheduling, and specifically discloses a resource scheduling method and system of an ERP system, which utilizes natural language processing technology based on deep learning and artificial intelligence to extract high-dimensional implicit semantic association information contained in the supply resource description text of the enterprise resource supplier and the demand resource description text of the enterprise resource demander through a converter-based context encoder, and compares and analyzes the two to characterize the matching degree between the supply resources provided by the enterprise resource supplier and the demand resources required by the enterprise resource demander, and finally generates a resource scheduling result based on the matching degree result. In this way, the macro-environmental information in the internal and external resource information of the enterprise is analyzed from a perspective based on the company's strategy, the correctness and effectiveness of the enterprise's decision-making are improved, and then the effectiveness of the reasonable development and utilization of enterprise resources is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of enterprise resource planning and scheduling, and more specifically, to a resource scheduling method and system of an ERP system. Background Art

[0002] ERP, or Enterprise Resource Planning, refers to a management platform based on information technology that uses systematic management ideas to provide decision-making and operational means for enterprise decision-makers and employees.

[0003] Most existing ERP systems use micro-level information resource management technology for resource scheduling management, that is, to achieve the predetermined goals, modern management methods and means are used to organize, plan, coordinate and control specific information resources and information activities related to the enterprise, so as to achieve the rational development and effective use of enterprise information resources. However, with the surge in enterprise information and document data, micro-level information resource management technology has limitations in the effectiveness of processing internal and external information of the enterprise, thereby reducing the correctness and effectiveness of enterprise decision-making.

[0004] Therefore, an optimized resource scheduling solution for the ERP system is expected. Summary of the invention

[0005] In order to solve the above technical problems, the present application is proposed. The embodiment of the present application provides a resource scheduling method and system for an ERP system, which utilizes natural language processing technology based on deep learning and artificial intelligence to extract high-dimensional implicit semantic association information contained in the supply resource description text of the enterprise resource supplier and the demand resource description text of the enterprise resource demander through a converter-based context encoder, and compares and analyzes the two to characterize the matching degree between the supply resources provided by the enterprise resource supplier and the demand resources required by the enterprise resource demander, and finally generates a resource scheduling result based on the matching result. In this way, the macro-environmental information in the internal and external resource information of the enterprise is analyzed from a perspective based on the company's strategy, the correctness and effectiveness of the enterprise's decision-making are improved, and then the effectiveness of the rational development and utilization of enterprise resources is improved.

[0006] According to one aspect of the present application, a resource scheduling method for an ERP system is provided, which includes:

[0007] Obtaining the supply resource description text of the enterprise resource supplier and the demand resource description text of the enterprise resource demander;

[0008] The supply resource description text and the demand resource description text are respectively segmented and passed through a word embedding layer to obtain a sequence of supply word embedding vectors and a sequence of demand word embedding vectors;

[0009] Passing the sequence of supply word embedding vectors and the sequence of demand word embedding vectors through a transformer-based context encoder to obtain a supply-side semantic feature vector and a demand-side semantic feature vector, respectively;

[0010] Calculating a differential feature vector between the supply-side semantic feature vector and the demand-side semantic feature vector;

[0011] Regression decoding the differential feature vector through a decoder to obtain a decoded value, where the decoded value is used to indicate the degree of matching between the supply resources provided by the enterprise resource supplier and the demand resources required by the enterprise resource demander; and

[0012] Based on the comparison between the decoded value and a predetermined threshold, a resource scheduling result is generated.

[0013] In the resource scheduling method of the above-mentioned ERP system, the supply resource description text and the demand resource description text are respectively segmented and then passed through a word embedding layer to obtain a sequence of supply word embedding vectors and a sequence of demand word embedding vectors, including: respectively segmenting the supply resource description text and the demand resource description text to obtain a sequence of supply words and a sequence of demand words; and respectively passing the sequence of supply words and the sequence of demand words through a word embedding layer to convert each supply word and each demand word in the sequence of supply words and the sequence of demand words into a supply word embedding vector and a demand word embedding vector to obtain a sequence of supply word embedding vectors and a sequence of demand word embedding vectors, wherein the word embedding layer uses a learnable embedding matrix to embed and encode each supply word and each demand word respectively.

[0014] In the resource scheduling method of the above-mentioned ERP system, the sequence of supply word embedding vectors and the sequence of demand word embedding vectors are respectively passed through a converter-based context encoder to obtain a supplier-side semantic feature vector and a demand-side semantic feature vector, including: passing the sequence of supply word embedding vectors and the sequence of demand word embedding vectors through the converter-based context encoder to obtain a plurality of supplier-side feature vectors and a plurality of demand-side feature vectors; and, cascading the plurality of supplier-side feature vectors to obtain the supplier-side semantic feature vector, and cascading the plurality of demand-side feature vectors to obtain the demand-side semantic feature vector.

[0015] In the resource scheduling method of the above-mentioned ERP system, the sequence of the supply word embedding vectors and the sequence of the demand word embedding vectors are respectively passed through the converter-based context encoder to obtain multiple supply-side feature vectors and multiple demand-side feature vectors, including: arranging the sequence of the supply word embedding vectors as an input vector; converting the input vector into a query vector and a key vector respectively through a learnable embedding matrix; calculating the product between the query vector and the transposed vector of the key vector to obtain a self-attention association matrix; normalizing the self-attention association matrix to obtain a standardized self-attention association matrix; inputting the standardized self-attention association matrix into a Softmax activation function for activation to obtain a self-attention feature matrix; and, multiplying the self-attention feature matrix with each supply word embedding vector in the sequence of the supply word embedding vectors as a value vector to obtain the multiple supplier feature vectors.

[0016] In the resource scheduling method of the ERP system, calculating the differential feature vector between the semantic feature vector of the supplier and the semantic feature vector of the demander includes: calculating the differential feature vector between the semantic feature vector of the supplier and the semantic feature vector of the demander using the following formula; wherein the formula is: Wherein, V1 represents the semantic feature vector of the supplier, V2 represents the semantic feature vector of the demander, and V d represents the differential eigenvector, Indicates difference by position.

[0017] In the resource scheduling method of the ERP system, the differential feature vector is regressively decoded by a decoder to obtain a decoded value, and the decoded value is used to represent the matching degree between the supply resources provided by the enterprise resource supplier and the demand resources required by the enterprise resource demander, including: using the decoder to decode and regress the differential feature vector according to the following formula to obtain the decoded value; wherein the formula is: Where X is the differential feature vector, Y is the decoded value, and M is the weight matrix, Represents matrix multiplication.

[0018] In the resource scheduling method of the above-mentioned ERP system, a resource scheduling result is generated based on the comparison between the decoded value and the predetermined threshold, including: in response to the decoded value being greater than or equal to the predetermined threshold, the resource scheduling result is to schedule the supply resources of the enterprise resource supplier to the enterprise resource demander.

[0019] In the resource scheduling method of the above-mentioned ERP system, a training step is also included: training the converter-based context encoder and the decoder; wherein the training step includes: obtaining the training supply resource description text of the enterprise resource supplier, and the training demand resource description text of the enterprise resource demander, and the true value of the matching degree between the supply resources provided by the enterprise resource supplier and the demand resources required by the enterprise resource demander; performing word segmentation on the training supply resource description text and the training demand resource description text respectively, and then passing them through the word embedding layer to obtain a sequence of training supply word embedding vectors and a sequence of training demand word embedding vectors; the training supply word The sequence of embedding vectors and the sequence of training demand word embedding vectors are respectively passed through the converter-based context encoder to obtain a training supplier-side semantic feature vector and a training demand-side semantic feature vector; a training differential feature vector between the training supplier-side semantic feature vector and the training demand-side semantic feature vector is calculated; the training differential feature vector is passed through the decoder to obtain a decoding loss function value; and, based on the decoding loss function value and through directional propagation of gradient descent, the converter-based context encoder and the decoder are trained, wherein, in each round of iteration of the training, the weight matrix of the decoder is iterated with spatial regularization constraints of the weight matrix.

[0020] In the resource scheduling method of the ERP system, in each round of training iteration, the weight matrix of the decoder is subjected to spatial regularization constraint iteration of the weight matrix according to the following formula; wherein the formula is:

[0021]

[0022] where M is the weight matrix of the decoder, ‖·‖ F represents the Frobenius norm of the matrix, M b is the bias matrix, represents matrix multiplication, ⊕ represents matrix addition, ⊙ represents positional point multiplication, exp(·) represents matrix exponential operation, and the matrix exponential operation represents the calculation of the natural exponential function value raised to the power of the eigenvalues ​​of each position in the matrix, M ′ represents the weight matrix of the decoder after iteration.

[0023] According to another aspect of the present application, a resource scheduling system of an ERP system is provided, comprising:

[0024] A resource supply and demand data acquisition unit, used to acquire the supply resource description text of the enterprise resource supplier and the demand resource description text of the enterprise resource demander;

[0025] A structuring unit, configured to perform word segmentation processing on the supply resource description text and the demand resource description text respectively and then pass them through a word embedding layer to obtain a sequence of supply word embedding vectors and a sequence of demand word embedding vectors;

[0026] A context semantic understanding unit, used for passing the sequence of supply word embedding vectors and the sequence of demand word embedding vectors through a converter-based context encoder to obtain a supply-side semantic feature vector and a demand-side semantic feature vector respectively;

[0027] A difference measurement unit, used for calculating a differential feature vector between the semantic feature vector of the supply side and the semantic feature vector of the demand side;

[0028] a matching degree regression unit, used for regressing and decoding the differential feature vector through a decoder to obtain a decoded value, wherein the decoded value is used to represent the matching degree between the supply resources provided by the enterprise resource supplier and the demand resources required by the enterprise resource demander; and

[0029] The scheduling result generating unit is used to generate a resource scheduling result based on the comparison between the decoded value and a predetermined threshold.

[0030] According to another aspect of the present application, an electronic device is provided, comprising: a processor; and a memory, wherein computer program instructions are stored in the memory, and when the computer program instructions are executed by the processor, the processor executes the resource scheduling method of the ERP system as described above.

[0031] According to another aspect of the present application, a computer-readable medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes the resource scheduling method of the ERP system as described above.

[0032] Compared with the prior art, the resource scheduling method and system of an ERP system provided by the present application utilize natural language processing technology based on deep learning and artificial intelligence to extract high-dimensional implicit semantic association information contained in the supply resource description text of the enterprise resource supplier and the demand resource description text of the enterprise resource demander through a converter-based context encoder, and compare and analyze the two to characterize the matching degree between the supply resources provided by the enterprise resource supplier and the demand resources required by the enterprise resource demander, and finally generate resource scheduling results based on the matching degree results. In this way, the macro-environmental information in the internal and external resource information of the enterprise is analyzed from a perspective based on the company's strategy, the correctness and effectiveness of the enterprise's decision-making are improved, and then the effectiveness of the reasonable development and utilization of enterprise resources is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.

[0034] Figure 1 The present invention is a flowchart of a resource scheduling method of an ERP system according to an embodiment of the present application.

[0035] Figure 2 The diagram is an architecture diagram of a resource scheduling method for an ERP system according to an embodiment of the present application.

[0036] Figure 3 The present invention is a flowchart of training the converter-based context encoder and the decoder in the resource scheduling method of the ERP system according to an embodiment of the present application.

[0037] Figure 4 4 is a block diagram of a resource scheduling system of an ERP system according to an embodiment of the present application.

[0038] Figure 5 It is a block diagram of a training module in a resource scheduling system of an ERP system according to an embodiment of the present application.

[0039] Figure 6 is a block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0040] Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the exemplary embodiments described here.

[0041] Application Overview

[0042] Accordingly, with the surge in corporate information and document data, micro-level information resource management technology has limitations in the effectiveness of processing internal and external information of the enterprise, thereby reducing the correctness and effectiveness of corporate decision-making.

[0043] In recent years, deep learning and neural networks have been widely used in computer vision, natural language processing, text signal processing and other fields. In addition, deep learning and neural networks have also demonstrated a level close to or even beyond that of humans in image classification, object detection, semantic segmentation, text translation and other fields.

[0044] The development of deep learning and neural networks provides new solutions for building resource scheduling solutions for ERP systems.

[0045] In the technical solution of the present application, it is expected to extract high-dimensional implicit semantic association information from the supply resource description text of the enterprise resource supplier and the demand resource description text of the enterprise resource demander, and compare and analyze the two to characterize the matching degree between the supply resources provided by the enterprise resource supplier and the demand resources required by the enterprise resource demander, and finally generate resource scheduling results based on the matching degree results. In this way, based on the supply resource description text of the enterprise resource supplier and the demand resource description text of the enterprise resource demander, the implicit association between the two is deeply excavated, and the macro-environmental information in the internal and external information of the enterprise is analyzed based on the perspective of the company's strategy, breaking through the limitations of data analysis technology at the micro level, and thus improving the correctness and effectiveness of enterprise decision-making.

[0046] Specifically, in the technical solution of the present application, first, a supply resource description text of an enterprise resource supplier and a demand resource description text of an enterprise resource demander are obtained.

[0047] Since the supply resource description text and the demand resource description text are text data, that is, the supply resource description text and the demand resource description text are not structured data, therefore, in the technical solution of the present application, the supply resource description text and the demand resource description text are respectively subjected to word segmentation processing to avoid word order confusion, and then the word embedding layer is used to obtain a sequence of supply word embedding vectors and a sequence of demand word embedding vectors, respectively, so as to convert the semantic information in the supply resource description text and the demand resource description text into a sequence of word embedding vectors that can be processed by a computer. Here, the role of the word embedding layer is to map a word to a word embedding vector, and the word embedding layer can be constructed based on a bag of words model, or based on a low-dimensional semantic embedding model, such as Word2Vec.

[0048] Then, the sequence of supply word embedding vectors and the sequence of demand word embedding vectors are respectively passed through a transformer-based context encoder to extract high-dimensional implicit semantic association features of the supply resource description text of the enterprise resource supplier and the demand resource description text of the enterprise resource demander, thereby obtaining a supply-side semantic feature vector and a demand-side semantic feature vector. That is, based on the transformer idea, using the transformer's ability to capture long-distance contextual dependencies, the sequence of supply word embedding vectors and the sequence of demand word embedding vectors are respectively encoded based on global context semantics to obtain context semantic association feature representations with the overall semantic association of the sequence of supply word embedding vectors and the sequence of demand word embedding vectors as the context background, namely, the supply-side semantic feature vector and the demand-side semantic feature vector.

[0049] In the technical solution of the present application, it is expected to compare and analyze the implicit semantic association information contained in the supply resource description text of the enterprise resource supplier and the demand resource description text of the enterprise resource demander in a high-dimensional space. Preferably, the differential feature vector between the semantic feature vector of the supplier and the semantic feature vector of the demander is calculated. In a specific example, the difference between the feature values ​​of each corresponding position between the semantic feature vector of the supplier and the semantic feature vector of the demander can be calculated to obtain the differential feature vector.

[0050] Then, after obtaining the differential feature vector, it is regressively decoded by a decoder to obtain a decoded value, and the decoded value is used to represent the degree of match between the supply resources provided by the enterprise resource supplier and the demand resources required by the enterprise resource demander. In a specific example, a fully connected layer is used to construct a decoder, and the fully connected layer of the decoder can make full use of each position information in the differential feature vector to improve decoding accuracy.

[0051] In the technical solution of the present application, a resource scheduling result is generated based on the comparison between the decoded value and a predetermined threshold. More specifically, in response to the decoded value being greater than or equal to the predetermined threshold, the resource scheduling result is scheduling the supply resources of the enterprise resource supplier to the enterprise resource demander.

[0052] Here, when calculating the differential feature vector between the differential feature vectors of the semantic feature vector of the supplier and the semantic feature vector of the demander, since the differential feature vector is obtained by calculating the position-by-position difference between the semantic feature vector of the supplier and the semantic feature vector of the demander, the correlation between its overall feature distribution and the overall feature distribution of the semantic feature vector of the supplier and the semantic feature vector of the demander is not considered. However, since the difference in text semantic distribution between the supply resource description text and the demand resource description text will be amplified in the high-dimensional contextual semantic feature space, the overall feature distribution of the differential feature vector will deviate from the high-dimensional feature distribution of the separate feature representations of the semantic features of the supplier and the semantic features of the demander at the same time, thereby slowing down the convergence speed of the weight matrix of the decoder during the training process, affecting the overall training speed of the model.

[0053] Therefore, in the technical solution of the present application, the applicant of the present application performs spatial regularization constraints on the weight matrix at each iteration of the weight matrix of the decoder, which is expressed as:

[0054]

[0055] M is the weight matrix of the decoder, ‖·‖ F represents the Frobenius norm of the matrix, M bis a bias matrix, which may be initially set to the identity matrix, for example.

[0056] The spatial regularization constraint of the weight matrix is ​​based on the intrinsic correlation matrix obtained by spatially embedding the weight matrix with its own transpose, and the weight matrix is ​​L2 regularized based on its intrinsic correlation distribution in the Euclidean space, thereby reflecting the semantic dependence of the weight space on the specific pattern expressed by the feature regardless of the numerical distribution of the feature to be weighted and the numerical size by position, so that the weight space reflects the transmission effect of the intrinsic essential knowledge of the extracted features, accelerates the convergence of the weight matrix, and thus improves the overall training speed of the model.

[0057] After introducing the basic principles of the present application, various non-limiting embodiments of the present application will be described in detail with reference to the accompanying drawings.

[0058] Exemplary Methods

[0059] Figure 1 FIG. 1 is a flow chart of a resource scheduling method of an ERP system according to an embodiment of the present application. Figure 1 As shown, the resource scheduling method of the ERP system according to the embodiment of the present application includes: S110, obtaining the supply resource description text of the enterprise resource supplier and the demand resource description text of the enterprise resource demander; S120, performing word segmentation on the supply resource description text and the demand resource description text respectively, and then passing them through the word embedding layer to obtain a sequence of supply word embedding vectors and a sequence of demand word embedding vectors; S130, passing the sequence of supply word embedding vectors and the sequence of demand word embedding vectors through a converter-based context encoder respectively to obtain a supplier semantic feature vector and a demander semantic feature vector; S140, calculating the differential feature vector between the supplier semantic feature vector and the demander semantic feature vector; S150, regressively decoding the differential feature vector through a decoder to obtain a decoded value, and the decoded value is used to represent the degree of match between the supply resources provided by the enterprise resource supplier and the demand resources required by the enterprise resource demander; and, S160, generating a resource scheduling result based on the comparison between the decoded value and a predetermined threshold.

[0060] Figure 2 FIG. 1 is an architecture diagram of a resource scheduling method of an ERP system according to an embodiment of the present application. Figure 2As shown, in this architecture, first, the supply resource description text of the enterprise resource supplier and the demand resource description text of the enterprise resource demander are obtained; then, the supply resource description text and the demand resource description text are respectively processed by word segmentation and passed through the word embedding layer to obtain a sequence of supply word embedding vectors and a sequence of demand word embedding vectors; then, the sequence of supply word embedding vectors and the sequence of demand word embedding vectors are respectively passed through a converter-based context encoder to obtain a supplier semantic feature vector and a demander semantic feature vector; then, the differential feature vector between the supplier semantic feature vector and the demander semantic feature vector is calculated; the differential feature vector is then regressively decoded through a decoder to obtain a decoded value, and the decoded value is used to represent the matching degree between the supply resources provided by the enterprise resource supplier and the demand resources required by the enterprise resource demander; finally, based on the comparison between the decoded value and a predetermined threshold, a resource scheduling result is generated.

[0061] Accordingly, with the surge in corporate information and document data, micro-level information resource management technology has limitations in the effectiveness of processing internal and external information of the enterprise, thereby reducing the correctness and effectiveness of corporate decision-making.

[0062] In recent years, deep learning and neural networks have been widely used in computer vision, natural language processing, text signal processing and other fields. In addition, deep learning and neural networks have also demonstrated a level close to or even beyond that of humans in image classification, object detection, semantic segmentation, text translation and other fields.

[0063] The development of deep learning and neural networks provides new solutions for building resource scheduling solutions for ERP systems.

[0064] In the technical solution of the present application, it is expected to extract high-dimensional implicit semantic association information from the supply resource description text of the enterprise resource supplier and the demand resource description text of the enterprise resource demander, and compare and analyze the two to characterize the matching degree between the supply resources provided by the enterprise resource supplier and the demand resources required by the enterprise resource demander, and finally generate resource scheduling results based on the matching degree results. In this way, based on the supply resource description text of the enterprise resource supplier and the demand resource description text of the enterprise resource demander, the implicit association between the two is deeply excavated, and the macro-environmental information in the internal and external information of the enterprise is analyzed based on the perspective of the company's strategy, breaking through the limitations of data analysis technology at the micro level, and thus improving the correctness and effectiveness of enterprise decision-making.

[0065] In step S110, a description text of supplied resources of an enterprise resource supplier and a description text of demanded resources of an enterprise resource demander are obtained.

[0066] In step S120, the supply resource description text and the demand resource description text are respectively processed by word segmentation and then passed through a word embedding layer to obtain a sequence of supply word embedding vectors and a sequence of demand word embedding vectors. Since the supply resource description text and the demand resource description text are text data, that is, the supply resource description text and the demand resource description text are not structured data, therefore, in the technical solution of the present application, the supply resource description text and the demand resource description text are respectively processed by word segmentation to avoid word order confusion and then passed through a word embedding layer to obtain a sequence of supply word embedding vectors and a sequence of demand word embedding vectors, so as to convert the semantic information in the supply resource description text and the demand resource description text into a sequence of word embedding vectors that can be processed by a computer. Here, the role of the word embedding layer is to map a word to a word embedding vector, and the word embedding layer can be constructed based on a bag of words model, or based on a low-dimensional semantic embedding model, such as Word2Vec.

[0067] Specifically, in an embodiment of the present application, the encoding process of performing word segmentation on the supply resource description text and the demand resource description text and then passing them through a word embedding layer to obtain a sequence of supply word embedding vectors and a sequence of demand word embedding vectors includes: first, performing word segmentation on the supply resource description text and the demand resource description text to obtain a sequence of supply words and a sequence of demand words; then, passing the sequence of supply words and the sequence of demand words through a word embedding layer to convert each supply word and each demand word in the sequence of supply words and the sequence of demand words into a supply word embedding vector and a demand word embedding vector to obtain a sequence of supply word embedding vectors and a sequence of demand word embedding vectors, wherein the word embedding layer uses a learnable embedding matrix to embed and encode each supply word and each demand word.

[0068] In step S130, the sequence of supply word embedding vectors and the sequence of demand word embedding vectors are respectively passed through a transformer-based context encoder to obtain a supply-side semantic feature vector and a demand-side semantic feature vector. That is, the transformer-based context encoder is used to extract high-dimensional implicit semantic association features of the supply resource description text of the enterprise resource supplier and the demand resource description text of the enterprise resource demander, respectively, so as to obtain a supply-side semantic feature vector and a demand-side semantic feature vector. In the technical solution of the present application, based on the transformer idea, the transformer is used to capture the characteristics of long-distance contextual dependencies, and the sequence of supply word embedding vectors and the sequence of demand word embedding vectors are respectively encoded based on global context semantics to obtain contextual semantic association feature representations with the overall semantic association of the sequence of supply word embedding vectors and the sequence of demand word embedding vectors as the context background, that is, the supply-side semantic feature vector and the demand-side semantic feature vector.

[0069] Specifically, in an embodiment of the present application, the encoding process of passing the sequence of supply word embedding vectors and the sequence of demand word embedding vectors through a converter-based context encoder to obtain a supply-side semantic feature vector and a demand-side semantic feature vector, includes: first, passing the sequence of supply word embedding vectors and the sequence of demand word embedding vectors through the converter-based context encoder to obtain a plurality of supply-side feature vectors and a plurality of demand-side feature vectors; then, cascading the plurality of supply-side feature vectors to obtain the supply-side semantic feature vector, and cascading the plurality of demand-side feature vectors to obtain the demand-side semantic feature vector.

[0070] More specifically, in a specific example of the present application, the sequence of supply word embedding vectors and the sequence of demand word embedding vectors are respectively passed through the converter-based context encoder to obtain an encoding process of multiple supply-side feature vectors and multiple demand-side feature vectors, including: first, arranging the sequence of supply word embedding vectors as input vectors; then, converting the input vectors into query vectors and key vectors respectively through a learnable embedding matrix; then, calculating the product between the query vector and the transposed vector of the key vector to obtain a self-attention association matrix; then, normalizing the self-attention association matrix to obtain a standardized self-attention association matrix; then, inputting the standardized self-attention association matrix into a Softmax activation function for activation to obtain a self-attention feature matrix; finally, multiplying the self-attention feature matrix with each supply word embedding vector in the sequence of supply word embedding vectors as the value vector to obtain the multiple supplier feature vectors.

[0071] In step S140, the differential feature vector between the semantic feature vector of the supplier and the semantic feature vector of the demander is calculated. In the technical solution of the present application, it is expected to compare and analyze the implicit semantic association information contained in the supply resource description text of the enterprise resource supplier and the demand resource description text of the enterprise resource demander in a high-dimensional space. Preferably, the differential feature vector between the semantic feature vector of the supplier and the semantic feature vector of the demander is calculated. In a specific example, the difference between the feature values ​​of each corresponding position between the semantic feature vector of the supplier and the semantic feature vector of the demander can be calculated to obtain the differential feature vector.

[0072] Specifically, the differential feature vector between the semantic feature vector of the supplier and the semantic feature vector of the demander is calculated by the following formula; wherein the formula is: Wherein, V1 represents the semantic feature vector of the supplier, V2 represents the semantic feature vector of the demander, and V d represents the differential eigenvector, Indicates difference by position.

[0073] In step S150, the differential feature vector is regressively decoded by a decoder to obtain a decoded value, and the decoded value is used to represent the degree of match between the supply resources provided by the enterprise resource supplier and the demand resources required by the enterprise resource demander. In a specific example, a fully connected layer is used to construct a decoder, and the fully connected layer of the decoder can make full use of each position information in the differential feature vector to improve decoding accuracy.

[0074] More specifically, in the embodiment of the present application, the decoder is used to perform decoding regression on the differential feature vector using the following formula to obtain the decoded value; wherein the formula is: Where X is the differential feature vector, Y is the decoded value, and M is the weight matrix, Represents matrix multiplication.

[0075] In step S160, a resource scheduling result is generated based on the comparison between the decoded value and a predetermined threshold. More specifically, in response to the decoded value being greater than or equal to the predetermined threshold, the resource scheduling result is scheduling the supply resources of the enterprise resource supplier to the enterprise resource demander.

[0076] The resource scheduling method for the ERP system further includes a training step: training the converter-based context encoder and the decoder.

[0077] Figure 3The flowchart of training the converter-based context encoder and the decoder in the resource scheduling method of the ERP system according to the embodiment of the present application is shown in FIG. Figure 3 As shown, the training step includes: S210, obtaining the training supply resource description text of the enterprise resource supplier, the training demand resource description text of the enterprise resource demander, and the true value of the matching degree between the supply resources provided by the enterprise resource supplier and the demand resources required by the enterprise resource demander; S220, respectively performing word segmentation on the training supply resource description text and the training demand resource description text and passing them through the word embedding layer to obtain a sequence of training supply word embedding vectors and a sequence of training demand word embedding vectors; S230, respectively passing the sequence of training supply word embedding vectors and the sequence of training demand word embedding vectors through The converter-based context encoder is used to obtain a training supplier-side semantic feature vector and a training demand-side semantic feature vector; S240, a training differential feature vector is calculated between the training supplier-side semantic feature vector and the training demand-side semantic feature vector; S250, the training differential feature vector is passed through the decoder to obtain a decoding loss function value; and, S260, the converter-based context encoder and the decoder are trained based on the decoding loss function value and through directional propagation of gradient descent, wherein, in each round of iteration of the training, the weight matrix of the decoder is iterated with spatial regularization constraints of the weight matrix.

[0078] Here, when calculating the differential feature vector between the differential feature vectors of the semantic feature vector of the supplier and the semantic feature vector of the demander, since the differential feature vector is obtained by calculating the position-by-position difference between the semantic feature vector of the supplier and the semantic feature vector of the demander, the correlation between its overall feature distribution and the overall feature distribution of the semantic feature vector of the supplier and the semantic feature vector of the demander is not considered. However, since the difference in text semantic distribution between the supply resource description text and the demand resource description text will be amplified in the high-dimensional contextual semantic feature space, the overall feature distribution of the differential feature vector will deviate from the high-dimensional feature distribution of the separate feature representations of the semantic features of the supplier and the semantic features of the demander at the same time, thereby slowing down the convergence speed of the weight matrix of the decoder during the training process, affecting the overall training speed of the model.

[0079] Therefore, in the technical solution of the present application, the applicant of the present application performs spatial regularization constraints on the weight matrix at each iteration of the weight matrix of the decoder, which is expressed as:

[0080]

[0081] where M is the weight matrix of the decoder, ‖·‖F represents the Frobenius norm of the matrix, M b is the bias matrix, which can be initially set to the identity matrix, represents matrix multiplication, ⊕ represents matrix addition, ⊙ represents positional point multiplication, exp(·) represents matrix exponential operation, and the matrix exponential operation represents the calculation of the natural exponential function value raised to the power of the eigenvalues ​​of each position in the matrix, M ′ represents the weight matrix of the decoder after iteration.

[0082] The spatial regularization constraint of the weight matrix is ​​based on the intrinsic correlation matrix obtained by spatially embedding the weight matrix with its own transpose, and the weight matrix is ​​L2 regularized based on its intrinsic correlation distribution in the Euclidean space, thereby reflecting the semantic dependence of the weight space on the specific pattern expressed by the feature regardless of the numerical distribution of the feature to be weighted and the numerical size by position, so that the weight space reflects the transmission effect of the intrinsic essential knowledge of the extracted features, accelerates the convergence of the weight matrix, and thus improves the overall training speed of the model.

[0083] In summary, the resource scheduling method of the ERP system based on the embodiment of the present application is explained, which utilizes natural language processing technology based on deep learning and artificial intelligence to extract high-dimensional implicit semantic association information contained in the supply resource description text of the enterprise resource supplier and the demand resource description text of the enterprise resource demander through a converter-based context encoder, and compares and analyzes the two to characterize the matching degree between the supply resources provided by the enterprise resource supplier and the demand resources required by the enterprise resource demander, and finally generates a resource scheduling result based on the matching result. In this way, the macro-environmental information in the internal and external resource information of the enterprise is analyzed from a perspective based on the company's strategy, the correctness and effectiveness of the enterprise's decision-making are improved, and then the effectiveness of the reasonable development and utilization of enterprise resources is improved.

[0084] Exemplary Systems

[0085] Figure 4 FIG. 1 is a block diagram of a resource scheduling system of an ERP system according to an embodiment of the present application. Figure 4As shown, the resource scheduling system 100 of the ERP system according to the embodiment of the present application includes: a resource supply and demand data acquisition unit 110, which is used to acquire the supply resource description text of the enterprise resource supplier and the demand resource description text of the enterprise resource demander; a structuring unit 120, which is used to perform word segmentation on the supply resource description text and the demand resource description text respectively and then pass them through the word embedding layer to obtain a sequence of supply word embedding vectors and a sequence of demand word embedding vectors; a context semantic understanding unit 130, which is used to respectively pass the sequence of supply word embedding vectors and the sequence of demand word embedding vectors through a converter-based A context encoder is used to obtain a semantic feature vector of the supplier and a semantic feature vector of the demander; a difference measurement unit 140 is used to calculate a differential feature vector between the semantic feature vector of the supplier and the semantic feature vector of the demander; a matching degree regression unit 150 is used to regressively decode the differential feature vector through a decoder to obtain a decoded value, and the decoded value is used to represent the matching degree between the supply resources provided by the enterprise resource supplier and the demand resources required by the enterprise resource demander; and a scheduling result generation unit 160 is used to generate a resource scheduling result based on a comparison between the decoded value and a predetermined threshold.

[0086] Figure 5 FIG. 1 is a block diagram of a training module in a resource scheduling system of an ERP system according to an embodiment of the present application. Figure 5As shown, the training module 200 includes: a training resource supply and demand data acquisition unit 210, which is used to obtain the training supply resource description text of the enterprise resource supplier, the training demand resource description text of the enterprise resource demander, and the real value of the matching degree between the supply resources provided by the enterprise resource supplier and the demand resources required by the enterprise resource demander; a training structuring unit 220, which is used to perform word segmentation on the training supply resource description text and the training demand resource description text respectively and then pass them through the word embedding layer to obtain a sequence of training supply word embedding vectors and a sequence of training demand word embedding vectors; a training context semantic understanding unit 230, which is used to embed the sequence of training supply word embedding vectors and the sequence of training demand word embedding vectors The sequence is passed through the converter-based context encoder respectively to obtain a training supplier-side semantic feature vector and a training demand-side semantic feature vector; a training difference measurement unit 240 is used to calculate a training differential feature vector between the training supplier-side semantic feature vector and the training demand-side semantic feature vector; a decoding loss unit 250 is used to pass the training differential feature vector through the decoder to obtain a decoding loss function value; and a training unit 260 is used to train the converter-based context encoder and the decoder based on the decoding loss function value and through the direction propagation of gradient descent, wherein in each round of iteration of the training, the weight matrix of the decoder is iterated with a spatial regularization constraint of the weight matrix.

[0087] Here, those skilled in the art will appreciate that the specific functions and operations of the various units and modules in the resource scheduling system 100 of the ERP system have been described in detail above. Figures 1 to 3 The resource scheduling method of the ERP system has been described in detail, and therefore, its repeated description will be omitted.

[0088] As described above, the resource scheduling system 100 of the ERP system according to the embodiment of the present application can be implemented in various terminal devices, such as a server suitable for resource scheduling of the ERP system. In one example, the resource scheduling system 100 of the ERP system according to the embodiment of the present application can be integrated into the terminal device as a software module and / or a hardware module. For example, the resource scheduling system 100 of the ERP system can be a software module in the operating system of the terminal device, or can be an application developed for the terminal device; of course, the resource scheduling system 100 of the ERP system can also be one of the many hardware modules of the terminal device.

[0089] Alternatively, in another example, the resource scheduling system 100 of the ERP system and the terminal device may also be separate devices, and the resource scheduling system 100 of the ERP system may be connected to the terminal device via a wired and / or wireless network and transmit interactive information in accordance with an agreed data format.

[0090] Exemplary Electronic Devices

[0091] Below, reference Figure 6 To describe an electronic device according to an embodiment of the present application. Figure 6 FIG. 1 is a block diagram of an electronic device according to an embodiment of the present application. Figure 6 As shown, the electronic device 10 includes one or more processors 11 and a memory 12 .

[0092] The processor 11 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 10 to perform desired functions.

[0093] The memory 12 may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 11 may run the program instructions to implement the functions of the resource scheduling method of the ERP system of each embodiment of the present application described above and / or other desired functions. Various contents such as supply resource description text of the enterprise resource supplier and demand resource description text of the enterprise resource demander may also be stored in the computer-readable storage medium.

[0094] In one example, the electronic device 10 may further include: an input device 13 and an output device 14, and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).

[0095] The input device 13 may include, for example, a keyboard, a mouse, etc.

[0096] The output device 14 can output various information to the outside, including decoded values, resource scheduling results, etc. The output device 14 can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, and the like.

[0097] Of course, to simplify, Figure 6Only some of the components related to the present application in the electronic device 10 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device 10 may also include any other appropriate components.

[0098] Exemplary computer program products and computer-readable storage media

[0099] In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps in the functions of the resource scheduling method of the ERP system according to various embodiments of the present application described in the above-mentioned "Exemplary Method" section of this specification.

[0100] The computer program product may be written in any combination of one or more programming languages ​​to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages, such as Java, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0101] In addition, an embodiment of the present application may also be a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, enable the processor to execute the steps in the functions of the resource scheduling method of the ERP system according to various embodiments of the present application described in the above “Exemplary Method” section of this specification.

[0102] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0103] The basic principles of the present application are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present application are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present application. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, not for limitation, and the above details do not limit the present application to being implemented by adopting the above specific details.

[0104] The block diagrams of the devices, apparatuses, equipment, and systems involved in this application are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagram. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including", "comprising", "having", etc. are open words, referring to "including but not limited to", and can be used interchangeably with them. The words "or" and "and" used here refer to the words "and / or" and can be used interchangeably with them, unless the context clearly indicates otherwise. The words "such as" used here refer to the phrase "such as but not limited to", and can be used interchangeably with them.

[0105] It should also be noted that in the apparatus, device and method of the present application, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present application.

[0106] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present application. Therefore, the present application is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

[0107] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present application to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.

Claims

1. A resource scheduling method for an ERP system. It is characterized in that include: Obtaining the supply resource description text of the enterprise resource supplier and the demand resource description text of the enterprise resource demander; The supply resource description text and the demand resource description text are respectively segmented and passed through a word embedding layer to obtain a sequence of supply word embedding vectors and a sequence of demand word embedding vectors; Passing the sequence of supply word embedding vectors and the sequence of demand word embedding vectors through a transformer-based context encoder to obtain a supply-side semantic feature vector and a demand-side semantic feature vector, respectively; Calculating a differential feature vector between the supply-side semantic feature vector and the demand-side semantic feature vector; Regression decoding the differential feature vector through a decoder to obtain a decoded value, where the decoded value is used to indicate the degree of matching between the supply resources provided by the enterprise resource supplier and the demand resources required by the enterprise resource demander; as well as generating a resource scheduling result based on a comparison between the decoded value and a predetermined threshold; The method further includes a training step of: training the converter-based context encoder and the decoder; Wherein, the training step includes: Obtaining a training supply resource description text of an enterprise resource supplier, a training demand resource description text of an enterprise resource demander, and a true value of the matching degree between the supply resources provided by the enterprise resource supplier and the demand resources required by the enterprise resource demander; The training supply resource description text and the training demand resource description text are respectively segmented and passed through a word embedding layer to obtain a sequence of training supply word embedding vectors and a sequence of training demand word embedding vectors; Passing the sequence of training supply word embedding vectors and the sequence of training demand word embedding vectors through the transformer-based context encoder to obtain a training supply-side semantic feature vector and a training demand-side semantic feature vector, respectively; Calculating a training differential feature vector between the training supply-side semantic feature vector and the training demand-side semantic feature vector; Passing the training differential feature vector through the decoder to obtain a decoding loss function value; and The transformer-based context encoder and the decoder are trained based on the decoding loss function value and by directional propagation of gradient descent, wherein in each iteration of the training, a weight matrix of the decoder is iterated with a spatial regularization constraint of the weight matrix; Wherein, in each round of iteration of the training, the weight matrix of the decoder is iterated with spatial regularization constraints according to the following formula; Wherein, the formula is: where M is the weight matrix of the decoder, ‖·‖ F represents the Frobenius norm of the matrix, M b is the bias matrix, represents matrix multiplication, represents matrix addition, ⊙ represents positional multiplication, exp(·) represents matrix exponential operation, and the matrix exponential operation represents the calculation of the natural exponential function value raised to the power of the eigenvalues ​​of each position in the matrix, M ′ represents the weight matrix of the decoder after iteration.

2. The resource scheduling method of the ERP system according to claim 1, It is characterized in that The supply resource description text and the demand resource description text are respectively segmented and passed through a word embedding layer to obtain a sequence of supply word embedding vectors and a sequence of demand word embedding vectors, including: Performing word segmentation processing on the supply resource description text and the demand resource description text respectively to obtain a sequence of supply words and a sequence of demand words; and The sequence of supply words and the sequence of demand words are respectively passed through a word embedding layer to convert each supply word and each demand word in the sequence of supply words and the sequence of demand words into a supply word embedding vector and a demand word embedding vector to obtain a sequence of supply word embedding vectors and a sequence of demand word embedding vectors, wherein the word embedding layer uses a learnable embedding matrix to perform embedding encoding on each supply word and each demand word, respectively.

3. The resource scheduling method of the ERP system according to claim 2, It is characterized in that Passing the sequence of supply word embedding vectors and the sequence of demand word embedding vectors through a transformer-based context encoder to obtain a supply-side semantic feature vector and a demand-side semantic feature vector, respectively, including: Passing the sequence of supply word embedding vectors and the sequence of demand word embedding vectors through the transformer-based context encoder to obtain a plurality of supply-side feature vectors and a plurality of demand-side feature vectors; and The multiple supplier feature vectors are cascaded to obtain the supplier semantic feature vector, and the multiple demand feature vectors are cascaded to obtain the demand semantic feature vector.

4. The resource scheduling method of the ERP system according to claim 3, It is characterized in that Passing the sequence of supply word embedding vectors and the sequence of demand word embedding vectors through the converter-based context encoder to obtain a plurality of supply-side feature vectors and a plurality of demand-side feature vectors, respectively, includes: Arranging the sequence of supplied word embedding vectors as an input vector; Convert the input vector into a query vector and a key vector respectively through a learnable embedding matrix; Calculating the product between the query vector and the transposed vector of the key vector to obtain a self-attention association matrix; Normalizing the self-attention association matrix to obtain a standardized self-attention association matrix; Inputting the standardized self-attention association matrix into a Softmax activation function for activation to obtain a self-attention feature matrix; and The self-attention feature matrix is ​​multiplied by each supply word embedding vector in the sequence of the supply word embedding vectors as a value vector to obtain the multiple supplier feature vectors.

5. The resource scheduling method of the ERP system according to claim 4, It is characterized in that Calculating a differential feature vector between the supply-side semantic feature vector and the demand-side semantic feature vector, including: The differential feature vector between the semantic feature vector of the supply side and the semantic feature vector of the demand side is calculated by the following formula; Wherein, the formula is: Among them, V 1 represents the supplier semantic feature vector, V 2 represents the demand side semantic feature vector, V d represents the differential eigenvector, Indicates difference by position.

6. The resource scheduling method of the ERP system according to claim 5, It is characterized in that The differential feature vector is regressively decoded by a decoder to obtain a decoded value, and the decoded value is used to indicate the matching degree between the supply resources provided by the enterprise resource supplier and the demand resources required by the enterprise resource demander, including: The decoder is used to perform decoding regression on the differential feature vector using the following formula to obtain the decoded value; wherein the formula is: Where X is the differential feature vector, Y is the decoded value, and M is the weight matrix, Represents matrix multiplication.

7. The resource scheduling method of the ERP system according to claim 6, It is characterized in that Based on the comparison between the decoded value and a predetermined threshold, generating a resource scheduling result includes: In response to the decoded value being greater than or equal to a predetermined threshold, the resource scheduling result is scheduling the supply resources of the enterprise resource supplier to the enterprise resource demander.

8. A resource scheduling system for an ERP system, It is characterized in that include: A resource supply and demand data acquisition unit, used to acquire the supply resource description text of the enterprise resource supplier and the demand resource description text of the enterprise resource demander; A structuring unit, configured to perform word segmentation processing on the supply resource description text and the demand resource description text respectively and then pass them through a word embedding layer to obtain a sequence of supply word embedding vectors and a sequence of demand word embedding vectors; A context semantic understanding unit, used for passing the sequence of supply word embedding vectors and the sequence of demand word embedding vectors through a converter-based context encoder to obtain a supply-side semantic feature vector and a demand-side semantic feature vector respectively; A difference measurement unit, used for calculating a differential feature vector between the semantic feature vector of the supply side and the semantic feature vector of the demand side; A matching degree regression unit, used for regressing and decoding the differential feature vector through a decoder to obtain a decoding value, wherein the decoding value is used to represent the matching degree between the supply resources provided by the enterprise resource supplier and the demand resources required by the enterprise resource demander; as well as a scheduling result generating unit, configured to generate a resource scheduling result based on a comparison between the decoded value and a predetermined threshold; The method further includes: training the converter-based context encoder and the decoder; The step of training the converter-based context encoder and the decoder comprises: Obtaining a training supply resource description text of an enterprise resource supplier, a training demand resource description text of an enterprise resource demander, and a true value of the matching degree between the supply resources provided by the enterprise resource supplier and the demand resources required by the enterprise resource demander; The training supply resource description text and the training demand resource description text are respectively segmented and passed through a word embedding layer to obtain a sequence of training supply word embedding vectors and a sequence of training demand word embedding vectors; Passing the sequence of training supply word embedding vectors and the sequence of training demand word embedding vectors through the transformer-based context encoder to obtain a training supply-side semantic feature vector and a training demand-side semantic feature vector respectively; Calculating a training differential feature vector between the training supply-side semantic feature vector and the training demand-side semantic feature vector; Passing the training differential feature vector through the decoder to obtain a decoding loss function value; and The transformer-based context encoder and the decoder are trained based on the decoding loss function value and by directional propagation of gradient descent, wherein in each iteration of the training, a weight matrix of the decoder is iterated with a spatial regularization constraint of the weight matrix; Wherein, in each round of iteration of the training, the weight matrix of the decoder is iterated with spatial regularization constraints according to the following formula; Wherein, the formula is: where M is the weight matrix of the decoder, ||·|| F represents the Frobenius norm of the matrix, M b is the bias matrix, represents matrix multiplication, represents matrix addition, ⊙ represents positional point multiplication, exp(·) represents matrix exponential operation, and the matrix exponential operation represents the calculation of the natural exponential function value raised to the power of the eigenvalues ​​of each position in the matrix, and M′ represents the weight matrix of the decoder after iteration.

Citation Information

Patent Citations

  • System for realizing massive clothes customization supply chain grid model

    CN101976414A

  • Design resource replacement method for work plan stage

    CN113222431A

  • Resource scheduling method and system

    CN113988727A

  • Big data distributed task scheduling system and scheduling method thereof

    CN114066210A

  • Agricultural product production and marketing resource balanced distribution analysis method and system, terminal and medium

    CN115660383A

Cited By

  • ERP resource scheduling method, device and system based on intelligent decision

    CN121032105A