A method, device, computer equipment and storage medium for generating order information

By generating reference combination features and embedding order features, order information is optimized, solving the problems of low efficiency and timeliness of traditional ordering methods, achieving intelligent and efficient ordering, and adapting to changes in production lines and order diversity.

CN118428701BActive Publication Date: 2024-09-17HANGZHOU ALLYTECH TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410888423.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-09-17
Estimated Expiration
2044-07-04

AI Technical Summary

Technical Problem

The traditional production ordering method has low efficiency and timeliness, and cannot quickly adapt to changes in production line status and diversity of order demands, affecting production efficiency and the timeliness of order delivery.

Method used

An order information generation method is adopted to obtain order collection and production resource information, generate reference combination features, predict the target order to be processed, embed the characteristics of the target order into the assigned order sequence, and reorder to optimize the order information. . This method uses feature extraction models and autoencoding neural networks for iterative training, dimensionality reduction and classification model updates to ensure the adaptability and accuracy of the model in dynamic environments.

Benefits of technology

It implements an intelligent and efficient order scheduling method, improves production efficiency and order delivery timeliness, avoids local minima and oscillation problems in traditional methods, and enhances the applicability and prediction accuracy of the model in complex environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118428701B
    Figure CN118428701B
Patent Text Reader

Abstract

The present application relates to the field of data processing technology, and discloses a method, device, computer equipment and storage medium for generating order scheduling information, the method comprising: obtaining the current order set and the production resources adapted to the order set; generating reference combination features according to the unassigned orders in the order set and the resource information represented by the production resources, and predicting the target orders to be processed in the order set based on the reference combination features; obtaining the currently assigned but unprocessed order sequence, extracting the sequence features of the order sequence, and using the order features of the target order as embedded features of the sequence features to generate improved sequence features that incorporate the embedded features; adding the target order to the order sequence, and reordering the orders in the order sequence to which the target order is added, to obtain updated order scheduling information. Its beneficial effect is to achieve a more intelligent and efficient order scheduling method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a method, device, computer equipment and storage medium for generating order scheduling information. Background Art

[0002] Traditional production scheduling methods rely on manual operations and simple scheduling algorithms, and are often unable to quickly adapt to factors such as changes in production line status, diversity of order demands, and fluctuations in equipment performance, thus affecting production efficiency and the timeliness of order delivery.

[0003] In view of this, a more intelligent and efficient order scheduling method is currently needed. Summary of the invention

[0004] The present application provides a method, device, computer equipment and storage medium for generating order scheduling information, which solves the technical problems of low efficiency and timeliness of traditional production order scheduling methods, and achieves the technical effect of realizing a more intelligent and efficient order scheduling method.

[0005] In order to achieve the above objectives, the main technical solutions adopted in this application include:

[0006] In a first aspect, an embodiment of the present application provides a method for generating order scheduling information, the method comprising: obtaining a current order set and production resources adapted to the order set, the order set including one or more unassigned orders, the production resources being used to characterize at least one resource information of production line status information, production equipment information, and material information; generating a reference combination feature based on the unassigned orders in the order set and the resource information represented by the production resources, and predicting a target order to be processed in the order set based on the reference combination feature; obtaining a currently assigned but unprocessed order sequence, extracting sequence features of the order sequence, and using the order features of the target order as embedded features of the sequence features to generate an improved sequence feature that incorporates the embedded features; adding the target order to the order sequence, and reordering each order in the order sequence to which the target order has been added according to the improved sequence features to obtain updated order scheduling information.

[0007] The method for generating order information proposed in the embodiment of the present application can generate reference combination features for unallocated orders in combination with resource information represented by production resources. Through the reference combination features, the target order to be processed can be determined from the unallocated orders. Generally speaking, the target order is the order with the highest priority. However, due to the introduction of the new target order, it may have an impact on the order sequence that has been completed but is in an unprocessed state. Therefore, the order features of the target order can be used as embedded features and fused into the sequence features of the order sequence. Subsequently, an overall prediction can be made based on the sequence features fused with the embedded features, and then the order sequence with the target order added can be re-sorted to obtain more accurate order information. It can be seen that the technical solution provided by the above-mentioned embodiment of the present application can realize order queuing intelligently and efficiently.

[0008] In one embodiment, the reference combined features are generated based on a feature extraction model, and the feature extraction model is iteratively trained in the following manner:

[0009] Acquire the wave source initialization data in the current iteration round and the initial model parameters of the feature extraction model, wherein the wave source initialization data is at least used to limit the initial intensity of the wave source;

[0010] Generating initial loss information of forward propagation based on the initial model parameters, and updating the initial intensity of the wave source according to the initial loss information;

[0011] generating updated model parameters of the feature extraction model based on the updated wave source intensity;

[0012] According to the updated model parameters, the configuration coefficient of the wave source is adjusted, and the next iteration round of training is entered based on the adjusted configuration coefficient, wherein the configuration system is used to characterize the attenuation coefficient and the amplification coefficient of the wave source.

[0013] The technical solution provided in the embodiment of the present application iterates the model parameters in the feature extraction model by simulating the propagation and energy distribution characteristics of waves, making the iteration process of the model parameters smoother and more adaptive, and effectively avoiding the oscillation and local minimum problems in the traditional gradient descent method.

[0014] In one embodiment, updating the initial strength of the wave source according to the loss information includes:

[0015] Calculate the gradient information of the initial model parameters according to the initial loss information, wherein the gradient information includes a gradient direction and a gradient magnitude;

[0016] A target position represented by the gradient information is determined, a wave source is generated at the target position, and an initial intensity of the generated wave source is updated according to the gradient information and a current configuration coefficient of the wave source.

[0017] The technical solution provided in the embodiment of the present application updates the initial intensity of the wave source based on gradient information, thereby obtaining a more accurate wave source intensity, thereby improving the iteration accuracy of the model parameters.

[0018] In one embodiment, generating updated model parameters of the feature extraction model based on the updated wave source intensity includes:

[0019] Calculating a layer sensitivity of the current network layer according to a gradient norm of the current network layer, and generating a fluctuation threshold based on the layer sensitivity;

[0020] Determine the activation coefficient according to the fluctuation threshold, and calculate the fluctuation superposition result of each wave source in the parameter space based on the updated wave source strength;

[0021] According to the activation coefficient and the fluctuation superposition result, updated model parameters of the feature extraction model are generated.

[0022] The technical solution provided in the embodiment of the present application can make the updated model parameters more accurate by determining the activation coefficient and the fluctuation superposition result.

[0023] In one embodiment, adjusting the configuration coefficient of the wave source according to the updated model parameters includes:

[0024] Calculate the second loss information of the forward propagation corresponding to the updated model parameters;

[0025] The loss change amount between the second loss information and the initial loss information is determined, and the current configuration coefficient of the wave source is updated according to the loss change amount to obtain an adjusted configuration coefficient.

[0026] The technical solution provided in the embodiment of the present application updates the configuration coefficient of the wave source according to the loss change, effectively improving the adjustment accuracy of the configuration coefficient and thereby ensuring the iteration accuracy of the model parameters.

[0027] In one embodiment, the sample training set of the feature extraction model is generated in the following manner:

[0028] Acquire an initial training sample set, wherein the initial training sample set includes sample attribute data stored in a structured data storage format, wherein the sample attribute data includes first attribute data of an order sample and second attribute data of a production resource sample adapted to the order sample;

[0029] Extracting attribute features of each of the sample attribute data, and dividing each of the attribute features into one or more feature association groups based on the degree of association between the attribute features;

[0030] Under the constraint of minimizing the reconstruction error, adjusting the attribute features in the feature association group to form a similar sample group represented by the adjusted attribute features;

