An intelligent logistics system based on the Internet of Things
Through the intelligent logistics system based on the Internet of Things, the cement logistics data matrix is constructed and optimized to solve the problems of information opacity and low efficiency in traditional cement logistics management, achieve high-precision allocation of cement orders and improve the stability of the supply chain, reducing transportation costs. and inventory costs, improving customer satisfaction and supply chain competitiveness.
Patent Information
- Application Number
- CN202410138126.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-01
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-02-01
AI Technical Summary
Traditional cement logistics management has problems such as opaque information, low efficiency, difficulty adapting to changes, and high costs, which affects supply chain operational efficiency and customer satisfaction.
Adopt an intelligent logistics system based on the Internet of Things, through data processing and algorithm optimization, build a data matrix of cement warehouses, transporters, orders and suppliers, use feature extraction and classification algorithms to optimize order allocation and supplier binding, and establish binding Model to improve supply chain stability.
It achieves high-precision allocation of cement orders, reduces transportation and inventory costs, improves the sustainability of the supply chain and customer satisfaction, and enhances the competitiveness of the supply chain.
Smart Images

Figure CN117933882B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of Internet of Things, and in particular relates to an intelligent logistics system based on the Internet of Things. Background Art
[0002] As an important construction raw material, cement supply chain management plays a key role in modern construction and infrastructure construction. However, there are still a series of problems in traditional cement logistics management, which directly affect the efficiency and sustainability of the supply chain.
[0003] Traditional cement logistics management usually relies on regular inventory counts and static inventory management strategies. This results in the inability to monitor and adjust inventory levels in cement warehouses in real time, often resulting in inventory backlogs or shortages. The transportation of cement usually involves multiple suppliers and carriers, and information transmission and monitoring are opaque, making it difficult to track and control the transportation process in real time. This can lead to transportation delays and losses. Cement orders usually need to be allocated to different warehouses to meet customer needs. Traditional allocation methods are often based on experience and lack scientific data support, which can easily lead to uneven order distribution and uncoordinated transportation. In the cement supply chain, it is crucial to select the right supplier and establish a stable binding relationship with it. Traditional methods often lack systematic supplier evaluation and binding optimization methods, resulting in threats to the stability of the supply chain. In traditional cement logistics management, information is often scattered in various links, making it difficult for different participants to share real-time data and make collaborative decisions. This information island causes lags in information transmission and inaccurate decision-making.
[0004] In summary, traditional cement logistics management has problems such as information opacity, inefficiency, difficulty in adapting to changes and high costs, which directly affect the operational efficiency and customer satisfaction of the cement supply chain. Therefore, it is necessary to introduce new technologies and methods to optimize cement logistics management and improve the sustainability and competitiveness of the supply chain. Summary of the invention
[0005] The main purpose of the present invention is to provide an intelligent logistics system based on the Internet of Things. The present invention improves the efficiency of cement supply chain management, reduces costs, improves customer satisfaction and enhances competitiveness through data processing and algorithm optimization.
[0006] In order to solve the above problems, the technical solution of the present invention is achieved as follows:
[0007] An intelligent logistics system based on the Internet of Things, the system comprising: a logistics data construction unit, used to obtain cement warehouse data to construct a cement warehouse data matrix, each element in the matrix represents an attribute vector of a cement warehouse, obtain cement transporter data to construct a cement transporter data matrix, each element in the matrix represents an attribute vector of a cement transporter, obtain cement order data to construct a cement order data matrix, each element in the matrix represents an attribute vector of a cement order, obtain cement supplier data to construct a cement supplier data matrix, each element in the matrix represents an attribute vector of a cement supplier; a feature extraction unit, used to encode the cement order data matrix, the cement warehouse data matrix, the cement transporter data matrix and the cement supplier data matrix respectively using read-hot encoding to convert non-numerical attribute vectors into numerical attribute vectors, then perform feature extraction on each attribute vector in each data matrix respectively to obtain a feature vector of each attribute vector, and finally obtain a feature vector of the cement order data matrix. Eigenvector matrix, eigenvector matrix of cement warehouse data matrix, eigenvector matrix of cement transporter data matrix and eigenvector matrix of cement supplier data matrix; cement order classification unit, used to assign cement orders to corresponding warehouses based on eigenvector matrix of cement order data matrix and eigenvector matrix of cement warehouse data matrix; cement transporter determination unit, used to assign cement transporters to corresponding warehouses based on eigenvector matrix of cement transporter data matrix and eigenvector matrix of cement warehouse data matrix, as well as the result of assigning cement orders to corresponding warehouses; cement supplier binding optimization unit, used to establish a binding model using fast random tree based on eigenvector matrix of cement supplier data matrix, the result of assigning cement orders to corresponding warehouses and the result of assigning cement transporters to corresponding warehouses, bind cement suppliers to corresponding warehouses, and in the process of establishing the binding model, consider multi-layer tree structure and nonlinear factors, maximize the binding model objective function to optimize the parameters of the binding model.
[0008] Furthermore, the elements of the attribute vector of the cement order include at least: cement demand, order user location data and order urgency; the attribute vector of the cement transporter includes at least: cement transportation volume upper limit, transporter location data and transportation price; the attribute vector of the cement supplier includes at least: supply cement price, supplier location data and supplier supply; the attribute vector of the cement warehouse includes: maximum capacity of the cement warehouse, remaining capacity of the cement warehouse and cement warehouse location data.
[0009] Furthermore, let the cement order data matrix be:
[0010] .
[0011] in Indicates The attribute vector of cement orders; let the cement warehouse data matrix be:
[0012] .
[0013] in Indicates The attribute vector of a cement warehouse; let the cement transporter data matrix be:
[0014] .
[0015] in Indicates The attribute vector of cement transporters; let the cement supplier data matrix be:
[0016] .
[0017] in Indicates The attribute vector of cement suppliers; let the eigenvector matrix of cement order data matrix be ; Assume that the eigenvector matrix of the cement warehouse data matrix is ; Assume that the eigenvector matrix of the cement transport data matrix is ; Assume that the eigenvector matrix of the cement supplier data matrix is ;in, is the cement order quantity, is the number of cement warehouses, is the number of cement transporters, is the number of cement suppliers, satisfying the following constraints:
[0018] ;
[0019] ;
[0020] .
[0021] Furthermore, the cement order classification unit uses a dual support vector kernel function to train a dual support vector machine classifier based on the eigenvector matrix of the cement order data matrix and the eigenvector matrix of the cement warehouse data matrix, and allocates the cement orders to the corresponding warehouses. When training the dual support vector machine classifier, a convex optimization algorithm is used to maximize the objective function of the dual support vector machine classifier so as to optimize the parameters of the dual support vector machine classifier.
[0022] Furthermore, based on the eigenvector matrix of the cement order data matrix and the eigenvector matrix of the cement warehouse data matrix, a dual support vector machine classifier is trained using a dual support vector kernel function to allocate cement orders to corresponding warehouses, including: using a polynomial kernel function , the eigenvector matrix of the cement order data matrix and the eigenvector matrix of the cement warehouse data matrix Mapping to a high-dimensional space; using the eigenvector matrix of the cement order data matrix and kernel function , train a dual support vector machine classifier, which includes the weight parameters of the support vectors , Bias Calculation of; Decision function for classification is used to classify orders if , the order is assigned to the corresponding warehouse , otherwise no allocation; among them, is the eigenvector matrix of the cement order data matrix Middle elements, is the subscript index; is the eigenvector matrix of the cement warehouse data matrix The elements, is the subscript index.
[0023] Furthermore, the decision function for classification Use the following formula to express it:
[0024] ;
[0025] in, is the order weight parameter, which is the first elements, the order weight matrix is a preset matrix, and is optimized and adjusted by maximizing the objective function; is the warehouse weight parameter, which is the first elements, the warehouse weight matrix is a preset matrix, and is optimized and adjusted by maximizing the objective function; is the bias term.
[0026] Kernel Function Use the following formula to express it:
[0027] .
[0028] Furthermore, a convex optimization algorithm is used to maximize the objective function of the dual support vector machine classifier, which is expressed by the following formula:
[0029] .
[0030] Furthermore, the cement transporter determination unit allocates the cement transporter to the corresponding warehouse based on the eigenvector matrix of the cement transporter data matrix and the eigenvector matrix of the cement warehouse data matrix, and the result of allocating the cement order to the corresponding warehouse, and the method includes:
[0031] The allocation score is calculated using the following formula:
[0032] ;
[0033] in, Indicates that and Perform matrix concatenation operations. is the Frobenius norm; is the L1 norm; for The feature vector of the corresponding warehouse to which the corresponding cement order is assigned; if If it is greater than the first threshold, The corresponding cement transporter is bound to The corresponding warehouse.
[0034] Furthermore, the binding model established by the cement supplier binding optimization unit is expressed using the following formula:
[0035] ;
[0036] in, is the calculated supplier binding score, if If it is greater than the second threshold, The corresponding supplier is bound to The corresponding warehouse; Parameters for binding models.
[0037] Furthermore, the binding model objective function is maximized by the following formula to optimize the parameters of the binding model:
[0038] ;
[0039] in, Indicates taking The minimum value in .
[0040] An intelligent logistics system based on the Internet of Things of the present invention has the following beneficial effects: the dual support vector machine classifier in the present invention can allocate cement orders to appropriate warehouses with high accuracy, avoiding unreasonable order distribution. The parameters of the support vector machine classifier are optimized by a convex optimization algorithm, so that it can quickly make decisions on order allocation, thereby improving decision-making efficiency. By establishing a binding model, the system can intelligently select suppliers and bind them to appropriate warehouses, thereby improving the stability and sustainability of the supply chain. The binding model takes into account multi-layer tree structures and nonlinear factors, making it more adaptable to complex supply chain environments. High-precision order classification reduces the occurrence of erroneous orders, reduces order processing costs and customer satisfaction. Optimized order allocation reduces unnecessary transportation, reduces transportation costs, and improves efficiency. The logistics data construction unit can obtain data on cement warehouses, transporters, orders, and suppliers in real time, and construct a corresponding data matrix. This ensures the timeliness and accuracy of the data. The feature extraction unit uses technologies such as read-hot encoding to convert non-numerical attribute vectors into numerical attribute vectors and extract important feature information. This helps to better understand and analyze data. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 A schematic diagram of the system structure of an intelligent logistics system based on the Internet of Things provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0042] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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 should fall within the scope of protection of the present invention.
[0043] Example 1: Reference Figure 1, an intelligent logistics system based on the Internet of Things, the system comprising: a logistics data construction unit, used to obtain cement warehouse data to construct a cement warehouse data matrix, each element in the matrix represents an attribute vector of a cement warehouse, obtain cement transporter data to construct a cement transporter data matrix, each element in the matrix represents an attribute vector of a cement transporter, obtain cement order data to construct a cement order data matrix, each element in the matrix represents an attribute vector of a cement order, obtain cement supplier data to construct a cement supplier data matrix, each element in the matrix represents an attribute vector of a cement supplier; a feature extraction unit, used to encode the cement order data matrix, the cement warehouse data matrix, the cement transporter data matrix and the cement supplier data matrix respectively using read-hot encoding to convert non-numerical attribute vectors into numerical attribute vectors, and then perform feature extraction on each attribute vector in each data matrix respectively to obtain a feature vector of each attribute vector, and finally obtain the cement order data matrix. Eigenvector matrix, eigenvector matrix of cement warehouse data matrix, eigenvector matrix of cement transporter data matrix and eigenvector matrix of cement supplier data matrix; cement order classification unit, used to assign cement orders to corresponding warehouses based on eigenvector matrix of cement order data matrix and eigenvector matrix of cement warehouse data matrix; cement transporter determination unit, used to assign cement transporters to corresponding warehouses based on eigenvector matrix of cement transporter data matrix and eigenvector matrix of cement warehouse data matrix, as well as the result of assigning cement orders to corresponding warehouses; cement supplier binding optimization unit, used to establish a binding model using fast random tree based on eigenvector matrix of cement supplier data matrix, the result of cement assigning cement orders to corresponding warehouses and the result of assigning cement transporters to corresponding warehouses, bind cement suppliers to corresponding warehouses, and in the process of establishing the binding model, consider multi-layer tree structure and nonlinear factors, maximize the binding model objective function to optimize the parameters of the binding model.
[0044] Specifically, the logistics data construction unit first collects various data from multiple data sources (such as cement warehouses, cement transporters, cement orders, and cement suppliers), which may include various information about logistics transportation, such as cargo quantity, transportation time, supplier information, warehouse capacity, etc. The collected data is integrated into a unified data structure, usually a matrix, in which each element represents an attribute vector of a specific entity (for example, a cement warehouse, a transporter, an order, a supplier). This attribute vector contains various information about the entity, such as geographic location, transportation history, capacity, etc. The main role of the logistics data construction unit is to integrate data from different sources into a unified data structure. This helps to eliminate data silos and fragmentation, allowing the system to process and manage all relevant data in a central location. This integrated data view helps to improve the accessibility and usability of the data. After integrating the data into the form of attribute vectors, the logistics data construction unit may pre-process the data to ensure data quality and consistency. This may include operations such as data cleaning, deduplication, and missing value processing to improve the accuracy of subsequent data analysis.
[0045] The first step of the feature extraction unit is to encode the data. The encoding method commonly used is one-hot encoding, which converts non-numeric attribute vectors into numerical attribute vectors. This process converts each non-numeric attribute into a binary vector in which only one element is 1 and the rest are 0. The position of this 1 represents the value of the original attribute, so that these vectors can be used in mathematical calculations. Once the data is encoded as numerical attribute vectors, the feature extraction unit uses various feature extraction methods to extract useful information from these vectors. These feature extraction methods can include statistical methods, frequency analysis, dimensionality reduction techniques (such as principal component analysis), time series analysis, etc. Its goal is to abstract the information in the original data for subsequent analysis and decision-making. Non-numeric attributes are usually not directly usable for mathematical calculations and machine learning model training. Through one-hot encoding, the feature extraction unit converts these non-numeric attributes into numerical form, making the data processable. In this way, the system can more easily apply various analyses and algorithms. Feature extraction can also be used to reduce the dimensionality of the data, thereby reducing computational complexity and storage requirements. By retaining the most important features, the data can be simplified without losing too much information, improving the efficiency of analysis and modeling.
[0046] In the cement order classification unit, the feature vectors of the cement order data are first generated using the feature extraction unit. These feature vectors are numerical representations of order attributes and contain various information about the order, such as the weight, destination, timestamp, etc. of the order. The cement order classification unit uses classification algorithms to classify the orders. These algorithms can include traditional machine learning methods (such as decision trees, support vector machines, random forests, etc.) or deep learning methods (such as neural networks). The choice of classification algorithm usually depends on the nature of the data and the complexity of the problem. The main role of the cement order classification unit is to assign new orders to the corresponding cement warehouses based on the feature vectors of the orders and the trained classification model. This is a very important step in the logistics system because the correct order allocation can ensure that the materials arrive at the destination on time, reducing inventory backlogs and transportation costs. By automating the order classification process, the system can process a large number of orders more quickly and reduce the need for manual intervention. This improves the efficiency of logistics management and reduces the risk of human error.
[0047] Similar to the cement order classification unit, the cement transporter determination unit first needs to use the feature extraction unit to generate feature vectors of cement transporter data. These feature vectors are numerical representations of transporter attributes, including information such as the transporter's historical performance, vehicle information, and delivery routes. The cement transporter determination unit uses association analysis or matching algorithms to match cement orders with the most suitable transporter. These algorithms consider order characteristics, transporter characteristics, and possible route and delivery constraints. The main role of the cement transporter determination unit is to assign cement orders to the most suitable transporter. This helps optimize logistics transportation and ensure that orders are delivered to their destinations in the most efficient and economical way. By matching orders with the most suitable transporters, transportation costs can be reduced, transportation time can be reduced, and on-time delivery can be maximized. The unit considers multiple factors, such as the transporter's historical performance, vehicle type, current location, and order requirements. The comprehensive consideration of these factors makes order allocation more intelligent and can adapt to the best decision in different situations. The automated transporter determination process reduces the need for manual intervention. This means that the system can respond to the arrival of new orders more quickly and can match more effectively in the case of large-scale orders.
[0048] The cement supplier binding optimization unit uses a binding model to determine which cement warehouse is the best match for each supplier. This binding model is usually built based on machine learning methods, and may use algorithms such as fast random trees (RandomForest). The goal of the model is to maximize the parameters of the binding model to optimize the matching of suppliers and warehouses. The main role of the cement supplier binding optimization unit is to determine which cement warehouse is the best match for each cement supplier. This helps ensure that each warehouse can get the most suitable supplier to meet its needs and maximize the efficiency of the supply chain. By binding each supplier to the most suitable warehouse, the system can reduce unnecessary transportation and inventory costs. This helps to improve the efficiency of the entire supply chain and reduce the overall cost of logistics management.
[0049] Example 2: The elements of the attribute vector of the cement order include at least: cement demand, order user location data and order urgency; the attribute vector of the cement transporter includes at least: cement transportation volume upper limit, transporter location data and transportation price; the attribute vector of the cement supplier includes at least: supply cement price, supplier location data and supplier supply; the attribute vector of the cement warehouse includes: maximum capacity of the cement warehouse, remaining capacity of the cement warehouse and cement warehouse location data.
[0050] Specifically, the integration and analysis of these attribute vector elements enables the intelligent logistics system to achieve more efficient and intelligent logistics management. The system can select the appropriate supplier and transporter based on the order demand, urgency and user location data to minimize costs and ensure timely delivery. At the same time, the warehouse capacity information helps the system to dynamically manage inventory and reduce unnecessary inventory backlogs. Taking these elements into consideration, the intelligent logistics system can provide more optimized logistics decisions, thereby improving the efficiency of the supply chain and customer satisfaction. This comprehensive information integration and analysis process makes logistics management more intelligent and automated, providing companies with a competitive advantage.
[0051] Example 3: Assume that the cement order data matrix is:
[0052] .
[0053] in Indicates The attribute vector of cement orders; let the cement warehouse data matrix be:
[0054] .
[0055] in Indicates The attribute vector of a cement warehouse; let the cement transporter data matrix be:
[0056] .
[0057] in Indicates The attribute vector of cement transporters; let the cement supplier data matrix be:
[0058] .
[0059] in Indicates The attribute vector of cement suppliers; let the eigenvector matrix of cement order data matrix be ; Assume that the eigenvector matrix of the cement warehouse data matrix is ; Assume that the eigenvector matrix of the cement transport data matrix is ; Assume that the eigenvector matrix of the cement supplier data matrix is ;in, is the cement order quantity, is the number of cement warehouses, is the number of cement transporters, is the number of cement suppliers, satisfying the following constraints:
[0060] ;
[0061] ;
[0062] .
[0063] Specifically, first of all, there are four key data matrices: cement order data matrix , cement warehouse data matrix , Cement transport data matrix and Cement Supplier Data Matrix Each data matrix contains the attribute vectors of the corresponding entities. For example, Indicates The attribute vector of a cement order includes the order quantity, user location data and urgency. Similarly, the attribute vectors in other matrices include important information of the corresponding entities. Then, the eigenvector matrix is introduced to represent the eigenvectors of cement order, cement warehouse, cement transporter and cement supplier data respectively. These eigenvector matrices ( , , and ) can be constructed based on the original data matrix, and various feature extraction methods are used to convert the original data into more informative features. This helps the system better understand the data, make decisions and optimize. In addition, some constraints are introduced to limit the size and relationship of the data matrix. These constraints ensure the reasonable scale and balance of the data. For example, the number of cement warehouses is required to be no less than the number of orders, but also cannot exceed 100 times the number of orders, which helps to maintain a reasonable scale of the data. Similarly, the number of suppliers is at least one-tenth of the number of warehouses, which helps to ensure the coverage of suppliers. Overall, this embodiment provides an effective method to structure and organize the key data of the cement logistics system. This matrix representation not only makes the data easier to manage and analyze, but also provides the system with more opportunities for intelligent decision-making and optimization. Through feature extraction and constraints of the data matrix, the system can better understand the logistics environment, improve efficiency, reduce costs and ensure on-time delivery. This is an important technology and method for modern logistics management, which helps to improve the sustainability and competitiveness of the supply chain.
[0064] Embodiment 4: A cement order classification unit, based on the eigenvector matrix of the cement order data matrix and the eigenvector matrix of the cement warehouse data matrix, uses a dual support vector kernel function to train a dual support vector machine classifier, and assigns cement orders to corresponding warehouses. When training the dual support vector machine classifier, a convex optimization algorithm is used to maximize the objective function of the dual support vector machine classifier to optimize the parameters of the dual support vector machine classifier.
[0065] Specifically, support vector machine is a supervised learning algorithm for solving binary or multi-class classification problems. Its main goal is to find a decision boundary or hyperplane that separates data of different categories and maximizes the interval (i.e., the distance from the nearest data point to the hyperplane). SVM finds the optimal classification hyperplane by maximizing the interval, which can correctly classify the data and has good generalization performance. Dual support vector machine (D-SVM): D-SVM is an extension of SVM for multi-class classification problems. It handles multi-class situations by combining multiple SVM classifiers into an overall system. Each SVM classifier is used to distinguish one category from all other categories, so there are multiple SVM classifiers in multi-class problems. SVM and D-SVM usually use kernel functions to handle nonlinear classification problems. Kernel functions can map input features into high-dimensional space, so that nonlinear problems become linearly separable in high-dimensional space. In this embodiment, the dual support vector machine uses a dual support vector kernel function to handle the nonlinear nature of the data.
[0066] The main role of D-SVM is to assign cement orders to the corresponding warehouses. Each warehouse is considered a category, and D-SVM learns a classifier to classify orders into these different categories, that is, to assign orders to the corresponding warehouses. D-SVM is a highly accurate classifier that can accurately classify orders through learning and optimization. This helps ensure that orders are assigned to the correct warehouse, thereby reducing errors and confusion. D-SVM can handle multi-class problems intelligently, and it takes into account the characteristics of each order and the attributes of each warehouse to make the best decision. This means that it can make different allocation decisions in different situations, thereby improving the intelligence of logistics management.
[0067] Example 5: Based on the eigenvector matrix of the cement order data matrix and the eigenvector matrix of the cement warehouse data matrix, a method for training a dual support vector machine classifier using a dual support vector kernel function to allocate cement orders to corresponding warehouses includes: using a polynomial kernel function , the eigenvector matrix of the cement order data matrix and the eigenvector matrix of the cement warehouse data matrix Mapping to a high-dimensional space; using the eigenvector matrix of the cement order data matrix and kernel function , train a dual support vector machine classifier, which includes the weight parameters of the support vectors , Bias Calculation of; Decision function for classification is used to classify orders if , the order is assigned to the corresponding warehouse , otherwise no allocation; among them, is the eigenvector matrix of the cement order data matrix Middle elements, is the subscript index; is the eigenvector matrix of the cement warehouse data matrix The elements, is the subscript index.
[0068] Specifically, first, the eigenvector matrix of the cement order data matrix and the eigenvector matrix of the cement warehouse data matrix The feature vectors are numerical representations that contain various attribute information about orders and warehouses, such as order requirements, warehouse attributes and locations. In D-SVM, kernel functions are used to handle the nonlinear nature of the data. In this example, a polynomial kernel function is used. The role of the kernel function is to map the original features to a higher-dimensional feature space for better classification. The polynomial kernel function introduces more complex features in the high-dimensional space, which helps to solve nonlinear problems. Using the mapped feature vector and kernel function To train a dual support vector machine classifier. The training process aims to find an optimal classification hyperplane to maximize the classification accuracy. The training of the classifier involves calculating the weight parameters of the support vector and And the bias term After the classifier is trained, the classification decision function can be used to classify new cement orders. This decision function is based on the learned hyperplane and support vector parameters and is used to decide which warehouse to assign the order to. , the order is assigned to the corresponding warehouse ; otherwise, no allocation is made.
[0069] The main role of D-SVM is to intelligently assign cement orders to appropriate warehouses. By using the polynomial kernel function and the dual support vector machine classifier, the complex relationship between orders and warehouses can be better handled and the accuracy of order assignment can be improved. The polynomial kernel function maps the original features to a high-dimensional space, which helps to deal with nonlinear problems. In a high-dimensional space, data is easier to separate, which improves the performance of the classifier. By training the dual support vector machine classifier, an optimal classification hyperplane can be learned to maximize classification accuracy. This allows the classifier to better adapt to different order and warehouse situations. Once the classifier training is completed, new orders can be automatically classified and assigned without manual intervention. This improves the efficiency and automation level of logistics management.
[0070] Example 6: Decision function for classification Use the following formula to express it:
[0071] ;
[0072] in, is the order weight parameter, which is the first elements, the order weight matrix is a preset matrix, and is optimized and adjusted by maximizing the objective function; is the warehouse weight parameter, which is the first elements, the warehouse weight matrix is a preset matrix, and is optimized and adjusted by maximizing the objective function; is the bias term.
[0073] Decision function for classification The principle of the decision function is based on the working principle of the dual support vector machine (D-SVM) classifier. D-SVM is a machine learning algorithm used to solve classification problems, where the input data (here, feature vectors of cement orders and warehouses) needs to be assigned to different categories (warehouses). The goal of the decision function is to determine the order Should it be allocated to a warehouse? .
[0074] Specifically, this decision function is based on the following key elements: and : These parameters are the weight parameters of orders and warehouses, and their values affect the classification results. They correspond to specific elements in the weight matrix of orders and warehouses, respectively, and can be adjusted by optimizing the objective function. and : These are the feature vectors of orders and warehouses, containing various attribute information about them. : Bias term, a constant used to adjust the intercept of the classification decision function. It is the calculation result of the kernel function, which is used to measure the similarity between orders and warehouses.
[0075] Decision function for classification The role is to confirm the order Should it be allocated to a warehouse? It works as follows: The inner product term :This term calculates the inner product of the order feature vector and the warehouse feature vector, using the weight parameter and The inner product reflects the similarity or correlation between them. The larger the value, the more related they are. : The kernel function is used to measure the similarity or distance between orders and warehouses. It takes into account the inner product and distance between feature vectors. The kernel function can help deal with nonlinear problems because it maps the data into a higher dimensional feature space. : Bias term It is used to adjust the intercept of the classification decision function and affect the final classification result. The final decision is based on the comprehensive results of these items. Greater than zero, the order Assigned to warehouse ; Otherwise, no allocation. The decision function comprehensively considers the similarity between orders and warehouses (inner product term and kernel function term) and the influence of bias term to achieve accurate classification.
[0076] Kernel Function Use the following formula to express it:
[0077] .
[0078] Embodiment 7: Using a convex optimization algorithm, the objective function of the dual support vector machine classifier reaches the maximum value, which is expressed by the following formula:
[0079] .
[0080] Inner Product :This part calculates the order feature vector and the warehouse feature vector The inner product reflects the similarity or correlation between them, and the square term can enhance the influence of similarity. The larger the inner product, the more similar the two eigenvectors are. : This part includes an exponential term that takes into account the order feature vector and the warehouse feature vector The square of the Euclidean distance between . The parameters of the exponential term include and , which are used to adjust the influence of the distance term. Through this term, the kernel function takes into account the distance information between the eigenvectors. If the eigenvectors are close enough, the value of the exponential term will be large, indicating that they are similar. Taking into account the information of both inner product and distance, the principle of the kernel function is to comprehensively evaluate the order through these two parts and warehouse The similarity between them is used for subsequent classification decisions.
[0081] Kernel Function The role of is to provide a way for the dual support vector machine (D-SVM) classifier to measure the similarity between orders and warehouses. It plays the following role in the classification task: the inner product term and exponential term of the kernel function measure the similarity between orders and warehouses respectively. The inner product term measures the correlation between them, and the exponential term takes into account the distance between them. Through these two terms, the kernel function can comprehensively evaluate the similarity between two feature vectors, including correlation and distance. An important role of the kernel function is to map data to a higher dimensional feature space. This helps to deal with nonlinear problems because data is easier to separate in high-dimensional space. By introducing more complex features, the kernel function enables the classifier to better fit and classify data. The kernel function integrates multiple feature information, including inner product, distance, and weight parameters. This enables the kernel function to more comprehensively consider the relationship between orders and warehouses, not just limited to linear correlation. The calculated kernel function value will be used in the classification decision function of the D-SVM classifier In the process of deciding which warehouse to assign the order to, the larger the kernel function value is, the more similar the order and the warehouse are, and the greater the probability of assigning the order to the warehouse.
[0082] Embodiment 8: A cement transporter determination unit, based on the eigenvector matrix of the cement transporter data matrix and the eigenvector matrix of the cement warehouse data matrix, and the result of allocating cement orders to corresponding warehouses, a method for allocating cement transporters to corresponding warehouses includes:
[0083] The allocation score is calculated using the following formula:
[0084] ;
[0085] in, Indicates that and Perform matrix concatenation operations. is the Frobenius norm; is the L1 norm; for The feature vector of the corresponding warehouse to which the corresponding cement order is assigned; if If it is greater than the first threshold, The corresponding cement transporter is bound to The corresponding warehouse.
[0086] Specifically, the concatenation of feature vectors: First, the order feature vector and the warehouse feature vector Perform matrix concatenation. The purpose of this operation is to merge the attribute information of orders and warehouses into one feature vector to take into account the mutual influence between them. The similarity between orders and warehouses is measured by calculating the Frobenius norm of the concatenated feature vectors. The Frobenius norm measures the distance between two feature vectors in a high-dimensional feature space. For normalization, it is the L1 norm of the feature vector of the cement transporter. The purpose of this operation is to consider the weight differences of different data objects (orders, warehouses, transporters). The final distribution score The similarity and weight factors are taken into consideration. If the score is greater than the set threshold, it means that the cement transport method is With warehouse The correlation is high and they can be tied together.
[0087] Example 9: The binding model established by the cement supplier binding optimization unit is expressed using the following formula:
[0088] ;
[0089] in, is the calculated supplier binding score, if If it is greater than the second threshold, The corresponding supplier is bound to The corresponding warehouse; Parameters for binding models.
[0090] Specifically, :This part indicates the The L1 norm of the feature vector of the cement transporter. The L1 norm is the sum of the absolute values of all elements in the vector. This part is used to consider the characteristic information of the cement transporter. The larger the L1 norm, the more important the characteristics of the transporter. :This is a product term, which involves the processing of all cement order feature vectors. The L1 norm of the feature vector of each order is transformed by an exponential function, then the logarithm plus 1 is taken, and finally multiplied. This operation introduces the feature information of the order and weights it through the nonlinear transformation of the exponential function. : This part involves processing the feature vectors of all warehouses. The L1 norm of the feature vector of each warehouse is processed by the sine function and then added. This operation introduces the feature information of the warehouse and weights it through the sine function. : Is a parameter that controls the degree of influence of the model. It can adjust the contribution of different parts to the binding score to achieve the flexibility and adjustment ability of the model. In general, the principle of this formula is to calculate the binding score of the supplier by comprehensively considering the characteristic information and weights of different data objects (cement transporter, cement order, cement warehouse). The operation of different parts introduces nonlinear factors (such as exponential function and sine function) to more comprehensively consider the influence of characteristics. Parameter Can be adjusted to control the behavior of the model. Behind this formula, the method of using fast random trees to build a binding model is mentioned. Fast random trees is a machine learning algorithm used to process high-dimensional data and complex models. It can help the model learn the relationship between data and introduce randomness in the modeling process to reduce the risk of overfitting. This means that when building the supplier binding model, fast random trees are used to process data and optimize parameters to obtain accurate binding results.
[0091] Embodiment 10: By maximizing the binding model objective function through the following formula, the parameters of the binding model are optimized:
[0092] ;
[0093] in, Indicates taking Specifically, :This is a maximization problem, the goal is to find the largest parameter . The role of this term is to maximize the parameter , so that the objective of the binding model is maximized. : This coefficient is used to scale the following terms in order to better control the impact of the parameter. : This is a product term, which contains three index variables , they are respectively in the range arrive This term actually multiplies all possible combinations, taking into account various combinations of cement orders, cement warehouses, and cement transporters. : This is a factor in the multiplication term, which represents the Frobenius norm of the eigenvector. The Frobenius norm is the square root of the sum of the squares of all the elements of a matrix. The purpose of this factor is to measure the importance of different combinations by the norm of the eigenvector. : This is the parameter to be optimized. By adjusting it, the value of the entire objective function can be controlled. :This part introduces the characteristic information of the warehouse and weights it by calculating the sine function value of the warehouse feature vector.
[0094] The purpose of this objective function is to find the optimal parameter configuration , to maximize the target value of the binding model. The specific role is as follows: The goal of the entire objective function is to maximize the parameter , which means finding a The value of makes the value of the entire objective function as large as possible. This helps to optimize the binding model, making it more accurate and effective in binding cement suppliers and warehouses. Multiple combinations of cement orders, cement warehouses, and cement transporters are considered. This means that the model considers the impact of different combinations to find the best binding configuration. By using the Frobenius norm to measure the importance of feature vectors, it ensures that the model pays more attention to features with larger norms. This helps to better capture important information in the data. By weighting the warehouse features with a sine function, the model can take into account the impact of different warehouse characteristics on the binding. This makes the model more flexible and can be optimized according to the characteristics of different warehouses.
[0095] In addition, during the transportation process, the transporter will collect data from metering equipment in real time. The system first needs to collect data from various metering equipment (such as weighbridges, flow scales, etc.) in real time, including weight, flow, and other related parameters. The data collected by the equipment is expressed in the form of a time series, where Indicates The system needs to connect to the terminal box through the Internet of Things and control its display screen to achieve data synchronization. The terminal box updates the display content by receiving system instructions. Indicates The system uses infrared grating technology to determine when a vehicle enters and leaves the weighbridge area. This can be expressed as a logic function ,in Indicates that the vehicle is in the weighbridge area. Indicates that the vehicle is outside the weighbridge area. The system preprocesses the collected data, including denoising, smoothing, and anomaly detection. This can be expressed as a data preprocessing function ,in Represents a data preprocessing operation. The system uses image processing algorithms and pattern recognition algorithms to process the infrared grating data to determine the state of the vehicle (entering or leaving the weighbridge area). This can be represented as a pattern recognition function The system synchronizes the preprocessed data and pattern recognition results to the terminal box display screen to update the display content in real time. This can be expressed as a data synchronization function The system encodes and extracts features from the data of each metering device to obtain a numerical attribute vector. This can be expressed as a feature extraction function The system uses the encoded data to make intelligent logistics decisions, including allocating orders to the corresponding warehouses and allocating transporters to the corresponding warehouses. This can be expressed as a decision function The system uses a fast random tree algorithm to build a binding model to bind suppliers to corresponding warehouses. This can be expressed as a binding model building function:
[0096]
[0097] .
[0098] The system optimizes the parameters of the binding model, taking into account the multi-layer tree structure and nonlinear factors to maximize the objective function of the binding model. This can be expressed as an optimization function:
[0099] .
[0100] Real-time data collection of metering equipment can ensure that the system always has the latest information on weight, flow and other key parameters, thereby achieving real-time update of logistics data. Through IoT technology, the system can connect with various metering devices and obtain their measurement data regularly. This data is the basis of logistics management and is used to track the quantity and status of materials.
[0101] By controlling the display screen of the terminal box and synchronizing data in real time, the system can provide drivers and operators with instant logistics information, thereby improving decision-making efficiency. The logistics system is connected to the terminal box through the Internet of Things and sends instructions to it to update the display content. In this way, key data such as vehicle status and order information can be immediately conveyed to relevant personnel.
[0102] Infrared light barrier technology can accurately determine when a vehicle enters and leaves the weighbridge area, ensuring the accuracy of the measurement data. The infrared light barrier system uses infrared sensors to detect whether a vehicle passes through the light barrier. When a vehicle enters or leaves, the sensor records a time stamp to determine the vehicle's location.
[0103] Data preprocessing helps remove noise and outliers from the data, ensuring that the system is analyzing high-quality data. Data preprocessing can include techniques such as smoothing, filtering, and anomaly detection to ensure that the data obtained from the metering equipment is reliable. This helps improve the accuracy of subsequent steps.
[0104] Image processing and pattern recognition technology can accurately determine the state of the vehicle, including entering and leaving the weighbridge area. The system processes infrared raster data and uses pattern recognition algorithms to detect the vehicle's movement pattern. This is achieved by analyzing the timestamps and vehicle positions recorded by the sensors.
[0105] Data synchronization ensures that all relevant personnel can obtain timely updates on logistics data to support real-time decision-making. The system synchronizes pre-processed data and pattern recognition results to the terminal box display to ensure that drivers and operators can immediately understand the status and relevant information of the vehicle.
[0106] Data encoding and feature extraction convert non-numeric attribute vectors into numerical attribute vectors for subsequent intelligent decision-making. By using appropriate encoding methods, the system converts various data into numerical representations. Then, feature extraction algorithms extract key features from these numerical attributes for use in subsequent decision-making models.
[0107] Based on the encoded data, the system can intelligently allocate orders to the corresponding warehouses and allocate transporters to the corresponding warehouses to optimize the logistics process. The system uses decision-making algorithms to consider various factors such as the quantity of goods, warehouse capacity, and transportation methods to determine the best allocation plan. This helps improve logistics efficiency and reduce costs.
[0108] Establishing a binding model can bind suppliers to corresponding warehouses and achieve more effective logistics management.
[0109] Principle: The system uses a fast random tree algorithm to build a binding model, taking into account multi-layer tree structures and nonlinear factors. This model can help determine which supplier should work with which warehouse to meet order requirements. By optimizing the parameters of the binding model, the system can further improve the efficiency and accuracy of the supply chain. The optimization process considers the objective function of the binding model and maximizes this function by adjusting the model parameters. This helps ensure that the matching of suppliers and warehouses is optimal, thereby minimizing logistics costs and maximizing delivery efficiency.
[0110] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. An intelligent logistics system based on the Internet of Things, characterized in that: The system includes: a logistics data construction unit, which is used to obtain cement warehouse data to construct a cement warehouse data matrix, each element in the matrix represents an attribute vector of a cement warehouse; obtain cement transporter data to construct a cement transporter data matrix, each element in the matrix represents an attribute vector of a cement transporter; obtain cement order data to construct a cement order data matrix, each element in the matrix represents an attribute vector of a cement order; obtain cement supplier data to construct a cement supplier data matrix, each element in the matrix represents an attribute vector of a cement supplier; a feature extraction unit, which is used to encode the cement order data matrix, the cement warehouse data matrix, the cement transporter data matrix and the cement supplier data matrix respectively using read-hot encoding to convert non-numerical attribute vectors into numerical attribute vectors, and then perform feature extraction on each attribute vector in each data matrix respectively to obtain a feature vector of each attribute vector, and finally obtain a feature vector matrix of the cement order data matrix. The eigenvector matrix of the cement warehouse data matrix, the eigenvector matrix of the cement transporter data matrix and the eigenvector matrix of the cement supplier data matrix; the cement order classification unit, used to assign the cement orders to the corresponding warehouses based on the eigenvector matrix of the cement order data matrix and the eigenvector matrix of the cement warehouse data matrix; the cement transporter determination unit, used to assign the cement transporter to the corresponding warehouse based on the eigenvector matrix of the cement transporter data matrix and the eigenvector matrix of the cement warehouse data matrix, as well as the result of assigning the cement orders to the corresponding warehouses; the cement supplier binding optimization unit, used to establish a binding model using a fast random tree based on the eigenvector matrix of the cement supplier data matrix, the result of assigning the cement orders to the corresponding warehouses and the result of assigning the cement transporter to the corresponding warehouse, and bind the cement suppliers to the corresponding warehouses. In the process of establishing the binding model, the multi-layer tree structure and nonlinear factors are considered to maximize the binding model objective function to optimize the parameters of the binding model; The binding model established by the cement supplier binding optimization unit is expressed using the following formula: in, is the calculated supplier binding score, if If it is greater than the second threshold, The corresponding supplier is bound to corresponding warehouse; δ is the parameter of the binding model; let the eigenvector matrix of the cement order data matrix be X O ; Let the eigenvector matrix of the cement warehouse data matrix be X W ; Let the eigenvector matrix of cement transport data matrix be X P ; Let the eigenvector matrix of cement supplier data matrix be X S ; Where N is the number of cement orders, M is the number of cement warehouses, and K is the number of cement transporters; For X S The zth element in ; For X O The i-th element in ; For X W The jth element in ; For X P The kth element in ; The binding model objective function is maximized by the following formula to optimize the parameters of the binding model: Among them, min(N,M,K) means taking the minimum value among N,M,K; The elements of the attribute vector of the cement order include at least: cement demand, order user location data and order urgency; the attribute vector of the cement transporter includes at least: cement transport volume upper limit, transporter location data and transport price; the attribute vector of the cement supplier includes at least: supply cement price, supplier location data and supplier supply; the attribute vector of the cement warehouse includes: cement warehouse maximum capacity, cement warehouse remaining capacity and cement warehouse location data; The cement order classification unit uses a dual support vector kernel function to train a dual support vector machine classifier based on the eigenvector matrix of the cement order data matrix and the eigenvector matrix of the cement warehouse data matrix, and allocates the cement orders to the corresponding warehouses. When training the dual support vector machine classifier, a convex optimization algorithm is used to maximize the objective function of the dual support vector machine classifier, so as to optimize the parameters of the dual support vector machine classifier. The cement transporter determination unit allocates the cement transporter to the corresponding warehouse based on the eigenvector matrix of the cement transporter data matrix and the eigenvector matrix of the cement warehouse data matrix, and the result of allocating the cement order to the corresponding warehouse. The method includes: The allocation score is calculated using the following formula: in, Indicates that and Perform matrix concatenation operation, |||| F is the Frobenius norm; ||||1 is the L1 norm; for The feature vector of the corresponding warehouse to which the corresponding cement order is assigned; if If it is greater than the first threshold, The corresponding cement transporter is bound to The corresponding warehouse.
2. The intelligent logistics system based on the Internet of Things as claimed in claim 1, characterized in that: Assume that the cement order data matrix is: Among them, i Represents the attribute vector of the i-th cement order; let the cement warehouse data matrix be: Where W i represents the attribute vector of the i-th cement warehouse; let the cement transporter data matrix be: Where P i represents the attribute vector of the ith cement transporter; let the cement supplier data matrix be: Where S i represents the attribute vector of the i-th cement supplier; L is the number of cement suppliers, satisfying the following constraints: N≤M≤100N; M≤K; 3. The intelligent logistics system based on the Internet of Things as claimed in claim 2, characterized in that: Based on the eigenvector matrix of the cement order data matrix and the eigenvector matrix of the cement warehouse data matrix, a dual support vector machine classifier is trained using a dual support vector kernel function to allocate cement orders to corresponding warehouses, including: using a polynomial kernel function The eigenvector matrix X of the cement order data matrix O and the eigenvector matrix X of the cement warehouse data matrix W Mapping to a high-dimensional space; using the eigenvector matrix X of the cement order data matrix O and kernel function Train a dual support vector machine classifier, including the weight parameter α of the support vector i , α j Calculation of bias term b; decision function for classification is used to classify orders if The order is then assigned to the corresponding warehouse Otherwise, no allocation; is the eigenvector matrix X of the cement order data matrix O The i-th element in , where i is the subscript index; is the eigenvector matrix X of the cement warehouse data matrix W The j-th element in , where j is the subscript index.
4. The intelligent logistics system based on the Internet of Things as claimed in claim 3, characterized in that: Decision function for classification Use the following formula to express it: Among them, α i is the order weight parameter, which is the i-th element in the order weight matrix. The order weight matrix is a preset matrix and is optimized and adjusted by maximizing the objective function; α j is the warehouse weight parameter, which is the jth element in the warehouse weight matrix. The warehouse weight matrix is a preset matrix and is optimized and adjusted by maximizing the objective function; b is the bias term; Kernel Function Use the following formula to express it:
5. The intelligent logistics system based on the Internet of Things as claimed in claim 4, characterized in that: Using the convex optimization algorithm, the objective function of the dual support vector machine classifier reaches the maximum value, which is expressed by the following formula:
