Path planning method, device and equipment based on multiple traffic networks

Through a path planning method based on multi-traffic networks, combined with the improved Dijkstra algorithm, the problem of low efficiency of rescue material transportation in traditional methods is solved, and fast and effective material transportation in emergency situations is achieved.

CN114580741BActive Publication Date: 2024-09-06NAT UNIV OF DEFENSE TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210208270.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-03
Publication Date
2024-09-06
Estimated Expiration
2042-03-03

AI Technical Summary

Technical Problem

Traditional path planning methods cannot effectively realize the shortest path search for switching between different transportation modes in emergency logistics, resulting in low rescue efficiency and inability to adapt to the transportation needs of rescue supplies in emergencies.

Method used

Using a path planning method based on multiple transportation networks, by obtaining the area and starting point of the materials to be transported, selecting the transportation network, transportation mode and transportation batch, using the improved Dijkstra algorithm to establish a solution model for the minimum trade-off time transportation route, taking into account road traffic Time, traffic capacity and number of transportation batches are used to calculate the optimal time path.

Benefits of technology

It improves the efficiency of rescue material transportation, can deliver rescue materials to the area to be rescued in the shortest time, and meets the transportation needs in emergency situations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114580741B
    Figure CN114580741B
Patent Text Reader

Abstract

The present application relates to a path planning method, device, computer equipment and storage medium based on multiple transportation networks. The method includes: selecting a transportation network, a transportation mode and a transportation batch according to the area of ​​the materials to be transported and the starting point of the materials to be transported; using the transportation network, the transportation mode and the transportation batch to set the constraints of the minimum trade-off time transportation route under the multiple transportation networks; and setting the sum of the total route time of the material transportation, the transit time of the material transportation and the departure time of the last transportation batch as the objective function of the minimum trade-off time transportation route under the multiple transportation networks; according to the constraints and the objective function, establishing a solution model for the minimum trade-off time transportation route under the multiple transportation networks; solving the solution model by the improved Dijkstra algorithm to obtain the minimum trade-off time transportation route, and then calculating the actual total transportation time. The use of this method can improve the rescue efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of path planning, and in particular to a path planning method, device, computer equipment and storage medium based on multiple traffic networks. Background Art

[0002] Emergency logistics refers to a special logistics activity that provides emergency support (including acquisition, transportation, warehousing, loading and unloading, handling, packaging, distribution, recycling, and information processing) for materials, personnel, and funds in response to emergencies (such as natural disasters, public safety incidents, military conflicts, etc.). In the event of an emergency, such as a major natural disaster like an earthquake, the local area is in urgent need of rescue personnel and relief supplies. Therefore, it is of great significance to transport the rescue personnel and materials to the designated location as soon as possible.

[0003] Among traditional methods, the most commonly used one is to solve the shortest path in the transportation process. However, in the context of emergency physics, this simple and intuitive solution is less practical. On the one hand, traditional methods alone cannot achieve the shortest path search for switching between different modes of transportation, and cannot recommend the optimal route in a practical manner. On the other hand, in response to public safety incidents such as sudden natural disasters, "speed is of the essence", and the shortest distance is not always the primary consideration. It cannot meet the needs of rescue personnel and material transportation in emergency situations, and the rescue efficiency is low. Summary of the invention

[0004] Based on this, it is necessary to provide a path planning method, device, computer equipment and storage medium based on multiple traffic networks that can improve rescue efficiency in response to the above technical problems.

[0005] A path planning method based on multiple transportation networks, the method comprising:

[0006] Obtain the area of ​​materials to be transported and the starting point of transporting materials;

[0007] The transportation network, transportation mode and transportation batch are selected according to the area of ​​the materials to be transported and the starting point of the materials to be transported; the transportation network includes a node set and a directed edge set; the node set includes a starting node, an ending node, a vertex and a transfer node;

[0008] The transportation network, transportation mode and transportation batch are used to set the constraints of the minimum trade-off time transportation route under multiple transportation networks; and the sum of the total route time of material transportation, the transit time of material transportation and the departure time of the last transportation batch is set as the objective function of the minimum trade-off time transportation route under multiple transportation networks;

[0009] According to the constraint conditions and the objective function, a solution model for the minimum trade-off time transportation route under multiple transportation networks is established;

[0010] The solution model is solved by the improved Dijkstra algorithm to obtain the minimum trade-off time transportation route considering the road travel time, traffic capacity and the number of transportation batches;

[0011] The transportation time for the material area to be transported is calculated based on the transportation route with the minimum weighted time to obtain the actual total transportation time.

[0012] In one embodiment, the constraints of the minimum trade-off time transportation route under multiple transportation networks are set by using the transportation network, transportation mode and transportation batch, including:

[0013] A first constraint condition is constructed by using the transportation network, transportation mode and transportation batches so that the minimum trade-off time transportation route is a connected physical route from the starting node to the ending node;

[0014] A second constraint condition is established by using the transportation network, transportation mode and transportation batches to establish that the number of daily transportation batches does not exceed the daily traffic capacity of each section of the selected path, the daily loading capacity of the starting point, the daily loading capacity of the terminal and the daily loading and unloading capacity of the transfer node;

