Material supply and demand balance planning method and system

By conducting semantic analysis and topological modeling of material demand information, and using graph neural networks to determine material distribution proportions, the problem of low efficiency in material supply and demand balance planning in traditional methods is solved, and more efficient material distribution is achieved.

CN118607886BActive Publication Date: 2024-10-18CHINA ACADEMY OF INFORMATION & COMM
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411074491.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2024-10-18
Estimated Expiration
2044-08-07

AI Technical Summary

Technical Problem

The traditional material supply and demand balance planning method is based on manual experience and is difficult to achieve comprehensive analysis and optimal allocation of material demand information for multiple targets. Especially in public security emergencies, due to the dynamics, fuzziness and multi-dimensionality of demand information, leading to inefficient allocation.

Method used

By obtaining the urgency, type and usage description in the material demand information, we perform demand semantic analysis, use the graph neural network model to extract the semantic encoding feature vector and topological feature matrix, determine the material distribution proportion, and optimize the material distribution.

Benefits of technology

It achieves comprehensive analysis and optimal distribution of multiple target material demand information, improves the efficiency and accuracy of material distribution, and can better respond to complex needs in public security emergencies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118607886B_ABST
    Figure CN118607886B_ABST
Patent Text Reader

Abstract

The present application discloses a material supply and demand balance planning method and system, which optimizes the material allocation efficiency by comprehensively considering the material demand information of multiple targets, extracting and utilizing the semantic information and topological information in the material demand information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent planning, and more specifically, to a material supply and demand balance planning method and system. Background Art

[0002] Due to the uncertainty, complexity and diversity of public safety emergencies, the dynamic, ambiguous and multidimensional nature of material demand information has brought great challenges to material supply and demand balance planning. Traditional material supply and demand balance planning methods are often based on manual experience, which makes it difficult to achieve comprehensive analysis and optimal allocation of material demand information for multiple targets.

[0003] Therefore, an optimized material supply and demand balance planning scheme is expected. Summary of the invention

[0004] In order to solve the above technical problems, this application is proposed. The embodiment of this application provides a material supply and demand balance planning method and system, which optimizes the material allocation efficiency by comprehensively considering the material demand information of multiple targets, extracting and utilizing the semantic information and topological information in the material demand information.

[0005] According to one aspect of the present application, a material supply and demand balance planning method is provided, which includes: obtaining material demand information of multiple targets provided by the demander, wherein the material demand information includes the urgency of the material, the material type, and the material usage description; performing demand semantic analysis on the material demand information of the multiple targets to obtain semantic coding feature vectors of material demand of multiple semantic topological targets; and determining the material allocation ratio of the multiple targets based on the semantic coding feature vectors of material demand of the multiple semantic topological targets.

[0006] According to another aspect of the present application, a material supply and demand balance planning system is provided, which includes: an information collection module for acquiring material demand information of multiple targets provided by the demander, wherein the material demand information includes the urgency of the material, the material type, and the material usage description; a semantic analysis module for performing demand semantic analysis on the material demand information of the multiple targets to obtain semantic coding feature vectors of material demands of multiple semantic topological targets; and an allocation ratio generation module for determining the material allocation ratios of the multiple targets based on the semantic coding feature vectors of material demands of the multiple semantic topological targets.

[0007] Compared with the prior art, the present application provides a material supply and demand balance planning method and system, which optimizes the material allocation efficiency by comprehensively considering the material demand information of multiple targets, extracting and utilizing the semantic information and topological information in the material demand information. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] 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.

[0009] Figure 1 Flow chart of a material supply and demand balance planning method according to an embodiment of the present application.

[0010] Figure 2 4 is a system architecture diagram of a material supply and demand balance planning method according to an embodiment of the present application.

[0011] Figure 3 This is a flowchart of sub-step S2 of the material supply and demand balance planning method according to an embodiment of the present application.

[0012] Figure 4 Flow chart of sub-step S22 of the material supply and demand balance planning method according to an embodiment of the present application.

[0013] Figure 5 This is a flowchart of sub-step S3 of the material supply and demand balance planning method according to an embodiment of the present application.

[0014] Figure 6 4 is a block diagram of a material supply and demand balance planning system according to an embodiment of the present application. DETAILED DESCRIPTION

[0015] 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.

[0016] As shown in this application and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.

[0017] Although the present application makes various references to certain modules in the system according to the embodiments of the present application, any number of different modules can be used and run on the user terminal and / or server. The modules are only illustrative, and different aspects of the system and method can use different modules.

[0018] Flowcharts are used in the present application to illustrate the operations performed by the system according to the embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed accurately in order. On the contrary, various steps may be processed in reverse order or simultaneously as required. Meanwhile, other operations may also be added to these processes, or a certain step or several steps of operations may be removed from these processes.

