Intelligent logistics management method and system based on vehicle-road collaboration

By considering the spatiotemporal correlation of meteorological data in traffic flow prediction and using convolutional neural networks and LSTM models, combined with hybrid tabu search and ant colony algorithms, the accuracy and scope problems in traffic flow prediction and path search are solved, and the Efficient and accurate traffic flow prediction and route search.

CN117371885BActive Publication Date: 2024-08-23HUNAN VOCATIONAL & TECH COLLEGE OF POSTS & TELECOMM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311408636.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-27
Publication Date
2024-08-23
Estimated Expiration
2043-10-27

AI Technical Summary

Technical Problem

Existing traffic flow prediction methods ignore meteorological data and spatio-temporal correlation, resulting in poor prediction accuracy. Traditional path search methods have a small search range, resulting in local optimality, and are unable to find the global optimal, resulting in low search efficiency.

Method used

Traffic data and meteorological data are defined based on time step and lag value, spatiotemporal features are extracted through convolutional neural network and LSTM modeling time series data, hybrid tabu search and ant colony algorithm are combined for global path search, and traffic flow and pheromones are used as Judgment criteria.

Benefits of technology

It improves the accuracy and stability of the traffic flow prediction model, expands the path search scope, realizes efficient and accurate path search, avoids local optimal traps, and improves global optimization capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117371885B
    Figure CN117371885B
Patent Text Reader

Abstract

The present invention discloses a logistics intelligent management method and system based on vehicle-road collaboration, and the method includes data collection, data definition, establishment of a traffic flow prediction model, and search for transportation paths based on a hybrid taboo search algorithm. The present invention belongs to the field of logistics management technology, and specifically refers to a logistics intelligent management method and system based on vehicle-road collaboration. This solution considers the spatiotemporal correlation of meteorological data based on time steps and lag values, thereby clarifying the objective function and loss function; uses a convolutional neural network to extract spatiotemporal features, and LSTM is used to model time series data, so as to better capture the spatiotemporal variation laws and improve the accuracy and stability of the model; uses a neighborhood search to increase the search range, uses a hybrid taboo search to improve the global optimization capability, and uses traffic flow and pheromones as judgment criteria, thereby achieving an efficient and accurate path search solution.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of logistics management technology, and specifically to a logistics intelligent management method and system based on vehicle-road collaboration. Background Art

[0002] The intelligent logistics management method based on vehicle-road collaboration refers to the coordinated management of vehicles and roads, and the optimization and intelligent management of path search in the logistics transportation process through the comprehensive use of on-board equipment, roadside facilities and logistics management systems. However, the general traffic flow prediction method has the problem of ignoring meteorological data and spatiotemporal correlation, resulting in poor prediction accuracy; the traditional traffic flow prediction model has the problem of being unable to accurately capture the spatiotemporal variation of traffic flow; the traditional path search method has the problem of a small search range, which is easy to fall into the local optimum and cannot find the global optimum, resulting in low search efficiency. Summary of the invention

[0003] In view of the above situation, in order to overcome the defects of the prior art, the present invention provides a logistics intelligent management method and system based on vehicle-road collaboration. In view of the problem that general traffic flow prediction methods ignore meteorological data and spatiotemporal correlation, resulting in poor prediction accuracy, this scheme adopts a time step and lag value to consider the spatiotemporal correlation of meteorological data, and then clarifies the objective function and loss function; in view of the problem that traditional traffic flow prediction models cannot accurately capture the spatiotemporal variation laws of traffic flow, this scheme adopts convolutional neural networks to extract spatiotemporal features, and LSTM is used to model time series data, so as to better capture the spatiotemporal variation laws and improve the accuracy and stability of the model; in view of the problem that traditional path search methods have a small search range, are prone to fall into local optimality and cannot find the global optimality, resulting in low search efficiency, this scheme adopts neighborhood search to increase the search range, uses hybrid taboo search to improve global optimization capabilities, and uses traffic flow and pheromones as judgment criteria, thereby realizing an efficient and accurate path search solution.

[0004] The technical solution adopted by the present invention is as follows: The intelligent logistics management method based on vehicle-road collaboration provided by the present invention comprises the following steps:

[0005] Step S1: data collection, collecting traffic data, meteorological data and road data;

