Logistics transportation route planning method, system, device and storage medium

By constructing a directed network graph and a heap structure, calculating penalty time, and generating logistics transportation routes, it solves the problems of long calculation time and high computing power in the existing technology, and achieves more efficient logistics transportation route planning.

CN114742267BActive Publication Date: 2024-09-13SHENZHEN LEAPFROG NEW TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The existing logistics transportation process takes a long time to calculate and requires high computing power, which seriously delays the efficiency of logistics planning. Especially for unmaintained and unpopular routes, it is difficult to find routes with the fewest transfer nodes and better timeliness.

Method used

Use the directed network graph based on historical route data to build a directed network graph, set up a heap and traverse the points to be scheduled, calculate the penalty time, sort according to the penalty time, and generate the best route. Use the directed network graph and heap to implement routing planning and reduce computing power requirements.

Benefits of technology

The efficiency and calculation speed of logistics transportation route planning are greatly improved, the generated routes are more efficient, and the demand for computing power is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114742267B
    Figure CN114742267B
Patent Text Reader

Abstract

The present invention discloses a logistics transportation route planning method, system, equipment and storage medium, wherein the method comprises: constructing a directed network graph consisting of a starting point, an end point and intermediate passable nodes based on historical route data; setting a heap, and putting the starting point into the heap; setting the point into the heap as a point to be scheduled; popping out the points to be scheduled in sequence, traversing the destination nodes of the popped out points to be scheduled in the directed network graph, calculating the penalty time of different destination nodes and putting the destination nodes into the heap; popping out and sorting the destination nodes into the heap according to the penalty time from small to large; repeating the above steps until there is no point to be scheduled in the heap; outputting the optimal route of the nodes in the directed network graph from the starting point to the end point determined according to the minimum penalty time. The present invention realizes logistics path query by using a directed network graph and a heap, and has low computing power requirements and fast computing speed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of logistics and transportation technology, and in particular to a logistics and transportation route planning method, system, equipment and storage medium. Background Art

[0002] Logistics routing refers to the network paths and nodes in the process of goods circulation. It is an operation mode that logistics companies maintain regularly. It contains five key information: starting point, departure time, destination, arrival time and travel time. Most logistics companies arrange the logistics transportation process based on these routes. However, it is impossible to maintain all routes between different locations. Some unpopular routes are not maintained. It is necessary to connect the maintained routes in series and calculate the route with the least transfer nodes and better time efficiency.

[0003] However, the logistics transportation process in the existing technology is mostly solved based on dynamic programming or integer programming. These two solutions take a long time to calculate and require high computing power, which seriously delays the efficiency of logistics planning. Summary of the invention

[0004] The present application provides a logistics transportation route planning method, system, device and storage medium to solve the problems of high computing power requirements and poor planning effect of existing logistics transportation.

[0005] In order to solve the above technical problems, a technical solution adopted in the present application is: to provide a logistics transportation route planning method, including: S1, based on historical route data, constructing a directed network graph consisting of the starting point, the end point, and the intermediate passable nodes; S2, setting a heap and putting the starting point into the heap; S3, setting the entry point into the heap as the point to be scheduled; popping out the points to be scheduled in turn, traversing the destination nodes of the popped out points to be scheduled in the directed network graph, calculating the penalty time of different destination nodes and putting the destination nodes into the heap; S4, popping out and sorting the destination nodes into the heap according to the penalty time from small to large; repeating steps S3 to S4 until there are no points to be scheduled in the heap; outputting the best route from the starting point to the end point through the nodes in the directed network graph determined according to the minimum penalty time.

[0006] As a further improvement of the present application, before the scheduling point traverses its destination node, if the destination node has been visited, the destination node is no longer visited.

[0007] As a further improvement of the present application, each route connected by two nodes in the directed network graph includes three routing attributes: pickup, delivery, and trunk line; if the pop-up point to be scheduled is the end node of the delivery route, the pop-up of the end point to be scheduled is ended, and the optimal route is directly output.

[0008] As a further improvement of the present application, the destination node penalty time includes: the penalty time of the point to be scheduled, and the time obtained by penalizing the travel time between the point to be scheduled and the destination node and the transfer time of the point to be scheduled.

