A smart logistics distribution data management platform

By analyzing and predicting logistics distribution data through machine learning and hidden Markov chain models, it solves the problem of unintegrated order data in the existing technology, achieves more efficient logistics distribution and resource optimization, and improves the operational efficiency of enterprises and customers. Satisfaction.

CN118134358BActive Publication Date: 2024-09-10XIAN DAOYE MOUNTAIN SUPPLY CHAIN MANAGEMENT CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410536070.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-30
Publication Date
2024-09-10
Estimated Expiration
2044-04-30

AI Technical Summary

Technical Problem

The existing logistics distribution system lacks systematic integration and analysis of order data, resulting in insufficient forecast accuracy, affecting distribution efficiency and cost control, and low resource utilization efficiency, affecting corporate operations and competitiveness.

Method used

The machine learning clustering algorithm is used to classify and extract features from historical order data, and the hidden Markov chain model is used to dynamically construct customer logistics distribution demand sequences. The order importance is predicted through the state transition probability and observation probability matrix, and the order importance is predicted based on the order importance. Screen distribution resources to achieve resource optimization and cost control.

Benefits of technology

It improves the accuracy and efficiency of logistics distribution, reduces operating costs, enhances customer satisfaction and corporate competitiveness, and optimizes business decisions and resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118134358B
    Figure CN118134358B
Patent Text Reader

Abstract

The present invention discloses a smart logistics distribution data management platform, which specifically relates to the field of logistics distribution management and is used to solve the problem of order distribution data processing. It uses machine learning clustering algorithms and association rule mining technology to classify and extract features from historical order data, determine the analysis priority of the data, and construct a training data set to provide support for subsequent decision-making. The hidden Markov chain model is used to dynamically construct a logistics distribution demand sequence, and the order importance is predicted by the state transition probability and observation probability matrix to improve distribution efficiency and accuracy. The distribution resources that meet the requirements are screened, and the operating costs are proofread according to the order importance. The resources with the lowest cost are selected to process the order, reducing costs and improving efficiency. Integrating data analysis, prediction models and resource optimization provides all-round support for the logistics distribution system, which can more accurately predict and meet customer needs, promote business development and improve service quality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of logistics distribution management, and more specifically, to an intelligent logistics distribution data management platform. Background Art

[0002] The existing order delivery processing mainly depends on whether the internal delivery resources of the enterprise are sufficient, but lacks a method to systematically integrate and analyze the completed delivery resource data to classify the risks and importance of the orders. This processing method has a series of potential risks, the most important of which is the lack of forecast accuracy. Due to the lack of detailed classification and analysis of orders, the urgency and importance of orders cannot be accurately assessed, resulting in increased uncertainty in delivery forecasts. This may make it difficult for enterprises to meet customer needs in a timely manner, affecting the timeliness and efficiency of logistics delivery. In addition, due to the failure to fully consider the risks and importance of orders, cost estimates may also be biased, resulting in additional expenses for enterprises during the delivery process, affecting financial conditions and profitability. Not only that, this processing method based on simple self-resource judgment may also lead to decisions that are not scientific and data-based, and may deviate from customer needs or market trends, thereby affecting the long-term development of the enterprise. Most seriously, the lack of full utilization of existing delivery resource data leads to inefficient resource utilization, possible waste of resources or unreasonable delivery arrangements, which in turn affects the operational efficiency and competitiveness of the enterprise.

[0003] In order to solve the above problems, a technical solution is now provided. Summary of the invention

[0004] In order to overcome the above-mentioned defects of the prior art, the embodiment of the present invention provides a smart logistics distribution data management platform. First, the historical order data is classified and feature extracted through the clustering algorithm of machine learning, and the analysis priority of the historical data is determined in combination with the association rule mining technology, and a training data set is constructed to provide effective support for subsequent decision-making. Secondly, the customer's logistics distribution demand sequence is dynamically constructed using the hidden Markov chain model, and the importance of the order is predicted by the state transition probability and observation probability matrix, so as to realize the priority classification of the order, which is helpful to improve the efficiency and accuracy of logistics distribution. Finally, by comparing the key features with the logistics distribution standards, the distribution resources that meet the requirements are screened out, and the operating costs are proofread according to the order importance, so as to select the distribution resources with the lowest adjusted cost for order processing, which is helpful to reduce costs and improve efficiency. Then, data analysis, prediction models and resource optimization are effectively integrated, and all-round support is provided for the management and decision-making of the logistics distribution system, thereby realizing cost control, efficiency improvement and customer service level improvement to solve the problems raised in the above background technology.