[0015] A third constraint condition is constructed based on the connectivity between the transfer node and the selected road segment using the transportation network, transportation mode and transportation batch.

[0016] In one of the embodiments, before setting the sum of the total route time of material transportation, the transit time of material transportation and the departure time of the last transportation batch as the objective function of the minimum trade-off time transportation route under the multi-transportation network, it also includes: calculating the transportation time of each transportation route in the directed edge set to obtain the total time of material transportation; determining the starting node and the ending node from the node set according to the area of ​​the material to be transported and the starting point of the transportation material; constructing the transit time of material transportation according to the loading time of the starting node, the unloading time of the ending node and the loading and unloading time of the transit node.

[0017] In one embodiment, the sum of the total route time of material transportation, the transit time of material transportation and the departure time of the last transportation batch is set as the objective function of the minimum trade-off time transportation route under the multi-transportation network, including:

[0018] The sum of the total route time of material transportation, the transit time of material transportation and the departure time of the last transportation batch is set as the minimum trade-off time transportation route objective function under the multi-transportation network:

[0019] min(T+Q+W)

[0020] Among them, T represents the total route time, Q represents the transit time, and W represents the departure time of the last transport batch.

[0021] In one embodiment, the improved Dijkstra algorithm is used to solve the solution model to obtain the minimum trade-off time transportation route, including:

[0022] A first set and a second set are set in a multi-transportation network; the first set includes the starting points in the multi-transportation network; the second set includes other vertices in the transportation network except the starting points and the trade-off time from the starting points to each vertex;

[0023] Traversing the vertex with the smallest trade-off time in the multi-transportation network from the second set, and adding the vertex with the smallest trade-off time to the first set;

[0024] Update the trade-off time from the starting point to each vertex in the second set according to the vertex with the smallest trade-off time;

[0025] All vertices in the first set are judged according to a preset judgment rule, and all vertices in the updated second set are traversed according to the judgment result until an end point is obtained;

[0026] The travel time, the travel capacity and the number of transport batches from the starting point to the end point are calculated to obtain the transport route with the minimum trade-off time.

[0027] In one of the embodiments, all vertices in the first set are judged according to a preset judgment rule, and all vertices in the second set are traversed according to the judgment result until an end point is obtained, including: judging whether all vertices in the first set contain a vertex whose serial number is not less than the number of starting points, if so, the vertex is the end point; if not, all vertices in the second set are traversed until an end point is obtained.

[0028] In one embodiment, the transportation time of the material area to be transported is calculated according to the minimum weighted time transportation route to obtain the actual total transportation time, including:

[0029] The transportation time of the area to be transported is calculated based on the minimum trade-off time transportation route, transfer time, total batch quantity, starting point loading time, starting point loading capacity, terminal unloading time and terminal unloading capacity to obtain the actual total transportation time.

[0030] A path planning device based on multiple traffic networks, the device comprising:

[0031] The initialization module is used to obtain the area of ​​the materials to be transported and the starting point of the materials to be transported; select the transportation network, transportation mode and transportation batch according to the area of ​​the materials to be transported and the starting point of the materials to be transported; the transportation network includes a node set and a directed edge set; the node set includes a starting node, an ending node, a vertex and a transfer node;

[0032] A solution model building module is used to set the constraint conditions of the minimum trade-off time transportation route under multiple transportation networks by using transportation networks, transportation modes and transportation batches; and to set the sum of the total route time of material transportation, the transit time of material transportation and the departure time of the last transportation batch as the objective function of the minimum trade-off time transportation route under multiple transportation networks; and to establish a solution model for the minimum trade-off time transportation route under multiple transportation networks according to the constraint conditions and the objective function;

[0033] A solution model solving module is used to solve the solution model by using the improved Dijkstra algorithm to obtain the minimum trade-off time transportation route considering the road travel time, traffic capacity and the number of transportation batches;

[0034] The actual total transportation time calculation module is used to calculate the transportation time for the material area to be transported according to the minimum weighted time transportation route to obtain the actual total transportation time.

[0035] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0036] Obtain the area of ​​materials to be transported and the starting point of transporting materials;

[0037] The transportation network, transportation mode and transportation batch are selected according to the area of ​​the materials to be transported and the starting point of the materials to be transported; the transportation network includes a node set and a directed edge set; the node set includes a starting node, an ending node, a vertex and a transfer node;

[0038] The transportation network, transportation mode and transportation batch are used to set the constraints of the minimum trade-off time transportation route under multiple transportation networks; and the sum of the total route time of material transportation, the transit time of material transportation and the departure time of the last transportation batch is set as the objective function of the minimum trade-off time transportation route under multiple transportation networks;

[0039] According to the constraints and objective functions, a solution model for the minimum trade-off time transportation route under multiple transportation networks is established;

[0040] The solution model is solved by the improved Dijkstra algorithm to obtain the minimum trade-off time transportation route considering the road travel time, traffic capacity and the number of transportation batches;

[0041] The transportation time for the material area to be transported is calculated based on the transportation route with the minimum weighted time to obtain the actual total transportation time.