[0031] For any similar sample pair in the similar sample group, generating difference data of the similar sample pair, and generating a new sample according to the difference data;

[0032] The generated new samples and the initial training sample set are used as a sample training set for the feature extraction model.

[0033] The technical solution provided in the embodiment of the present application can expand effective new samples based on similar sample pairs in the similar sample group under the constraint of minimizing the reconstruction error, thereby enriching the quantity and quality of the sample training set and providing a sample basis for the training of the feature extraction model.

[0034] In one embodiment, after classifying each of the attribute features into one or more feature association groups, the method further includes:

[0035] For any target attribute feature in the feature association group, identifying a principal component matrix of the target attribute feature, and transforming the target attribute feature based on the principal component matrix to obtain a simplified attribute feature corresponding to the target attribute feature;

[0036] A feature association group consisting of the simplified attribute features is constructed, and the feature association group obtained by the construction is used to replace the feature association group before simplification.

[0037] The technical solution provided in the embodiment of the present application simplifies the target attribute features through the principal component matrix, so as to obtain a feature association group with a smaller data volume, thereby greatly improving the efficiency of sample expansion.

[0038] In one embodiment, based on the reference combination feature, predicting the target order to be processed in the order set includes:

[0039] Performing dimensionality reduction processing on the reference combined features to obtain reference reduced dimensionality features;

[0040] Based on the reference dimensionality reduction feature, the order with the highest priority in the current order set is identified, and the order with the highest priority is determined as the predicted target order to be processed.

[0041] The technical solution provided in the embodiment of the present application reduces the amount of data processing and improves the efficiency of order prediction by performing dimensionality reduction processing on the reference combination features while retaining the characteristics of the reference combination features.

[0042] In one embodiment, the reference dimension reduction feature is generated based on a feature dimension reduction model, the feature dimension reduction model includes an encoder and a decoder, and the feature dimension reduction model is trained in the following manner:

[0043] Generate a dimensionality reduction feature of the input sample by the encoder, and generate a reconstructed feature of the dimensionality reduction feature by the decoder;

[0044] Generate a manifold constraint factor based on the dimension reduction feature and a preset manifold center vector;

[0045] Calculating error information between the reconstructed feature and the input sample, and generating loss information in the current iteration round according to the error information and the manifold constraint factor;

[0046] Weight coefficients in the encoder and the decoder are adjusted based on the loss information.

[0047] The technical solution provided in the embodiment of the present application performs feature dimensionality reduction based on the autoencoder neural network of manifold mapping learning, ensuring that the features after dimensionality reduction can still retain key information. In addition, through the popular constraint factor, the local structure of the data can be better understood and more accurate data reconstruction can be achieved.

[0048] In one embodiment, the target order is predicted by a classification model, and the weight of the classification model during training is updated in the following manner:

[0049] Obtain a training data set, and for any data sample in the training data set, calculate a neighborhood weight matrix of the data sample;

[0050] In the current iteration round, current gradient data of the current iteration round is calculated according to the neighborhood weight matrix in the previous iteration round, and the current gradient data is adjusted based on the currently accumulated historical gradient data to obtain adjusted gradient data;

[0051] According to the adjusted gradient data, the neighborhood weight matrix in the previous iteration round is regularly updated.

[0052] The technical solution provided in the embodiment of the present application, combined with historical gradient data, can adjust the current gradient data generated according to the neighborhood weight matrix to obtain more accurate gradient data, and then complete the regular update of the neighborhood weight matrix, ensuring that the weights of the classification model can be accurately iterated.

[0053] In one embodiment, the bias of the classification model during training is updated as follows:

[0054] Get the initial bias of the previous iteration and calculate the gradient of the loss function with respect to the bias;

[0055] The initial bias is updated using the gradient of the loss function with respect to the bias to obtain the bias of the current iteration round.

[0056] The technical solution provided in the embodiment of the present application utilizes the gradient of the loss function with respect to the bias to accurately update the initial bias during the training process of the classification model.

[0057] In one embodiment, reordering the orders in the order sequence to which the target order is added according to the improved sequence feature includes:

[0058] Based on the improved sequence features, predict the first order with the highest priority in the order sequence to which the target order is added;

[0059] The order features of the first order are removed from the improved sequence features, and based on the removed sequence features, a second order with the highest priority other than the first order in the order sequence to which the target order is added is predicted.

[0060] The technical solution provided in the embodiment of the present application can accurately sort the orders that have been allocated but not processed by gradually eliminating the order features and orders that have been sorted.

[0061] In a second aspect, an embodiment of the present application provides a device for generating order scheduling information, the device comprising:

[0062] A data acquisition unit, used to acquire a current order set and production resources adapted to the order set, wherein the order set includes one or more unallocated orders, and the production resources are used to represent at least one resource information of production line status information, production equipment information, and material information;

[0063] An order prediction unit, configured to generate a reference combination feature according to unallocated orders in the order set and resource information represented by the production resource, and predict a target order to be processed in the order set based on the reference combination feature;

[0064] An embedding unit, used to obtain a currently assigned but unprocessed order sequence, extract sequence features of the order sequence, and use the order features of the target order as embedded features of the sequence features to generate an improved sequence feature that incorporates the embedded features;

[0065] An updating unit is used to add the target order to the order sequence, and reorder the orders in the order sequence to which the target order is added according to the improved sequence characteristics to obtain updated order information.

[0066] In a third aspect, an embodiment of the present application provides a computer device, including:

[0067] A memory and a processor, wherein the memory and the processor are communicatively connected to each other, computer instructions are stored in the memory, and the processor executes the above-mentioned method for generating order scheduling information by executing the computer instructions.

[0068] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which computer instructions are stored, and the computer instructions are used to enable a computer to execute the above-mentioned method for generating order scheduling information. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0070] Figure 1 This is a schematic diagram of the steps of a method for generating order information in one embodiment of the present application;

[0071] Figure 2 A schematic diagram of a sample expansion method in one embodiment of the present application;

[0072] Figure 3 This is a schematic diagram of iterative training of a feature extraction model in one embodiment of the present application;

[0073] Figure 4 A schematic diagram of the training process of a feature extraction model in one embodiment of the present application;

[0074] Figure 5 This is a schematic diagram of training a feature dimensionality reduction model in one embodiment of the present application;

[0075] Figure 6 This is a schematic diagram of the functional modules of a device for generating order scheduling information in one embodiment of the present application;

[0076] Figure 7 This is a schematic diagram of the structure of a computer device in one embodiment of the present application. DETAILED DESCRIPTION

[0077] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0078] With the rapid development of industrial big data and intelligent manufacturing technology, it has become possible to use deep learning technology for intelligent scheduling. Deep learning technology can process complex data structures and automatically optimize the decision-making process of production scheduling by learning patterns and relationships in production data. However, existing intelligent scheduling technologies still face problems such as insufficient data processing, weak model generalization ability, and poor performance in processing unbalanced data sets.

[0079] Specifically, when implementing intelligent order scheduling, related technologies may have the following problems:

[0080] 1. When traditional methods enhance data sets, especially those containing correlation features, they often fail to maintain the inherent structure and correlation of the original data, thus affecting the actual application effect of the model.

[0081] 2. Conventional feature extraction techniques are easily affected by local minima and oscillations in dynamic data environments, which limits the applicability and efficiency of the model in complex environments.

[0082] 3. Traditional feature dimensionality reduction techniques often sacrifice key information when processing high-dimensional data, resulting in reduced accuracy and reliability of model predictions.

[0083] 4. Conventional classification methods often show insufficient learning ability when faced with unbalanced data sets, which affects the accuracy of the classification results and the practicality of the model.