[0009] As a further improvement of the present application, when penalizing the travel time and transfer time, if the route between the destination node and the point to be scheduled is a trunk route, the penalty coefficient increases as the number of transfers increases.

[0010] As a further improvement of the present application, if the loading and unloading time of the destination node is greater than the time difference between the departure start time of the destination node and the departure arrival time of the dispatching point, the transit time is the time difference + the preset waiting time.

[0011] As a further improvement of the present application, the actual time spent at the destination is calculated while calculating the penalty time of the destination node.

[0012] To solve the above technical problems, another technical solution adopted by the present application is: to provide a logistics transportation route planning system, including: a construction module, used to construct a directed network graph consisting of a starting point, an end point, and intermediate traversable nodes based on historical route data; a setting module, used to set a heap and put the starting point into the heap; a calculation module, used to set the entry point into the heap as a point to be scheduled; pop out the points to be scheduled in turn, traverse the destination nodes of the popped out points to be scheduled in the directed network graph, calculate the penalty time of different destination nodes and put the destination nodes into the heap; a sorting module, used to pop out and sort the destination nodes in the heap according to the penalty time from small to large; an output module, used to output the best route from the starting point to the end point through the nodes in the directed network graph determined according to the minimum penalty time when there is no point to be scheduled in the heap.

[0013] In order to solve the above technical problems, another technical solution adopted in the present application is: to provide a computer device, the computer device includes a processor and a memory coupled to the processor, the memory stores program instructions, and when the program instructions are executed by the processor, the processor executes the steps of the logistics transportation route planning method as any one of the above items.

[0014] In order to solve the above technical problems, another technical solution adopted by the present application is: providing a storage medium storing program instructions that can implement the above logistics transportation route planning method.

[0015] The beneficial effect of the present application is as follows: the logistics transportation route planning method of the present application constructs a directed network graph of the logistics route by utilizing historical route data. When planning the logistics route, a heap is set, the starting point is put into the heap, and then all the points to be scheduled in the directed network graph are traversed, and the destination nodes are screened and put into the heap. Then, combined with the calculated penalty time, new points to be scheduled are popped out from the heap in order from small to large according to the penalty time to traverse the destination nodes. This cycle is repeated until there are no points to be scheduled in the heap, and the optimal route is generated. It utilizes the directed network graph and the heap to realize route planning, which greatly reduces the requirements for computing power, and has faster calculation speed and higher efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 is a flow chart of a logistics transportation route planning method according to an embodiment of the present invention;

[0017] Figure 2 It is a schematic diagram of functional modules of a logistics transportation route planning system according to an embodiment of the present invention;

[0018] Figure 3 is a schematic diagram of the structure of a computer device according to an embodiment of the present invention;

[0019] Figure 4 It is a schematic diagram of the structure of the storage medium of an embodiment of the present invention. DETAILED DESCRIPTION

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

[0021] The terms "first", "second", "third" in this application are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first", "second", "third" can expressly or implicitly include at least one of the features. In the description of this application, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined. In the embodiments of this application, all directional indications (such as up, down, left, right, front, back...) are only used to explain the relative position relationship, movement, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication also changes accordingly. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the steps or units listed, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices.

[0022] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0023] Figure 1 is a flow chart of a method for logistics transportation route planning according to an embodiment of the present invention. It should be noted that if there are substantially the same results, the method of the present invention is not limited to Figure 1 The process sequence shown is limited. Figure 1 As shown, the method comprises the steps of:

[0024] Step S1: Based on historical route data, a directed network graph consisting of a starting point, an end point, and intermediate traversable nodes is constructed.

[0025] It should be noted that the historical route data is obtained based on the historical routing route adopted by the historical order information. The historical route data includes the starting point, the end point and the intermediate node. Through the historical route data, a directed network graph from the starting point to the end point can be constructed. Each route connected by two nodes in the directed network graph includes three routing attributes: pickup, delivery, and trunk line; further, each edge in the directed network graph includes the departure time of the previous node, the arrival time of the next node, the travel time between the two nodes, the route type between the two nodes (including pickup, delivery and trunk line), and the historical most traveled vehicle type between the two nodes. In this embodiment, the starting point is the pickup point, the end point is the delivery point, the intermediate node is a secondary or primary distribution yard, the pickup point and its accessible nodes are the pickup route, the delivery point and its accessible nodes are the delivery route, and the remaining nodes are all trunk routes for scheme description, but it can be understood that the scheme is not limited to the route division rules defined in this embodiment.