[0042] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:

[0043] Obtain the area of ​​materials to be transported and the starting point of transporting materials;

[0044] The transportation network, transportation mode and transportation batch are selected according to the area of ​​the materials to be transported and the starting point of the materials to be transported; the transportation network includes a node set and a directed edge set; the node set includes a starting node, an ending node, a vertex and a transfer node;

[0045] The transportation network, transportation mode and transportation batch are used to set the constraints of the minimum trade-off time transportation route under multiple transportation networks; and the sum of the total route time of material transportation, the transit time of material transportation and the departure time of the last transportation batch is set as the objective function of the minimum trade-off time transportation route under multiple transportation networks;

[0046] According to the constraints and objective functions, a solution model for the minimum trade-off time transportation route under multiple transportation networks is established;

[0047] The solution model is solved by the improved Dijkstra algorithm to obtain the minimum trade-off time transportation route considering the road travel time, traffic capacity and the number of transportation batches;

[0048] The transportation time for the material area to be transported is calculated based on the transportation route with the minimum weighted time to obtain the actual total transportation time.

[0049] The above-mentioned path planning method, device, computer equipment and storage medium based on multiple transportation networks, the present application uses transportation networks, transportation modes and transportation batches to set constraints for the minimum trade-off time transportation route under multiple transportation networks; and sets the sum of the total route time of material transportation, the transfer time of material transportation and the departure time of the last transportation batch as the objective function of the minimum trade-off time transportation route under multiple transportation networks. According to the constraints and the objective function, a solution model for the minimum trade-off time transportation route under multiple transportation networks is established, and then the solution model for the minimum trade-off time transportation route under multiple transportation networks is solved by improving the Dijkstra algorithm. The total time is calculated according to the obtained minimum trade-off time transportation route. By establishing a solution model for the minimum trade-off time transportation route, the model is solved based on the improved Dijkstra algorithm, and rescue materials are transported according to the obtained minimum trade-off time transportation route, and the rescue materials are delivered to the rescue area in the shortest time, thereby improving the rescue efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 A schematic diagram of a flow chart of a path planning method based on multiple transportation networks in one embodiment;

[0051] Figure 2 is a structural block diagram of a path planning device based on multiple traffic networks in one embodiment;

[0052] Figure 3 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0053] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0054] In one embodiment, Figure 1 As shown, a path planning method based on multiple transportation networks is provided, comprising the following steps:

[0055] Step 102, obtaining the area of ​​the materials to be transported and the starting point of the materials to be transported; selecting a transportation network, a transportation method and a transportation batch according to the area of ​​the materials to be transported and the starting point of the materials to be transported.

[0056] The transportation network includes a set of nodes and a set of directed edges; the node set includes a starting node, an ending node, a vertex, and a transfer node. The transportation network includes an air transportation network, a railway transportation network, and a road transportation network; the modes of transportation include airplanes, high-speed trains, trains, ships, and cars. The transportation network and mode of transportation are selected based on the regional characteristics of the materials to be transported, such as the geographical environment, and then the distance between the region and the starting point of the transported materials is estimated. Then, a preliminary transportation batch estimate is made based on the transportation network and the mode of transportation. Based on these conditions, the constraints of the minimum trade-off time transportation route under multiple transportation networks are set, and the optimal time path estimate can be obtained.

[0057] Step 104, using the transportation network, transportation mode and transportation batches to set the constraints of the minimum trade-off time transportation route under multiple transportation networks; and setting the sum of the total route time of material transportation, the transit time of material transportation and the departure time of the last transportation batch as the objective function of the minimum trade-off time transportation route under multiple transportation networks.

[0058] Step 106, solving the solution model by using the improved Dijkstra algorithm to obtain the minimum trade-off time transportation route considering the road travel time, traffic capacity and the number of transportation batches.

[0059] The Dijkstra algorithm was proposed by Dutch computer scientist Dijkstra. This algorithm is described as three steps: initialization, finding the label p, and modifying the label t. It is an algorithm for the shortest path from one vertex to the remaining vertices, and solves the shortest path problem in a weighted graph. The present application makes improvements when using the Dijkstra algorithm to solve the solution model, that is, combining different traffic networks into a traffic network that can be operated by the algorithm. Taking the starting point s as an example, when different traffic networks are combined into one traffic network, the starting point s needs to be split into s1, s2, and s3. Determine in turn which traffic network the starting point s is a node of, and start searching from the highest priority traffic network where the starting point s exists, and record it as I. Introduce two sets S1 and S2. The function of S1 is to record the vertices for which the minimum trade-off time has been found, while S2 is to record the vertices for which the minimum trade-off time has not yet been found. Initially, S1 only contains the starting point s I , S2 contains all except s I Other vertices outside, and the time C of the vertex in S2 is "starting point s I The trade-off time to the vertex is "traversed from S2 to find the vertex with the minimum trade-off time, and add the vertex to S1; update the route corresponding to each vertex in S2. Then repeat the above process until the end point e is traversed. j ≥I, and compare the endpoint e in S2 j The minimum value of all time C of ≥ I. Finally, the minimum trade-off time transportation route is obtained, and then the actual total transportation time is recalculated.

