A logistics information data compression method for intelligent logistics transportation

Through the Bayesian network model and search algorithm to find the optimal transportation path, combined with particle swarm and Levy Flight optimization, it solves the problems of low efficiency of traditional logistics information processing and poor path selection, and achieves efficient and economical logistics information data compression and deal with.

CN118411098BActive Publication Date: 2024-09-24SHANDONG YUANDUN NETWORK TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410866272.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-09-24
Estimated Expiration
2044-07-01

AI Technical Summary

Technical Problem

Traditional logistics information processing methods rely on manual analysis, which is inefficient and susceptible to human factors, leading to transportation delays and increased costs. Moreover, traditional data compression methods ignore the optimality of transportation routes, resulting in additional expenses.

Method used

The Bayesian network model is combined with local and global search algorithms to find the optimal transportation path through historical data preprocessing and real-time data matching, and the particle swarm optimization algorithm and Levy Flight model are used to optimize the path to ensure data compression rate and path selection. Efficiency and accuracy.

Benefits of technology

It achieves the efficiency and economy of the transportation path while ensuring the data compression rate, avoids the waste of resources caused by unsuitable paths, and improves the accuracy and efficiency of logistics information processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118411098B
    Figure CN118411098B
Patent Text Reader

Abstract

The present application relates to a logistics information data compression method for intelligent logistics transportation, and relates to the technical field of logistics transportation. The data compression method comprises: model building, logistics transportation optimization, and data compression steps. The model building step comprises: historical data collection, historical data processing, and model building steps; the logistics transportation optimization step comprises: real-time data collection, information matching, and path optimization steps; the present application can ensure that, on the premise that the transportation path is the optimal transportation path, the logistics information data is compressed as much as possible to reduce memory usage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of logistics and transportation, and in particular to a logistics information data compression method for intelligent logistics and transportation. Background Art

[0002] In the current logistics industry, with the continuous increase in transportation volume and the increasing complexity of logistics networks, how to efficiently and accurately process logistics information has become an urgent problem to be solved. Traditional logistics information processing methods usually rely on manual analysis and decision-making, which is not only inefficient but also easily affected by human factors, leading to delays and increased costs in the logistics transportation process.

[0003] In order to meet the above challenges, the industry has begun to explore the use of advanced information technology to optimize the logistics information processing process. Among them, logistics information data compression technology has become one of the research hotspots. Through data compression, the redundancy of logistics information can be effectively reduced, key information can be extracted, and the efficiency and accuracy of information processing can be improved. At the same time, the compressed logistics information can also be conveniently stored and transmitted, which provides the possibility for the intelligentization and automation of logistics transportation.

[0004] Although the existing technology has made some progress, there are still some limitations in practical applications. Traditional data compression methods often only focus on the compression rate of data, but ignore whether the transportation path is the optimal path. If the selected path is not the optimal path, it is easy to cause additional expenses in transportation time and transportation cost. Summary of the invention

[0005] In order to ensure the data compression rate under the premise that the current transportation path is the optimal transportation path, the present application provides a logistics information data compression method for intelligent logistics transportation.

[0006] The present application provides a logistics information data compression method for intelligent logistics transportation, which adopts the following technical solutions:

[0007] A logistics information data compression method for intelligent logistics transportation includes the following steps:

[0008] Model building: including historical data collection, historical data processing and model building steps;

[0009] Historical data collection: collect historical logistics information;

[0010] Historical data processing: pre-processing the historical logistics information, and statistically analyzing the pre-processed logistics information to obtain the first information;

[0011] Model construction: constructing a Bayesian network model based on the first information, wherein the node information of the Bayesian network model includes the first information;

[0012] Logistics and transportation optimization: including real-time data collection, information matching and route optimization steps;

[0013] Real-time data collection: collect logistics information of logistics transportation to be executed and extract secondary information;

[0014] Information matching: matching the second information with the first information in the Bayesian network model node information to obtain a matching transportation path;

[0015] Path optimization: includes primary path optimization and secondary path optimization steps;

[0016] One-step path optimization: Take the matching transport path as the starting point, use the local search algorithm to search in the Bayesian network model, and find the local optimal transport path, which is recorded as the first transport path;

[0017] Secondary path optimization: Take the first transportation path as the new starting point and use the global search algorithm to search in the Bayesian network to find the optimal transportation path;

[0018] Data compression: Combine the optimal transportation route with the second information to obtain compressed logistics information.

[0019] By adopting the above technical scheme, the present application performs a preprocessing operation on the historical logistics information, performs a statistical analysis on the preprocessed logistics information, obtains the first information, and constructs a Bayesian network model based on the first information, which can make full use of the historical logistics information to predict and evaluate the feasibility of different transportation paths. The present application establishes a Bayesian network model based on historical information, that is, the present application establishes a transportation network in the transportation process in a sense, extracts the second information through real-time logistics information, and obtains a matching transportation path by comparing the second information with the first information. Among all matching transportation paths, the optimal transportation path is obtained through local search and global search, so that the search process considers both the local optimum and the global optimum, thereby ensuring the efficiency, economy and accuracy of the transportation path found. After obtaining the optimal transportation path in the logistics transportation process, the optimal transportation path is combined with the second information to obtain compressed logistics information, avoiding the waste of manpower and material resources due to the selection of an inappropriate transportation path. The data compression step is performed based on the optimal transportation path to ensure the quality of the data in the compressed logistics information. In other words, the present application not only focuses on the compression rate of the data, but also focuses on the selection of the transportation path.

[0020] Optionally, after executing the primary path optimization step and before executing the secondary path optimization step, the following steps are further included:

[0021] Path update: The particle swarm optimization algorithm is used to update the first transportation path to obtain the calculation model of the updated particle swarm optimization algorithm:

[0022] ;

[0023] ;

[0024] in, is the inertia weight; and is a random number in the range of (0,1); and is the learning factor; is the ith particle The speed at the iteration; is the i-th particle in the The position at the iteration; is the current iteration number; For the front The best position of the i-th particle in the iteration; For the front The best position of all particles in iterations;

[0025] Establish Levy Flight model: Establish LevyFlight model based on the updated particle swarm optimization algorithm calculation model;

[0026] Calculate distance: the current position of the i-th particle The calculation model of the distance between particles is:

[0027] ;

[0028] Where N is the number of particles; is an M-dimensional vector and vector The Euclidean distance of

[0029] Calculation of Levy's flight threshold: The calculation model of Levy's flight threshold is as follows:

[0030] ;

[0031] ;

[0032] in, is the minimum distance between the current particle and other particles; The maximum distance between the current particle and other particles; is the average distance between the current particle and other particles; , , All are obtained by calculating the distance step; It is the startup judgment value of the Levy Flight model; is the current iteration number; is the maximum number of iterations, which is a preset value;

[0033] First judgment: judge whether the flight threshold K is greater than the start judgment value , if yes, then execute the path search step; if no, then execute the secondary path optimization step;

[0034] Search path: Use the Levy Flight model to update the position and velocity of the particles, find a new local optimal transportation path, and use the new local optimal transportation path as the new first transportation path.

[0035] By adopting the above technical solution, the present application introduces a particle swarm optimization algorithm to update the path after executing a path optimization step, which enhances the optimization ability of the present application and is conducive to finding a more accurate and efficient local optimal transportation path. The present application adopts the Levy Flight model to further adjust and optimize the first transportation path, which can jump out of the local optimal solution to a certain extent, explore new and possibly better solution space, and help to find the potential high-quality path that has been ignored. The present application makes a judgment before the secondary path optimization, and flexibly decides whether to continue to execute the Levy Flight search step or enter the secondary path optimization step according to the comparison result of the flight threshold and the start judgment value, so that the search strategy can be adaptively adjusted according to the actual search situation, so as to find the local optimal transportation path more efficiently. The present application can comprehensively utilize the advantages of local search and global search by combining multiple steps such as primary path optimization, path update, Levy Flight search and secondary path optimization, and improve the search speed while maintaining the search accuracy, thereby improving the overall optimization performance.

[0036] Optionally, the inertia weight Inertia weight for adaptive adjustment , the adaptively adjusted inertia weight The calculation model is as follows:

[0037] ;

[0038] in, is the inertia weight, and are the maximum and minimum values ​​of the inertia weight respectively.

[0039] By adopting the above technical solution, the adaptively adjusted inertia weight can be dynamically adjusted according to the fitness value of the current particle and the average fitness value of the group particles, making the algorithm more flexible in the search process and better adapted to different search stages and needs. The adaptive inertia weight will accelerate the convergence speed of the particles during the iteration process. When the current particle deviates far from the optimal position of the current group, the inertia weight will increase, which will help the particle quickly move closer to the currently searched optimal position; and when the current particle deviates from the optimal position by a small amount, the inertia weight will decrease, which will reduce the search range for the optimal position under the current position, thereby helping to find a more accurate solution.