[0026] Step S2: Set up a heap and put the starting point into the heap.

[0027] Specifically, after setting up the heap and initializing it, the starting point is added to the heap; further, the access dictionary, path dictionary, penalty time dictionary, and actual time dictionary are set. Among them, the visited dictionary is used to record the destination nodes that have been visited in the subsequent search for the destination node, and is initialized to unvisited; the path dictionary is used to record the best path from the starting point to a certain node, and is initialized to empty; the penalty time dictionary is used to record the best penalty time from the starting point to a certain node, and is initialized to infinity; the actual time dictionary is used to record the best actual time from the starting point to a certain node, and is initialized to infinity.

[0028] Step S3, setting the entry point as the point to be scheduled; popping out the points to be scheduled in sequence, traversing the destination nodes of the popped out points to be scheduled in the directed network graph, calculating the penalty time of different destination nodes and putting the destination nodes into the pile.

[0029] Step S4: pop out and sort the destination nodes in the heap according to the penalty time from small to large.

[0030] Specifically, when the destination nodes are added to the heap, the destination nodes are sorted from short to long according to the penalty time, and then according to the sorting, the destination nodes are popped out in sequence from short to long according to the penalty time for traversal.

[0031] Repeat steps S3 to S4 until there are no more points to be scheduled in the heap.

[0032] Specifically, the point in the heap is set as the point to be scheduled, and a point to be scheduled is popped out. Combined with the directed network graph, the destination nodes that can be reached by the point to be scheduled are traversed. After calculating the penalty time of the target node, the destination node is added to the heap, and all the nodes in the heap are sorted from small to large according to the penalty time. The destination node with the least penalty time is the next point to be scheduled; the cycle is repeated until there are no scheduling points in the heap.

[0033] In this embodiment, the first point to be scheduled is the starting point that is first put into the heap. At this time, there are no other points to be scheduled in the heap. The starting point and the directed network graph are traversed to confirm the destination node that the starting point can reach. After calculating the penalty time of the destination node, the destination node is put into the heap. If there is a new entry point in the heap, after all the nodes in the heap are sorted from small to large according to the penalty time, the new point to be scheduled is popped out, and the corresponding destination node is traversed, and then the destination node is put into the heap. After all the nodes in the heap are sorted from small to large according to the penalty time, the new point to be scheduled is popped out; and the traversal is repeated in this way.

[0034] Further, in some embodiments, before the to-be-scheduled point traverses its corresponding destination node, if the destination node has been visited, the destination node is no longer visited and put into the heap. For example, there is an existing to-be-scheduled point A, and its corresponding destination nodes are B and C, wherein the route sequence relationship between the to-be-scheduled point A and the destination nodes B and C is that the to-be-scheduled node A can directly reach the destination nodes B and C respectively, or can first reach the destination node B and then reach the destination node C; at this time, it is first determined whether the destination nodes B and C have been visited. If not, the penalty time from the to-be-scheduled point A to the destination nodes B and C is calculated respectively, and then the destination nodes B and C are put into the heap; if the heap is sorted according to the penalty time, the popped-out to-be-scheduled node is B, and the destination nodes corresponding to the to-be-scheduled node B are C and D, then because the destination node C has been visited, and as the previous node A reaching the destination node C is definitely better than node A reaching the destination node B and then C, therefore, at this time, when point B traverses its corresponding target node, it no longer visits the destination node C, and the penalty time from the to-be-scheduled point B to the destination node C is not calculated.

[0035] Specifically, for the destination node that has been traversed, after adding it to the heap, the visited dictionary records it. When the point to be scheduled traverses its destination node, if the destination node has a visited record in the visited dictionary, it will not be visited again, thereby improving the efficiency of route planning.

[0036] Furthermore, since each route connected by two nodes in the directed network graph contains three routing attributes: pickup, delivery, and trunk line; if the pop-up waiting point is the end node of the delivery route, the end waiting point pops up and the best route is directly output.