[0060] Step 108, calculating the transportation time for the area of ​​materials to be transported according to the transportation route with the minimum weighted time, and obtaining the actual total transportation time.

[0061] By using the transportation route with the minimum trade-off time to transport relief supplies, relief supplies can be delivered to the rescue area in the shortest time, thus improving rescue efficiency.

[0062] In the above-mentioned path planning method based on multiple transportation networks, the present application uses transportation networks, transportation modes and transportation batches to set constraints for the minimum trade-off time transportation routes under multiple transportation networks; and sets the sum of the total route time of material transportation, the transfer time of material transportation and the departure time of the last transportation batch as the objective function of the minimum trade-off time transportation route under multiple transportation networks. According to the constraints and the objective function, a solution model for the minimum trade-off time transportation route under multiple transportation networks is established, and then the solution model for the minimum trade-off time transportation route under multiple transportation networks is solved by improving the Dijkstra algorithm. The total time is calculated based on the obtained minimum trade-off time transportation route. By establishing a solution model for the minimum trade-off time transportation route, the model is solved based on the improved Dijkstra algorithm. Rescue materials are transported according to the obtained minimum trade-off time transportation route, and the rescue materials are delivered to the rescue area in the shortest time, thereby improving the rescue efficiency.

[0063] In one of the embodiments, before setting the sum of the total route time of material transportation, the transit time of material transportation and the departure time of the last transportation batch as the objective function of the minimum trade-off time transportation route under the multi-transportation network, it also includes: calculating the transportation time of each transportation route in the directed edge set to obtain the total time of material transportation; determining the starting node and the ending node from the node set according to the area of ​​the material to be transported and the starting point of the transportation material; constructing the transit time of material transportation according to the loading time of the starting node, the unloading time of the ending node and the loading and unloading time of the transit node.

[0064] In one embodiment, the sum of the total route time of material transportation, the transit time of material transportation and the departure time of the last transportation batch is set as the objective function of the minimum trade-off time transportation route under the multi-transportation network, including:

[0065] The sum of the total route time of material transportation, the transit time of material transportation and the departure time of the last transportation batch is set as the minimum trade-off time transportation route objective function under the multi-transportation network:

[0066] min(T+Q+W)

[0067] Among them, T represents the total route time, Q represents the transfer time, and W represents the departure time of the last transport batch.

[0068] In the minimum trade-off time transportation route problem under multiple transportation networks, the total transportation time is used as the evaluation index of the searched route. From the decision variables, it can be seen that when the corresponding section (i, j) under the transportation mode f is selected, its corresponding transportation time is Taking the transit time into consideration, the objective function can be expressed as

[0069] min(T+Q+W) (1)

[0070] Where T is the total route time, that is, the sum of the transportation time for each route, expressed as

[0071]

[0072] Q is the time spent on transshipment, including the loading time at the starting point, the unloading time at the end point, and the loading and unloading time at the transshipment node, expressed as

[0073]

[0074] W is the departure time of the last transport batch. If u≤y, then W=0; if u>y, then

[0075] In one embodiment, the constraints of the minimum trade-off time transportation route under multiple transportation networks are set by using the transportation network, transportation mode and transportation batch, including:

[0076] A first constraint condition is constructed by using the transportation network, transportation mode and transportation batches so that the minimum trade-off time transportation route is a connected physical route from the starting node to the ending node;

[0077] A second constraint condition is established by using the transportation network, transportation mode and transportation batches to establish that the number of daily transportation batches does not exceed the daily traffic capacity of each section of the selected path, the daily loading capacity of the starting point, the daily loading capacity of the terminal and the daily loading and unloading capacity of the transfer node;

[0078] A third constraint condition is constructed based on the connectivity between the transfer node and the selected road segment using the transportation network, transportation mode and transportation batch.

[0079]

[0080]

[0081]

[0082]

[0083]

[0084]

[0085]

[0086]

[0087]

[0088]

[0089]

[0090] Among the constraints, equations (4), (5) and (6) ensure that the selected optimal time path is a connected physical route from the starting node s to the ending node q, which constitutes the first constraint. Equations (7), (8), (9) and (10) ensure that the number of daily transport batches does not exceed the daily traffic capacity of each section of the selected path, the daily loading capacity of the starting point, the daily loading capacity of the end point, and the daily loading and unloading capacity of the transfer node (if transfer occurs, the transportation mode is changed at this node), which constitutes the second constraint. Equation (11) ensures that the transition from transportation mode f1 to f2 only occurs once. Equations (12), (13) and (14) ensure the connectivity of the transfer node and the selected section, which constitutes the third constraint. Where N = (V, E) represents the transportation network, V represents the node set, E represents the directed edge set, i represents the node number i∈V, a directed edge (i, j)∈E if and only if there is at least one transportation mode from i to j, F represents the transportation mode set, f∈F represents the transportation mode number, N f represents the transport mode f corresponding to the transport subnetwork, s represents the starting node, q represents the ending node, represents the daily loading capacity of node i under transport mode f, represents the daily loading capacity of node i under transport mode f, represents the daily traffic capacity of the road section (i, j) under transport mode f, represents the transportation time of section (i, j) under transportation mode f, u represents the total number of transportation batches, t l represents the node loading time, t n Represents the node unloading time. The decision variables of the minimum trade-off time transportation route solution model under multiple transportation networks are shown in Table 1.