[0019] 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.

[0020] Traditional material supply and demand balance planning methods are often based on manual experience, which makes it difficult to achieve comprehensive analysis and optimal allocation of material demand information for multiple targets. Therefore, an optimized material supply and demand balance planning scheme is expected.

[0021] In the technical solution of the present application, a material supply and demand balance planning method is proposed. Figure 1 Flow chart of a material supply and demand balance planning method according to an embodiment of the present application. Figure 2 : is a system architecture diagram of a material supply and demand balance planning method according to an embodiment of the present application. Figure 1 and Figure 2 As shown, according to the material supply and demand balance planning method of the embodiment of the present application, the steps include: S1, obtaining material demand information of multiple targets provided by the demander, wherein the material demand information includes the urgency of the material, the material type, and the material usage description; S2, performing demand semantic analysis on the material demand information of the multiple targets to obtain semantic coding feature vectors of material demand of multiple semantic topological targets; and, S3, determining the material allocation ratio of the multiple targets based on the semantic coding feature vectors of material demand of the multiple semantic topological targets.

[0022] In particular, the S1 obtains material demand information of multiple targets provided by the demander, wherein the material demand information includes the urgency of the material, the material type, and the material use description. It should be understood that the urgency, material type, and material use description provide key information about material demand, which helps to determine the priority of material supply chain management and allocation, determine the types and specifications of required materials, and understand the specific uses and functions of materials in specific scenarios.

[0023] In particular, S2 performs demand semantic analysis on the material demand information of the multiple targets to obtain semantically encoded feature vectors of material demand of multiple semantic topological targets. Considering that the material demand in public safety emergencies is often not just independent individual demand, there may be a certain correlation between them. For example, some material demands may depend on the availability or satisfaction of other materials. The graph neural network model is able to model this correlation and effectively capture the correlation between material demands by constructing a topological structure between the demands. That is, in the technical solution of the present application, it is expected to use the graph neural network model to perform semantic encoding and topological correlation construction on the material demand information of the multiple targets provided by the demander. In particular, in a specific example of the present application, such as Figure 3 As shown, S2 includes: S21, extracting the node information of the material demand information of the multiple targets to obtain the semantic coding feature vectors of the material demand of the multiple targets; S22, extracting the topological information of the material demand information of the multiple targets to obtain the material demand semantic association topological feature matrix; and, S23, passing the semantic coding feature vectors of the material demand of the multiple targets and the material demand semantic association topological feature matrix through a graph neural network model to obtain the semantic coding feature vectors of the material demand of the multiple semantic topological targets.

[0024] Specifically, the S21 extracts the node information of the material demand information of the multiple targets to obtain the semantically encoded feature vectors of the material demand of the multiple targets. In particular, in a specific example of the present application, the material demand information of the multiple targets is semantically encoded to obtain the semantically encoded feature vectors of the material demand of the multiple targets. It should be understood that the feature vector can capture the key semantics and contextual information in the material demand information, which helps to more accurately describe and distinguish different material demands.

[0025] Accordingly, in a possible implementation, the node information of the material demand information of the multiple targets can be extracted through the following steps to obtain the semantic encoding feature vectors of the material demand of the multiple targets, for example: obtaining the material demand information of the multiple targets; preprocessing the material demand information, including text cleaning, word segmentation, and removal of stop words. This helps to reduce noise and extract key information; extract features from the material demand information using natural language processing technology. Common feature extraction methods include: bag of words model: converting the demand text into a vocabulary, and counting the frequency of occurrence of each word in the demand as a feature; TF-IDF: weighting the words according to the frequency of the words and the importance in the document set, and obtaining the TF-IDF value of each word as a feature; Word2Vec: a word embedding model based on a neural network, mapping the words to a low-dimensional vector space, and obtaining the vector representation of each word as a feature; GloVe: a word embedding model based on global word frequency statistics and co-occurrence matrix, and obtaining the vector representation of each word as a feature. Convert the extracted features into numerical form for calculation and analysis. You can use methods such as unique-hot encoding and label encoding to convert text features into vector form; normalize the feature vector to eliminate the dimensional differences between different features. Common normalization methods include maximum and minimum normalization and Z-score normalization; combine the preprocessed, feature-extracted, encoded, and normalized features into a feature vector. Each target's material demand corresponds to a feature vector.

[0026] Specifically, the S22 extracts the topological information of the material demand information of the multiple targets to obtain a material demand semantic association topological feature matrix. In particular, in a specific example of the present application, Figure 4 As shown, the S22 includes: S221, calculating the cross entropy value between any two target material demand semantic encoding feature vectors among the multiple target material demand semantic encoding feature vectors to obtain the material demand semantic association topological matrix; and, S222, passing the material demand semantic association topological matrix through a topological feature extractor based on a convolutional neural network model to obtain the material demand semantic association topological feature matrix.

[0027] More specifically, the S221 calculates the cross entropy value between any two target material demand semantic encoding feature vectors among the multiple target material demand semantic encoding feature vectors to obtain a material demand semantic association topology matrix. It should be understood that the cross entropy value can be used to calculate the similarity between feature vectors. A lower cross entropy value indicates a higher similarity between feature vectors, and vice versa. By calculating the cross entropy value between multiple target material demand semantic encoding feature vectors, a similarity matrix or distance matrix can be obtained to measure the similarity or difference between different target demands.

[0028] Accordingly, in a possible implementation, the cross entropy value between any two target material demand semantic coding feature vectors among the multiple target material demand semantic coding feature vectors can be calculated through the following steps to obtain a material demand semantic association topology matrix, for example: collect material demand information of multiple targets and convert it into semantic coding feature vectors. Ensure that the demand of each target has a corresponding feature vector; select the material demand semantic coding feature vectors of two targets as the target for calculating the cross entropy; for the feature vectors of the two targets, use the cross entropy formula to calculate the cross entropy value between them; for all target combinations that need to calculate the cross entropy, repeat steps 2 and 3 to calculate the cross entropy value between them; fill the calculated cross entropy value into the corresponding position in the material demand semantic association topology matrix. The rows and columns of the matrix correspond to different targets, and the elements in the matrix represent the cross entropy values ​​between the corresponding targets.

[0029] More specifically, in S222, the semantic association topological matrix of material demand is passed through a topological feature extractor based on a convolutional neural network model to obtain the semantic association topological feature matrix of material demand. That is, the semantic association topological matrix of material demand is subjected to feature extraction by a topological feature extractor based on a convolutional neural network model to obtain the semantic association topological feature matrix of material demand. Specifically, each layer of the topological feature extractor based on a convolutional neural network model is used to perform the following operations on the input data in the forward pass of the layer: convolution processing is performed on the input data to obtain a convolution feature map; pooling is performed on the convolution feature map along the channel dimension to obtain a pooling feature map; and nonlinear activation is performed on the pooling feature map to obtain an activation feature map; wherein the output of the last layer of the topological feature extractor based on the convolutional neural network model is the semantic association topological feature matrix of material demand, and the input of the first layer of the topological feature extractor based on the convolutional neural network model is the semantic association topological matrix of material demand.

[0030] It is worth noting that convolutional neural network (CNN) is a deep learning model that is mainly used to process data with grid structures, such as images, speech, and text. It has achieved great success in the field of computer vision. The core idea of ​​CNN is to learn the feature representation of input data through components such as convolutional layers, pooling layers, and fully connected layers. The following are the main components and principles of CNN: Convolutional layer: The convolutional layer is one of the core components of CNN. It extracts local features of the input data by performing convolution operations on the input data using a set of learnable filters (also called convolution kernels). The convolution operation can capture the spatial relationships and local patterns in the input data; Pooling layer: The pooling layer is used to reduce the spatial size of the feature map and retain important features. Commonly used pooling operations include maximum pooling and average pooling. The pooling operation can reduce the amount of calculation and make the model invariant to the position changes of the input data; Fully connected layer: The fully connected layer connects the features extracted by the convolutional layer and the pooling layer, and performs tasks such as classification or regression through a series of fully connected operations. The fully connected layer can map high-dimensional features to the space of target categories or predicted values; Activation function: The activation function introduces nonlinear transformations to increase the expressive power of the model. Common activation functions include ReLU, Sigmoid, and Tanh. Through the stacking of multiple convolutional layers, pooling layers, and fully connected layers, CNN can gradually learn the abstract feature representation of the input data, thereby achieving efficient processing and analysis of complex data. CNN has made major breakthroughs in image classification, target detection, speech recognition, and other fields, and has become one of the important models of deep learning.