[0037] Specifically, the points to be scheduled in the heap are popped out in sequence after sorting. Therefore, when the point to be scheduled popped out from the heap is the end node of the delivery route, it means that the destination node of the current point to be scheduled is the end point, and there is no need to perform subsequent route planning for the point to be scheduled. Therefore, the traversal process of the points to be scheduled in the heap can be stopped, and the optimal route of the nodes in the directed network graph from the starting point to the end point determined by the minimum penalty time can be directly output.

[0038] In this embodiment, the control of visited nodes and delivery routes is utilized to plan routes in combination with actual business situations, thereby further saving computing power, optimizing the route planning process, and improving route planning efficiency.

[0039] Furthermore, the destination node penalty time includes: the penalty time of the point to be scheduled, and the time obtained by penalizing the travel time between the point to be scheduled and the destination node and the transfer time of the point to be scheduled.

[0040] Specifically, the calculation formula of the destination node penalty time is:

[0041] cost_time_penalty_new=cost_time_penalty+(wait_time+driver_time)*C;

[0042] Among them, cost_time_penalty_new is the penalty time of the destination node, cost_time_penalty is the penalty time of the point to be scheduled, wait_time is the transfer time of the point to be scheduled, driver_time is the driving time between the point to be scheduled and the destination node, and C is the penalty coefficient. When the point to be scheduled is the starting point, cost_time_penalty is 0. Among them, the transfer time is calculated based on the long-distance running car model of this route obtained from historical data.

[0043] Furthermore, in order to strengthen the control and optimization of the transfer process and thus improve the effect of route planning, when penalizing the driving time and transfer time, if the route between the destination node and the point to be scheduled is a trunk route, the penalty coefficient will increase as the number of transfers increases.

[0044] Specifically, the initial size of the penalty coefficient is pre-set. When the routing attribute between the two nodes is pickup or delivery, the penalty coefficient is the initial size. When the routing attribute between the two nodes is a trunk line, the penalty coefficient is increased as the number of transit times increases. In this embodiment, the initial size of the penalty coefficient is set to 1, and the penalty coefficient of the pickup or delivery route is 1. The next route of the pickup route is a transit route with a penalty coefficient of 2, and the penalty coefficient of the next next route is 3, and they increase successively, thereby utilizing the dynamic change of the penalty coefficient to control the number of transit times, thereby achieving the purpose of optimizing the number of transit times.

[0045] It is understandable that, in some embodiments, if only the optimal timeliness needs to be considered, the penalty coefficient can be set to a fixed value.

[0046] Furthermore, if the loading and unloading time of the destination node is greater than the time difference between the departure start time of the destination node and the departure arrival time of the dispatching point, the transit time is the time difference + the preset waiting time.

[0047] It should be understood that in order to ensure the timeliness of order transportation, the departure start time of the order at each node is pre-set, but the order needs to consume a certain amount of loading and unloading time during the transit process. Therefore, in this embodiment, when calculating the transit time of the to-be-scheduled point in the penalty time of the destination node, it is necessary to further confirm based on the loading and unloading time of the destination node and the time difference between the departure start time of the destination node and the departure and arrival time of the to-be-scheduled point. When the loading and unloading time of the destination node is greater than the time difference between the departure start time of the destination node and the departure and arrival time of the to-be-scheduled point, it means that the current batch of goods cannot complete the transit process before the departure start time of the destination node and needs to wait for the next departure time. Therefore, the corresponding transit time is the time difference plus the preset waiting time, which is the time interval between two departures; and when the loading and unloading time of the destination node is less than or equal to the time difference between the departure start time of the destination node and the departure and arrival time of the to-be-scheduled point, the transit time is the time difference.

[0048] Furthermore, the penalty time of the destination node is calculated while calculating the actual time spent at the destination.

[0049] Specifically, the calculation formula for the actual time spent at the destination is:

[0050] cost_time_new=cost_time+(wait_time+driver_time);

[0051] Among them, cost_time_new is the actual time spent at the destination, cost_time is the actual time spent to the point to be scheduled, wait_time is the transfer time of the point to be scheduled, and driver_time is the driving time between the point to be scheduled and the destination node. Please refer to the above content for the confirmation of transfer time, which will not be repeated here.

[0052] It should be noted that after the optimal route is output, the actual travel time from the starting point to the end point in the optimal route is determined according to the actual time spent.