[0005] To achieve the above-mentioned purpose, the present invention provides the following technical solutions: including a data management module, a heavy testing and prediction module and a demand ontology construction module;

[0006] The data management module automatically classifies historical order data through machine learning clustering algorithms, extracts effective features to construct feature vectors, and uses association rule mining technology to mine the associations between data, thereby determining the analyzable priority of historical data and forming a training data set, which is then sent to the heavy testing and prediction module;

[0007] The heavy testing and prediction module uses the hidden Markov chain model to dynamically build the customer's logistics distribution demand sequence based on order characteristics and historical data, and predicts the importance of the order through the state transition probability and observation probability matrix to achieve order priority classification and send the processing results to the demand ontology construction module;

[0008] The demand ontology construction module compares the degree of key features with the logistics distribution standards, screens existing distribution resources that meet the requirements, and proofreads the operating costs based on the importance of the order, and finally selects the distribution resource with the lowest adjusted cost to process the order.

[0009] In a preferred embodiment, the data management module includes the following processing contents:

[0010] Step 1-1, extract features based on the characteristics and attributes of order data;

[0011] Step 1-2, fuse the extracted features, normalize different features in equal proportions, and then splice them into a comprehensive feature vector to construct a comprehensive feature vector;

[0012] Normalize the comprehensive feature vector to a unit vector, calculate the cosine value of the angle between the vectors, and obtain the similarity matrix between the orders;

[0013] Step 1-3: Take the standardized comprehensive feature vector as input, use the t-SNE algorithm to map the high-dimensional feature space to a low-dimensional space, and finally obtain the coordinates of each order in the low-dimensional space;

[0014] In steps 1-4, the reduced feature vector is used as input and the selected clustering algorithm is applied to divide the order data into several clusters, each of which contains orders with similar features.

[0015] In a preferred embodiment, in step 2-1, the Apriori algorithm is used to extract mining features from the order data of each cluster to find frequent item sets;

[0016] Step 2-2, generate order importance index based on frequent item sets;

[0017] The calculation formula of the order importance index is: ;

[0018] in, Indicates the order importance index;

[0019] is the support of the order, which indicates the frequency of the order appearing in all orders;

[0020] The information entropy of an order indicates the amount of information contained in the order;

[0021] The distance of an order, which indicates the minimum value of the distance between an order and all other orders;

[0022] The relevance of an order, which represents the value with the greatest degree of relevance between an order and other orders;

[0023] Represents a positive constant to prevent the denominator from being zero;

[0024] Orders whose order importance index exceeds the importance threshold in each cluster are extracted to form a training data set.

[0025] In a preferred embodiment, the heavy test and prediction module includes the following contents:

[0026] Extract features from the training data set and construct the customer's logistics distribution demand sequence:

[0027] The customer's logistics distribution needs are divided into different states, and the characteristics of the order are used as observation variables. The state transition probability matrix is ​​defined to represent the transition probability between different states. The calculation formula is: ;

[0028] in, Indicates from the state Transfer to state probability;

[0029] Indicates from the state Transfer to state The number of times;

[0030] Define the observation probability matrix: it represents the probability of observing each order feature in each state. The specific steps are as follows:

[0031] Normalize each order feature, divide the order amount into several intervals, and convert the location information into distance levels;

[0032] Let the hidden state set be ,in Indicates hidden states;

[0033] Assume that the set of observed variables is ,in Indicates observed variables, i.e. order characteristics;

[0034] For each hidden state, calculate the probability of observing each order feature in that state;

[0035] Combine all observation probabilities into one observation probability matrix.

[0036] In a preferred embodiment, the state transition probability matrix and the observation probability matrix are randomly initialized, and the transition probability matrix is ​​set to be A and the observation probability matrix is ​​set to be B;

[0037] Step 3-1, for each order sequence, use the forward algorithm to calculate the joint probability of the observed sequence, that is, the probability of observing the order sequence given the current parameters A and B;

[0038] According to the current parameters A and B, the backward algorithm is used to calculate the forward and backward probabilities of each order sequence under each hidden state. Specifically:

[0039] Forward Probability Indicates at time In state And observe the observation sequence probability;