[0031] It is worth mentioning that in other specific examples of the present application, the topological information of the material demand information of the multiple targets can also be extracted by other means to obtain a material demand semantic association topological feature matrix, for example: The following are steps for converting the material demand information of multiple targets into a material demand semantic association topological feature matrix: The material demand information of multiple targets is represented as a demand graph. Each demand is taken as a node, and the association between the nodes represents the semantic relationship between the demands; according to the semantic relationship between the demand information, the association mode between the nodes is determined. The association can be directed or undirected, depending on the dependency or association strength between the demands; based on the demand graph, the topological features are extracted as a representation of the semantic association. Common topological features include: degree centrality: measures the number of connections between a node and other nodes, indicating the importance of the node; closeness: measures the distance between a node and other nodes, indicating the proximity of the nodes; betweenness centrality: measures the importance of a node in the shortest path, indicating the intermediary role of the node in information transmission; eigenvector centrality: measures the degree of connection between a node and other important nodes, indicating the influence of the node; PageRank: an algorithm based on the network link structure, used to measure the importance and influence of a node; community detection algorithm: identifies groups of nodes with close connections, used to reveal the clustering structure and association patterns between demands; the extracted topological features are combined into a feature matrix. The material demand of each target corresponds to a row of feature vectors, and the columns of the feature matrix correspond to different topological features; the feature matrix is ​​normalized to eliminate the dimensional differences between different features. Common normalization methods include maximum and minimum normalization and Z-score normalization.

[0032] Specifically, in S23, the semantic encoding feature vectors of the multiple target material requirements and the semantic association topological feature matrix of the material requirements are passed through a graph neural network model to obtain the semantic encoding feature vectors of the multiple semantic topological target material requirements. That is, the graph neural network model is used to learn and extract important features in the material requirement information, capture the correlation between material requirements, and realize the modeling and analysis of complex demand information.

[0033] It is worth noting that graph neural network (GNN) is a type of deep learning model for processing graph structured data. Unlike traditional models such as convolutional neural networks and recurrent neural networks that focus on processing grid structured data (such as images and sequence data), GNN can effectively process non-grid structured data, such as social networks, chemical molecules, recommendation systems, etc. The core idea of ​​GNN is to learn the representation of nodes by propagating and aggregating information on the nodes of the graph. The following are the main components and principles of GNN: Graph convolution layer: The graph convolution layer is one of the core components of GNN. It obtains a new representation of the node by aggregating and updating the features of the node with the features of its neighboring nodes. The aggregation method can be weighted summation, mean pooling, etc. The graph convolution layer can capture the local neighborhood information of the node at the node level; Graph pooling layer: The graph pooling layer is used to reduce the scale of the graph and retain important graph structures and node features. Common graph pooling operations include sampling and aggregation of nodes in the graph. The graph pooling layer can reduce the amount of calculation and make the model have a certain invariance to the scale change of the graph; Graph attention mechanism: The graph attention mechanism introduces attention weights between nodes to aggregate the information of neighboring nodes more accurately. By learning the attention weights, the model can adaptively focus on important nodes and relationships, thereby improving the expressive power of the representation; Graph generation model: The graph generation model is used to generate new graph structures. It can generate new graphs similar to existing graphs by learning the features and topological structures of existing graphs. This has important application value in the enhancement and expansion of graph data. GNN can gradually learn the abstract feature representation of graph structure data through the stacking of multiple graph convolutional layers, graph pooling layers and graph attention mechanisms, thereby achieving efficient processing and analysis of complex graph data. GNN has achieved remarkable results in tasks such as graph classification, node classification, link prediction, and graph generation, and has been widely used in social network analysis, chemical computing, recommendation systems and other fields.

[0034] Accordingly, in a possible implementation, the semantic encoding feature vectors of the multiple target material requirements and the semantic association topological feature matrix of the material requirements can be passed through the graph neural network model to obtain the semantic encoding feature vectors of the multiple semantic topological target material requirements through the following steps, for example: collecting the semantic encoding feature vectors of the target material requirements and the semantic association topological feature matrix between the material requirements. The semantic encoding feature vector can use text embedding technology (such as Word2Vec, BERT, etc.) to convert the demand text into a vector representation of a fixed dimension. The semantic association topological feature matrix can represent the association relationship between the requirements, such as the similarity and co-occurrence relationship between the requirements; the material requirements are taken as nodes of the graph, and the edges of the graph are constructed using the semantic association topological feature matrix. The weight of the edge can represent the degree of association between the requirements. According to the association relationship of the requirements, an undirected graph or a directed graph can be constructed; a suitable graph neural network model, such as GraphSAGE, GAT, etc., is selected. These models can propagate and aggregate node features of graph structure data, thereby learning the representation of nodes; using the prepared semantic encoding feature vectors of the target material requirements as node features, the graph structure and node features are input into the graph neural network model for training. During the training process, the model will learn the representation of nodes and perform information propagation and aggregation based on the graph structure. After the training is completed, the semantic topological encoding feature vectors learned by each node (i.e., target material demand) in the graph neural network model can be extracted. These feature vectors will comprehensively consider semantic information and topological relationships, reflecting the importance and mutual relationship of each demand in the entire graph structure.