[0084] According to an embodiment of the present application, an embodiment of a method for generating order scheduling information is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0085] Figure 1 is a flow chart of a method for generating order information according to an embodiment of the present application. Figure 1 As shown, the process includes the following steps.

[0086] S1: Acquire a current order set and production resources adapted to the order set, wherein the order set includes one or more unallocated orders, and the production resources are used to characterize at least one resource information of production line status information, production equipment information, and material information.

[0087] In this embodiment, the current order set may include orders that are expected to be allocated for production, and these orders often have some attribute information of their own. For example, the attribute information of an order may include the order type (such as standard or urgent), the order quantity, the scheduled delivery date, etc. In the current order set, the attribute information of each order may be indicated together. In addition, production resources suitable for the order set may also be obtained. The production resources may represent resources used to schedule production for the orders in the order set. Generally speaking, production resources may represent at least one resource information of production line status information, production equipment information, and material information.

[0088] In a specific application scenario, the above order set and production resource data can be collected from the real-time status of the current production line, detailed order information, and detailed characteristics of equipment and materials. The data collection information sources include:

[0089] 1) Production line status: including production progress, equipment operation status, staffing, etc.

[0090] 2) Order characteristics: order type (such as standard or urgent), order quantity, scheduled delivery date, etc.

[0091] 3) Equipment characteristics: equipment type, maintenance status, performance indicators, etc.

[0092] 4) Material characteristics: including Bill of Materials (BOM), inventory levels, supplier information, etc.

[0093] In this embodiment, the collected data may be stored in a structured data storage format. For example, the structured data storage format may be represented as follows:

[0094] ax: production line number; ay: equipment ID; az: order number; aA: order type (0: standard, 1: urgent); aB: order quantity; aC: delivery date; aD: equipment status (0: idle, 1: running, 2: maintenance); aE: material inventory status; aF: expected time of material arrival; aG: production shift.

[0095] It should be noted that this embodiment is only used to illustrate one data format and type of the present application. In actual use, the attributes of data are usually more, and the number of attributes of data may reach dozens or even hundreds.

[0096] In one embodiment, after obtaining the order set and production resources, the data of the order set and production resources can be used as subsequent sample attribute data, and these sample attribute data can thus constitute the initial training sample set for machine learning. After obtaining the initial training sample set, each order therein can be prioritized to determine the annotation information for machine learning. In a specific application example, the production priority can be marked for each order separately; in addition, in some application examples, only the order with the highest priority can be marked. Different marking methods can lead to different classification results that need to be generated in the subsequent model training process. For example, if the priority of each order is marked one by one in the early stage, then during model training, the classifier can also output information of each order with different priorities. If only the order with the highest priority is marked in the early stage, then during model training, the classifier can output information of the order with the highest priority.

[0097] In one embodiment, considering that insufficient training samples may lead to poor generalization ability of the model and affect the accuracy of the model, after obtaining the initial training sample set, the sample attribute data in the initial sample set may be synthesized to generate new sample attribute data, thereby enriching the number of training samples.

[0098] In this implementation, the correlation feature decoupling allows the algorithm to consider the dependencies between features when generating synthetic samples, thereby maintaining the inherent structure and correlation of the data. Figure 2 The sample expansion method provided in this embodiment may include the following steps.

[0099] S101: Acquire an initial training sample set, wherein the initial training sample set includes sample attribute data stored in a structured data storage format, wherein the sample attribute data includes first attribute data of an order sample and second attribute data of a production resource sample adapted to the order sample.

[0100] In this embodiment, the sample attribute data in the initial training sample set can be stored in a structured manner in the manner described in the aforementioned steps. The sample attribute data may include first attribute data related to the order sample, such as order type (such as standard or urgent), order quantity, and scheduled delivery date. In addition, second attribute data related to the production resource sample, such as production line status information, production equipment information, and material information, may also be included. The first attribute data and the second attribute data may be represented in the aforementioned structured data storage format, which will not be described in detail here.

[0101] S103: extracting attribute features of each of the sample attribute data, and dividing each of the attribute features into one or more feature association groups based on the association degree between each of the attribute features.

[0102] In this embodiment, by identifying the actual values ​​assigned to different fields in the structured data, each attribute sub-feature in the sample attribute data can be extracted in a preset order. For example, ax represents the production line number, and by identifying the actual production line number under the ax field, the attribute sub-feature representing the production line number can be obtained. According to the preset order, the actual values ​​assigned to each field are identified in turn, and the identified actual values ​​are used as vector elements in the feature vector, so that the attribute features composed of the various attribute sub-features can be obtained.

[0103] In this embodiment, after extracting the attribute features of the sample attribute data, the attribute features can be subjected to feature correlation analysis, and the attribute features can be divided into one or more feature correlation groups by analyzing the correlation between the attribute features. The attribute features in the same feature correlation group usually have a strong correlation.

[0104] In one embodiment, the distance between attribute features in the vector space can be calculated, and the distance can be used to characterize the correlation between the attribute features. After calculating the correlation between any two attribute features, a clustering algorithm can be used to cluster the attribute features in the vector space, thereby dividing the attribute features into one or more clusters. Each cluster can represent a feature association group.

[0105] In one embodiment, after each of the attribute features is divided into one or more feature association groups, the attribute features in the feature association groups may be simplified, thereby reducing the amount of data that needs to be processed later.

[0106] In this embodiment, for any target attribute feature in the feature association group, the principal component matrix of the target attribute feature is identified, and the target attribute feature is transformed based on the principal component matrix to obtain a simplified attribute feature corresponding to the target attribute feature. A feature association group consisting of the simplified attribute features is constructed, and the constructed feature association group is used to replace the feature association group before simplification.

[0107] Specifically, the principal component analysis method can be used to simplify the target attribute characteristics, and the conversion method is expressed as:

[0108]

[0109] In the formula, is the matrix of simplified attribute features after transformation; is the original attribute feature matrix.

[0110] Further, From the covariance matrix The eigenvector matrix obtained in is calculated as follows:

[0111]

[0112] In the formula, is the eigenvector conversion function, is the covariance matrix, is the attribute feature matrix composed of various attribute features. is the attribute feature matrix The average value vector of n is the total number of attribute features. It should be noted that, since the mathematical expressions of the attribute sub-features in each attribute feature are inconsistent, when calculating the average value vector of the attribute feature matrix, the average value can be calculated for each attribute sub-feature separately, and then the average values ​​of each attribute sub-feature are combined into the average value vector of the attribute feature, and then the average value vectors of each attribute feature are matrixed to obtain the average value vector of the attribute feature matrix. After obtaining the matrix of simplified attribute features, a feature association group composed of the simplified attribute features in the matrix can be constructed, and the constructed feature association group can be used to replace the feature association group before simplification.

[0113] By simplifying the target attribute features through the principal component matrix, feature association groups with smaller data volumes can be obtained, greatly improving the efficiency of sample expansion.

[0114] S105: Under the constraint of minimizing the reconstruction error, adjusting the attribute features in the feature association group to form a similar sample group represented by the adjusted attribute features.

[0115] In this embodiment, the conjugate gradient method is used to optimize the weight distribution of each feature group in the synthesis process to minimize the reconstruction error. , expressed as:

[0116]

[0117] In the formula, is the matrix of adjusted attribute features; is the feature adjustment amount; for About attribute characteristics The gradient of is the gradient direction.

[0118] Furthermore, the gradient The calculation method is expressed as:

[0119]

[0120] And, the gradient direction For the current gradient The update rule is expressed as:

[0121]

[0122] In the formula, is the adjustment factor, For the The gradient direction of the iteration, For the The gradient direction of the iteration, For the The gradient of the iteration.