[0040] Optionally, the learning factor and Learning factor for adaptive adjustment and , the adaptively adjusted learning factor and The calculation model is as follows:

[0041] ;

[0042] ;

[0043] Wherein, a and b are values ​​set as required.

[0044] By adopting the above technical solution, an appropriate learning factor can accelerate the convergence speed of the algorithm. When the algorithm searches in an area close to the optimal solution, the adaptive learning factor can gradually reduce the learning step size, allowing the algorithm to adjust parameters more finely, thereby converging to the optimal solution faster. At different search stages, the learning factor can be adjusted as needed to ensure that the algorithm performs a fine search in key areas, thereby improving the quality of the solution.

[0045] Optionally, after executing the primary determination step and before executing the secondary path optimization step, the process further includes:

[0046] Second judgment: judge the current number of iterations Is it equal to the maximum number of iterations? If yes, the current transport path is output as the new local optimal transport path; if no, the distance calculation step is re-executed until the current number of iterations reaches Equal to the maximum number of iterations .

[0047] By adopting the above technical solution, the present application can ensure that the algorithm performs sufficient search before reaching the preset maximum number of iterations by comparing the current number of iterations with the maximum number of iterations, which helps the algorithm to find possible better solutions in a wider solution space and improve the adequacy of the search. When the maximum number of iterations is reached, the algorithm will stop searching and output the current transportation path as the new local optimal solution, avoiding meaningless continued iterations, saving computing resources, and improving the efficiency of the algorithm.

[0048] Optionally, the root node of the Bayesian network model is the location of the starting point of the transportation logistics.

[0049] By adopting the above technical solution, the root node serves as the starting point of the Bayesian network model, representing the starting position of the logistics transportation, providing a clear starting point for the entire logistics transportation process, and facilitating the subsequent selection of the optimal transportation route.

[0050] Optionally, the optimal transportation route includes f transit points, and the dependencies between the f transit points are used as directed edges in the Bayesian network model.

[0051] By adopting the above technical solution, by using directed edges to represent the dependencies between transit points, the role and mutual influence of each transit point in the entire logistics transportation network can be clearly demonstrated. The Bayesian network model can simplify each transit point and the dependencies between each transit point into an intuitive network model, which helps to understand the structure of the entire transportation network and can facilitate and quickly perform route planning.

[0052] Optionally, after executing the model building step and before executing the logistics optimization step, it also includes:

[0053] Obtaining a keyword combination: dividing all the transportation requirements in the first information into multiple requirements, extracting keywords from the multiple requirements, and arranging and combining the keywords to obtain a keyword combination;

[0054] Obtaining nodes: combining and compressing the keyword combination and the dependency relationship represented by one of the directed edges in the Bayesian network model to obtain multiple compressed packages, and reusing the multiple compressed packages as new directed edges in the Bayesian network model.

[0055] By adopting the above-mentioned technical scheme, the present application combines and compresses the keyword combination and the directed edges in the Bayesian network model to form new directed edges. All transportation plans between two transit points or starting and ending stations can be packaged separately into many compressed packages, and one of the compressed packages can be called as needed. The transportation route can be dynamically adjusted and optimized according to different transportation modes and requirements to adapt to the complex and changeable logistics environment. The present application enriches the logistics information stored in the database by arranging and combining keywords.

[0056] Optionally, after executing the secondary path optimization step and before executing the data compression step, the method further includes:

[0057] Retrieving a compressed package: obtaining the real-time transportation requirement from the second information, matching the corresponding directed edge in the Bayesian network model according to the transportation requirement, and retrieving the compressed package corresponding to the directed edge;

[0058] And in the data compression step, the retrieved compressed package is combined with the optimal transportation route to obtain compressed logistics information.

[0059] By adopting the above technical problem, by calling the compressed package corresponding to the directed edge matching the real-time transportation requirement, the transportation strategy related to the requirement can be accurately obtained. The present application combines the compressed package with the optimal transportation path to obtain compressed logistics information. This step reduces data redundancy and improves data transmission efficiency and storage efficiency by compressing and optimizing logistics information.

[0060] Optionally, after executing the real-time data collection step and before executing the information matching step, the following steps are further included:

[0061] Information verification: verifying whether the second information is correct according to the logistics information of the logistics transportation to be executed. If so, re-extracting the second information; if not, executing the real-time data processing step;

[0062] Real-time data processing: Process the second information according to the data format in the first information so that the data format of the second information is consistent with the data format in the first information.

[0063] By adopting the above technical solution, the information verification step ensures the consistency of the collected real-time logistics information (second information) and the logistics information of the logistics transportation to be executed. Through verification, possible data errors or inconsistencies can be discovered and corrected in a timely manner, thereby ensuring the accuracy of subsequent data processing and logistics decisions. The real-time data processing step processes the second information according to the data format in the first information, so that the data formats of the two remain consistent, which helps to reduce the complexity of data conversion and processing and improve data processing efficiency.

[0064] In summary, the present application includes at least one of the following beneficial technical effects:

[0065] 1. This application performs preprocessing operations on historical logistics information, performs statistical analysis on the preprocessed logistics information, obtains first information, and constructs a Bayesian network model based on the first information, which can make full use of historical data to predict and evaluate the feasibility of different transportation paths. This application models based on historical information, establishes a transportation network during transportation, extracts second information through real-time data, and obtains matching transportation paths by comparing the second information with the first information. Among all matching transportation paths, the optimal transportation path is obtained through local search and global search, so that the search process considers both local optimality and global optimality, thereby ensuring the efficiency and economy of the transportation path found. After obtaining the optimal transportation path in the logistics transportation process, the optimal transportation path is combined with the second information to obtain compressed logistics information, avoiding the waste of manpower and material resources due to the selection of an inappropriate transportation path. The data compression step is performed based on the optimal transportation path to ensure the quality of the data in the compressed logistics information. This application not only focuses on the compression rate of the data, but also on the selection of the transportation path.

[0066] 2. After executing the first path optimization step, the present application introduces a particle swarm optimization algorithm to update the path, which enhances the optimization ability of the present application and is conducive to finding a more accurate and efficient local optimal transportation path. The present application uses the LevyFlight model to further adjust and optimize the first transportation path, which can jump out of the local optimal solution to a certain extent, explore new and possibly better solution space, and help to discover potential high-quality paths that have been ignored. The present application makes a judgment before the secondary path optimization, and flexibly decides whether to continue the LevyFlight search or enter the secondary path optimization step based on the comparison result of the flight threshold and the startup judgment value, so that the search strategy can be adaptively adjusted according to the actual search situation, so as to find the local optimal transportation path more efficiently. By combining multiple steps such as primary path optimization, path update, Levy Flight search and secondary path optimization, the present application can comprehensively utilize the advantages of local search and global search, improve the search speed while maintaining the search accuracy, and thus improve the overall optimization performance.

[0067] 3. This application combines and compresses the keyword combination and the directed edges in the Bayesian network model to form new directed edges, which can package all the transportation plans between two transit points or starting and ending stations separately into many compressed packages, and one of the compressed packages can be called as needed. The transportation route can be dynamically adjusted and optimized according to different transportation methods and requirements to adapt to the complex and changing logistics environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] Figure 1This is a flow chart of a logistics information data compression method for intelligent logistics transportation in this application;

[0069] Figure 2 is a flow chart of the method for constructing the model step S1 of the present application;

[0070] Figure 3 This is a flow chart of the method for optimizing logistics transportation step S2 of this application;

[0071] Figure 4 This is a method flow chart of the path optimization step S25 of the present application. DETAILED DESCRIPTION

[0072] The following combination Figures 1 to 4 This application is described in further detail.

[0073] like Figure 1 As shown, this embodiment provides a logistics information data compression method for intelligent logistics transportation, the method comprising: a model building step S1, a logistics transportation optimization step S2, and a data compression step S3; this embodiment first collects historical logistics information, then preprocesses the historical logistics information to obtain first information, then builds a Bayesian network model based on the first information, then collects real-time logistics information, extracts second information, then matches the second information with the first information, then finds the optimal transportation path, then combines the optimal transportation path and the second information, and performs data compression.

[0074] like Figure 2 As shown, the model building step S1 includes: historical data collection step S11, historical data processing step S12, model building step S13, transportation mode acquisition step S14, and node acquisition step S15.

[0075] S11 Historical data collection: Collect historical logistics information, which includes: cargo type, origin, destination, transportation time, transportation method, etc., and store the historical logistics information in a database for subsequent processing and analysis.