[0091] Table 1 Symbols and definitions of decision variable parameters

[0092]

[0093] In one embodiment, the improved Dijkstra algorithm is used to solve the solution model to obtain the minimum trade-off time transportation route, including:

[0094] A first set and a second set are set in a multi-transportation network; the first set includes the starting points in the multi-transportation network; the second set includes other vertices in the transportation network except the starting points and the trade-off time from the starting points to each vertex;

[0095] Traversing the vertex with the smallest trade-off time in the multi-transportation network from the second set, and adding the vertex with the smallest trade-off time to the first set;

[0096] Update the trade-off time from the starting point to each vertex in the second set according to the vertex with the smallest trade-off time;

[0097] All vertices in the first set are judged according to a preset judgment rule, and all vertices in the updated second set are traversed according to the judgment result until an end point is obtained;

[0098] The travel time, the travel capacity and the number of transport batches from the starting point to the end point are calculated to obtain the transport route with the minimum trade-off time.

[0099] In one of the embodiments, all vertices in the first set are judged according to a preset judgment rule, and all vertices in the second set are traversed according to the judgment result until an end point is obtained, including: judging whether all vertices in the first set contain a vertex whose serial number is not less than the number of starting points, if so, the vertex is the end point; if not, all vertices in the second set are traversed until an end point is obtained.

[0100] Let the multi-transportation network G = {G1, G2, G3}, where G1 represents the aviation transportation network, G2 represents the railway transportation network, and G3 represents the highway transportation network. The steps for solving the minimum trade-off time transportation route under the multi-transportation network based on the improved Dijkstra algorithm are as follows:

[0101] Step 1.1 Initialization, let the transit time be Q and the total batch quantity be R.

[0102] Step 1.2: Starting from i′=1 and ending at i′=3, determine whether the starting point s is G i′ If the node in satisfies, then I=i and stop, where i′ represents the serial number of the starting point of the traffic network, and I represents the number of starting points.

[0103] Step 1.3 Set the first set and the second set. The first set S1 only contains the starting point s I , the second set S2 contains all the I The time of the vertex in S2 is "starting point s I The trade-off time to the vertex", if the vertex in S2 and the starting point s I If they are not adjacent, the trade-off time is ∞. That is, S1 = {s I}, S2 = {divided by s I Other vertices outside}, Mark the starting point IThe other points are not labeled yet. (It should be noted that in order not to force the selection of the transportation mode at the beginning of the transportation, the splitting starting point is s. I The trade-off time to other split starting points with sequence numbers greater than I is 0, while the split starting point s I The trade-off time to other split starting points with sequence numbers less than I is ∞)

[0104] Step 1.4 selects the vertex k with the smallest trade-off time in the multi-transportation network G from S2 and records the transportation network sequence number q.

[0105] Step 1.5: Add vertex k to S1 and remove vertex k from S2, i.e., C k =min(C s j). Among them, C sj =t sj +R / cap sj ,t sj is the actual transportation time from the marked point s to the point j, c ap sj R / cap is the daily traffic capacity of the road section from point s to point j. sj As a time weight measure (indicating that the smaller the value, the cap sj The larger the value, the greater the probability of selecting this road segment).

[0106] Step 1.6 Update each vertex in S2 to the starting point s I The reason for updating the distance of the vertices in S2 is that in the previous step, k is determined to be the vertex for finding the shortest path, so k can be used to update the distance of other vertices. However, the path length from the previous vertex to the next vertex v through the k vertex is shorter than the path length directly to the next vertex v. This possibility exists, so it is necessary to update the shortest distance again, with the distance minimization as the judgment criterion. That is, If a vertex in S2 is a split vertex of vertex k and its sequence number is greater than q, then otherwise

[0107] Step 1.7 Label the vertex k with label s.

[0108] Step 1.8 Determine whether there is a split vertex e in S1 that includes the end point j (j≥I). If satisfied, go to step 1.9; if not satisfied, go to step 1.4.

[0109] Step 1.9 Find the point where you can reach the split vertex e j The minimum trade-off time for (j≥I) Output the minimum trade-off time transportation route and recalculate the actual total transportation time.

[0110] In one of the embodiments, the transportation time of the area to be transported is calculated according to the transportation route with the minimum trade-off time, and the actual total transportation time is obtained, including:

[0111] The transportation time of the area to be transported is calculated according to the transportation route with the minimum trade-off time, transfer time, total number of batches, starting point loading time, starting point loading capacity, ending point unloading time, and ending point unloading capacity, and the actual total transportation time is obtained.

[0112] The specific steps for calculating the actual total transportation time by calculating the transportation time of the area to be transported according to the transportation route with the minimum trade-off time, transfer time, total number of batches, starting point loading time, starting point loading capacity, ending point unloading time, and ending point unloading capacity are as follows:

[0113] Step 2.1 Initialization. According to the transportation route p with the minimum trade-off time, transfer time Q, total number of batches R, starting point loading time r l , starting point loading capacity c l , ending point unloading time r ul and ending point unloading capacity c ul .

[0114] Step 2.2 Set the total transportation time as T, and let T = r l + c l .

[0115] Step 2.3 Split the optimal route p. Assume it consists of n edges, and the transportation time of each edge is t i (i = 1, 2,..., n), and the maximum daily traffic capacity is cap i (i = 1, 2,..., n).

[0116] Step 2.4 Let i = 1. Set the maximum daily traffic capacity of route p as y, and let y = min(c l , c ul ).

[0117] Step 2.5 Let T' = T + t i .

[0118] Step 2.6 Determine whether y > cap i . If satisfied, let y = cap i .

[0119] Step 2.7 Determine whether a transfer occurs. If satisfied, then T'' = T' + Q, and let y = min{y, daily loading capacity of transfer node, daily unloading capacity of shipping node}.

[0120] Step 2.8 Determine whether i < n. If satisfied, then i = i + 1 and go to Step 2.5; if not satisfied, then Among them Indicates how many days it will take to transport all batches, rounded down.

[0121] Step 2.9 outputs the actual total transportation time T''.

[0122] The technical effects of the present invention are explained with the following specific embodiments. The known city route information table (Table 2) includes the mode of transportation, the starting city of the section, the end city of the section, the section name, the section transportation time, and the maximum daily transportation batch quantity of the section. The city node information table (Table 2) includes the daily railway loading and unloading capacity and highway daily loading and unloading capacity of the city node (it should be noted that the data used in the embodiment are not real data, and each section in Table 2 is a one-way traffic section).

[0123] Table 2 City route information table

[0124]

[0125]

[0126] Table 3 City node information table

[0127]

[0128] Taking the emergency assistance mission of the medical team as an example, the above-mentioned basic data of road network information (mainly using the topological structure of the traffic network and the capacity of the line) is used to carry out emergency transportation tasks for medical staff. According to relevant requirements, there is no restriction on the mode of transportation, and it is stipulated that the transportation of medical staff of the same medical team is continuous. The specific list of emergency transportation tasks is shown in Table 4 (only valid information is given).

[0129] Table 4 Emergency transport task list

[0130] name Transportation Batch Quantity Departure city Arrival City Personnel Type Do you carry supplies? Medical Team 1 Railway / Road 6 City A City H Medical staff yes Medical Team 2 Railway / Road 10 City A City J Medical staff yes

[0131] The minimum trade-off time transportation route planning method under the multi-transportation network of the present invention is used to design the recommended delivery routes for the two medical teams respectively. During the optimization process, the influence of each section time, transportation capacity, loading and unloading capacity of the transfer point, and transfer time on the completion time of the emergency transportation task is comprehensively considered. Here, it is assumed that the loading time and unloading time are both 2 hours. The results are shown in Table 5.

[0132] Table 5 Medical team transportation routes and total mission time

[0133]

[0134] Need to explain:

[0135] For medical team 1, the maximum number of transport batches per day after the optimization of the transport route is 8 batches, the one-way time of the route is 21.35h (not considering loading and unloading), the transfer loading and unloading time is 2+2=4h, the starting and ending loading and unloading time is 2+2=4h, and the total time is

[0136] For Medical Team 2, the maximum number of daily transport batches on its optimized transport route is 9 batches, and the one-way time of the route is 42.41 hours (excluding loading and unloading), and there is no transfer caused by the conversion of transportation modes. The loading and unloading time at the start and end points is 2+2=4 hours, and the total time is

[0137] It should be understood that although Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0138] In one embodiment, Figure 2 As shown, a path planning device based on multiple transportation networks is provided, including: an initialization module 202, a solution model building module 204, a solution model solving module 206 and an actual transportation total time calculation module, wherein:

[0139] Initialization module 202, used to obtain the area of ​​materials to be transported and the starting point of transporting materials; select the transportation network, transportation mode and transportation batch according to the area of ​​materials to be transported and the starting point of transporting materials; the transportation network includes a node set and a directed edge set; the node set includes a starting node, an ending node, a vertex and a transfer node;

[0140] A solution model building module 204 is used to set the constraint conditions of the minimum trade-off time transportation route under multiple transportation networks by using transportation networks, transportation modes and transportation batches; and set the sum of the total route time of material transportation, the transit time of material transportation and the departure time of the last transportation batch as the objective function of the minimum trade-off time transportation route under multiple transportation networks;

[0141] A solution model solving module 206 is used to solve the solution model by using a Dijkstra algorithm to obtain a minimum trade-off time transportation route considering road travel time, traffic capacity and the number of transport batches;

[0142] The actual total transportation time calculation module 208 is used to calculate the transportation time for the material area to be transported according to the minimum weighted time transportation route to obtain the actual total transportation time.

[0143] In one embodiment, the solution model building module 204 is further used to set the constraints of the minimum trade-off time transportation route under multiple transportation networks by using the transportation network, transportation mode and transportation batch, including:

[0144] A first constraint condition is constructed by using the transportation network, transportation mode and transportation batches so that the minimum trade-off time transportation route is a connected physical route from the starting node to the ending node;

[0145] A second constraint condition is established by using the transportation network, transportation mode and transportation batches to establish that the number of daily transportation batches does not exceed the daily traffic capacity of each section of the selected path, the daily loading capacity of the starting point, the daily loading capacity of the terminal and the daily loading and unloading capacity of the transfer node;

[0146] A third constraint condition is constructed based on the connectivity between the transfer node and the selected road segment using the transportation network, transportation mode and transportation batch.

[0147] In one embodiment, the solution model construction module 204 is also used to set the sum of the total route time of material transportation, the transit time of material transportation and the departure time of the last transportation batch as the objective function of the minimum trade-off time transportation route under the multi-transportation network, and also includes: calculating the transportation time of each transportation route in the directed edge set to obtain the total time of material transportation; determining the starting node and the ending node from the node set according to the area of ​​the material to be transported and the starting point of the transportation material; constructing the transit time of material transportation according to the loading time of the starting node, the unloading time of the ending node and the loading and unloading time of the transfer node.

[0148] In one embodiment, the solution model building module 204 is further used to set the sum of the total route time of material transportation, the transit time of material transportation, and the departure time of the last transportation batch as the objective function of the minimum trade-off time transportation route under the multi-transportation network, including:

[0149] The sum of the total route time of material transportation, the transit time of material transportation and the departure time of the last transportation batch is set as the minimum trade-off time transportation route objective function under the multi-transportation network:

[0150] min(T+Q+W)

[0151] Among them, T represents the total route time, Q represents the transfer time, and W represents the departure time of the last transport batch.

[0152] In one embodiment, the model solving module 206 is further used to solve the model using an improved Dijkstra algorithm to obtain a minimum trade-off time transportation route, including:

[0153] A first set and a second set are set in a multi-transportation network; the first set includes the starting points in the multi-transportation network; the second set includes other vertices in the transportation network except the starting points and the trade-off time from the starting points to each vertex;

[0154] Traversing the vertex with the smallest trade-off time in the multi-transportation network from the second set, and adding the vertex with the smallest trade-off time to the first set;

[0155] Update the trade-off time from the starting point to each vertex in the second set according to the vertex with the smallest trade-off time;

[0156] All vertices in the first set are judged according to a preset judgment rule, and all vertices in the updated second set are traversed according to the judgment result until an end point is obtained;

[0157] The travel time, the travel capacity and the number of transport batches from the starting point to the end point are calculated to obtain the transport route with the minimum trade-off time.

[0158] In one embodiment, the model solving module 206 is also used to judge all vertices in the first set according to a preset judgment rule, and traverse all vertices in the second set according to the judgment result until the end point is obtained, including: judging whether all vertices in the first set contain vertices whose serial numbers are not less than the number of starting points, if so, the vertex is the end point; if not, traversing all vertices in the second set until the end point is obtained.

[0159] In one embodiment, the actual total transportation time calculation module 208 is further used to calculate the transportation time for the material area to be transported according to the minimum weighted time transportation route to obtain the actual total transportation time, including:

[0160] The transportation time of the area to be transported is calculated based on the minimum trade-off time transportation route, transfer time, total batch quantity, starting point loading time, starting point loading capacity, terminal unloading time and terminal unloading capacity to obtain the actual total transportation time.

[0161] For the specific definition of a path planning device based on multiple transportation networks, please refer to the definition of a path planning method based on multiple transportation networks above, which will not be repeated here. Each module in the above-mentioned path planning device based on multiple transportation networks can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0162] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 3 As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a path planning method based on a multi-traffic network is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0163] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0164] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method in the above embodiment when executing the computer program.

[0165] In one embodiment, a computer storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method in the above embodiment are implemented.

[0166] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0167] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0168] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A path planning method based on multiple transportation networks, characterized in that: The method comprises: Obtain the area of ​​materials to be transported and the starting point of transporting materials; Selecting a transportation network, a transportation mode and a transportation batch according to the area of ​​the materials to be transported and the starting point of the transported materials; the transportation network includes a node set and a directed edge set; the node set includes a starting node, an ending node, a vertex and a transfer node; The transportation network, transportation mode and transportation batch are used to set the constraint conditions of the minimum trade-off time transportation route under the multi-transportation network; and the sum of the total route time of material transportation, the transit time of material transportation and the departure time of the last transportation batch is set as the objective function of the minimum trade-off time transportation route under the multi-transportation network; According to the constraint conditions and the objective function, a solution model for the minimum trade-off time transportation route under multiple transportation networks is established; The solution model is solved by using an improved Dijkstra algorithm to obtain a minimum time-tradeoff transportation route that takes into account road travel time, traffic capacity, and the number of transportation batches; Calculate the transportation time for the material area to be transported according to the minimum weighted time transportation route to obtain the actual total transportation time; The solution model is solved by using the improved Dijkstra algorithm to obtain the minimum trade-off time transportation route, including: A first set and a second set are set in the multi-transportation network; the first set includes the starting point in the multi-transportation network; the second set includes other vertices in the transportation network except the starting point and the trade-off time from the starting point to each vertex; Traversing the vertex with the smallest trade-off time in the multi-transportation network from the second set, and adding the vertex with the smallest trade-off time to the first set; Update the trade-off time from the starting point to each vertex in the second set according to the vertex with the smallest trade-off time; Judging all vertices in the first set according to a preset judgment rule, and traversing all vertices in the updated second set according to the judgment result until an end point is obtained; The travel time, the travel capacity and the number of transport batches from the starting point to the end point are calculated to obtain a transport route with the minimum trade-off time.