[0123] Furthermore, the adjustment coefficient The calculation method is:

[0124]

[0125] In the formula, For the The gradient of the iteration.

[0126] Preferably, the number of iterations can be set to 100 times.

[0127] In this embodiment, after the matrix of the adjusted attribute features is obtained, a similar sample group represented by the adjusted attribute features can be formed.

[0128] S107: For any similar sample pair in the similar sample group, generate difference data of the similar sample pair, and generate a new sample according to the difference data.

[0129] S109: Using the generated new samples and the initial training sample set as a whole as a sample training set for the feature extraction model.

[0130] In this embodiment, the method of generating new samples is expressed as:

[0131]

[0132] In the formula, is the new sample generated; and for the selected similar sample pairs; is a randomly generated scaling factor between 0 and 1.

[0133] After obtaining the new sample, the newly generated sample can be merged with the original data set, expressed as:

[0134]

[0135] In the formula, is the total sample set after rebalancing; is the original sample set; is the new sample set generated.

[0136] Under the constraint of minimizing the reconstruction error, effective new samples can be expanded based on similar sample pairs in the similar sample group, thereby enriching the quantity and quality of the sample training set and providing a sample basis for the training of the feature extraction model.

[0137] S3: Generate a reference combination feature according to the unallocated orders in the order set and the resource information represented by the production resource, and predict the target orders to be processed in the order set based on the reference combination feature.

[0138] In this embodiment, the trained feature extraction model can process the input order set data and production resource data to obtain reference combination features.

[0139] In a specific application example, the iterative training process of the feature extraction model may include the following steps: Figure 3 Multiple steps shown.

[0140] S301: Acquire wave source initialization data in the current iteration round and initial model parameters of the feature extraction model, wherein the wave source initialization data is at least used to limit the initial intensity of the wave source;

[0141] S303: generating initial loss information of forward propagation based on the initial model parameters, and updating the initial intensity of the wave source according to the initial loss information;

[0142] S305: generating updated model parameters of the feature extraction model based on the updated wave source intensity;

[0143] S307: According to the updated model parameters, the configuration coefficient of the wave source is adjusted, and the next iteration round of training is entered based on the adjusted configuration coefficient, wherein the configuration system is used to characterize the attenuation coefficient and the amplification coefficient of the wave source.

[0144] Among them, when the initial strength of the wave source is updated according to the loss information, the gradient information of the initial model parameters can be calculated according to the initial loss information, and the gradient information includes the gradient direction and the gradient magnitude; the target position represented by the gradient information is determined, and a wave source is generated at the target position, and the initial strength of the generated wave source is updated according to the gradient information and the current configuration coefficient of the wave source.

[0145] Generating updated model parameters of the feature extraction model based on the updated wave source strength includes: calculating the layer sensitivity of the current network layer according to the gradient norm of the current network layer, and generating a fluctuation threshold based on the layer sensitivity; determining the activation coefficient according to the fluctuation threshold, and calculating the fluctuation superposition result of each wave source in the parameter space based on the updated wave source strength; generating the updated model parameters of the feature extraction model according to the activation coefficient and the fluctuation superposition result.

[0146] According to the updated model parameters, adjusting the configuration coefficient of the wave source includes: calculating the second loss information of the forward propagation corresponding to the updated model parameters; determining the loss change between the second loss information and the initial loss information, and updating the current configuration coefficient of the wave source according to the loss change to obtain the adjusted configuration coefficient.

[0147] Specifically, see Figure 4 , the expanded data is input into the feature extraction model for training the feature extraction model. Inspired by the phenomenon of fluctuations, fluctuations show the characteristics of periodic changes and energy transfer, and can transfer and transform energy forms in different media. This application iteratively updates the weights and biases in the network (the initial weights and biases constitute the initial model parameters) by simulating the propagation and energy distribution characteristics of fluctuations. Each parameter update is not only affected by the current gradient, but also by the cumulative influence of the fluctuations of the previous parameter updates, which is similar to the fluctuation influence caused by the superposition of wave sources, making the parameter update process smoother and more adaptive, effectively avoiding the oscillation and local minimum problems in the traditional gradient descent method.

[0148] First, a neural network structure can be defined, the number of hidden layers of the neural network can be 2, the first hidden layer includes 100 neurons, the second hidden layer includes 50 neurons, and the activation function is a ReLU activation function. Of course, in practical applications, the number of hidden layers and the number of neurons included can be flexibly adjusted according to the actual scenario. The examples here are only for those skilled in the art to reproduce the technical solution of the present application, and do not mean that the technical solution of the present application can only be applied in this scenario.

[0149] Furthermore, are the parameters of the neural network, including weights and bias . Set the initial parameters of the neural network , including the weights of the neural network and bias , and initialize the wave source Location ,strength and the first phase , set the total number of wave sources to , then the initialization can be expressed as:

[0150]

[0151] In the formula, Usually chosen as the initial position of the parameter, and Randomly set its initial value; For the wave source, by position ,strength and the first phase composition.

[0152] Then, the loss is calculated by forward propagation , using the parameter On input Perform forward propagation on it and calculate the output and the target value In contrast, the way to calculate the loss can be expressed as:

[0153]

[0154]

[0155] In the formula, Represents a network structure, and the output layer of the network structure uses a preset Softmax classifier to obtain a predicted label; is the cross entropy loss, which can be the initial loss information in the previous step.

[0156] Next, the gradient of each parameter is calculated based on the loss function , which can be expressed as:

[0157]

[0158] Furthermore, the chain method is used to calculate the gradient, assuming that the network output After the Softmax function, the weight The gradient calculation method can be expressed as:

[0159]

[0160] In the formula, is the output of Softmax, It is the linear output before the Softmax layer.

[0161] Further, The calculation method can be expressed as:

[0162]

[0163] and, The calculation method can be expressed as:

[0164]

[0165] and, The calculation method can be expressed as:

[0166]

[0167] Then, according to the direction and size of the gradient, a wave source is generated at the corresponding parameter position. The strength is updated to , the calculation method can be expressed as:

[0168]

[0169] In the formula, is the learning rate, is the attenuation coefficient, is the amplification factor. Preferably, Set to 0.01.

[0170] By updating the initial intensity of the wave source based on the gradient information, a more accurate wave source intensity can be obtained, thereby improving the iteration accuracy of the model parameters.

[0171] Then, the fluctuations of all wave sources are superimposed in the parameter space, and the update amount of each parameter is determined by the superposition result of the fluctuations of all wave sources at that point. The parameter update method can be expressed as:

[0172]

[0173] In the formula, is the wave number, is the angular frequency, which indicates the speed and direction of wave propagation; is the ReLU activation function, is the fluctuation threshold, Represents a positive random fluctuation, usually on the order of 0.0001.

[0174] Furthermore, the fluctuation threshold of each wave source The layer sensitivity index is adjusted dynamically, and the adjustment method can be expressed as:

[0175]

[0176] In the formula, is the initial fluctuation threshold, is the layer sensitivity index, is the adjustment factor. Preferably, is set to 0.1, Set to 3.

[0177] Further, Layer Sensitivity Index The norm calculation based on the gradient output of this layer is used to measure the contribution of this layer to the overall network error. The calculation method can be expressed as:

[0178]

[0179] In the formula, It is The norm of the layer parameter gradients, is the number of network layers.

[0180] By determining the activation coefficient and the fluctuation superposition result, the updated model parameters can be made more accurate.

[0181] Then, by calculating the second loss information of the forward propagation corresponding to the updated model parameters, the loss change between the second loss information and the initial loss information can be obtained. According to the loss change of this iteration, the attenuation coefficient of each wave source can be dynamically adjusted. and the amplification factor , which can be expressed as:

[0182]

[0183]

[0184] In the formula, are the attenuation coefficient and amplification coefficient of the previous iteration respectively, They are the attenuation coefficient adjustment factor and the amplification coefficient adjustment factor, is the loss change. Preferably, the parameter and Set to 0.1 and 0.05 respectively.

[0185] The configuration coefficient of the wave source is updated according to the change in loss, which effectively improves the adjustment accuracy of the configuration coefficient and thus ensures the iteration accuracy of the model parameters.

[0186] Finally, the above steps are repeated until the preset stop iteration condition is met, indicating that the model training is completed. In one embodiment, the preset stop iteration condition is reaching a preset maximum number of iterations, preferably, the preset maximum number of iterations is set to 1000 times.

[0187] By simulating the propagation and energy distribution characteristics of waves to iterate the model parameters in the feature extraction model, the iteration process of the model parameters is made smoother and more adaptive, effectively avoiding the oscillation and local minimum problems in the traditional gradient descent method.

[0188] In this embodiment, after obtaining the reference combination feature, the reference combination feature can be subjected to dimensionality reduction processing to obtain a reference reduced dimensionality feature. Then, based on the reference reduced dimensionality feature, the order with the highest priority in the current order set can be identified, and the order with the highest priority can be determined as the predicted target order to be processed.

[0189] By performing dimensionality reduction processing on the reference combination features, the amount of data processing is reduced and the efficiency of order prediction is improved while retaining the characteristics of the reference combination features.

[0190] In one embodiment, the reference dimensionality reduction feature is generated based on a feature dimensionality reduction model, which includes an encoder and a decoder, and the feature dimensionality reduction model is trained in the following manner: the dimensionality reduction feature of the input sample is generated by the encoder, and the reconstruction feature of the dimensionality reduction feature is generated by the decoder; a manifold constraint factor is generated based on the dimensionality reduction feature and a preset manifold center vector; the error information between the reconstructed feature and the input sample is calculated, and the loss information in the current iteration round is generated based on the error information and the manifold constraint factor; the weight coefficients in the encoder and the decoder are adjusted based on the loss information.

[0191] In one embodiment, the target order is predicted by a classification model, and the weights of the classification model during the training process are updated in the following manner: a training data set is obtained, and for any data sample in the training data set, a neighborhood weight matrix of the data sample is calculated; in a current iteration round, the current gradient data of the current iteration round is calculated according to the neighborhood weight matrix in the previous iteration round, and the current gradient data is adjusted based on the currently accumulated historical gradient data to obtain adjusted gradient data; based on the adjusted gradient data, the neighborhood weight matrix in the previous iteration round is regularly updated.

[0192] In one embodiment, the bias of the classification model during training is updated in the following manner: obtaining the initial bias of the previous iteration round and calculating the gradient of the loss function with respect to the bias; using the gradient of the loss function with respect to the bias to update the initial bias and obtain the bias of the current iteration round.

[0193] Specifically, see Figure 5, the data after feature extraction is input into the feature dimensionality reduction model to train the feature dimensionality reduction model. This application can use an autoencoder neural network based on manifold mapping learning for feature dimensionality reduction. The autoencoder neural network not only learns the intrinsic structure of the data in the encoding stage, but also attempts to reconstruct the input through the decoding process to ensure that the features after dimensionality reduction can still retain key information. The autoencoder neural network model structure usually consists of an encoder and a decoder. The encoder is responsible for mapping the high-dimensional input data to a low-dimensional feature space, and the decoder reconstructs the original input data from this low-dimensional space. This application uses Riemann factors based on manifold learning to optimize the representation of the feature space. By utilizing the geometric properties on the Riemann manifold, the local structure of the data can be better understood and more accurate data reconstruction can be achieved.

[0194] Initialize network parameters. This application uses Gaussian distribution to initialize the weights of the autoencoder. and bias Parameters can be expressed as:

[0195]

[0196]

[0197] In the formula, Indicates The weight of the layer, represents the standard deviation. Preferably, , is the number of nodes in the input layer.

[0198] In the encoding process, the input data is mapped to a low-dimensional feature space through the encoder (to obtain reduced-dimensional features); in the decoding process, the decoder attempts to reconstruct the original data (reconstruct features). Mapped to a low-dimensional feature space can be expressed as:

[0199]

[0200] And, the decoder attempts to reconstruct the original input can be expressed as:

[0201]

[0202] In the formula, is the activation function; and are the weights and biases of the encoder respectively; and are the decoder weights and biases.

[0203] In one embodiment, the weight By presetting it in the way of principal component analysis, the calculation method can be expressed as:

[0204]

[0205] In the formula, is from the covariance matrix Before getting The matrix consists of eigenvectors, is the corresponding diagonal matrix of eigenvalues.

[0206] In the encoded low-dimensional space, the popular constraint factor can be expressed as Riemann factor To achieve the characteristics of Riemann factor constraint coding can be expressed as:

[0207]

[0208] In the formula, represents the preset manifold center, is a parameter that controls the compactness of the manifold. Preferably, Set as the mean vector of the low-dimensional space, Set to 0.1.

[0209] The loss function not only considers the reconstruction error, but also the Riemann manifold constraint. The reconstruction error ensures that the data can be effectively restored. The manifold constraint strengthens the geometric structure of the feature space. The calculation method of the loss function can be expressed as:

[0210]

[0211] In the formula, is the regularization coefficient. Preferably, Set to 0.3.

[0212] Furthermore, the reconstruction error The calculation method can be expressed as:

[0213]

[0214] In the formula, yes In the The value of the dimension, is the preset manifold center at The value of the dimension.

[0215] Based on the loss function, the network parameters are adjusted through the back propagation algorithm to optimize the performance of the encoder and decoder. For example, the calculation method of its gradient can be expressed as:

[0216]

[0217] Furthermore, the gradient It is calculated by the error back propagation method and can be expressed as:

[0218]

[0219] and, Through the decoder weights The transposed representation of can be expressed as:

[0220]

[0221] Furthermore, due to yes and The result obtained by the activation function after the linear combination of The calculation method can be expressed as:

[0222]

[0223] In the formula, is the derivative of the Sigmoid activation function, Represented by vector is a diagonal matrix with diagonal elements, yes The transpose of .

[0224] Furthermore, the gradient descent method is used to update the parameters, and the update method can be expressed as:

[0225]

[0226] In the formula, is the learning rate, represents the number of iterations, is the updated weight parameter, is the weight parameter before updating. Preferably, Set to 0.05.

[0227] Repeat the above steps until the preset stop iteration condition is met, which means that the model training is completed. In one embodiment, the preset stop iteration condition is reaching a preset maximum number of iterations. Preferably, the preset maximum number of iterations is set to 1000 times.

[0228] The autoencoder neural network based on manifold mapping learning performs feature dimensionality reduction to ensure that the features after dimensionality reduction can still retain key information. In addition, through the popular constraint factor, the local structure of the data can be better understood and more accurate data reconstruction can be achieved.

[0229] The reduced-dimensional data is input into the classifier to train the classifier model. This application adopts an elastic net classification algorithm based on gradient accumulation, which adjusts subsequent weight updates by accumulating previous gradient information, enhances the model's learning ability on unbalanced data sets, and thus improves classification performance.

[0230] Specifically, the training process of the elastic net classification algorithm based on gradient accumulation is as follows:

[0231] Initialize the initial weights and biases, expressed as:

[0232]

[0233]

[0234] In the formula, is the initial weight vector, is the feature dimension, is the initialization standard deviation; It is generated from the standard normal distribution Dimensional random numbers; is the initial bias, which is initially set to 0. Preferably, Set to 0.1.