[0035] It is worth mentioning that in other specific examples of the present application, the material demand information of the multiple targets can also be subjected to demand semantic analysis in other ways to obtain semantic encoding feature vectors of material demand of multiple semantic topology targets, for example: obtaining relevant information of material demand, including urgency, material type and material use description. This information can be obtained through questionnaires, interviews with relevant personnel or analysis of existing demand reports; preprocessing the collected material demand information, including text cleaning, word segmentation and removal of stop words. These steps help to extract key information and prepare it for subsequent semantic analysis; construct semantic topology according to the semantic relevance of demand information. Word vector models (such as Word2Vec, GloVe) or pre-trained language models (such as BERT, GPT) can be used to represent the semantic relationship between words. By calculating the similarity or correlation between words, a semantic topology graph is constructed, in which nodes represent words and edges represent semantic relationships between words; features are extracted from the constructed semantic topology. Graph theory algorithms (such as PageRank, node centrality) can be used to calculate the importance and influence of nodes. These algorithms can help identify keywords and key concepts, thereby extracting important features of material demand; converting the extracted features into feature vectors. Vectorization techniques (such as word vectors and sentence vectors) can be used to convert features into numerical representations. These feature vectors can be used as semantic encodings of material requirements for subsequent analysis and application. For multiple target material requirements, repeat steps 3 to 5 to extract and encode the features of each target material requirement separately. In this way, semantic encoding feature vectors of multiple target material requirements can be obtained.

[0036] In particular, the S3 determines the material allocation ratios of the multiple targets based on the semantically encoded feature vectors of the material requirements of the multiple semantic topological targets. In particular, in a specific example of the present application, Figure 5 As shown, S3 includes: S31, passing the semantic encoding feature vectors of the material requirements of the multiple semantic topological targets through a classifier to obtain multiple probability values, and normalizing the multiple probability values ​​based on the maximum value to obtain multiple normalized probability values; and, S32, using the multiple normalized probability values ​​as the material allocation ratios of the multiple targets.

[0037] More specifically, in S31, the semantic encoding feature vectors of the multiple semantic topological target material requirements are passed through a classifier to obtain multiple probability values. Specifically, the semantic encoding feature vectors of the semantic topological target material requirements are fully connected using multiple fully connected layers of the classifier to obtain an encoding classification feature vector; and the encoding classification feature vector is passed through the Softmax classification function of the classifier to obtain the multiple probability values.

[0038] A classifier is a machine learning model or algorithm that is used to classify input data into different categories or labels. Classifiers are part of supervised learning and perform classification tasks by learning the mapping relationship from input data to output categories.

[0039] A fully connected layer is a common type of layer in neural networks. In a fully connected layer, each neuron is connected to all neurons in the previous layer, and each connection has a weight. This means that each neuron in the fully connected layer receives inputs from all neurons in the previous layer, and performs a weighted sum of these inputs through the weights, and then passes the result to the next layer.

[0040] The Softmax classification function is a commonly used activation function for multi-classification problems. It converts each element of the input vector into a probability value between 0 and 1, and the sum of these probability values ​​is equal to 1. The Softmax function is often used in the output layer of a neural network, especially for multi-classification problems, because it can map the network output to the probability distribution of each category. During the training process, the output of the Softmax function can be used to calculate the loss function and update the network parameters through the back propagation algorithm. It is worth noting that the output of the Softmax function does not change the relative size relationship between the elements, but only normalizes them. Therefore, the Softmax function does not change the characteristics of the input vector, but only converts it into a probability distribution form.

[0041] It is worth mentioning that in other specific examples of the present application, the semantic encoding feature vectors of the multiple semantic topological target material requirements can also be passed through a classifier in other ways to obtain multiple probability values, and the multiple probability values ​​are normalized based on the maximum value to obtain multiple normalized probability values, for example: collect the semantic encoding feature vectors of multiple semantic topological target material requirements as input data; divide the data set into a training set and a test set for model training and evaluation; select a suitable classifier model, such as a support vector machine, a random forest, a neural network, etc. The semantic encoding feature vectors of the semantic topological target material requirements of the training set and the corresponding label data are input into the classifier model for training; the semantic encoding feature vectors of the semantic topological target material requirements of the test set are predicted using the trained classifier model to obtain the corresponding probability values. The probability value indicates the possibility that each demand belongs to each classification; the probability value of each demand is normalized so that its value range is between 0 and 1; the probability value after normalization is used as the normalized probability value of multiple demands. These normalized probability values ​​represent the relative probability of each demand belonging to each classification.

[0042] Specifically, in S32, the multiple normalized probability values ​​are used as the material allocation ratios of the multiple targets. That is, after obtaining the multiple probability values, the multiple probability values ​​are further normalized based on the maximum value to obtain multiple normalized probability values; and the multiple normalized probability values ​​are used as the material allocation ratios of the multiple targets.