[0040] Backward Probability Indicates at time In state And observe the observation sequence probability;

[0041] Use the forward and backward probabilities to calculate the probability distribution of each order sequence in each hidden state, that is, the probability of the order sequence being in each hidden state given the current parameters;

[0042] Step 3-2, update the state transition probability matrix A and the observation probability matrix B;

[0043] The update formula of the state transition probability matrix A is: ;

[0044] in, Indicates time In state and at the moment Transfer to state probability;

[0045] The update formula of the observation probability matrix B is: ;

[0046] in, Indicates time The observed value of Indicates Observations, Indicates time In state probability;

[0047] Repeat steps 3-1 and 3-2 until the maximum number of iterations is reached;

[0048] Step 3-3, calculate the probability of the observation sequence appearing in each state;

[0049] According to the prior probability, calculate the importance of each state;

[0050] Calculate the posterior probability under each state, that is, the importance of the order.

[0051] In a preferred embodiment, the demand allocation module includes the following contents:

[0052] Step 4-1, count the logistics resources that are currently available, and count the corresponding distribution standards of each logistics resource that can be put into use;

[0053] Step 4-2, extract key features from the orders of newly generated customers;

[0054] set up For order Key features, First in logistics and distribution Item standard;

[0055] Convert key features and logistics distribution standards into vector form, set key features The value range is , The value range is ;

[0056] Then the degree to which each key characteristic belongs to each standard in logistics distribution is: ;

[0057] in, It indicates the degree to which each key feature belongs to each corresponding standard in logistics distribution, that is, the degree to which the key feature belongs to the standard.

[0058] In a preferred embodiment, the degree to which the key features belong to the standard is calculated, and the degree to which each key feature belongs to the standard is compared with the corresponding degree threshold. If the degree to which each key feature belongs to the standard is greater than the corresponding degree threshold, it means that the corresponding key feature in the current customer's order meets the corresponding delivery standard of the existing available delivery resources. Similarly, check whether each key feature meets the corresponding delivery standard of the existing available delivery resources, then count the existing delivery resources that meet the conditions, use the importance of the order to check the operating cost, obtain the adjusted operating cost, and calculate it using the following formula: ;

[0059] in, represents the adjusted operating cost of the distribution resources after proofreading, Indicates the correction value;

[0060] All eligible distribution resources are sorted from small to large according to the adjusted operating costs, and the distribution resource with the highest ranking is selected to process the new customer orders.

[0061] The technical effects and advantages of a smart logistics distribution data management platform of the present invention are as follows:

[0062] 1. The present invention uses a clustering algorithm of machine learning to automatically classify historical order data. During the classification process, effective features are extracted from the order data and fused into a comprehensive feature vector. The classification results of the order are obtained through dimensionality reduction and clustering algorithms. Furthermore, the potential association relationship of the order data in each cluster is mined through association rule mining technology to understand the inherent laws of the order data. By calculating the order importance index and determining the priority of the order, data with analytical value can be screened out, thereby optimizing business decisions and improving overall efficiency. This comprehensive processing process makes the historical order data have a higher analytical value and provides strong support for business optimization and decision-making.

[0063] 2. The present invention uses a hidden Markov chain model to construct a customer logistics distribution demand sequence based on order characteristics, thereby accurately predicting the importance of customer demand. Through the state transition probability matrix and the observation probability matrix, it helps to understand customer behavior patterns and predict future demand based on historical data. After randomly initializing the matrix, the order probability distribution is estimated by iterative optimization parameters using forward and backward algorithms to predict the importance of orders. This enables logistics companies to more accurately predict and meet customer needs, promote business development and improve service quality.

[0064] 3. The present invention can quantify the degree of match between orders and delivery standards by counting available logistics resources and their delivery standards and converting the key features of new orders into vector form. It can automatically determine whether an order meets the delivery standards of available resources, thereby realizing intelligent delivery decisions. According to the importance of the order, the operating cost of the distribution resources is proofread to further ensure the effective use of resources and cost-effectiveness. This not only improves the accuracy and efficiency of logistics distribution, but also reduces operating costs, enhances corporate competitiveness, and improves customer satisfaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] Figure 1 This is a structural diagram of a smart logistics distribution data management platform of the present invention;

[0066] Figure 2 A schematic diagram of a process for classifying historical order data of a smart logistics distribution data management platform of the present invention;