[0235] For each data sample, its neighborhood is determined according to its k nearest neighbors, and the weighted average distance of the samples in the neighborhood is calculated to determine the local similarity between samples. The neighborhood weight matrix is ​​calculated as follows:

[0236]

[0237] In the formula, For sample and samples The weight between is the sample point; is the bandwidth parameter of the Gaussian kernel.

[0238] The gradient is calculated and accumulated in an iterative manner. In each iteration, the gradient of the loss function with respect to the current parameter is calculated, and the newly calculated gradient is combined with the previously accumulated gradient to form an adjusted gradient. The gradient is updated as follows:

[0239]

[0240] In the formula, For the The total gradient of iterations; is the gradient of the current loss function with respect to the weight; and are the weight and bias of the previous step respectively; is the gradient accumulation factor; is the accumulated gradient of the previous iteration.

[0241] In one embodiment, the loss function adopts cross entropy loss, then the loss function Gradients with respect to weights The calculation method is expressed as:

[0242]

[0243] In the formula, is the sample size; For the The actual labels of the samples; is the probability predicted by the model, calculated as , is the Sigmoid function; For the The feature vector of the samples.

[0244] The model parameters are updated using an improved elastic net regularization method. In one embodiment, the parameters are updated using an improved gradient descent method in combination with neighborhood embedding and elastic net regularization. The update method is expressed as:

[0245]

[0246] In the formula, and are the updated weights and biases; is the learning rate; and are L1 and L2 regularization coefficients respectively; is L1 regularization; is L2 regularization; is the gradient of the loss function with respect to the bias. Preferably, Set to 0.01, and Set to 0.3 and 0.7 respectively.

[0247] Repeat the above steps until the preset stop iteration condition is met, which means that the model training is completed. In one embodiment, the preset stop iteration condition is reaching a preset maximum number of iterations. Preferably, the preset maximum number of iterations is set to 1000 times.

[0248] Combined with historical gradient data, the current gradient data generated by the neighborhood weight matrix can be adjusted to obtain more accurate gradient data, and then the regular update of the neighborhood weight matrix can be completed, ensuring that the weights of the classification model can be accurately iterated. Using the gradient of the loss function with respect to the bias, the initial bias can be accurately updated during the training process of the classification model.

[0249] S5: Obtain a currently assigned but unprocessed order sequence, extract sequence features of the order sequence, and use the order features of the target order as embedded features of the sequence features to generate improved sequence features that incorporate the embedded features.

[0250] In this embodiment, since the newly introduced target order may have an impact on the order sequence that has been currently completed but is in an unprocessed state, the order features of the target order can be used as embedded features and fused into the sequence features of the order sequence. Specifically, through the above-mentioned feature extraction model, the order features of each order in the order sequence can be extracted, and then these order features are spliced ​​according to priority to form a sequence feature. Similarly, through the above-mentioned feature extraction model, the order features of the target order are extracted, and the order features of the target order can be used as embedded features of the sequence features and spliced ​​to the end of the sequence features, thereby forming an improved sequence feature that incorporates the embedded features.

[0251] It should be noted that in the improved sequence features fused with embedded features, the original sequence features in the first part are sorted according to the order priority. The embedded features fused at the end have no priority order with the previous sequence features, and the embedded features are only fused as a suffix of the sequence features.

[0252] S7: adding the target order to the order sequence, and reordering the orders in the order sequence to which the target order is added according to the improved sequence feature, to obtain updated order scheduling information.

[0253] In this embodiment, the improved sequence features can be classified by the above-mentioned classification model. Of course, only the network architecture of the classification model is reused here, and the weights and biases in the classification model need to be trained again based on the improved sequence features. The sample data in the training process can have the same format as the improved sequence features, that is, it is divided into two parts of features, the features of the first part are sorted according to priority, and the features of the last part are embedded features that are integrated, and the embedded features and the sequence features of the first part are not arranged in order of priority. Based on the sample data in this format, the priority of each feature in the improved sequence features can be re-marked by manual marking. In this way, after completing the manual marking, the classification model can be trained in the above manner. The trained classification model can accurately classify the input improved sequence features, thereby completing the reordering of each order in the order sequence to which the target order is added, and obtaining the updated order information.

[0254] In some embodiments, when training a classification model for reordering, the manual labeling process may only label the features with the highest current priority (including the original sequence features and the fused embedded features). In this way, the trained classification model can identify the features with the highest priority from the improved sequence features. Based on this idea, the first order with the highest priority in the order sequence to which the target order is added can be predicted in the above manner based on the improved sequence features. Then, the order features of the first order are removed from the improved sequence features, and based on the removed sequence features, the second order with the highest priority other than the first order in the order sequence to which the target order is added is predicted. And so on, by gradually removing the order features and orders that have been sorted, the orders that have been assigned but not processed can be accurately sorted.

[0255] In a specific application scenario, the functional modules of the intelligent order scheduling system based on deep learning include the following:

[0256] 1. User interaction module

[0257] The user interaction module provides a user interface to support operations such as inputting order requirements, viewing order plans, and adjusting parameters. The interface design focuses on user experience and provides functions such as visual order plan display and real-time feedback. The user interface module plays an important role in connecting users and the system in the intelligent order scheduling system.

[0258] 2. User interface design

[0259] In the user interface module, an intuitive and friendly user interface needs to be designed to provide a good user experience. The interface design should take into account the user's operating habits and needs, including but not limited to:

[0260] (1) Information presentation: Clearly present key information such as order information, scheduling suggestions, production progress, etc. to help users quickly understand the current production situation.

[0261] (2) Interaction design: Design intuitive interaction methods, such as buttons, drop-down menus, input boxes, etc., so that users can easily operate and adjust parameters.

[0262] (3) Response speed: Ensure fast interface response, reduce user waiting time, and improve user experience.

[0263] 3. Function Implementation

[0264] The user interface module needs to implement multiple functions to meet user needs. Common functions include but are not limited to:

[0265] (1) Order entry and modification: Allow users to enter new order information and provide the function of modifying order information to ensure that the order scheduling system can obtain the latest order information in a timely manner.

[0266] (2) Order scheduling display: The order scheduling suggestions generated by the order scheduling model are intuitively displayed to the user, including order scheduling plan, production progress and other information.

[0267] (3) Parameter adjustment and optimization: Allow users to adjust the parameters of the order scheduling algorithm and provide real-time feedback on the adjusted order scheduling plan to meet the needs and preferences of different users.

[0268] 4. User rights management

[0269] For the intelligent order scheduling system, different users may have different permissions and roles, so the user interface module needs to implement user permission management functions to ensure that users can only access functions and data for which they have permissions.

[0270] 5. Real-time notification and feedback

[0271] The user interface module can realize real-time notification and feedback functions, and push important information and reminders to users in a timely manner, such as production anomalies, delivery delays, etc., to help users adjust production plans in time.

[0272] This application solves the problem that traditional data expansion methods may destroy the intrinsic structure and correlation of data when processing data sets with complex correlation features. A neural network feature extraction algorithm based on adaptive fluctuation optimization is used to address the problem that traditional feature extraction methods are easily affected by local minima and oscillations in dynamic and complex data environments. Feature dimensionality reduction is performed through an autoencoder neural network based on manifold mapping learning, addressing the problem that existing feature dimensionality reduction technologies may cause key information loss, thereby affecting the accuracy of model predictions. An elastic net classification algorithm based on gradient accumulation is used to address the problem that existing classification technologies have insufficient learning ability and classification performance when processing unbalanced data sets.