[0043] It is worth mentioning that in other specific examples of the present application, the material allocation ratios of the multiple targets can also be determined based on the semantic coding feature vectors of the material requirements of the multiple semantic topological targets in other ways, for example: collecting the semantic coding feature vectors of the material requirements of the semantic topological targets of the multiple targets. These feature vectors can be obtained by converting the demand text into a vector representation of a fixed dimension using text embedding technology (such as Word2Vec, BERT, etc.); using a similarity calculation method (such as cosine similarity, Euclidean distance, etc.) to calculate the similarity between each pair of targets; and constructing a similarity graph based on the calculated similarity. In the similarity graph, each target corresponds to a node, and the similarity is used as the weight of the edge; and the constructed similarity graph is subjected to graph analysis. Graph theory algorithms (such as graph clustering, community discovery, etc.) can be used to identify subgraphs, densely connected node groups, etc. in the graph; based on the results of the graph analysis, the material allocation ratios of multiple targets can be determined; and the material allocation ratios can be adjusted and optimized according to actual needs and constraints.

[0044] In a specific example of the present application, the material supply and demand balance planning method also includes: a training step for training the topological feature extractor based on the convolutional neural network model, the graph neural network model and the classifier. Wherein, the training step includes: obtaining training data, wherein the training data includes: training material demand information of multiple targets provided by the demander; semantically encoding the training material demand information of the multiple targets respectively to obtain multiple training target material demand semantic encoding feature vectors; calculating the cross entropy value between any two training target material demand semantic encoding feature vectors among the multiple training target material demand semantic encoding feature vectors to obtain a training material demand semantic association topological matrix; passing the training material demand semantic association topological matrix through a topological feature extractor based on a convolutional neural network model to obtain a training material demand semantic association topological feature matrix; and The semantic coding feature vector and the training material demand semantic association topological feature matrix are passed through a graph neural network model to obtain multiple training semantic topological target material demand semantic coding feature vectors; the multiple training semantic topological target material demand semantic coding feature vectors are passed through a classifier to obtain a classification loss function value; the semantic topological target material demand semantic coding loss function value for the multiple training semantic topological target material demand semantic coding feature vectors is calculated; the weighted sum of the classification loss function value and the semantic topological target material demand semantic coding loss function value is used as the final loss function value to train the topological feature extractor based on the convolutional neural network model, the graph neural network model and the classifier.

[0045] In the technical solution of the present application, each training target material demand semantic coding feature vector expresses the textual semantic features of the training material demand information of a single target. Thus, after the multiple training target material demand semantic coding feature vectors and the training material demand semantic association topological feature matrix are passed through the graph neural network model, each training semantic topological target material demand semantic coding feature vector can express the topological association representation of the training material demand information of each target under the semantic space distribution similarity topology. Thus, when the multiple training semantic topological target material demand semantic coding feature vectors are passed through the classifier for classification and regression, a scale-inspired regression probability mapping based on the semantic distance representation in the semantic space can be performed. At the same time, considering that the training semantic topological target material demand semantic coding feature vector contains a single-target semantic feature representation and a multi-target semantic space topological association feature representation, that is, it contains a mixed feature representation of the semantic space, which will lead to a reduction in the accuracy of the classification result of the classifier. Based on this, the present application further introduces a loss function for promoting classification understanding for the complex feature expression of the multiple training semantic topological target material demand semantic coding feature vectors.

[0046] In a specific example of the present application, the semantic topology target material demand semantic coding loss function value for the multiple training semantic topology target material demand semantic coding feature vectors is calculated, including: cascading the multiple training semantic topology target material demand semantic coding feature vectors into a training semantic topology target material demand semantic coding cascade feature vector, calculating the mean and variance between the eigenvalues ​​of any two positions of the training semantic topology target material demand semantic coding cascade feature vector to obtain a mean weight matrix and a variance weight matrix, and then query-multiplying the training semantic topology target material demand semantic coding cascade feature vector with the mean weight matrix and the variance weight matrix respectively, and calculating the autocorrelation matrix of the two eigenvectors. norm, and subtract the self-correlation matrix of the concatenated feature vector of the semantic encoding of the training semantic topology target material demand The product of the norm and the weight as a hyperparameter is used to obtain the semantic topology target material demand semantic encoding loss function value.

[0047] For example, represented as: ;in, Indicates that the plurality of training semantic topology target material demand semantic encoding feature vectors are cascaded to form a training semantic topology target material demand semantic encoding cascade feature vector, is the mean weight matrix, is the variance weight matrix, represents the transpose of a vector, represents the matrix multiplication operation, is the predetermined weight hyperparameter, Represents the matrix norm, Represents the semantic encoding loss function value of the semantic topology target material demand.