[0067] Figure 3 The present invention is a flowchart of a demand allocation module of a smart logistics distribution data management platform. DETAILED DESCRIPTION

[0068] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0069] Example 1

[0070] Figure 1 The present invention provides a smart logistics distribution data management platform, including: a data management module, a heavy test and prediction module and a demand ontology construction module;

[0071] The data management module automatically classifies historical order data through machine learning clustering algorithms, extracts effective features to construct feature vectors, and uses association rule mining technology to mine the associations between data, thereby determining the analyzable priority of historical data and forming a training data set, which is then sent to the heavy testing and prediction module;

[0072] The heavy testing and prediction module uses the hidden Markov chain model to dynamically build the customer's logistics distribution demand sequence based on order characteristics and historical data, and predicts the importance of the order through the state transition probability and observation probability matrix to achieve order priority classification and send the processing results to the demand ontology construction module;

[0073] The demand ontology construction module compares the degree of key features with the logistics distribution standards, screens existing distribution resources that meet the requirements, and proofreads the operating costs based on the importance of the order, and finally selects the distribution resource with the lowest adjusted cost to process the order.

[0074] In the field of data analysis, data quality and feature selection are crucial to building accurate analytical models. Historical data often contains a lot of redundant or non-analytical information, which interferes with the model training and prediction process. To solve this problem, a clustering and stratification strategy is needed to divide the data into different levels according to similarity. In this way, the inherent structure of the data can be better understood, so that feature extraction and selection can be carried out in a targeted manner. In each level, the most representative and significant features are selected to ensure the quality and information content of the data used in the model. This optimization method not only improves the accuracy and generalization ability of the model, but also better adapts to the analysis needs in different data scenarios, providing more reliable support and guidance for business decisions. By carefully processing historical data, more reliable and accurate analytical models can be established, thereby providing enterprises with more competitive data-driven decision support.

[0075] The data management module includes the following processing contents:

[0076] Preprocess the historical order data, including data cleaning, outlier removal, feature selection, etc., to prepare the data for input into the classification algorithm;

[0077] Step 1: Introduce an automated data classification algorithm based on a machine learning clustering algorithm to dynamically classify historical order data according to the characteristics and attributes of the order data to improve data management efficiency and accuracy.

[0078] like Figure 2 The following are shown:

[0079] Step 1-1, extract effective features based on the characteristics and attributes of the order data. This can include features such as order time, location, type of goods, order amount, etc.

[0080] Step 1-2, integrate the order time, location, product type and order amount to construct a comprehensive feature;

[0081] For time features, the time is converted into time periods to reflect the time period characteristics of the order;

[0082] For location features, the location information is converted into geographical distances to reflect the similarity or connection between locations;

[0083] For the cargo type characteristics, the similarities between different cargo types are calculated to reflect the degree of association between cargo types;

[0084] For the order amount feature, the order amount is standardized to reflect the relative size of the order amount;

[0085] The order time, location, type of goods, and order amount are integrated, and different features are normalized in equal proportions, and then spliced ​​into a comprehensive feature vector to construct a comprehensive feature vector;

[0086] The comprehensive feature vector is normalized into a unit vector, the cosine of the angle between the vectors is calculated, and the similarity matrix between the orders is obtained.

[0087] Steps 1-3: Use the standardized comprehensive feature vector as input and use the t-SNE algorithm to map the high-dimensional feature space to a low-dimensional space, and finally obtain the coordinates of each order in the low-dimensional space for subsequent clustering analysis;

[0088] Steps 1-4, use methods such as elbow method, silhouette coefficient method, and interval statistics to determine the optimal number of clusters;

[0089] The reduced feature vector is used as input and the selected clustering algorithm (such as k-means algorithm) is applied for clustering analysis;

[0090] The clustering algorithm will divide the order data into several clusters, each of which contains orders with similar characteristics;

[0091] In steps 1-5, the clustering results are evaluated using internal evaluation indicators (such as silhouette coefficient) or external evaluation indicators (such as comparison with existing labels).

[0092] According to the model evaluation results and business needs, the optimal number of clusters and clustering results are selected as the final model to complete the automatic classification of order data.

[0093] Step 2: Use association rule mining technology to discover potential associations in the historical order data of each cluster, so as to better understand the value of order data. You can use association rule mining algorithms such as Apriori algorithm or FP-Growth algorithm to mine hidden associations in order data;

[0094] Includes the following:

[0095] Step 2-1, extract mining features from the order data of each cluster, such as product type, customer location, order quantity, etc.;

[0096] Use association rule mining algorithm (Apriori algorithm or FP-Growth algorithm) to find frequent item sets.

[0097] The core idea of ​​the Apriori algorithm is to generate candidate item sets in an iterative manner and reduce the search space by using frequent properties.

[0098] Step 2-2, generate order importance index based on frequent item sets;

[0099] The calculation formula of the order importance index is: ;

[0100] in, Indicates the order importance index;

[0101] is the support of the order, which indicates the frequency of the order appearing in all orders;

[0102] The information entropy of an order indicates the amount of information contained in the order;

[0103] The distance of an order, which indicates the minimum value of the distance between an order and all other orders, can be calculated using distance measurement methods, such as Euclidean distance, cosine similarity, etc.

[0104] The correlation of an order indicates the value at which the order has the greatest correlation with other orders, and can be calculated using correlation coefficients, such as the Pearson correlation coefficient.

[0105] Represents a positive constant to prevent the denominator from being zero.

[0106] The order importance index is used to measure the importance or significance of an order in the entire historical data set. A larger index value indicates a more important or significant order, and its influence in the entire data set is greater; conversely, a smaller index value indicates a less important order, and its influence is relatively small. The calculation of the order importance index can help determine the priority or importance of an order, and thus can provide support and guidance when screening data with analytical value, in order to improve overall efficiency and decision-making accuracy.

[0107] Orders whose order importance index exceeds the importance threshold in each cluster are extracted to form a training data set.

[0108] The present invention utilizes a clustering algorithm of machine learning to automatically classify historical order data. During the classification process, effective features are extracted from the order data and fused into a comprehensive feature vector. The classification results of the orders are obtained through dimensionality reduction and clustering algorithms. Furthermore, the potential association relationship of the order data in each cluster is mined through association rule mining technology to understand the inherent laws of the order data. By calculating the order importance index and determining the priority of the order, data with analytical value can be screened out, thereby optimizing business decisions and improving overall efficiency. This comprehensive processing process enables historical order data to have a higher analytical value, providing strong support for business optimization and decision-making.

[0109] Analyzing the importance of customer orders based on historical order data is of great significance and is crucial for formulating distribution resource plans. First, historical order data reflects customer purchasing behavior and preferences. By analyzing the importance of orders, we can better understand the changing trends and priorities of customer needs, thereby adjusting distribution resources to meet different needs. Secondly, by determining the importance level of orders, we can effectively allocate distribution resources, use more resources to process important orders, and improve distribution efficiency and customer satisfaction. In addition, analyzing the importance of orders based on historical data can also help identify and optimize bottlenecks and deficiencies in the distribution process, improve distribution strategies and processes in a targeted manner, reduce costs, and improve distribution efficiency. In summary, analyzing the importance of customer orders based on historical order data is of great significance for optimizing the allocation of distribution resources, improving distribution efficiency and customer satisfaction, and can help companies better respond to market changes and enhance their competitiveness.

[0110] The heavy testing and prediction module includes the following:

[0111] Extract features from the training data set, including order time, location, product type, order amount, etc.

[0112] According to historical order data, build the customer's logistics and distribution demand sequence:

[0113] Categorize customers’ logistics and delivery needs into different statuses, such as very urgent, urgent, normal, and low priority;

[0114] Taking the order characteristics as observation variables, the state transition probability matrix is ​​defined to represent the transition probability between different states. The calculation formula is: ;

[0115] in, Indicates from the state Transfer to state probability;

[0116] Indicates from the state Transfer to state The number of times.

[0117] Define the observation probability matrix: it represents the probability of observing each order feature in each state. The specific steps are as follows:

[0118] Normalize each order feature to facilitate modeling. For example, divide the order amount into several intervals and convert the location information into distance levels;

[0119] Let the hidden state set be ,in Indicates hidden states;

[0120] Assume that the set of observed variables is ,in Indicates observed variables, i.e. order characteristics;

[0121] For each hidden state, calculate the probability of observing each order feature in that state. This can be estimated by statistical historical data or calculated by other methods, such as inference based on the correlation between features;

[0122] Combine all observation probabilities into one observation probability matrix.