[0076] S12 Historical data processing: including data preprocessing step S121 and statistical analysis step S122.

[0077] S121 Data preprocessing: After obtaining the historical logistics information, preprocess the historical logistics information, including:

[0078] Data cleaning: Remove erroneous or invalid data points in historical logistics information to ensure the accuracy and consistency of historical logistics information.

[0079] Data standardization: Convert historical logistics information into a unified format and unit for subsequent analysis and processing.

[0080] Data smoothing: For data points in historical logistics information with large noise or large fluctuations, smoothing algorithms (such as moving average method, filter, etc.) are used to process them to reduce the impact of noise.

[0081] Data interpolation: For missing historical logistics information, interpolation methods (such as linear interpolation, polynomial interpolation, etc.) are used to fill in the missing historical logistics information to maintain the continuity and integrity of the historical logistics information.

[0082] By preprocessing historical logistics information, it can be converted into more valuable information, providing a reliable basis for subsequent acquisition of first information.

[0083] S122 Statistical analysis: The pre-processed historical logistics information is subjected to statistical analysis to obtain first information, including:

[0084] According to the dimensions of different logistics information (such as time, location, mode of transportation, type of goods, etc.), different dimensions of historical logistics information are extracted, and a historical logistics order is recorded as a group. The dimensions contained in each group can be stored separately, which is convenient for the arrangement and combination of different dimensions in subsequent steps.

[0085] The dimensions of the grouping include: time, location, mode of transport and type of goods, as follows:

[0086] Time: Extract time information based on the date or timestamp in the historical logistics information and convert it into a time period in units of 24 hours. For each transportation task in the historical logistics information, determine the time period it belongs to, for example, the first time period is 0-24 hours, the second time period is 24-48 hours, and so on.

[0087] Location: Group by origin, destination, and transit point. For each transportation task, calculate the total distance from the origin to the destination. In the Bayesian network model, each directed edge represents the transportation between two locations. These two locations can be from the origin to a transit point, from a transit point to another transit point, or from a transit point to the destination. A directed edge represents the dependency between the two locations, and there is no other transit point in between.

[0088] Mode of transportation: such as road, rail, air, sea, etc.

[0089] Cargo type: group by commodity category, volume, weight, value, etc.

[0090] Keyword extraction is performed on different groups of information in the historical logistics information (i.e., information is extracted from the four dimensions of time, location, mode of transportation and type of goods in the stored database), and the extracted keywords are arranged and combined to obtain new combinations, and the new combinations are stored in the database. For example, if the transportation demand in the historical information is: transport a file from A to B by air within 24 hours, then the grouping keywords are extracted as: 24 hours, A to B, file, and air. Combining this grouping keyword with other keywords can obtain: 48 hours, A to B, clothes, and railway, or: 24 hours, A to B, file, and road. Various grouping methods are stored in the database and updated regularly. In the database, the dimensions of time, location, mode of transportation and type of goods can be freely combined, and the grouping information after free combination is recorded as the first information.

[0091] S13 Model construction: Based on the first information, a Bayesian network model is constructed, wherein the root node of the Bayesian network model is the location of the starting point of the transportation logistics, the optimal transportation path includes f transit points, and the dependency relationship between each of the f transit points is used as a directed edge in the Bayesian network model.

[0092] Each node in the Bayesian network model represents a random variable. In combination with the first information in the statistical analysis step S122, including variables such as time, location, mode of transportation, and type of goods, the nodes in the Bayesian network model are combinations of variables such as time, location, mode of transportation, and type of goods. The dependency relationship between the nodes in the Bayesian network model is a directed edge. For example, the choice of mode of transportation depends on the distance between the starting point and the destination, and the type of goods will affect the choice of mode of transportation. The conditional probability of each edge in the Bayesian network model is set to indicate the possibility of the existence of the group.

[0093] In the statistical analysis step S122, there may be some unreasonable permutations and combinations of groups, for example, a permutation and combination is: 14000h, A to B, fresh food, highway. In this group, fresh food is preferably transported to the destination as quickly as possible, so it can be clearly determined that 14000h is an unreasonable transportation time. In this embodiment, the conditional probability of the directed edge of the group is set to 0 in the Bayesian network model, indicating the probability of the unreasonable grouping not existing. Similarly, the conditional probability of the directed edge in the Bayesian network model is set to indicate the reasonable degree (probability) of the existence of the directed edge.

[0094] S14 Obtain keyword combination: divide all transportation requirements in the first information into multiple requirements, extract keywords from the multiple requirements, arrange and combine the keywords, and obtain the keyword combination.

[0095] S15 Obtaining nodes: Combine and compress the keyword combination and the dependency relationship represented by one of the directed edges in the Bayesian network model to obtain multiple compressed packages, and use the multiple compressed packages as new directed edges in the Bayesian network model. Use the multiple compressed packages as new child nodes in the parent node of the directed edge, and add corresponding directed edges to connect the new child nodes and other related nodes to indicate the dependency relationship between the new child nodes and other related nodes, and set the corresponding conditional probability. If such a transportation method exists in the subsequent real-time logistics information, the corresponding transportation method can be obtained by directly retrieving the compressed package.

[0096] In the S15 acquisition node, the keyword combination and the dependency relationship represented by one of the directed edges in the Bayesian network model are combined and compressed. The dependency relationship represented by one of the directed edges in the Bayesian network model can be extracted, and the extracted information is then compressed and stored in combination with the keyword combination.

[0097] like Figure 3 As shown, the logistics transportation optimization step S2 includes: a real-time data collection step S21, an information verification step S22, a real-time data processing step S23, an information matching step S24, and a path optimization step S25.

[0098] S21 Real-time data collection: Collect logistics information of the logistics transportation to be executed and extract second information, wherein the second information includes information such as time, transportation method, location and cargo type.

[0099] S22 Information verification: Verify whether the second information is correct according to the logistics information of the logistics transportation to be executed. If so, re-extract the second information; if not, execute the real-time data processing step.

[0100] S23 real-time data processing: processing the second information according to the data format in the first information, so that the data format of the second information is consistent with the data format in the first information.

[0101] S24 information matching: matching the second information with the first information in the Bayesian network model node information to obtain a matching transportation path.

[0102] like Figure 4 As shown, S25 path optimization step includes: a primary path optimization step S251, a path update step S252, a Levy Flight model establishment step S253, a distance calculation step S254, a Levy flight threshold calculation step S255, a path search step S256, a secondary judgment step S257, a secondary path optimization step S258, and a compressed package retrieval step S259.

[0103] S251 One-step path optimization: Take the matching transport path as the starting point, and use a local search algorithm (such as greedy algorithm, simulated annealing, etc.) to search in the Bayesian network model to find the local optimal transport path, which is recorded as the first transport path.

[0104] S252 Path Update: The first transportation path is updated using the particle swarm optimization algorithm (PSO) to obtain the updated calculation model of the particle swarm optimization algorithm:

[0105] ;

[0106] ;

[0107] in, is the inertia weight for adaptive adjustment; and is a random number in the range of (0,1); and is the learning factor for adaptive adjustment; is the ith particle The speed at the iteration; is the i-th particle in the The position at the iteration; is the current iteration number; For the front The best position of the i-th particle in the iteration; For the front The best position of all particles in iterations, is the i-th particle in the The position at the iteration, is the i-th particle in the The speed at which the iterations are performed.

[0108] The adaptive adjustment of the inertia weight The calculation model is as follows:

[0109] ;

[0110] in, is the inertia weight, and are the maximum and minimum values ​​of the inertia weight, respectively. is the current iteration number; is the maximum number of iterations, The base is x and the exponent is The power function of .

[0111] The adaptively adjusted learning factor and The calculation model is as follows:

[0112] ;

[0113] ;

[0114] Wherein, a and b are values ​​set according to needs. In this embodiment, a=1.2 and b=2.5.

[0115] In other embodiments, a particle swarm optimization algorithm (PSO) is used to update the first transportation path to obtain an updated calculation model of the particle swarm optimization algorithm:

[0116] ;

[0117] ;

[0118] in, is the inertia weight; and is a random number in the range of (0,1); and is the learning factor; is the ith particle The speed at the iteration; is the i-th particle in the The position at the iteration; is the current iteration number; For the front The best position of the i-th particle in the iteration; For the front The best position of all particles in iterations, is the i-th particle in the The position at the iteration, is the i-th particle in the The speed at the iteration, the inertia weight is a non-negative number, learning factor and The value is a constant, the inertia weight , learning factor and The value or value range can be set according to actual needs.

[0119] S253 Establishing Levy Flight model: Based on the updated calculation model of the particle swarm optimization algorithm, establish the LevyFlight model to simulate the random walk behavior of particles. By establishing the Levy Flight model, the updated position is obtained as follows:

[0120] evy(λ);

[0121] in, is point-to-point multiplication, To control the parameters of the random search step length of the Levy Flight model, Levy (λ) is the random search path. The random search path and time of Levy flight obey the Levy distribution. After simplification and Fourier transformation, the calculation model of the probability density function in power form is:

[0122] , 1< ≤3;

[0123] in, is the power, is a normally distributed random number, and x is time.

[0124] The calculation model of the random search step length of the Levy Flight model is as follows:

[0125] ;

[0126] ;

[0127] Among them, s is the random search step length of the Levy Flight model, The value range of is (1,2], in this embodiment, is 1.5, and is a normally distributed random number, and is the standard deviation of the normal distribution.

[0128] S254 calculates distance: the current position of the i-th particle The calculation model of the distance between particles is:

[0129] ;

[0130] Where N is the number of particles; is an M-dimensional vector and vector The Euclidean distance of .

[0131] Calculation of Levy's flight threshold: The calculation model of Levy's flight threshold is as follows:

[0132] ;

[0133] ;

[0134] in, is the minimum distance between the current particle and other particles; The maximum distance between the current particle and other particles; is the average distance between the current particle and other particles; It is the startup judgment value of the Levy Flight model; is the current iteration number; is the maximum number of iterations, which is a preset value.

[0135] S255: First judgment: judge whether the flight threshold K is greater than the start judgment value If yes, execute the path search step S256; if no, execute the secondary path optimization step S258.

[0136] S256 Search Path: Use the Levy Flight model to update the position and velocity of particles, find a new local optimal transportation path, and use the new local optimal transportation path as the new first transportation path.

[0137] S257 Secondary judgment: judge the current number of iterations Is it equal to the maximum number of iterations? If yes, the current transport path is output as the new local optimal transport path; if no, the distance calculation step S254 is re-executed until the current number of iterations reaches Equal to the maximum number of iterations .

[0138] S258 Secondary Path Optimization: Take the first transportation path as the new starting point and use a global search algorithm (such as genetic algorithm, ant colony algorithm, etc.) to search in the Bayesian network to find the optimal transportation path.

[0139] S259 retrieves the compressed package: obtains the real-time transportation requirements from the second information, matches the corresponding directed edges in the Bayesian network model according to the transportation requirements, and retrieves the compressed package corresponding to the directed edges.

[0140] S3 data compression: Combine the compressed package retrieved in step S259 with the optimal transportation path to obtain compressed logistics information.

[0141] After determining the optimal transportation route, the starting point, destination and transit point corresponding to the route can be obtained. The compressed packages corresponding to the starting point and the first transit point, and the compressed packages corresponding to the first transit point to the second transit point can be directly retrieved from the database, until the compressed package corresponding to the last transit point to the destination is obtained, and all the compressed packages are further combined and packaged to obtain compressed logistics data.

[0142] The present application relates to a logistics information data compression method for intelligent logistics transportation. The data compression method includes: model building, logistics transportation optimization, and data compression steps. The model building step includes: historical data collection, historical data processing, and model building steps; the logistics transportation optimization step includes: real-time data collection, information matching, and path optimization steps; the present application can ensure that the logistics information data is compressed as much as possible under the premise that the transportation path is the optimal transportation path, thereby reducing memory usage.

[0143] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.

Claims

1. A logistics information data compression method for intelligent logistics transportation, characterized in that: The following steps are involved: Model building: including historical data collection, historical data processing and model building steps; Historical data collection: collect historical logistics information; Historical data processing: pre-processing the historical logistics information, and statistically analyzing the pre-processed logistics information to obtain the first information; Model construction: constructing a Bayesian network model based on the first information, wherein the node information of the Bayesian network model includes the first information; Obtaining a keyword combination: dividing all the transportation requirements in the first information into multiple requirements, extracting keywords from the multiple requirements, and arranging and combining the keywords to obtain a keyword combination; Obtaining nodes: combining and compressing the keyword combination and the dependency relationship represented by one of the directed edges in the Bayesian network model to obtain multiple compressed packages, and reusing the multiple compressed packages as new directed edges in the Bayesian network model; Logistics and transportation optimization: including real-time data collection, information matching and route optimization steps; Real-time data collection: collect logistics information of logistics transportation to be executed and extract secondary information; Information matching: matching the second information with the first information in the Bayesian network model node information to obtain a matching transportation path; Path optimization: includes primary path optimization and secondary path optimization steps; One-step path optimization: Take the matching transport path as the starting point, use the local search algorithm to search in the Bayesian network model, and find the local optimal transport path, which is recorded as the first transport path; Secondary path optimization: Take the first transportation path as the new starting point and use the global search algorithm to search in the Bayesian network to find the optimal transportation path; Data compression: Combine the optimal transportation route with the second information to obtain compressed logistics information; The root node of the Bayesian network model is the location of the starting point of the transportation logistics; The optimal transportation route includes f transit points, and the dependencies between the f transit points are used as directed edges in the Bayesian network model.