[0048] And as mentioned above: ;in, The first cascade feature vector representing the semantic encoding of the training semantic topology target material demand eigenvalues, The first cascade feature vector representing the semantic encoding of the training semantic topology target material demand eigenvalues, represents the mean weight matrix The eigenvalues ​​of the positions, represents the variance weight matrix The eigenvalue of the location.

[0049] That is, in the above preferred example, the semantic topology target material demand semantic coding loss function value is obtained by cascading the multiple training semantic topology target material demand semantic coding cascade feature vectors to obtain the structured feature representation of the short-range and long-range cross-scale detail links of the training semantic topology target material demand semantic coding cascade feature vectors to perform the query composition of the detail inner product space within the multiple training semantic topology target material demand semantic coding feature vectors, so as to approximate the low-rank independent observable composition of the link detail composition provided by the structured detail interaction of the multiple training semantic topology target material demand semantic coding feature vectors. In this way, by training with the semantic topology target material demand semantic coding loss function value, the distributed detail groups of the multiple training semantic topology target material demand semantic coding feature vectors can be used to perform detail group decomposition on the basis of detail complexity, so as to promote the classification regression consistency decomposition and recognition of the complex feature structure of the multiple training semantic topology target material demand semantic coding feature vectors, and improve the accuracy of the material allocation ratio.

[0050] In summary, the material supply and demand balance planning method according to the embodiment of the present application is explained, which optimizes the material allocation efficiency by comprehensively considering the material demand information of multiple targets, extracting and utilizing the semantic information and topological information in the material demand information.

[0051] Furthermore, a material supply and demand balance planning system is also provided. Figure 6 is a block diagram of a material supply and demand balance planning system according to an embodiment of the present application. Figure 6 As shown, according to the material supply and demand balance planning system 300 of the embodiment of the present application, it includes: an information collection module 310, which is used to obtain material demand information of multiple targets provided by the demander, wherein the material demand information includes the urgency of the material, the material type, and the material use description; a semantic analysis module 320, which is used to perform demand semantic analysis on the material demand information of the multiple targets to obtain semantic coding feature vectors of material demand of multiple semantic topological targets; and an allocation ratio generation module 330, which is used to determine the material allocation ratio of the multiple targets based on the semantic coding feature vectors of material demand of the multiple semantic topological targets.

[0052] As described above, the material supply and demand balance planning system 300 according to the embodiment of the present application can be implemented in various wireless terminals, such as a server with a material supply and demand balance planning algorithm. In a possible implementation, the material supply and demand balance planning system 300 according to the embodiment of the present application can be integrated into the wireless terminal as a software module and / or a hardware module. For example, the material supply and demand balance planning system 300 can be a software module in the operating system of the wireless terminal, or can be an application developed for the wireless terminal; of course, the material supply and demand balance planning system 300 can also be one of the many hardware modules of the wireless terminal.

[0053] Alternatively, in another example, the material supply and demand balance planning system 300 and the wireless terminal may also be separate devices, and the material supply and demand balance planning system 300 may be connected to the wireless terminal via a wired and / or wireless network and transmit interactive information in an agreed data format.

[0054] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A material supply and demand balance planning method, It is characterized in that include: Obtain material demand information of multiple targets provided by the demander, wherein the material demand information includes the urgency of the materials, the material type, and the description of the material usage; perform demand semantic analysis on the material demand information of the multiple targets to obtain multiple semantic topological target material demand semantic coding feature vectors; and determine the material allocation ratios of the multiple targets based on the multiple semantic topological target material demand semantic coding feature vectors; wherein, performing demand semantic analysis on the material demand information of the multiple targets to obtain multiple semantic topological target material demand semantic coding feature vectors includes: extracting node information of the material demand information of the multiple targets to obtain multiple target material demand semantic coding feature vectors; extracting topological information of the material demand information of the multiple targets to obtain a material demand semantic association topological feature matrix; and passing the multiple target material demand semantic coding feature vectors and the material demand semantic association topological feature matrix through a graph neural network model to obtain the multiple semantic topological target material demand semantic coding feature vectors.

2. The material supply and demand balance planning method according to claim 1, It is characterized in that Extracting node information of the material demand information of the multiple targets to obtain semantically coded feature vectors of the material demand of the multiple targets includes: semantically encoding the material demand information of the multiple targets respectively to obtain the semantically coded feature vectors of the material demand of the multiple targets.

3. The material supply and demand balance planning method according to claim 2, It is characterized in that Extracting the topological information of the material demand information of the multiple targets to obtain a material demand semantic association topological feature matrix, including: calculating the cross entropy value between any two target material demand semantic encoding feature vectors among the multiple target material demand semantic encoding feature vectors to obtain the material demand semantic association topological matrix; passing the material demand semantic association topological matrix through a topological feature extractor based on a convolutional neural network model to obtain the material demand semantic association topological feature matrix.

4. The material supply and demand balance planning method according to claim 3, It is characterized in that Based on the semantically encoded feature vectors of material requirements of the multiple semantic topological targets, the material allocation ratios of the multiple targets are determined, including: passing the semantically encoded feature vectors of material requirements of the multiple semantic topological targets through a classifier to obtain a plurality of probability values, and normalizing the multiple probability values ​​based on the maximum value to obtain a plurality of normalized probability values; and using the multiple normalized probability values ​​as the material allocation ratios of the multiple targets.

5. The material supply and demand balance planning method according to claim 4, It is characterized in that Also includes: The training step is used to train the topological feature extractor based on the convolutional neural network model, the graph neural network model and the classifier.

6. The material supply and demand balance planning method according to claim 5, It is characterized in that The training step comprises: obtaining training data, wherein the training data comprises: training material demand information of multiple targets provided by the demand side; semantically encoding the training material demand information of the multiple targets respectively to obtain multiple training target material demand semantic encoding feature vectors; calculating the cross entropy value between any two training target material demand semantic encoding feature vectors among the multiple training target material demand semantic encoding feature vectors to obtain a training material demand semantic association topological matrix; passing the training material demand semantic association topological matrix through a topological feature extractor based on a convolutional neural network model to obtain a training material demand semantic association topological feature matrix; and performing semantic encoding of the multiple training target material demand semantic encoding feature vectors. The code feature vector and the training material demand semantic association topological feature matrix are passed through a graph neural network model to obtain multiple training semantic topological target material demand semantic coding feature vectors; the multiple training semantic topological target material demand semantic coding feature vectors are passed through a classifier to obtain a classification loss function value; the semantic topological target material demand semantic coding loss function value for the multiple training semantic topological target material demand semantic coding feature vectors is calculated; and the weighted sum of the classification loss function value and the semantic topological target material demand semantic coding loss function value is used as the final loss function value to train the topological feature extractor based on the convolutional neural network model, the graph neural network model and the classifier.

7. The material supply and demand balance planning method according to claim 6, It is characterized in that Calculating the semantic topology target material demand semantic coding loss function value for the multiple training semantic topology target material demand semantic coding feature vectors, including: cascading the multiple training semantic topology target material demand semantic coding feature vectors into a training semantic topology target material demand semantic coding cascade feature vector, calculating the mean and variance between the eigenvalues ​​of any two positions of the training semantic topology target material demand semantic coding cascade feature vector to obtain a mean weight matrix and a variance weight matrix, and then query-multiplying the training semantic topology target material demand semantic coding cascade feature vector with the mean weight matrix and the variance weight matrix respectively, and calculating the autocorrelation matrix of the two eigenvectors. norm, and subtract the self-correlation matrix of the concatenated feature vector of the semantic encoding of the training semantic topology target material demand The product of the norm and the weight as a hyperparameter is used to obtain the semantic topology target material demand semantic encoding loss function value.

8. A material supply and demand balance planning system, It is characterized in that include: An information collection module is used to obtain material demand information of multiple targets provided by the demand side, wherein the material demand information includes the urgency of the materials, the material type, and the description of the material usage; a semantic analysis module is used to perform demand semantic analysis on the material demand information of the multiple targets to obtain multiple semantic topological target material demand semantic coding feature vectors; and an allocation ratio generation module is used to determine the material allocation ratio of the multiple targets based on the multiple semantic topological target material demand semantic coding feature vectors; wherein the semantic analysis module includes: a node information extraction unit is used to extract the node information of the material demand information of the multiple targets to obtain multiple target material demand semantic coding feature vectors; a topology information extraction unit is used to extract the topology information of the material demand information of the multiple targets to obtain a material demand semantic association topology feature matrix; and a graph neural network encoding unit is used to pass the multiple target material demand semantic coding feature vectors and the material demand semantic association topology feature matrix through a graph neural network model to obtain the multiple semantic topological target material demand semantic coding feature vectors.

Citation Information

Patent Citations

  • Smart community resource management system

    CN115994668A

  • Resource scheduling method and system of ERP (Enterprise Resource Planning) system

    CN116307624A

  • Electric power material demand intelligent decision-making method and system based on data space

    CN116485084A

  • Emergency material demand analysis method and system

    CN117236666A

  • General topological neural network layer method based on continuous coherence theory

    CN118379537A