[0123] The observation probability matrix and the state transition probability matrix play a key role in the hidden Markov chain model. The observation probability matrix is ​​used to describe the probability of observing each order feature in each hidden state, thereby helping the model calculate the possibility of observing a certain order feature in a given state. This helps the model predict and judge the state based on the actual observation data, and then predict the importance of customer logistics and distribution needs. The state transition probability matrix is ​​used to represent the transition probability between different states, that is, the probability of a customer's logistics and distribution needs transferring from one state to another in a given state. Through these two matrices, the hidden Markov chain model can learn customer behavior patterns and demand change rules from historical order data, so as to more accurately predict the importance of future customer needs.

[0124] Randomly initialize the state transition probability matrix and observation probability matrix, let the transition probability matrix be A and the observation probability matrix be B;

[0125] Step 3-1, for each order sequence, use the forward algorithm to calculate the joint probability of the observed sequence, that is, the probability of observing the order sequence given the current parameters A and B;

[0126] Based on the current parameters A and B, the backward algorithm is used to calculate the forward and backward probabilities of each order sequence under each hidden state. Specifically:

[0127] Forward Probability Indicates at time In state And observe the observation sequence probability;

[0128] Backward Probability Indicates at time In state And observe the observation sequence probability;

[0129] The forward and backward probabilities are used to calculate the probability distribution of each order sequence in each hidden state, that is, the probability of the order sequence being in each hidden state given the current parameters.

[0130] Through such a processing process, the probability of each order sequence can be estimated according to the current parameters A and B, thus providing important information for the parameter estimation of the hidden Markov chain model.

[0131] The state transition probability matrix is ​​used to describe the transition probability between different hidden states. It is mainly used to determine the evolution law between hidden states, so as to better understand the changing trend of customer logistics distribution demand. Through the state transition probability matrix, the conversion probability between different states can be analyzed to infer the evolution path and change trend of customer demand. In this way, the observation probability matrix and the state transition probability matrix together constitute the basic components of the hidden Markov chain model, which helps to better understand and predict customer logistics distribution demand.

[0132] Step 3-2, update the state transition probability matrix A and the observation probability matrix B;

[0133] The update formula of the state transition probability matrix A is: ;

[0134] in, Indicates time In state and at the moment Transfer to state probability;

[0135] The update formula of the observation probability matrix B is: ;

[0136] in, Indicates time The observed value of Indicates Observations, Indicates time In state probability;

[0137] Repeat steps 3-1 and 3-2 until the maximum number of iterations is reached.

[0138] The Baum-Welch algorithm or EM algorithm can effectively estimate the parameters of the hidden Markov chain model, thereby more accurately predicting the importance of customer logistics distribution needs.

[0139] According to the trained hidden Markov chain model, the importance of customer logistics distribution needs is predicted:

[0140] Step 3-3, first, calculate the probability of the observation sequence appearing in each state;

[0141] Secondly, the importance of each state is calculated based on the prior probability. Finally, the posterior probability under each state is calculated, that is, the importance of the order.

[0142] The importance of an order indicates its importance or priority in the entire logistics distribution system. The more important the order, the greater its impact on the system and the more priority it needs to be processed and arranged. Categorizing the importance can help logistics companies manage orders and resource allocation more effectively to meet the needs of different orders.

[0143] A common way to classify the importance of orders is to divide the orders into several levels or categories according to the size of their importance values. For example, orders can be divided into the following categories:

[0144] Very urgent: includes those orders that have a significant impact on customer production or business, require immediate processing and delivery, and usually have the highest importance value.

[0145] Urgent: Orders that have a certain impact on customer business and need to be processed and delivered in a short period of time, and are of high importance.

[0146] Normal: Orders with little impact on customer business and can be processed and delivered in a longer period of time, with a moderate importance value.

[0147] Low priority: Orders that have little impact on customer business and can be processed and delivered within a longer period of time, and have a lower importance value.

[0148] Depending on the importance level of the order, logistics companies can formulate different processing strategies and priority arrangements to ensure that high-importance orders are processed in a timely manner and delivered first, thereby improving customer satisfaction and overall efficiency.