2. The method for compressing logistics information data for intelligent logistics transportation according to claim 1 is characterized in that: After executing the first path optimization step and before executing the second path optimization step, the following steps are also included: Path update: The particle swarm optimization algorithm is used to update the first transportation path to obtain the calculation model of the updated particle swarm optimization algorithm: ; ; in, is the inertia weight; and is a random number in the range of (0,1); and is the learning factor; is the ith particle The speed at the iteration; is the i-th particle in the The position at the iteration; is the current iteration number; For the front The best position of the i-th particle in the iteration; For the front The best position of all particles in iterations; Establishing Levy Flight model: Establishing Levy Flight model based on the updated calculation model of particle swarm optimization algorithm; Calculate distance: the current position of the i-th particle The calculation model of the distance between the particles and other particles is: ; Where N is the number of particles; is an M-dimensional vector and vector The Euclidean distance of Calculation of Levy's flight threshold: The calculation model of Levy's flight threshold is as follows: ; ; in, is the minimum distance between the current particle and other particles; The maximum distance between the current particle and other particles; is the average distance between the current particle and other particles; It is the startup judgment value of the Levy Flight model; is the current iteration number; is the maximum number of iterations, which is a preset value; First judgment: judge whether the flight threshold K is greater than the start judgment value , if yes, then execute the path search step; if no, then execute the secondary path optimization step; Search path: Use the Levy Flight model to update the position and velocity of the particles, find a new local optimal transportation path, and use the new local optimal transportation path as the new first transportation path.

3. The method for compressing logistics information data for intelligent logistics transportation according to claim 2 is characterized in that: The inertia weight Inertia weight for adaptive adjustment , the adaptively adjusted inertia weight The calculation model is as follows: ; in, is the inertia weight, and are the maximum and minimum values ​​of the inertia weight respectively.

4. The method for compressing logistics information data for intelligent logistics transportation according to claim 3 is characterized in that: The learning factor and Learning factor for adaptive adjustment and , the adaptively adjusted learning factor and The calculation model is as follows: ; ; Wherein, a and b are values ​​set as required.

5. The method for compressing logistics information data for intelligent logistics transportation according to claim 2 is characterized in that: After executing the primary judgment step and before executing the secondary path optimization step, the method further includes: Second judgment: judge the current number of iterations Is it equal to the maximum number of iterations? If yes, the current transport path is output as the new local optimal transport path; if no, the distance calculation step is re-executed until the current number of iterations reaches Equal to the maximum number of iterations .

6. The logistics information data compression method for intelligent logistics transportation according to claim 1 is characterized in that: After executing the secondary path optimization step and before executing the data compression step, the method further includes: Retrieving a compressed package: obtaining the real-time transportation requirement from the second information, matching the corresponding directed edge in the Bayesian network model according to the transportation requirement, and retrieving the compressed package corresponding to the directed edge; And in the data compression step, the retrieved compressed package is combined with the optimal transportation route to obtain compressed logistics information.

7. The method for compressing logistics information data for intelligent logistics transportation according to claim 6 is characterized in that: After executing the real-time data collection step and before executing the information matching step, the method further includes: Information verification: verifying whether the second information is correct according to the logistics information of the logistics transportation to be executed. If so, re-extracting the second information; if not, executing the real-time data processing step; Real-time data processing: Process the second information according to the data format in the first information so that the data format of the second information is consistent with the data format in the first information.

Citation Information

Patent Citations

  • Logistics route planning method, device and equipment and storage medium

    CN111461624A

  • Storage robot path optimization method based on ant colony algorithm

    CN113008232A

  • Cargo optimization distribution method and system based on ant colony algorithm

    CN113222520A

  • Merchant intelligent logistics data management method and system

    CN116109223A