2. The method according to claim 1, characterized in that The transportation network, transportation mode and transportation batch are used to set the constraints of the minimum trade-off time transportation route under multiple transportation networks, including: The transportation network, transportation mode and transportation batch are used to construct a first constraint condition that makes the minimum trade-off time transportation route a connected physical route from the starting node to the ending node; The transportation network, transportation mode and transportation batches are used to construct a second constraint condition that the number of daily transportation batches does not exceed the daily traffic capacity of each section of the selected path, the daily loading capacity of the starting point, the daily loading capacity of the terminal, and the daily loading and unloading capacity of the transfer node; The transportation network, transportation mode and transportation batch are used to construct a third constraint condition that enables connectivity between the transfer node and the selected road segment.

3. The method according to claim 2, characterized in that Before setting the sum of the total route time of material transportation, the transit time of material transportation and the departure time of the last transportation batch as the objective function of the minimum trade-off time transportation route under the multi-transportation network, it also includes: Calculate the transportation time of each transportation route in the directed edge set to obtain the total transportation time of materials; The starting node and the ending node are determined from the node set according to the area of ​​the materials to be transported and the starting point of the transported materials; the transit time of the material transportation is constructed according to the loading time of the starting node, the unloading time of the ending node and the loading and unloading time of the transit node.

4. The method according to claim 3, characterized in that The sum of the total route time of material transportation, the transit time of material transportation and the departure time of the last transportation batch is set as the objective function of the minimum trade-off time transportation route under the multi-transportation network, including: The sum of the total route time of material transportation, the transit time of material transportation and the departure time of the last transportation batch is set to the minimum trade-off time transportation route objective function under the multi-transportation network is min(T+Q+W) Among them, T represents the total route time, Q represents the transit time, and W represents the departure time of the last transport batch.

5. The method according to claim 1, characterized in that Judging all vertices in the first set according to a preset judgment rule, and traversing all vertices in the second set according to the judgment result until an end point is obtained, including: Determine whether all vertices in the first set contain a vertex whose serial number is not less than the number of starting points. If so, the vertex is the end point; if not, traverse all vertices in the second set until the end point is obtained.

6. The method according to claim 5, characterized in that The transportation time of the material to be transported area is calculated according to the minimum weighted time transportation route to obtain the actual total transportation time, including: The transportation time of the material area to be transported is calculated based on the minimum trade-off time transportation route, transit time, total batch quantity, starting point loading time, starting point loading capacity, terminal unloading time and terminal unloading capacity to obtain the actual total transportation time.

7. A path planning device based on multiple traffic networks, characterized in that: The device comprises: An initialization module is used to obtain the area of ​​materials to be transported and the starting point of the materials to be transported; select a transportation network, a transportation method and a transportation batch according to the area of ​​materials to be transported and the starting point of the materials to be transported; the transportation network includes a node set and a directed edge set; the node set includes a starting node, an ending node, a vertex and a transfer node; A solution model building module is used to use the transportation network, transportation mode and transportation batch to set the constraint conditions of the minimum trade-off time transportation route under multiple transportation networks; and set the sum of the total route time of material transportation, the transit time of material transportation and the departure time of the last transportation batch as the objective function of the minimum trade-off time transportation route under multiple transportation networks; according to the constraint conditions and the objective function, a solution model for the minimum trade-off time transportation route under multiple transportation networks is established A solution model solving module, used for solving the solution model by an improved Dijkstra algorithm to obtain a minimum trade-off time transportation route that considers road travel time, traffic capacity and the number of transport batches; using the improved Dijkstra algorithm to solve the solution model to obtain a minimum trade-off time transportation route, including: setting a first set and a second set in the multi-transportation network; the first set includes the starting point in the multi-transportation network; the second set includes other vertices in the transportation network except the starting point and the trade-off time from the starting point to each vertex; traversing the vertex with the smallest trade-off time in the multi-transportation network from the second set, and adding the vertex with the smallest trade-off time to the first set; updating the trade-off time from the starting point to each vertex in the second set according to the vertex with the smallest trade-off time; judging all vertices in the first set according to a preset judgment rule, and traversing all vertices in the updated second set according to the judgment result until the end point is obtained; calculating the travel time, traffic capacity and the number of transport batches from the starting point to the end point to obtain the minimum trade-off time transportation route; The actual total transportation time calculation module is used to calculate the transportation time of the material area to be transported according to the minimum weighted time transportation route to obtain the actual total transportation time.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Transportation planning method and device, storage medium and processor

    CN111784260A

  • KR20210008213A