[0149] The present invention uses a hidden Markov chain model to construct a customer logistics distribution demand sequence based on order characteristics, thereby accurately predicting the importance of customer demand. Through the state transition probability matrix and the observation probability matrix, it helps to understand customer behavior patterns and predict future demand based on historical data. After randomly initializing the matrix, the order probability distribution is estimated by iterative optimization parameters using forward and backward algorithms to predict the importance of orders. This enables logistics companies to more accurately predict and meet customer needs, promote business development and improve service quality.

[0150] like Figure 3 The demand allocation module shown includes the following:

[0151] Step 4-1, count the logistics resources that are currently available, and count the corresponding distribution standards of each logistics resource that can be put into use;

[0152] Step 4-2, extract key features from the newly generated customer's order, including time, location, type of goods, etc.;

[0153] set up For order Key features, First in logistics and distribution Item standard;

[0154] Convert key features and logistics distribution standards into vector form, set key features The value range is , The value range is ;

[0155] Then the degree to which each key characteristic belongs to each standard in logistics distribution is: ;

[0156] in, It indicates the degree to which each key feature belongs to each corresponding standard in logistics distribution, that is, the degree to which the key feature belongs to the standard.

[0157] The greater the degree to which the key features belong to the standard, the more the corresponding key features of the order meet the corresponding delivery standards.

[0158] Step 4-3, calculate the degree to which the key features belong to the standard, compare the degree to which each key feature belongs to the standard with the corresponding degree threshold, if the degree to which each key feature belongs to the standard is greater than the corresponding degree threshold, it means that the corresponding key feature in the current customer's order meets the corresponding delivery standard of the existing available delivery resources, and so on, check whether each key feature meets the corresponding delivery standard of the existing available delivery resources, then count the existing delivery resources that meet the conditions, use the importance of the order to calibrate the operating cost, and obtain the adjusted operating cost, for example, it can be calculated by the following formula: ;

[0159] in, represents the adjusted operating cost of the distribution resources after proofreading, Indicates the correction value;

[0160] Sort all qualified distribution resources by adjusted operating costs from small to large. Select the distribution resource with the highest ranking to process the newly generated customer's order.

[0161] The present invention can quantify the degree of matching between orders and delivery standards by counting available logistics resources and their delivery standards and converting the key features of new orders into vector form. It can automatically determine whether an order meets the delivery standards of available resources, thereby realizing intelligent delivery decisions. According to the importance of the order, the operating cost of the distribution resources is proofread to further ensure the effective use of resources and cost-effectiveness. This not only improves the accuracy and efficiency of logistics distribution, but also reduces operating costs, enhances corporate competitiveness, and improves customer satisfaction.

[0162] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters and thresholds in the formula are set by technicians in this field according to actual conditions.

[0163] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination thereof. When implemented by software, the above embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or may be transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium may be a solid-state hard disk.

[0164] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0165] In the several embodiments provided in the present application, it should be understood that the disclosed systems and devices can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0166] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0167] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0168] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.