[0006] Step S2: define data, and define traffic data, meteorological data, objective function and loss function based on time step and lag value;

[0007] Step S3: Establish a traffic flow prediction model based on defining soft thresholds to capture the long-term impact of rainfall on traffic flow variables, and perform spatial interpolation on meteorological data. The convolutional neural network is used to extract spatiotemporal features, and LSTM is used to model time series data to obtain a traffic flow prediction model.

[0008] Step S4: Searching for transportation routes based on a hybrid taboo search algorithm, expanding the search range by defining a neighborhood search, combining taboo search with an ant colony algorithm for global and local searches, and performing route search based on predicted traffic flow and pheromones as judgments.

[0009] Furthermore, in step S2, the definition data specifically includes the following steps:

[0010] Step S21: define traffic data, which includes information on traffic flow and average traffic speed, as shown below:

[0011]

[0012] Where, X t is the traffic data of all road sections in the geographical area, δ is the aggregation period, is the traffic data of the ith road segment in period t, P j represents the set of road segments except i, p is the lag value,

[0013] Step S22: define meteorological data, which is a sequence of meteorological readings at past and current timestamps, expressed as follows:

[0014]

[0015]

[0016]

[0017] In the formula, is the spatial significance of the stored meteorological variables, f sp is the meteorological impact of Mk weather stations at time t; is a meteorological data sequence consisting of k meteorological stations selected at time t, with a length of p, q is the extended sequence length, and f te is to obtain the long-term impact of meteorological variables; W t is the spatiotemporal meteorological data of all weather stations at time t, as well as spatiotemporal information, δ' is the aggregation period, δ' ≥ δ;

[0018] Step S23: define the objective function, the formula used is as follows:

[0019]

[0020] In the formula, is the predicted target road segment i in the prediction time range t g The traffic flow value in, f() is the function that maps the input to the predicted output;

[0021] Step S24: Define the loss function, the formula used is as follows:

[0022]

[0023] In the formula, θ is the parameter to be learned, T is the prediction period, S is the number of samples, i.e., historical data; g and i are the indexes of the prediction period and the number of samples, respectively. is the target road segment i in the prediction time range t g The actual value of traffic flow within.

[0024] Furthermore, in step S3, the establishment of the traffic flow prediction model specifically includes the following steps:

[0025] Step S31: define the soft space threshold. For the target road section, a weighted average is used to represent the weather conditions. The formula used is as follows:

[0026]

[0027] In the formula, is the weighted average value obtained from Mk meteorological stations at time t, is the weather reading at weather station j at time t, dist i,j is the distance between the target road segment i and the j meteorological station;

[0028] Step S32: define a soft time threshold. The soft time threshold mechanism is used to capture the long-term impact of rainfall on traffic flow variables. The formula used is as follows:

[0029]

[0030] In the formula, is the average current rainfall value at time t, is the average of past rainfall values, is the current rainfall value, γ is the weight factor reflecting the influence of factors related to traffic flow variables;

[0031] Step S33: spatially interpolate the meteorological data. Traffic data is collected from sensors located on the road segment, while meteorological data on the road segment is interpolated from the nearest meteorological station. The aggregation periods of the two data are different. It is necessary to estimate the missing values ​​according to the weights of the measured values ​​and spatially interpolate the meteorological data. The formula used is as follows:

[0032]

[0033] In the formula, is the value of the interpolated meteorological variable at point i, is the value of the observed meteorological variable at point j, n is the total number of observation points, and Λ is the interpolation weight;

[0034] Step S34: Data preprocessing: the input traffic data from n road segments in the time period from the current t to the past t-pδ, and the input meteorological data from k meteorological stations in the time period from the current t to the past t-pδ' are combined into the spatiotemporal data st, where p defines the sequence length. The spatiotemporal input is as follows:

[0035]

[0036] In the formula, n and k represent the spatial length, p represents the time length, δ'≥δ, and the meteorological data at time t comes from k stations, which can be expressed as Meteorological readings from stations other than k pass the soft spatial threshold The long-term impact of rainfall from k stations at time t is captured using a weighted moving average, i.e., a soft time threshold, expressed as

[0037]

[0038] Step S35: Establish a traffic flow prediction model, pass the spatiotemporal input to the traffic flow prediction model, there are two sub-models in the model, a convolutional neural network is used to extract spatiotemporal features, convert the spatiotemporal input data into vector representation, and pass the output vector as a single time step to the LSTM model, that is, output time series data, the LSTM model predicts traffic variables based on time series data; each layer in the CNN model is wrapped in a TimeDistributed layer; the output feature vector of the CNN model is stored as the initial unit state of the first layer of the LSTM model; the CNN model is trained based on the spatiotemporal training data, and the LSTM model is trained based on the time series data training data; the sub-model uses the back propagation algorithm to establish internal states and update weights to train the model; compare the predicted traffic flow with the actual traffic flow, and generate errors; use the BPTT method to back propagate the errors to the entire model; and use the gradient descent method to update the weights, thereby training the traffic flow prediction model.

[0039] Further, in step S4, searching for a transportation path based on a hybrid taboo search algorithm specifically includes the following steps:

[0040] Step S41: define a search for a better solution in a neighborhood. For two three-dimensional solutions α=(a1, a2, a3) and β=(b1, b2, b3), search for a better solution in their neighborhoods. The formula used is as follows:

[0041]

[0042] In the formula, z represents the combination of the two solutions α and β, μ α+β(z) is the membership value of the fuzzy set on the variable z obtained by expanding α and β on the input variable z, μ α (x) and μ β (y) represents the membership function values ​​of α and β on x and y, respectively. x and y are the first and second variables of the input, i.e., the components of α and β;

[0043] Step S42: using a hybrid taboo search algorithm to find the best transportation path, the steps include:

[0044] Step S421: read the road data and generate a node list, each node corresponds to a road, and an executable point group A is pre-set;

[0045] Step S422: Start searching for M path solutions in the logistics center, initialize the number of iterations to 0, and use the number of loops NC=0 to establish a taboo list for the hybrid taboo search;

[0046] Step S423: For each path plan, search for non-repeated nodes on the node list and search for a better node in the field, and select the next unvisited node j from these nodes according to the transmission probability formula;

[0047] Step S424: Calculate the transportation route, the total cargo volume q, and the maximum capacity Q of the vehicle; if q>Q, execute step S425; otherwise, return node j to the executable point group A and continue to execute step S426;

[0048] Step S425: predict the traffic flow of node j, and set a traffic threshold in advance. If the predicted traffic flow is lower than the traffic threshold, add the path length and cost from node i to node j to the taboo list; then jump to step S423; otherwise, return j to the executable point group A and continue to execute step S426;

[0049] Step S426: Find the node that has not been retrieved in A, and select the node with the shortest start time as the starting point, and find the next node in step S423;

[0050] Step S427: updating the pheromone and pheromone increment of each transportation path. Pheromones and pheromone increments are important factors for regulating path selection and exploration in the ant colony algorithm.

[0051] Step S428: Search the shortest transport path length and the shortest transport path of K path solutions; when all path solutions are searched, update the edge pheromones of the K path solution searches, and select the best transport path of the cycle as the optimal solution of this iteration;

[0052] Step S429: compare with the global optimal solution. If the optimal solution of this iteration is better than the global optimal solution, replace it with the global optimal solution and update the global optimal transportation path table.

[0053] Step S4210: Final judgment. A pheromone threshold is set in advance. If the edge pheromone of the global optimal solution is higher than the pheromone threshold, the global final solution is output; otherwise, the taboo list is cleared and jump to step S422.

[0054] The vehicle-road collaboration-based logistics intelligent management system provided by the present invention includes a data acquisition module, a data definition module, a traffic flow prediction model establishment module and a transportation path search module;

[0055] The data collection module collects traffic data, weather data and road data, and sends the data to the data definition module and the transportation path search module;

[0056] The data definition module receives the data sent by the data acquisition module, defines traffic data, meteorological data, objective function and loss function based on the time step and lag value, and sends the data to the traffic flow prediction model establishment module;

[0057] The traffic flow prediction model establishment module receives the data sent by the data definition module, captures the long-term impact of rainfall on traffic flow variables based on the definition of soft thresholds, and performs spatial interpolation on meteorological data, extracts spatiotemporal features through convolutional neural networks, and LSTM is used to model time series data, thereby obtaining a traffic flow prediction model, and sending the data to the transportation path search module and the transportation path search module;

[0058] The transport path search module receives data sent by the data collection module and the traffic flow prediction model establishment module, expands the search range by defining a neighborhood search, combines taboo search with ant colony algorithm to perform global search and local search, and performs path search based on predicted traffic flow and pheromones as judgment.

[0059] The beneficial effects achieved by the present invention using the above scheme are as follows:

[0060] (1) In view of the problem that general traffic flow prediction methods ignore meteorological data and spatiotemporal correlation, resulting in poor prediction accuracy, this scheme adopts the spatiotemporal correlation of meteorological data based on time step and lag value to further clarify the objective function and loss function.

[0061] (2) To address the problem that traditional traffic flow prediction models cannot accurately capture the spatiotemporal variation patterns of traffic flow, this solution uses a convolutional neural network to extract spatiotemporal features and LSTM to model time series data, thereby better capturing the spatiotemporal variation patterns and improving the accuracy and stability of the model.

[0062] (3) In view of the problem that traditional path search methods have a small search range and are prone to falling into local optimality and failing to find the global optimality, resulting in low search efficiency, this scheme adopts neighborhood search to increase the search range, uses hybrid taboo search to improve global optimization capabilities, and uses traffic flow and pheromones as judgment criteria to achieve an efficient and accurate path search scheme. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] Figure 1 A flow chart of the intelligent logistics management method based on vehicle-road collaboration provided by the present invention;

[0064] Figure 2 A schematic diagram of a logistics intelligent management system based on vehicle-road collaboration provided by the present invention;

[0065] Figure 3 is a schematic flow chart of step S2;

[0066] Figure 4 is a schematic flow chart of step S3;

[0067] Figure 5 It is a flowchart diagram of step S42.

[0068] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention. DETAILED DESCRIPTION

[0069] The technical solutions 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, rather than all the embodiments; based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0070] In the description of the present invention, it should be understood that terms such as “upper”, “lower”, “front”, “back”, “left”, “right”, “top”, “bottom”, “inside” and “outside” indicating directions or positional relationships are based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore should not be understood as limiting the present invention.

[0071] Example 1, see Figure 1 The present invention provides a logistics intelligent management method based on vehicle-road collaboration, which includes the following steps:

[0072] Step S1: data collection, collecting traffic data, meteorological data and road data;

[0073] Step S2: define data, and define traffic data, meteorological data, objective function and loss function based on time step and lag value;

[0074] Step S3: Establish a traffic flow prediction model based on defining soft thresholds to capture the long-term impact of rainfall on traffic flow variables, and perform spatial interpolation on meteorological data. The convolutional neural network is used to extract spatiotemporal features, and LSTM is used to model time series data to obtain a traffic flow prediction model.

[0075] Step S4: Searching for transportation routes based on a hybrid taboo search algorithm, expanding the search range by defining a neighborhood search, combining taboo search with an ant colony algorithm for global and local searches, and performing route search based on predicted traffic flow and pheromones as judgments.

[0076] Example 2, see Figure 1 and Figure 3 This embodiment is based on the above embodiment. In step S2, defining data specifically includes the following steps:

[0077] Step S21: define traffic data, which includes information on traffic flow and average traffic speed, as shown below:

[0078]

[0079] Where, X t is the traffic data of all road sections in the geographical area, δ is the aggregation period, is the traffic data of the ith road segment in period t, P j represents the set of road segments except i, p is the lag value,

[0080] Step S22: define meteorological data, which is a sequence of meteorological readings at past and current timestamps, expressed as follows:

[0081]

[0082]

[0083]

[0084] In the formula, is the spatial significance of the stored meteorological variables, f sp is the meteorological impact of Mk weather stations at time t; is a meteorological data sequence consisting of k meteorological stations selected at time t, with a length of p, q is the extended sequence length, and f teis to obtain the long-term impact of meteorological variables; W t is the spatiotemporal meteorological data of all weather stations at time t, as well as spatiotemporal information, δ' is the aggregation period, δ' ≥ δ;

[0085] Step S23: define the objective function, the formula used is as follows:

[0086]

[0087] In the formula, is the predicted target road segment i in the prediction time range t g The traffic flow value in, f() is the function that maps the input to the predicted output;

[0088] Step S24: Define the loss function, the formula used is as follows:

[0089]

[0090] In the formula, θ is the parameter to be learned, T is the prediction period, S is the number of samples, i.e., historical data; g and i are the indexes of the prediction period and the number of samples, respectively. is the target road segment i in the prediction time range t g The actual value of traffic flow within.

[0091] By performing the above operations, in order to address the problem that general traffic flow prediction methods ignore meteorological data and spatiotemporal correlation, resulting in poor prediction accuracy, this solution adopts a method based on time step and lag value to consider the spatiotemporal correlation of meteorological data, and then clarifies the objective function and loss function.

[0092] Example 3, see Figure 1 and Figure 4 This embodiment is based on the above embodiment. In step S3, establishing a traffic flow prediction model specifically includes the following steps:

[0093] Step S31: define the soft space threshold. For the target road section, a weighted average is used to represent the weather conditions. The formula used is as follows:

[0094]

[0095] In the formula, is the weighted average value obtained from Mk meteorological stations at time t, is the weather reading at weather station j at time t, dist i,j is the distance between the target road segment i and the j meteorological station;

[0096] Step S32: define a soft time threshold. The soft time threshold mechanism is used to capture the long-term impact of rainfall on traffic flow variables. The formula used is as follows:

[0097]

[0098] In the formula, is the average current rainfall value at time t, is the average of past rainfall values, is the current rainfall value, γ is the weight factor reflecting the influence of factors related to traffic flow variables;

[0099] Step S33: spatially interpolate the meteorological data. Traffic data is collected from sensors located on the road segment, while meteorological data on the road segment is interpolated from the nearest meteorological station. The aggregation periods of the two data are different. It is necessary to estimate the missing values ​​according to the weights of the measured values ​​and spatially interpolate the meteorological data. The formula used is as follows:

[0100]

[0101] In the formula, is the value of the interpolated meteorological variable at point i, is the value of the observed meteorological variable at point j, n is the total number of observation points, and Λ is the interpolation weight;

[0102] Step S34: Data preprocessing: the input traffic data from n road segments in the time period from the current t to the past t-pδ, and the input meteorological data from k meteorological stations in the time period from the current t to the past t-pδ' are combined into the spatiotemporal data st, where p defines the sequence length. The spatiotemporal input is as follows:

[0103]

[0104] In the formula, n and k represent the spatial length, p represents the time length, δ'≥δ, and the meteorological data at time t comes from k stations, which can be expressed as Meteorological readings from stations other than k pass the soft spatial threshold The long-term impact of rainfall from k stations at time t is captured using a weighted moving average, i.e., a soft time threshold, expressed as

[0105]

[0106] Step S35: Establish a traffic flow prediction model, pass the spatiotemporal input to the traffic flow prediction model, there are two sub-models in the model, a convolutional neural network is used to extract spatiotemporal features, convert the spatiotemporal input data into vector representation, and pass the output vector as a single time step to the LSTM model, that is, output time series data, the LSTM model predicts traffic variables based on time series data; each layer in the CNN model is wrapped in a TimeDistributed layer; the output feature vector of the CNN model is stored as the initial unit state of the first layer of the LSTM model; the CNN model is trained based on the spatiotemporal training data, and the LSTM model is trained based on the time series data training data; the sub-model uses the back propagation algorithm to establish internal states and update weights to train the model; compare the predicted traffic flow with the actual traffic flow, and generate errors; use the BPTT method to back propagate the errors to the entire model; and use the gradient descent method to update the weights, thereby training the traffic flow prediction model.

[0107] By performing the above operations, in view of the problem that the traditional traffic flow prediction model cannot accurately capture the spatiotemporal variation law of traffic flow, this solution uses a convolutional neural network to extract spatiotemporal features and LSTM to model time series data, so as to better capture the spatiotemporal variation law and improve the accuracy and stability of the model.

[0108] Example 4, see Figure 1 and Figure 5 This embodiment is based on the above embodiment. In step S4, searching for a transportation path based on a hybrid taboo search algorithm specifically includes the following steps:

[0109] Step S41: define a search for a better solution in a neighborhood. For two three-dimensional solutions α=(a1, a2, a3) and β=(b1, b2, b3), search for a better solution in their neighborhoods. The formula used is as follows:

[0110]

[0111] In the formula, z represents the combination of the two solutions α and β, μ α+β (z) is the membership value of the fuzzy set on the variable z obtained by expanding α and β on the input variable z, μ α (x) and μ β (y) represents the membership function values ​​of α and β on x and y, respectively. x and y are the first and second variables of the input, i.e., the components of α and β;

[0112] Step S42: using a hybrid taboo search algorithm to find the best transportation path, the steps include:

[0113] Step S421: read the road data and generate a node list, each node corresponds to a road, and an executable point group A is pre-set;

[0114] Step S422: Start searching for M path solutions in the logistics center, initialize the number of iterations to 0, and use the number of loops NC=0 to establish a taboo list for the hybrid taboo search;

[0115] Step S423: For each path plan, search for non-repeated nodes on the node list and search for a better node in the field, and select the next unvisited node j from these nodes according to the transmission probability formula;

[0116] Step S424: Calculate the transportation route, the total cargo volume q, and the maximum capacity Q of the vehicle; if q>Q, execute step S425; otherwise, return node j to the executable point group A and continue to execute step S426;

[0117] Step S425: predict the traffic flow of node j, and set a traffic threshold in advance. If the predicted traffic flow is lower than the traffic threshold, add the path length and cost from node i to node j to the taboo list; then jump to step S423; otherwise, return j to the executable point group A and continue to execute step S426;

[0118] Step S426: Find the node that has not been retrieved in A, and select the node with the shortest start time as the starting point, and find the next node in step S423;

[0119] Step S427: updating the pheromone and pheromone increment of each transportation path. Pheromones and pheromone increments are important factors for regulating path selection and exploration in the ant colony algorithm.

[0120] Step S428: Search the shortest transport path length and the shortest transport path of K path solutions; when all path solutions are searched, update the edge pheromones of the K path solution searches, and select the best transport path of the cycle as the optimal solution of this iteration;

[0121] Step S429: compare with the global optimal solution. If the optimal solution of this iteration is better than the global optimal solution, replace it with the global optimal solution and update the global optimal transportation path table.

[0122] Step S4210: Final judgment. A pheromone threshold is set in advance. If the edge pheromone of the global optimal solution is higher than the pheromone threshold, the global final solution is output; otherwise, the taboo list is cleared and jump to step S422.

[0123] By performing the above operations, in view of the problem that the traditional path search method has a small search range, is prone to fall into the local optimum and cannot find the global optimum, resulting in low search efficiency, this scheme adopts neighborhood search to increase the search range, uses hybrid taboo search to improve the global optimization ability, and uses traffic flow and pheromones as judgment criteria, thereby realizing an efficient and accurate path search scheme.

[0124] Example 5, see Figure 2 , this embodiment is based on the above embodiment, and the logistics intelligent management system based on vehicle-road collaboration provided by the present invention includes a data collection module, a data definition module, a traffic flow prediction model establishment module and a transportation path search module;

[0125] The data collection module collects traffic data, weather data and road data, and sends the data to the data definition module and the transportation path search module;

[0126] The data definition module receives the data sent by the data acquisition module, defines traffic data, meteorological data, objective function and loss function based on the time step and lag value, and sends the data to the traffic flow prediction model establishment module;

[0127] The traffic flow prediction model establishment module receives the data sent by the data definition module, captures the long-term impact of rainfall on traffic flow variables based on the definition of soft thresholds, and performs spatial interpolation on meteorological data, extracts spatiotemporal features through convolutional neural networks, and LSTM is used to model time series data, thereby obtaining a traffic flow prediction model, and sending the data to the transportation path search module and the transportation path search module;

[0128] The transport path search module receives data sent by the data collection module and the traffic flow prediction model establishment module, expands the search range by defining a neighborhood search, combines taboo search with ant colony algorithm to perform global search and local search, and performs path search based on predicted traffic flow and pheromones as judgment.

[0129] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0130] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

[0131] The present invention and its embodiments are described above, and such description is not restrictive. The drawings show only one embodiment of the present invention, and the actual structure is not limited thereto. In short, if ordinary technicians in the field are inspired by it, without departing from the purpose of the invention, they can design a structure and embodiment similar to the technical solution without creativity, which should belong to the protection scope of the present invention.

Claims

1. The intelligent logistics management method based on vehicle-road collaboration is characterized by: The method comprises the following steps: Step S1: data collection, collecting traffic data, meteorological data and road data; Step S2: define data, and define traffic data, meteorological data, objective function and loss function based on time step and lag value; Step S3: Establish a traffic flow prediction model based on defining soft thresholds to capture the long-term impact of rainfall on traffic flow variables, and perform spatial interpolation on meteorological data. The convolutional neural network is used to extract spatiotemporal features, and LSTM is used to model time series data to obtain a traffic flow prediction model. Step S4: Searching for transportation routes based on a hybrid taboo search algorithm, expanding the search range by defining a neighborhood search, combining taboo search with an ant colony algorithm for global and local searches, and performing route search based on predicted traffic flow and pheromones as a judgment; In step S4, searching for a transport path based on a hybrid taboo search algorithm specifically includes the following steps: Step S41: define a search for a better solution in a neighborhood. For two three-dimensional solutions α=(a1, a2, a3) and β=(b1, b2, b3), search for a better solution in their neighborhoods. The formula used is as follows: In the formula, z represents the combination of the two solutions α and β, μ α+β (z) is the membership value of the fuzzy set on the variable z obtained by expanding α and β on the input variable z, μ α (x) and μ β (y) represents the membership function values ​​of α and β on x and y, respectively. x and y are the first and second variables of the input, i.e., the components of α and β; Step S42: using a hybrid taboo search algorithm to find the best transportation path, the steps include: Step S421: read the road data and generate a node list, each node corresponds to a road, and an executable point group A is pre-set; Step S422: Start searching for M path solutions in the logistics center, initialize the number of iterations to 0, and use the number of loops NC=0 to establish a taboo list for the hybrid taboo search; Step S423: For each path plan, search for non-repeated nodes on the node list and search for a better node in the field, and select the next unvisited node j from these nodes according to the transmission probability formula; Step S424: Calculate the transportation route, the total cargo volume q, and the maximum capacity Q of the vehicle; if q>Q, execute step S425; otherwise, return node j to the executable point group A and continue to execute step S426; Step S425: predict the traffic flow of node j, and set a traffic threshold in advance. If the predicted traffic flow is lower than the traffic threshold, add the path length and cost from node i to node j to the taboo list; then jump to step S423; otherwise, return j to the executable point group A and continue to execute step S426; Step S426: Find the node that has not been retrieved in A, and select the node with the shortest start time as the starting point, and find the next node in step S423; Step S427: updating the pheromone and pheromone increment of each transportation path. Pheromones and pheromone increments are important factors for regulating path selection and exploration in the ant colony algorithm. Step S428: Search the shortest transport path length and the shortest transport path of K path solutions; when all path solutions are searched, update the edge pheromones of the K path solution searches, and select the best transport path of the cycle as the optimal solution of this iteration; Step S429: compare with the global optimal solution. If the optimal solution of this iteration is better than the global optimal solution, replace it with the global optimal solution and update the global optimal transportation path table. Step S4210: Final judgment, a pheromone threshold is set in advance. If the edge pheromone of the global optimal solution is higher than the pheromone threshold, the global final solution is output; otherwise, the taboo list is cleared and jumps to step S422; in step S3, the establishment of the traffic flow prediction model specifically includes the following steps: Step S31: define the soft space threshold. For the target road section, a weighted average is used to represent the weather conditions. The formula used is as follows: In the formula, is the weighted average value obtained from Mk meteorological stations at time t, is the weather reading at weather station j at time t, dist i,j is the distance between the target road segment i and the j meteorological station; Step S32: define a soft time threshold. The soft time threshold mechanism is used to capture the long-term impact of rainfall on traffic flow variables. The formula used is as follows: In the formula, is the average current rainfall value at time t, is the average of past rainfall values, is the current rainfall value, γ is the weight factor reflecting the influence of factors related to traffic flow variables; Step S33: spatially interpolate the meteorological data. Traffic data is collected from sensors located on the road segment, while meteorological data on the road segment is interpolated from the nearest meteorological station. The aggregation periods of the two data are different. It is necessary to estimate the missing values ​​according to the weights of the measured values ​​and spatially interpolate the meteorological data. The formula used is as follows: In the formula, is the value of the interpolated meteorological variable at point i, is the value of the observed meteorological variable at point j, n is the total number of observation points, and Λ is the interpolation weight; Step S34: Data preprocessing: the input traffic data from n road segments in the time period from the current t to the past t-pδ, and the input meteorological data from k meteorological stations in the time period from the current t to the past t-pδ' are combined into the spatiotemporal data st, where p defines the sequence length. The spatiotemporal input is as follows: In the formula, n and k represent the spatial length, p represents the time length, δ'≥δ, and the meteorological data at time t comes from k stations, which can be expressed as Meteorological readings from stations other than k pass the soft spatial threshold The long-term impact of rainfall from k stations at time t is captured using a weighted moving average, i.e., a soft time threshold, expressed as Step S35: Establish a traffic flow prediction model, pass the spatiotemporal input to the traffic flow prediction model, there are two sub-models in the model, a convolutional neural network is used to extract spatiotemporal features, convert the spatiotemporal input data into vector representation, and pass the output vector as a single time step to the LSTM model, that is, output time series data, the LSTM model predicts traffic variables based on time series data; each layer in the CNN model is wrapped in a TimeDistributed layer; the output feature vector of the CNN model is stored as the initial unit state of the first layer of the LSTM model; the CNN model is trained based on the spatiotemporal training data, and the LSTM model is trained based on the time series data training data; the sub-model uses the back propagation algorithm to establish internal states and update weights to train the model; compare the predicted traffic flow with the actual traffic flow, and generate errors; use the BPTT method to back propagate the errors to the entire model; and use the gradient descent method to update the weights, thereby training the traffic flow prediction model.

2. The intelligent logistics management method based on vehicle-road collaboration according to claim 1 is characterized by: In step S2, the definition data specifically includes the following steps: Step S21: define traffic data, which includes information on traffic flow and average traffic speed, as shown below: Where, X t is the traffic data of all road sections in the geographical area, δ is the aggregation period, is the traffic data of the ith road segment in period t, P j represents the set of road segments except i, p is the lag value, Step S22: define meteorological data, which is a sequence of meteorological readings at past and current timestamps, as shown below: In the formula, is the spatial significance of the stored meteorological variables, f sp is the meteorological impact of Mk weather stations at time t; is a meteorological data sequence consisting of k meteorological stations selected at time t, with a length of p, q is the extended sequence length, and f te is to obtain the long-term impact of meteorological variables; W t is the spatiotemporal meteorological data of all weather stations at time t, as well as spatiotemporal information, δ' is the aggregation period, δ' ≥ δ; Step S23: define the objective function, the formula used is as follows: In the formula, is the predicted target road segment i in the prediction time range t g The traffic flow value in, f() is the function that maps the input to the predicted output; Step S24: Define the loss function, the formula used is as follows: In the formula, θ is the parameter to be learned, T is the prediction period, S is the number of samples, i.e., historical data; g and i are the indexes of the prediction period and the number of samples, respectively. is the target road segment i in the prediction time range t g The actual value of traffic flow within.

3. A logistics intelligent management system based on vehicle-road collaboration, used to implement a logistics intelligent management method based on vehicle-road collaboration as described in any one of claims 1-2, characterized in that: It includes data collection module, data definition module, traffic flow prediction model building module and transportation route search module; The data collection module collects traffic data, weather data and road data, and sends the data to the data definition module and the transportation path search module; The data definition module receives the data sent by the data acquisition module, defines traffic data, meteorological data, objective function and loss function based on the time step and lag value, and sends the data to the traffic flow prediction model establishment module; The traffic flow prediction model establishment module receives the data sent by the data definition module, captures the long-term impact of rainfall on traffic flow variables based on the definition of soft thresholds, and performs spatial interpolation on meteorological data, extracts spatiotemporal features through convolutional neural networks, and LSTM is used to model time series data, thereby obtaining a traffic flow prediction model, and sending the data to the transportation path search module and the transportation path search module; The transport path search module receives data sent by the data collection module and the traffic flow prediction model establishment module, expands the search range by defining a neighborhood search, combines taboo search with ant colony algorithm to perform global search and local search, and performs path search based on predicted traffic flow and pheromones as judgment.