[0053] Step S5: output the best route of the nodes in the directed network graph from the starting point to the end point determined by minimizing the penalty time.

[0054] Specifically, by looping through steps S3 to S4, all routes from the starting point to the end point can be obtained, and then the best route with the smallest penalty time is selected and output according to the penalty time. It can be understood that when the best route between the starting point and the end point is found, as the points to be scheduled are popped up one by one to traverse the destination node, the visited dictionary, path dictionary, penalty dictionary, and actual time dictionary are continuously recorded and updated. Since detailed recording and updating of information is not the focus of this application, it will not be described in detail.

[0055] The logistics transportation route planning method of the embodiment of the present invention constructs a directed network graph of the logistics route by using historical route data. When planning the logistics route, a heap is set, the starting point is put into the heap, and then all the points to be scheduled in the directed network graph are traversed, and the destination nodes are screened and put into the heap. Then, combined with the calculated penalty time, new points to be scheduled are popped out from the heap in order from small to large according to the penalty time to traverse the destination nodes. This cycle is repeated to generate the best route. It uses the directed network graph and the heap to realize route planning, which greatly reduces the requirements for computing power, and has faster calculation speed and higher efficiency.

[0056] Figure 2 Schematic diagram of the functional modules of the logistics transportation route planning system according to an embodiment of the present invention. Figure 2 As shown, the logistics transportation route planning system 20 includes a construction module 21, a setting module 22, a calculation module 23, a sorting module 24 and an output module 25.

[0057] The construction module 21 is used to construct a directed network graph consisting of the starting point, the end point, and intermediate traversable nodes based on the historical route data.

[0058] The setting module 22 is used to set a pile and put the starting point into the pile.

[0059] The calculation module 23 is used to set the entry point as the point to be scheduled; pop out the points to be scheduled in sequence, traverse the destination nodes of the popped out points to be scheduled in the directed network graph, calculate the penalty time of different destination nodes and enter the destination node into the pile.

[0060] The sorting module 24 is used to pop out and sort the destination nodes in the heap according to the penalty time from small to large.

[0061] The output module 25 is used to output the best route of the nodes in the directed network graph from the starting point to the end point determined by minimizing the penalty time when there is no point to be scheduled in the heap.

[0062] Optionally, before the calculation module 23 traverses the destination node of the to-be-scheduled point, if the destination node has been visited, the destination node is no longer visited.

[0063] Optionally, each route connected by two nodes in the directed network graph includes three routing attributes: pickup, delivery, and trunk line;

[0064] The calculation module 23 is also used to end the pop-up of the to-be-scheduled point and directly output the optimal route if the pop-up to-be-scheduled point is the end node of the delivery route.

[0065] Optionally, the destination node penalty time includes: the penalty time of the point to be scheduled, and the time obtained by penalizing the travel time between the point to be scheduled and the destination node and the transfer time of the point to be scheduled.

[0066] Optionally, the calculation module 23 is further configured to, when penalizing the travel time and the transfer time, increase the penalty coefficient as the number of transfers increases if the route between the destination node and the point to be scheduled is a trunk route.

[0067] Optionally, if the loading and unloading time of the destination node is greater than the time difference between the departure start time of the destination node and the departure arrival time of the scheduling point, the transit time is the time difference + the preset waiting time.

[0068] Optionally, the calculation module 23 is further used to calculate the penalty time of the destination node and the actual time spent at the destination.

[0069] For other details about the technical solutions for implementing each module in the logistics and transportation route planning system in the above embodiment, please refer to the description of the logistics and transportation route planning method in the above embodiment, which will not be repeated here.

[0070] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0071] See also Figure 3 , Figure 3 FIG. 1 is a schematic diagram of the structure of a computer device according to an embodiment of the present invention. Figure 3 As shown, the computer device 30 includes a processor 31 and a memory 32 coupled to the processor 31, wherein program instructions are stored in the memory 32. When the program instructions are executed by the processor 31, the processor 31 executes the steps of the logistics transportation route planning method described in any of the above embodiments.