[0273] The method for generating order information proposed in the embodiment of the present application can generate reference combination features for unallocated orders in combination with resource information represented by production resources. Through the reference combination features, the target order to be processed can be determined from the unallocated orders. Generally speaking, the target order is the order with the highest priority. However, due to the introduction of the new target order, it may have an impact on the order sequence that has been completed but is in an unprocessed state. Therefore, the order features of the target order can be used as embedded features and fused into the sequence features of the order sequence. Subsequently, an overall prediction can be made based on the sequence features fused with the embedded features, and then the order sequence with the target order added can be re-sorted to obtain more accurate order information. It can be seen that the technical solution provided by the above-mentioned embodiment of the present application can realize order queuing intelligently and efficiently.

[0274] Please refer to Figure 6 The embodiment of the present application also provides a device for generating order scheduling information, the device comprising:

[0275] A data acquisition unit 601 is used to acquire a current order set and production resources adapted to the order set, wherein the order set includes one or more unallocated orders, and the production resources are used to represent at least one resource information of production line status information, production equipment information, and material information;

[0276] An order prediction unit 603, configured to generate a reference combination feature according to the unallocated orders in the order set and the resource information represented by the production resource, and predict a target order to be processed in the order set based on the reference combination feature;

[0277] The embedding unit 605 is used to obtain the currently assigned but unprocessed order sequence, extract the sequence features of the order sequence, and use the order features of the target order as embedded features of the sequence features to generate improved sequence features that incorporate the embedded features;

[0278] The updating unit 607 is used to add the target order to the order sequence, and reorder the orders in the order sequence to which the target order is added according to the improved sequence feature to obtain updated order information.

[0279] In one embodiment, the reference combination feature is generated based on a feature extraction model, and the order prediction unit 603 iteratively trains the feature extraction model in the following manner:

[0280] Acquire the wave source initialization data in the current iteration round and the initial model parameters of the feature extraction model, wherein the wave source initialization data is at least used to limit the initial intensity of the wave source;

[0281] Generating initial loss information of forward propagation based on the initial model parameters, and updating the initial intensity of the wave source according to the initial loss information;

[0282] generating updated model parameters of the feature extraction model based on the updated wave source intensity;

[0283] According to the updated model parameters, the configuration coefficient of the wave source is adjusted, and the next iteration round of training is entered based on the adjusted configuration coefficient, wherein the configuration system is used to characterize the attenuation coefficient and the amplification coefficient of the wave source.

[0284] In one embodiment, the order prediction unit 603 is specifically used to calculate the gradient information of the initial model parameters based on the initial loss information, and the gradient information includes the gradient direction and the gradient magnitude; determine the target position represented by the gradient information, generate a wave source at the target position, and update the initial intensity of the generated wave source based on the gradient information and the current configuration coefficient of the wave source.

[0285] In one embodiment, the order prediction unit 603 is specifically used to calculate the layer sensitivity of the current network layer according to the gradient norm of the current network layer, and generate a fluctuation threshold based on the layer sensitivity; determine the activation coefficient according to the fluctuation threshold, and calculate the fluctuation superposition result of each wave source in the parameter space based on the updated wave source intensity; generate the updated model parameters of the feature extraction model according to the activation coefficient and the fluctuation superposition result.

[0286] In one embodiment, the order prediction unit 603 is specifically used to calculate the second loss information of the forward propagation corresponding to the updated model parameters; determine the loss change between the second loss information and the initial loss information, and update the current configuration coefficient of the wave source according to the loss change to obtain the adjusted configuration coefficient.

[0287] In one embodiment, the order prediction unit 603 is specifically used to obtain an initial training sample set, which includes sample attribute data stored in a structured data storage format, and the sample attribute data includes first attribute data of an order sample and second attribute data of a production resource sample adapted to the order sample; extract attribute features of each of the sample attribute data, and based on the degree of correlation between each of the attribute features, divide each of the attribute features into one or more feature association groups; under the constraint of minimizing reconstruction error, adjust the attribute features in the feature association group to form a similar sample group represented by the adjusted attribute features; for any similar sample pair in the similar sample group, generate difference data of the similar sample pair, and generate a new sample based on the difference data; and use the generated new sample and the initial training sample set as a whole as the sample training set of the feature extraction model.

[0288] In one embodiment, the order prediction unit 603 is also used to identify the principal component matrix of the target attribute feature for any target attribute feature in the feature association group, and transform the target attribute feature based on the principal component matrix to obtain a simplified attribute feature corresponding to the target attribute feature; construct a feature association group composed of the simplified attribute features, and use the constructed feature association group to replace the feature association group before simplification.

[0289] In one embodiment, the order prediction unit 603 is specifically used to perform dimensionality reduction processing on the reference combination features to obtain reference dimensionality reduction features; based on the reference dimensionality reduction features, identify the highest priority order in the current order set, and determine the highest priority order as the predicted target order to be processed.

[0290] In one embodiment, the reference dimension reduction feature is generated based on a feature dimension reduction model, the feature dimension reduction model includes an encoder and a decoder, and the order prediction unit 603 trains the feature dimension reduction model in the following manner:

[0291] Generate a dimensionality reduction feature of the input sample by the encoder, and generate a reconstructed feature of the dimensionality reduction feature by the decoder;

[0292] Generate a manifold constraint factor based on the dimension reduction feature and a preset manifold center vector;

[0293] Calculating error information between the reconstructed feature and the input sample, and generating loss information in the current iteration round according to the error information and the manifold constraint factor;

[0294] Weight coefficients in the encoder and the decoder are adjusted based on the loss information.

[0295] In one embodiment, the target order is predicted by a classification model, and the order prediction unit 603 updates the weight of the classification model in the following manner:

[0296] Obtain a training data set, and for any data sample in the training data set, calculate a neighborhood weight matrix of the data sample;

[0297] In the current iteration round, current gradient data of the current iteration round is calculated according to the neighborhood weight matrix in the previous iteration round, and the current gradient data is adjusted based on the currently accumulated historical gradient data to obtain adjusted gradient data;

[0298] According to the adjusted gradient data, the neighborhood weight matrix in the previous iteration round is regularly updated.

[0299] In one embodiment, the order prediction unit 603 performs bias update on the classification model in the following manner:

[0300] Get the initial bias of the previous iteration and calculate the gradient of the loss function with respect to the bias;

[0301] The initial bias is updated using the gradient of the loss function with respect to the bias to obtain the bias of the current iteration round.

[0302] In one embodiment, the updating unit 607 is specifically used to predict the first order with the highest priority in the order sequence with the target order added, based on the improved sequence characteristics; remove the order characteristics of the first order from the improved sequence characteristics, and based on the sequence characteristics after removal, predict the second order with the highest priority in the order sequence with the target order except the first order.

[0303] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0304] The device for generating order information in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0305] See also Figure 7 , Figure 7 is a schematic diagram of the structure of a computer device provided in an embodiment of the present application, such as Figure 7As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 7 A processor 10 is taken as an example.

[0306] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0307] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.

[0308] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0309] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0310] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.

[0311] The embodiment of the present application also provides a computer-readable storage medium. The above method according to the embodiment of the present application can be implemented in hardware, firmware, or implemented as a computer code that can be recorded in a storage medium, or is implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0312] The embodiment of the present application provides a computer program product, which includes computer instructions, which are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method of any embodiment of the present application.

[0313] Although the embodiments of the present application are described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present application, and such modifications and variations are all within the scope defined by the appended claims.

[0314] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0315] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to the computer device, application, server, storage medium or other software or hardware that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0316] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the computer device.

[0317] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0318] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0319] It is understandable that in the specific implementation of the present application, related data such as user information, location information, navigation data, etc. are involved. When the above embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0320] The devices or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0321] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0322] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0323] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices, and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0324] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0325] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0326] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0327] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0328] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