[0169] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0170] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A smart logistics distribution data management platform, characterized in that: It includes data management module, heavy testing and prediction module and demand ontology construction module; The data management module automatically classifies historical order data through machine learning clustering algorithms, extracts effective features to construct feature vectors, and uses association rule mining technology to mine the associations between data, thereby determining the analyzable priority of historical data and forming a training data set, which is then sent to the heavy testing and prediction module; The heavy testing and prediction module uses the hidden Markov chain model to dynamically build the customer's logistics distribution demand sequence based on order characteristics and historical data, and predicts the importance of the order through the state transition probability and observation probability matrix to achieve order priority classification and send the processing results to the demand ontology construction module; The demand ontology building module compares the key features with the degree of logistics distribution standards to screen the existing distribution resources that meet the requirements, and calibrates the operating costs according to the importance of the order, and finally selects the distribution resource with the lowest adjusted cost to process the order; The data management module includes the following processing contents: Step 1-1, extract features based on the characteristics and attributes of order data; Step 1-2, fuse the extracted features, normalize different features in equal proportions, and then splice them into a comprehensive feature vector to construct a comprehensive feature vector; Normalize the comprehensive feature vector to a unit vector, calculate the cosine value of the angle between the vectors, and obtain the similarity matrix between the orders; Step 1-3: Take the standardized comprehensive feature vector as input, use the t-SNE algorithm to map the high-dimensional feature space to a low-dimensional space, and finally obtain the coordinates of each order in the low-dimensional space; Steps 1-4, taking the reduced feature vector as input, apply the selected clustering algorithm to divide the order data into several clusters, each cluster contains orders with similar features; Step 2-1, use the Apriori algorithm to extract mining features from the order data of each cluster and find frequent item sets; Step 2-2, generate order importance index based on frequent item sets; The calculation formula of the order importance index is: ; in, Indicates the order importance index; is the support of the order, which indicates the frequency of the order appearing in all orders; The information entropy of an order indicates the amount of information contained in the order; The distance of an order, which indicates the minimum value of the distance between an order and all other orders; The relevance of an order, which represents the value with the greatest degree of relevance between an order and other orders; Represents a positive constant to prevent the denominator from being zero; Extract the orders in each cluster whose order importance index exceeds the importance threshold to form a training data set; The heavy testing and prediction module includes the following: Extract features from the training data set and construct the customer's logistics distribution demand sequence: The customer's logistics distribution needs are divided into different states, and the characteristics of the order are used as observation variables. The state transition probability matrix is ​​defined to represent the transition probability between different states. The calculation formula is: ; in, Indicates from the state Transfer to state probability; Indicates from the state Transfer to state The number of times; Define the observation probability matrix: it represents the probability of observing each order feature in each state. The specific steps are as follows: Normalize each order feature, divide the order amount into several intervals, and convert the location information into distance levels; Let the hidden state set be ,in Indicates hidden states; Assume that the set of observed variables is ,in Indicates observed variables, i.e. order characteristics; For each hidden state, calculate the probability of observing each order feature in that state; Combine all observation probabilities into an observation probability matrix; Randomly initialize the state transition probability matrix and observation probability matrix, let the transition probability matrix be A and the observation probability matrix be B; Step 3-1, for each order sequence, use the forward algorithm to calculate the joint probability of the observed sequence, that is, the probability of observing the order sequence given the current parameters A and B; According to the current parameters A and B, the backward algorithm is used to calculate the forward and backward probabilities of each order sequence under each hidden state. Specifically: Forward Probability Indicates at time In state And observe the observation sequence probability; Backward Probability Indicates at time In state And observe the observation sequence probability; Use the forward and backward probabilities to calculate the probability distribution of each order sequence in each hidden state, that is, the probability of the order sequence being in each hidden state given the current parameters; Step 3-2, update the state transition probability matrix A and the observation probability matrix B; The update formula of the state transition probability matrix A is: ; in, Indicates time In state and at the moment Transfer to state probability; The update formula of the observation probability matrix B is: ; in, Indicates time The observed value of Indicates Observations, Indicates time In state probability; Repeat steps 3-1 and 3-2 until the maximum number of iterations is reached; Step 3-3, calculate the probability of the observation sequence appearing in each state; According to the prior probability, calculate the importance of each state; Calculate the posterior probability under each state, that is, the importance of the order; The demand allocation module includes the following: Step 4-1, count the logistics resources that are currently available, and count the corresponding distribution standards of each logistics resource that can be put into use; Step 4-2, extract key features from the orders of newly generated customers; set up For the order Key features, For logistics and distribution Item standard; Convert key features and logistics distribution standards into vector form, set key features The value range is , The value range is ; Then the degree to which each key characteristic belongs to each standard in logistics distribution is: ; in, It indicates the degree to which each key characteristic belongs to each corresponding standard in logistics distribution, that is, the degree to which the key characteristic belongs to the standard; The degree to which the key features belong to the standards is calculated, and the degree to which each key feature belongs to the standards is compared with the corresponding degree threshold. If the degree to which each key feature belongs to the standards is greater than the corresponding degree threshold, it means that the corresponding key feature in the current customer's order meets the corresponding delivery standards of the existing available delivery resources. Similarly, check whether each key feature meets the corresponding delivery standards of the existing available delivery resources, then count the existing delivery resources that meet the conditions, use the importance of the orders to calibrate the operating costs, obtain the adjusted operating costs, sort all eligible delivery resources from small to large according to the adjusted operating costs, and select the delivery resource with the highest ranking to process the orders of new customers.

Citation Information

Patent Citations

  • Purchase conversion rate prediction method and system based on hidden Markov model

    CN107944643A

  • Improved hidden Markov model map matching method and device

    CN114440900A

  • Machine learning-based path planning method considering driver heterogeneity

    CN117933869A

  • Forecasting system using machine learning and ensemble methods

    WO2014075108A2