[0072] The processor 31 may also be referred to as a CPU (Central Processing Unit). The processor 31 may be an integrated circuit chip having signal processing capabilities. The processor 31 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0073] See also Figure 4 , Figure 4 Schematic diagram of the structure of the storage medium of the embodiment of the present invention. The storage medium of the embodiment of the present invention stores program instructions 41 that can implement all the above methods, wherein the program instructions 41 can be stored in the above storage medium in the form of a software product, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes, or computer devices such as computers, servers, mobile phones, tablets, etc.

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

[0075] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional units. The above is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the contents of the specification and drawings of this application, or directly or indirectly used in other related technical fields, is also included in the patent protection scope of the present application.

Claims

1. A logistics transportation route planning method, characterized in that: include: S1. Based on historical route data, a directed network graph consisting of a starting point, an end point, and intermediate passable nodes is constructed; each route connected by two nodes in the directed network graph includes three routing attributes: pickup, delivery, and trunk routes; the route between the pickup point and its passable nodes is the pickup route, the route between the delivery point and its passable nodes is the delivery route, and the routes between the remaining nodes are trunk routes; S2, set up a heap and put the starting point into the heap; S3, setting the entry point as the point to be scheduled; popping out the points to be scheduled in sequence, traversing the destination nodes of the popped out points to be scheduled in the directed network graph, calculating the penalty time of different destination nodes and putting the destination nodes into the pile; If the popped-up point to be dispatched is the end node of the delivery route, the pop-up of the point to be dispatched is terminated, and the optimal route is directly output; the penalty time includes the penalty time of the point to be dispatched, and the time obtained by penalizing the travel time between the point to be dispatched and the destination node and the transit time of the point to be dispatched; When penalizing the travel time and transfer time, if the route between the destination node and the point to be scheduled is a trunk route, the penalty coefficient increases as the number of transfers increases; S4, pop out and sort the destination nodes in the heap according to the penalty time from small to large; Repeat steps S3 to S4 until there are no points to be scheduled in the heap; output the best route of the nodes in the directed network graph from the starting point to the end point determined by the minimum penalty time.

2. The logistics transportation route planning method according to claim 1 is characterized in that: Before the scheduling point traverses its destination node, if the destination node has been visited, the destination node will not be visited again.

3. The method for logistics transportation route planning according to claim 1, characterized in that: If the loading and unloading time of the destination node is greater than the time difference between the departure start time of the destination node and the departure arrival time of the dispatching point, the transit time is the time difference + the preset waiting time.

4. The method for logistics transportation route planning according to claim 1, characterized in that: While calculating the penalty time of the destination node, the actual time spent at the destination is also calculated.

5. A logistics transportation route planning system, characterized in that: include: A construction module is used to construct a directed network graph consisting of a starting point, an end point, and intermediate passable nodes based on historical route data; each route connected by two nodes in the directed network graph includes three route attributes: pickup, delivery, and trunk route; the route between the pickup point and its passable nodes is the pickup route, the route between the delivery point and its passable nodes is the delivery route, and the routes between the remaining nodes are trunk routes; The setup module is used to set the heap and put the starting point into the heap; A calculation module is used to set the entry point as a point to be scheduled; pop out the points to be scheduled in sequence, traverse the destination nodes of the popped out points to be scheduled in the directed network graph, calculate the penalty time of different destination nodes and put the destination nodes into the pile; If the popped-up point to be dispatched is the end node of the delivery route, the pop-up of the point to be dispatched is terminated, and the optimal route is directly output; the penalty time includes the penalty time of the point to be dispatched, and the time obtained by penalizing the travel time between the point to be dispatched and the destination node and the transit time of the point to be dispatched; When penalizing the travel time and transfer time, if the route between the destination node and the point to be scheduled is a trunk route, the penalty coefficient increases as the number of transfers increases; The sorting module is used to pop out and sort the destination nodes in the heap according to the penalty time from small to large; The output module is used to output the optimal route of the nodes in the directed network graph from the starting point to the end point determined by the minimum penalty time when there is no point to be scheduled in the heap.

6. A computer device, characterized in that: The computer device includes a processor and a memory coupled to the processor, wherein program instructions are stored in the memory. When the program instructions are executed by the processor, the processor executes the steps of the logistics transportation route planning method as described in any one of claims 1 to 4.

7. A storage medium, characterized in that: Program instructions capable of implementing the logistics transportation route planning method as described in any one of claims 1-4 are stored.