[0329] Although the embodiments of the present application have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present application, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for generating order information, It is characterized in that The method comprises: Acquire a current order set and production resources adapted to the order set, wherein the order set includes one or more unallocated orders, and the production resources are used to represent at least one resource information of production line status information, production equipment information, and material information; Generate a reference combination feature according to unallocated orders in the order set and resource information represented by the production resource, and predict a target order to be processed in the order set based on the reference combination feature; Acquire a currently assigned but unprocessed order sequence, extract sequence features of the order sequence, and use the order features of the target order as embedded features of the sequence features to generate improved sequence features that incorporate the embedded features; Adding the target order to the order sequence, and reordering the orders in the order sequence to which the target order has been added according to the improved sequence feature, to obtain updated order information; Wherein, based on the reference combination feature, predicting the target order to be processed in the order set includes: Performing dimensionality reduction processing on the reference combined features to obtain reference reduced dimensionality features; Based on the reference dimensionality reduction feature, identifying the order with the highest priority in the current order set, and determining the order with the highest priority as the predicted target order to be processed; According to the improved sequence feature, reordering the orders in the order sequence to which the target order is added comprises: Based on the improved sequence features, predict the first order with the highest priority in the order sequence to which the target order is added; The order features of the first order are removed from the improved sequence features, and based on the removed sequence features, a second order with the highest priority other than the first order in the order sequence to which the target order is added is predicted.

2. The method according to claim 1, It is characterized in that The reference combined features are generated based on a feature extraction model, and the feature extraction model is iteratively trained in the following manner: Acquire the wave source initialization data in the current iteration round and the initial model parameters of the feature extraction model, wherein the wave source initialization data is at least used to limit the initial intensity of the wave source; Generating initial loss information of forward propagation based on the initial model parameters, and updating the initial intensity of the wave source according to the initial loss information; generating updated model parameters of the feature extraction model based on the updated wave source intensity; According to the updated model parameters, the configuration coefficient of the wave source is adjusted, and the next iteration round of training is entered based on the adjusted configuration coefficient, wherein the configuration coefficient is used to characterize the attenuation coefficient and the amplification coefficient of the wave source.

3. The method according to claim 2, It is characterized in that Updating the initial strength of the wave source according to the loss information includes: Calculate the gradient information of the initial model parameters according to the initial loss information, wherein the gradient information includes a gradient direction and a gradient magnitude; A target position represented by the gradient information is determined, a wave source is generated at the target position, and an initial intensity of the generated wave source is updated according to the gradient information and a current configuration coefficient of the wave source.

4. The method according to claim 2 or 3, It is characterized in that Generating updated model parameters of the feature extraction model based on the updated wave source intensity includes: Calculating a layer sensitivity of the current network layer according to a gradient norm of the current network layer, and generating a fluctuation threshold based on the layer sensitivity; Determine the activation coefficient according to the fluctuation threshold, and calculate the fluctuation superposition result of each wave source in the parameter space based on the updated wave source strength; According to the activation coefficient and the fluctuation superposition result, updated model parameters of the feature extraction model are generated.

5. The method according to claim 2, It is characterized in that According to the updated model parameters, adjusting the configuration coefficient of the wave source includes: Calculate the second loss information of the forward propagation corresponding to the updated model parameters; The loss change amount between the second loss information and the initial loss information is determined, and the current configuration coefficient of the wave source is updated according to the loss change amount to obtain an adjusted configuration coefficient.

6. The method according to claim 2, It is characterized in that The sample training set of the feature extraction model is generated in the following manner; Acquire an initial training sample set, wherein the initial training sample set includes sample attribute data stored in a structured data storage format, wherein the sample attribute data includes first attribute data of an order sample and second attribute data of a production resource sample adapted to the order sample; Extracting attribute features of each of the sample attribute data, and dividing each of the attribute features into one or more feature association groups based on the degree of association between the attribute features; Under the constraint of minimizing the reconstruction error, adjusting the attribute features in the feature association group to form a similar sample group represented by the adjusted attribute features; For any similar sample pair in the similar sample group, generating difference data of the similar sample pair, and generating a new sample according to the difference data; The generated new samples and the initial training sample set are used as a sample training set for the feature extraction model.

7. The method according to claim 6, It is characterized in that After classifying each of the attribute features into one or more feature association groups, the method further includes: For any target attribute feature in the feature association group, identifying a principal component matrix of the target attribute feature, and transforming the target attribute feature based on the principal component matrix to obtain a simplified attribute feature corresponding to the target attribute feature; A feature association group consisting of the simplified attribute features is constructed, and the feature association group obtained by the construction is used to replace the feature association group before simplification.

8. The method according to claim 1, It is characterized in that The reference dimension reduction feature is generated based on a feature dimension reduction model, the feature dimension reduction model includes an encoder and a decoder, and the feature dimension reduction model is trained in the following manner: Generate a dimensionality reduction feature of the input sample by the encoder, and generate a reconstructed feature of the dimensionality reduction feature by the decoder; Generate a manifold constraint factor based on the dimension reduction feature and a preset manifold center vector; Calculating error information between the reconstructed feature and the input sample, and generating loss information in the current iteration round according to the error information and the manifold constraint factor; Weight coefficients in the encoder and the decoder are adjusted based on the loss information.

9. The method according to claim 1, It is characterized in that The target order is predicted by a classification model, and the weight of the classification model is updated in the following manner during training: Obtain a training data set, and for any data sample in the training data set, calculate a neighborhood weight matrix of the data sample; In the current iteration round, current gradient data of the current iteration round is calculated according to the neighborhood weight matrix in the previous iteration round, and the current gradient data is adjusted based on the currently accumulated historical gradient data to obtain adjusted gradient data; According to the adjusted gradient data, the neighborhood weight matrix in the previous iteration round is regularly updated.

10. The method according to claim 9, It is characterized in that The bias of the classification model during training is updated as follows: Get the initial bias of the previous iteration and calculate the gradient of the loss function with respect to the bias; The initial bias is updated using the gradient of the loss function with respect to the bias to obtain the bias of the current iteration round.

11. A device for generating order information, It is characterized in that The device comprises: A data acquisition unit, used to acquire a current order set and production resources adapted to the order set, wherein the order set includes one or more unallocated orders, and the production resources are used to represent at least one resource information of production line status information, production equipment information, and material information; An order prediction unit is used to generate a reference combination feature according to the unallocated orders in the order set and the resource information represented by the production resource, and predict the target order to be processed in the order set based on the reference combination feature, specifically comprising: performing dimensionality reduction processing on the reference combination feature to obtain a reference dimensionality reduction feature; based on the reference dimensionality reduction feature, identifying the order with the highest priority in the current order set, and determining the order with the highest priority as the predicted target order to be processed; An embedding unit, used to obtain a currently assigned but unprocessed order sequence, extract sequence features of the order sequence, and use the order features of the target order as embedded features of the sequence features to generate an improved sequence feature that incorporates the embedded features; An updating unit is used to add the target order to the order sequence, and reorder the orders in the order sequence with the target order added according to the improved sequence characteristics to obtain updated order scheduling information, specifically including: predicting the first order with the highest priority in the order sequence with the target order added based on the improved sequence characteristics; removing the order characteristics of the first order from the improved sequence characteristics, and predicting the second order with the highest priority in the order sequence with the target order other than the first order based on the sequence characteristics after removal.

12. A computer device, It is characterized in that include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, computer instructions are stored in the memory, and the processor executes the method for generating order scheduling information according to any one of claims 1 to 10 by executing the computer instructions.

13. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method for generating order scheduling information according to any one of claims 1 to 10.