Logistics route planning method and device

The two-stage method is used to plan the logistics path, combined with the transfer information of the sorting center and the departure frequency of the station, which solves the problem that the existing algorithm does not consider practical factors, improves the rationality and efficiency of the logistics path, and reduces the cost.

CN112116120BActive Publication Date: 2024-09-20BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910537863.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-06-20
Publication Date
2024-09-20
Estimated Expiration
2039-06-20

AI Technical Summary

Technical Problem

The existing shortest path planning algorithm fails to consider actual factors such as sorting waves and departure shifts, making it inapplicable in actual logistics distribution scenarios. Manually planned logistics paths are inefficient and costly.

Method used

A two-stage method is used to plan the logistics path. First, the optimal path between sorting is determined based on the transfer information of the sorting center. Then the optimal logistics path between cities is constructed based on the starting site, the optimal path between sorting and the end site, taking into account sorting. Center transfer information and station departure times.

Benefits of technology

It improves the rationality and planning efficiency of logistics routes, reduces labor costs, and shortens transportation time and logistics costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112116120B
    Figure CN112116120B
Patent Text Reader

Abstract

The present invention discloses a logistics path planning method and device, and relates to the field of computer technology. The method comprises: for each sorting center in a sorting center set, determining the optimal path of the sorting room starting from the sorting center according to the transit information of the sorting center; for each city in a city set, selecting a starting site from the sites under the jurisdiction of the city; constructing the optimal logistics path under the first path type according to the starting site, the optimal path of the sorting room connected to the starting site, and the end site. Through the above steps, the rationality of the planned logistics path can be improved, the planning efficiency of the logistics path can be improved, and the manpower cost consumed in planning the logistics path can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a logistics path planning method and device. Background Art

[0002] The logistics distribution network includes two types of nodes: receiving and sending stations (referred to as "stations") and sorting centers. The functions of the station include: first, sending collected express parcels to the sorting center to complete the customer's delivery task; second, receiving express parcels sent by the sorting center to complete the corresponding delivery task. The sorting center provides a "transit" function to receive express parcels from the station or the previous sorting center, then sort the express parcels, and then send the sorted express parcels to the next sorting center or station. In actual business scenarios, there are often multiple departure shifts between sorting centers, and between stations and sorting centers, and a sorting center often has different sorting waves. In other words, departure or sorting can only be carried out when the specified time arrives.

[0003] The inter-city logistics route refers to the transportation route starting from a station in the initial city, passing through one or more sorting centers, and arriving at a station in the destination city. With the continuous improvement of the logistics distribution network, the reasonable planning of inter-city logistics routes can shorten the transportation time and reduce the logistics cost.

[0004] There are many shortest path planning algorithms in the prior art, such as Dijkstra algorithm, SPFA (Shortest Path Faster Algorithm) algorithm, etc., which can automatically plan logistics paths. In addition, in actual business scenarios, staff can also manually plan logistics paths based on experience.

[0005] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art: First, the existing shortest path planning algorithm is mainly used to solve the shortest path problem under unconstrained conditions. It does not consider the influence of actual factors such as sorting waves and departure shifts, and is not suitable for actual logistics distribution scenarios; Second, the efficiency of manual planning of logistics paths is relatively low, and it is impossible to complete the construction of a large number of logistics paths in a short time, and it often requires a high level of experience from the staff. Summary of the invention

[0006] In view of this, the present invention provides a logistics path planning method and device, which can improve the rationality of the planned logistics path, improve the planning efficiency of the logistics path, and reduce the manpower cost consumed in planning the logistics path.

[0007] To achieve the above objective, according to one aspect of the present invention, a logistics path planning method is provided.

[0008] The logistics path planning method of the present invention comprises: for each sorting center in a sorting center set, determining an optimal path between sorting centers starting from the sorting center according to the transit information of the sorting center; wherein the transit information of the sorting center comprises at least one of the following: sorting wave information, departure schedule information of the sorting center; for each city in a city set, selecting a starting site from sites under the jurisdiction of the city; constructing an optimal logistics path under a first path type according to the starting site, the optimal path between sorting centers connected to the starting site, and the last site; wherein the last site and the starting site are located in different cities; the first path type is an inter-city logistics path passing through a starting site, a plurality of sorting centers, and a last site.

[0009] Optionally, the method also includes: constructing an optimal logistics path under a second path type based on the starting site, the sorting center connected to the starting site, and the end site; generating and saving an optimal logistics path between cities based on the optimal logistics path under the first path type and the optimal logistics path under the second path type; wherein the second path type is an inter-city logistics path passing through a starting site, a sorting center and an end site.

[0010] Optionally, the step of determining, for each sorting center in the sorting center set, the optimal sorting room path starting from the sorting center according to the transit information of the sorting center includes: for each sorting center in the sorting center set, determining all departure times of the sorting center; for each departure time, determining the sorting room path starting from the sorting center within the departure time according to the transit information of the sorting center, and then screening out the optimal sorting room path starting from the sorting center within the departure time from the sorting room paths according to the sorting room path cost information.

[0011] Optionally, for each departure time, the steps of determining the sorting room path starting from the sorting center at the departure time according to the transit information of the sorting center, and then selecting the optimal sorting room path starting from the sorting center at the departure time from the sorting room path according to the sorting room path cost information include: step S11, taking any sorting center in the sorting center set as the first sorting center, saving the next sorting center that the first sorting center can directly send to within the departure time into a queue, and recording the sorting room path starting from the first sorting center and ending with the sorting center in the queue as the end of sorting and the corresponding path cost information; step S12, taking a sorting center from the queue, and taking the taken sorting center as the second sorting center; judging whether the second sorting center has a next sorting center that can be directly sent to according to the transit information of the sorting center; step S13, if the second sorting center has a next sorting center that can be directly sent to, and the next sorting center that the second sorting center can directly send to is not in the queue, taking the sorting center from the queue. The next sorting center that the second sorting center can directly send to is taken as the third sorting center, the third sorting center is saved in the queue, and the current sorting room path and the corresponding path cost information are recorded; wherein, the current sorting room path is a path starting from the first sorting center, passing through the second sorting center to the third sorting center; step S14, when there is a next sorting center that the second sorting center can directly send to, and the next sorting center that the second sorting center can directly send to already exists in the queue, the next sorting center that the second sorting center can directly send to is taken as the third sorting center, the current sorting room path is compared with the path cost of the sorting room path that is recorded before with the first sorting center as the starting point and the third sorting center as the end point, and the recorded sorting room path and path cost information are updated when the comparison result meets the preset update condition; step S15, iteratively execute steps S12 to S14 until the queue is empty, and take the finally recorded sorting room path as the optimal path of the sorting room starting from the sorting center within the departure time.

[0012] Optionally, the path cost information of the sorting room path includes: time required to reach the final sorting, and the number of sorting centers passed through; the step of updating the recorded sorting room path and path cost information when the comparison result meets the preset update condition includes: when the time required for the current sorting room path to reach the final sorting is less than the previously recorded sorting room path, updating the recorded sorting room path and path cost information; when the time required for the current sorting room path to reach the final sorting is equal to the previously recorded sorting room path, and the number of sorting centers passed through by the current sorting room path is less than the previously recorded sorting room path, updating the recorded sorting room path and path cost information.

[0013] Optionally, the method further includes: monitoring the logistics network configuration information in the database; when changes are detected in the logistics network configuration information, determining whether the changes affect the optimal logistics path between the cities; if the changes affect the optimal logistics path between the cities, replanning the optimal logistics path between the cities and saving it; wherein the logistics network configuration information includes: transit information of the sorting center and station departure schedule information.

[0014] To achieve the above objective, according to another aspect of the present invention, a logistics path planning device is provided.

[0015] The logistics path planning device of the present invention comprises: a determination module, which is used to determine, for each sorting center in a sorting center set, the optimal path between sorting centers starting from the sorting center according to the transit information of the sorting center; wherein the transit information of the sorting center includes at least one of the following: sorting wave information, departure schedule information of the sorting center; a construction module, which is used to select a starting site from the sites under the jurisdiction of each city in a city set; and is also used to construct an optimal logistics path under a first path type according to the starting site, the optimal path between sorting centers connected to the starting site, and the end site; wherein the end site and the starting site are located in different cities; the first path type is an inter-city logistics path passing through the starting site, multiple sorting centers and the end site.

[0016] Optionally, the device also includes: a generation module; the construction module is further used to construct an optimal logistics path under a second path type based on the starting site, the sorting center connected to the starting site, and the end site; wherein the second path type is an inter-city logistics path passing through the starting site, a sorting center and the end site; the generation module is used to generate and save the optimal logistics path between cities based on the optimal logistics path under the first path type and the optimal logistics path under the second path type.

[0017] Optionally, the determining module determines, for each sorting center in the sorting center set, the optimal sorting room path starting from the sorting center according to the transit information of the sorting center, including: for each sorting center in the sorting center set, the determining module determines all departure times of the sorting center; for each departure time, the determining module determines, according to the transit information of the sorting center, the sorting room path starting from the sorting center within the departure time, and then selects the optimal sorting room path starting from the sorting center within the departure time from the sorting room paths according to the sorting room path cost information.

[0018] Optionally, the device also includes: a dynamic adjustment module, which is used to monitor the logistics network configuration information in the database; and is also used to determine whether the change affects the optimal logistics path between the cities when the logistics network configuration information is monitored to change; and, if the change affects the optimal logistics path between the cities, re-plan the optimal logistics path between the cities and save it; wherein the logistics network configuration information includes: transit information of the sorting center and station departure schedule information.

[0019] To achieve the above objective, according to another aspect of the present invention, an electronic device is provided.

[0020] The electronic device of the present invention comprises: one or more processors; and a storage device for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement the logistics path planning method of the present invention.

[0021] To achieve the above objective, according to yet another aspect of the present invention, a computer readable medium is provided.

[0022] The computer-readable medium of the present invention stores a computer program thereon, and when the program is executed by a processor, the logistics path planning method of the present invention is implemented.

[0023] One embodiment of the above invention has the following advantages or beneficial effects: The present invention adopts a two-stage method to plan the optimal logistics path under the first path type, specifically including: first, for each sorting center in the sorting center set, determine the optimal path of the sorting room starting from the sorting center according to the transit information of the sorting center; then, for each city in the city set, select the starting site from the sites under the jurisdiction of the city, and construct the optimal logistics path under the first path type according to the starting site, the optimal path of the sorting room connected to the starting site, and the end site. Through the above steps, not only the rationality of the planned logistics path can be improved, but also the planning efficiency of the logistics path can be improved, and the manpower cost consumed in planning the logistics path can be reduced.

[0024] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.

[0026] Figure 1 1 is a schematic diagram of the main process of the logistics path planning method according to the first embodiment of the present invention;

[0027] Figure 2is a schematic diagram of the main process of the logistics path planning method according to the second embodiment of the present invention;

[0028] Figure 3 This is a schematic diagram of the main process of determining the optimal path of the sorting room according to the second embodiment of the present invention;

[0029] Figure 4 This is a schematic diagram of the main process of constructing an optimal logistics path under the first path type based on the optimal path between sorting rooms according to the second embodiment of the present invention;

[0030] Figure 5 Schematic diagram of main modules of a logistics path planning device according to Embodiment 3 of the present invention;

[0031] Figure 6 Schematic diagram of main modules of a logistics path planning device according to a fourth embodiment of the present invention;

[0032] Figure 7 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;

[0033] Figure 8 It is a schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present invention. DETAILED DESCRIPTION

[0034] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0035] It should be pointed out that the embodiments of the present invention and the features in the embodiments may be combined with each other if there is no conflict.

[0036] Figure 1 1 is a schematic diagram of the main flow of the logistics path planning method according to the first embodiment of the present invention. The method of the embodiment of the present invention can be executed by a logistics path planning device. In specific implementation, the logistics path planning device can execute after receiving a call request. Figure 1 As shown in the process. Figure 1 As shown, the logistics path planning method of the embodiment of the present invention includes:

[0037] Step S101: for each sorting center in the sorting center set, determine the optimal sorting path between the sorting centers starting from the sorting center according to the transit information of the sorting center.

[0038] Among them, the sorting room path can be understood as the path between two sorting centers, and the optimal path of the sorting room can be understood as the optimal path between the two sorting centers planned. In this step, for each sorting center in the sorting center set, all sorting room paths starting from the sorting center can be determined according to the transit information of the sorting center, and the optimal path of the sorting room can be selected from the sorting room paths according to the path cost information. Specifically, when there is only one path between the two sorting rooms, the path can be used as the optimal path of the sorting room; when there are multiple paths between the two sorting rooms, the path with the smallest path cost can be used as the optimal path of the sorting room. For example, assuming that the sorting set includes three sorting centers, namely, sorting center A, sorting center B, and sorting center C, for sorting center A, there are the following sorting room paths starting from it: the path between AB, specifically the path from sorting center A to sorting center B; the path between AC, specifically the path from sorting center A to sorting center B to sorting center C, and the path from sorting center A to sorting center C. Since there is only one path between AB, it can be directly used as the optimal path between AB. For the two paths between AC, one path can be selected as the optimal path between AC by comparing the path costs of the two paths.

[0039] The transit information of the sorting center includes at least one of the following: sorting wave information and the departure schedule information of the sorting center. Further, the sorting wave information may include the sorting start time and the sorting end time; the departure schedule information of the sorting center may include the departure start time and the arrival time, as well as the departure starting point and the end point.

[0040] Furthermore, before step S101, the method of the embodiment of the present invention may further include the following steps: determining a set of sorting centers. In one example, the information such as the set of sorting centers may be directly carried in the call request. Then, after receiving the call request, the logistics path planning device may determine the set of sorting centers by parsing the call request. In another example, the information such as the set of sorting centers may not be carried in the call request. Then, after receiving the call request, the logistics path planning device may determine the set of sorting centers by querying a database.

[0041] Step S102: For each city in the city set, select a starting site from the sites under the jurisdiction of the city.

[0042] For example, for each city in the city set, all the stations (or “receiving and sending stations”) contained in the city can be determined first, and then the stations that can directly reach the sorting center (or “stations with departure schedules to the sorting center”) can be screened out, and the screened out stations can be used as starting stations.

[0043] Step S103: construct an optimal logistics path under the first path type according to the starting site, the optimal path of the sorting room connected to the starting site, and the end site.

[0044] Exemplarily, in this step, the optimal path of the sorting room connected to the starting station can be determined according to the departure schedule information of the starting station, and the last station connected to the starting station can be determined according to the departure schedule information of the last sorting center in the optimal path of the connected sorting room. Then, a candidate logistics path can be constructed based on the starting station, the optimal path of the sorting room connected to the starting station, and the last station, and the optimal logistics path under the first path type can be selected from the candidate logistics paths. Specifically, when there is only one candidate logistics path between two cities, the candidate logistics path can be used as the optimal logistics path under the first path type; when there are multiple candidate logistics paths between the two cities, the optimal logistics path under the first path type can be selected from the multiple candidate logistics paths according to the preset screening conditions. Among them, the last station and the starting station are located in different cities; the first path type is an inter-city logistics path that passes through the starting station, multiple sorting centers and the last station.

[0045] In the embodiment of the present invention, a two-stage method is used to plan the optimal logistics path under the first path type, which mainly includes: the first stage: determining the optimal path between sorting rooms, and the second stage: constructing the optimal logistics path belonging to the first path type based on the starting station, the optimal path between sorting rooms, and the end station. Considering that the number of stations in a city is often much larger than the number of sorting centers, the two-stage method proposed in the present invention can greatly shorten the time required for logistics planning, improve the planning efficiency of logistics paths, and reduce the manpower cost of planning logistics paths, compared with the method of directly constructing the optimal logistics path from the stations in the city; in addition, since the two-stage method proposed in the present invention takes into account the influence of the transit information of the sorting center, it can improve the rationality of the planned logistics path, thereby helping to shorten transportation time and reduce logistics costs.

[0046] Figure 2 FIG. 1 is a schematic diagram of the main flow of the logistics path planning method according to the second embodiment of the present invention. Figure 2 As shown, the logistics path planning method of the embodiment of the present invention includes:

[0047] Step S201: for each sorting center in the sorting center set, determine the optimal sorting path between the sorting centers starting from the sorting center according to the transit information of the sorting center.

[0048] The sorting room path can be understood as the path between two sorting centers, and the optimal sorting room path can be understood as the planned optimal path between the two sorting centers.

[0049] Exemplarily, step S201 includes: for each sorting center in the sorting center set, determining all departure times of the sorting center; for each departure time, determining the sorting room path starting from the sorting center within the departure time according to the transfer information of the sorting center, and then filtering out the optimal sorting room path starting from the sorting center within the departure time from the sorting room path according to the sorting room path cost information. For example, assuming that the departure time of sorting center A is 21:30 and 22:00, the optimal sorting room path starting from the sorting center at the departure time can be determined for each departure time.

[0050] Further, in the above example, the step of selecting the optimal path of the sorting room starting from the sorting center within the departure time from the sorting room paths according to the sorting room path cost information includes: if there is only one path from the sorting center to another sorting center within the departure time, then the path may be used as the optimal path between the two sorting centers; if there are multiple paths from the sorting center to another sorting center within the departure time, then the path with the smallest path cost may be used as the optimal path between the two sorting centers.

[0051] Among them, the transit information of the sorting center includes: sorting wave information, and the departure shift information of the sorting center. Further, the sorting wave information may include the sorting start time and the sorting end time; the departure shift information of the sorting center may include the departure start time and the arrival time, as well as the departure starting point and the end point. For example, sorting center A has two sorting waves and four departure shifts, specifically: the sorting wave from 18:00 to 20:00, the sorting wave from 21:00 to 23:00, the departure shift from sorting center A to sorting center B from 21:30 to 22:30, and the departure shift from sorting center A to sorting center C from 21:30 to 23:00; the departure shift from sorting center A to sorting center B from 22:00 to 23:00, and the departure shift from sorting center A to sorting center C from 22:00 to 23:00.

[0052] Furthermore, before step S201, the method of the embodiment of the present invention may further include the following steps: determining a set of sorting centers. In one example, the information such as the set of sorting centers may be directly carried in the call request. Then, after receiving the call request, the logistics path planning device may determine the set of sorting centers by parsing the call request. In another example, the information such as the set of sorting centers may not be carried in the call request. Then, after receiving the call request, the logistics path planning device may determine the set of sorting centers by querying a database.

[0053] Step S202: For each city in the city set, select a starting site from the sites under the jurisdiction of the city.

[0054] For example, for each city in the city set, all the stations (or “receiving and sending stations”) contained in the city can be determined first, and then the stations that can directly reach the sorting center (or “stations with departure schedules to the sorting center”) can be screened out, and the screened out stations can be used as starting stations.

[0055] Step S203: construct an optimal logistics path under the first path type according to the starting site, the optimal path of the sorting room connected to the starting site, and the end site.

[0056] Exemplarily, in this step, the optimal path of the sorting room connected to the starting station can be determined according to the departure schedule information of the starting station, and the last station connected to the starting station can be determined according to the departure schedule information of the last sorting center in the optimal path of the connected sorting room. Then, a candidate logistics path can be constructed based on the starting station, the optimal path of the sorting room connected to the starting station, and the last station, and the optimal logistics path under the first path type can be selected from the candidate logistics paths. Specifically, when there is only one candidate logistics path between two cities, the candidate logistics path can be used as the optimal logistics path under the first path type; when there are multiple candidate logistics paths between the two cities, the optimal logistics path under the first path type can be selected from the multiple candidate logistics paths according to the preset screening conditions. Among them, the last station and the starting station are located in different cities; the first path type is an inter-city logistics path that passes through the starting station, multiple sorting centers and the last station.

[0057] Step S204: construct an optimal logistics path under the second path type according to the starting site, the sorting center connected to the starting site, and the end site.

[0058] For example, in this step, the sorting center connected to the starting station can be determined according to the departure schedule information of the starting station, and the terminal station connected to the starting station can be determined according to the transit information of the sorting center, and then a candidate logistics path can be constructed based on the starting station, the sorting center connected to the starting station, and the terminal station, and the optimal logistics path under the second path type can be selected from the candidate logistics paths. The second path type is an inter-city logistics path passing through the starting station, a sorting center, and the terminal station.

[0059] Step S205: Generate and save the optimal logistics path between cities based on the optimal logistics path under the first path type and the optimal logistics path under the second path type.

[0060] Exemplarily, this step may specifically include: if there is only an optimal logistics path under the first path type between two cities, then use it as the optimal logistics path between the cities; if there is only an optimal logistics path under the second path type between the two cities, then use it as the optimal logistics path between the cities; if there is an optimal logistics path under the first path type and an optimal logistics path under the second path type between the two cities, then the one with the lower path cost can be used as the optimal logistics path between the cities.

[0061] Furthermore, the method of the embodiment of the present invention may also include the following steps: monitoring the logistics network configuration information in the database; when it is monitored that the logistics network configuration information has changed, determining whether the change has an impact on the optimal logistics path between the cities; if the change has an impact on the optimal logistics path between the cities, re-planning the optimal logistics path between the cities and saving it; wherein the logistics network configuration information includes: transit information of the sorting center and station departure schedule information.

[0062] Further, the step of judging whether the change affects the optimal logistics path between the cities may include: when the departure schedule of the sorting center changes, relevant sorting centers may be searched according to the changed departure schedule information; if the original optimal logistics path between the cities does not pass through these sorting centers, it can be considered that the change has no impact on the optimal logistics path between the cities; if the original optimal logistics path between the cities does not pass through these sorting centers, it can be considered that the change has an impact on the optimal logistics path between the cities; when the sorting center is cancelled, if the original optimal logistics path between the cities does not pass through the cancelled sorting center, it can be considered that the change has no impact on the optimal logistics path between the cities; if the original optimal logistics path between the cities passes through the cancelled sorting center, it can be considered that the change has an impact on the optimal logistics path between the cities.

[0063] In an embodiment of the present invention, by monitoring the logistics network configuration information in the database and other steps, when the logistics network configuration information changes and the change affects the previously planned optimal logistics path between cities, the optimal logistics path between cities can be automatically replanned and saved, thereby meeting the needs of dynamic planning and adjustment of the logistics path.

[0064] In the embodiment of the present invention, by adopting the two-stage method to plan the optimal logistics path under the first path type, the time required for logistics planning can be greatly shortened, the planning efficiency of the logistics path can be improved, and the manpower cost consumed in planning the logistics path can be reduced; in addition, since the two-stage method proposed in the present invention takes into account the influence of the transit information of the sorting center, the rationality of the planned logistics path can be improved, which helps to shorten the transportation time and reduce the logistics cost; in addition, considering that there may be logistics paths between some cities that only need to pass through one sorting center, the optimal logistics path under the second path type is constructed through step S204, and the optimal logistics path between cities is generated through step S205, which can further improve the rationality of path planning.

[0065] Figure 3 It is a schematic diagram of the main process of determining the optimal path of the sorting room according to the second embodiment of the present invention. Figure 3 It is aimed at Figure 2 The detailed description of step S201 in the embodiment shown in FIG. Figure 3 As shown, the process of determining the optimal path of the sorting room in the embodiment of the present invention includes:

[0066] Step S301: save the next sorting center that the first sorting center can directly send to within the departure time into a queue, and record the sorting path starting from the first sorting center and ending with the sorting center in the queue and the corresponding path cost information. The first sorting center may be any sorting center in the sorting center set.

[0067] The path cost information may include: the time required to reach the final sorting, and / or the number of sorting centers passed through. For example, assuming that the first sorting center is specifically sorting center A, and the sorting centers it can directly reach are {sorting center B, sorting center C}, then sorting center B and sorting center C can be saved in the queue, and the following sorting room paths and path cost information are recorded: AB, T[AB], d[AB]; AC, T[AC], d[AB]. Among them, "AB" represents the sorting room path from sorting center A to sorting center B, T[AB] represents the time required for the sorting room path "AB" to reach the final sorting; d[AB] represents the number of sorting centers passed by the sorting room path "AB", "AC" represents the sorting room path from sorting center A to sorting center C, T[AC] represents the time required for the sorting room path "AC" to reach the final sorting; d[AC] represents the number of sorting centers passed by the sorting room path "AC".

[0068] Step S302: Take out a sorting center from the queue, and use the taken out sorting center as the second sorting center.

[0069] In this step, a sorting center can be taken out from the head of the queue. For example, assuming that sorting center B and sorting center C are stored in the current queue from the head to the tail, sorting center B can be taken out from the head of the queue.

[0070] Step S303: Determine whether the second sorting center has a next sorting center to which the second sorting center can be directly sent. If yes, execute step S304; if no, execute step S309.

[0071] In this step, it can be determined whether the second sorting center has a next sorting center to which it can be directly sent based on the transit information of the sorting center, specifically including: first determining the arrival time from the first sorting center to the second sorting center, then determining the earliest time t1 at which the second sorting center can complete sorting based on the arrival time, and then determining whether the second sorting center has a departure shift after t1. If the second sorting center does not have a departure shift after t1, it is considered that there is no next sorting center to which the second sorting center can be directly sent; if the second sorting center has a departure shift after t1, it is considered that the second sorting center has a next sorting center to which it can be directly sent.

[0072] Step S304: Determine whether the next sorting center to which the second sorting center can directly send the mail is in the queue. If yes, execute step S306; if not, execute step S305.

[0073] Step S305: The next sorting center that the second sorting center can directly send to is used as the third sorting center, and the third sorting center is saved in the queue, and the current sorting room path and the corresponding path cost information are recorded. The current sorting room path refers to the path from the first sorting center to the third sorting center via the second sorting center. After step S305, step S309 can be executed.

[0074] For example, assuming that the first sorting center is sorting center A, the second sorting center is sorting center B, and the third sorting center determined according to step S303 is sorting center D, and there is only sorting center C in the current queue, then sorting center D can be saved in the queue, and the following sorting room path and path cost information are recorded: ABD, T[ABD], d[ABD]. Among them, "ABD" represents the sorting room path from sorting center A to sorting center D through sorting center B, T[ABD] represents the time required for the sorting room path "ABD" to reach the end of sorting; d[ABD] represents the number of sorting centers that the sorting room path "ABD" passes through.

[0075] Step S306: The next sorting center that the second sorting center can directly send to is taken as the third sorting center, and the path cost of the current sorting room path is compared with the path cost of the previously recorded sorting room path that starts with the first sorting center and ends with the third sorting center. The current sorting room path is a path starting from the first sorting center and passing through the second sorting center to the third sorting center. After step S306, step S307 can be executed.

[0076] For example, assuming that the first sorting center is sorting center A, the second sorting center is sorting center B, the third sorting center determined according to step S303 is sorting center C, and sorting center C already exists in the current queue, the current sorting room path "ABC" and the corresponding path cost information can be determined first, and then the current sorting room path "ABC" is compared with the path cost information of the previously recorded sorting room path "AC".

[0077] Step S307: Determine whether the comparison result meets the preset update condition. If yes, execute step S308; if no, execute step S309.

[0078] Exemplarily, the step of judging whether the comparison result meets the preset update condition includes: step a, judging whether the time required for the current sorting room path to reach the final sorting is less than the previously recorded sorting room path; if the judgment result of step a is yes, executing step S308; if the judgment result of step a is no, executing step b; step b: judging whether the number of sorting centers passed by the current sorting room path is less than the previously recorded sorting room path; if the judgment result of step b is yes, executing step S308; if the judgment result of step b is no, executing step S309.

[0079] Step S308: Update the recorded sorting room path and path cost information.

[0080] For example, assuming that the time required for the current sorting room path "ABC" to reach the final sorting is less than the previously recorded sorting room path "AC", the sorting room path with sorting center A as the starting sorting and sorting center C as the final sorting can be updated from "AC, T[AC], d[AC]" to "ABC, T[ABC], d[ABC]".

[0081] Step S309: Determine whether the queue is empty. If so, execute step S310; if not, execute step S302 again.

[0082] Step S310: The finally recorded sorting room path is used as the optimal sorting room path starting from the sorting center at the departure time.

[0083] In the embodiment of the present invention, through the above steps, the optimal path between sorting centers can be constructed for each departure time, starting from the sorting center at the departure time, thereby solving the problem caused by the non-uniform departure time of the sorting center in the logistics path planning; at the same time, since the influence of factors such as the departure schedule and the sorting wave of the sorting center are comprehensively considered in the above steps, the constructed optimal path between sorting centers is more reasonable, which helps to improve the rationality of the finally planned inter-city logistics path.

[0084] Figure 4 It is a main flow chart of constructing an optimal logistics path under the first path type based on the optimal path between sorting rooms according to the second embodiment of the present invention. Figure 4 Yes Figure 2 Detailed description of step S202 and step S203 in the illustrated embodiment.

[0085] like Figure 4 As shown, the process of constructing the first optimal logistics path based on the optimal path between sorting rooms in the embodiment of the present invention includes:

[0086] Step S401: For city B in the city set i , select the starting site from the sites under the jurisdiction of the city, and then get the starting site set Y s .

[0087] Among them, city B i It can be any city in the city set. In this step, all the stations (or "receiving and sending stations") contained in the city can be determined first, and then the stations that can directly reach the sorting center (or "stations with departure schedules to the sorting center") are selected, and the selected stations are used as the starting stations, so as to obtain the starting station set Y s .

[0088] Step S402: For the starting site set Y s The starting site Y in sj , according to site Y sj The departure schedule information determines the set of sorting centers that it can directly reach F s .

[0089] Step S403: Filter out the set F s The sorting center in is the optimal path between sorting centers of the starting sorting center.

[0090] In this step, the optimal paths of all sorting rooms determined in step S201 can be selected from the set F. s The sorting center in is the optimal path between sorting centers of the starting sorting center.

[0091] Step S404: Based on the departure schedule information of the last sorting center in the selected optimal path between sorting rooms, determine the reachable last station set Y e .

[0092] Step S405: construct a sorting path from city B based on the starting site set, the selected optimal path between sorting rooms, and the ending site set. i Multiple candidate logistics routes for departure.

[0093] Step S406: Filter out the logistics routes from city B from the plurality of candidate logistics routes according to the preset screening conditions. i The optimal logistics path under the first path type of departure.

[0094] For example, step S406 may specifically include: calculating the path costs of the multiple candidate logistics paths, and then determining the path from city B to city B according to the comparison results of the path costs of the multiple candidate logistics paths. i The optimal logistics path under the first path type of departure.

[0095] In the embodiment of the present invention, the first optimal logistics path can be constructed based on the optimal path between sorting through the above steps. Since the influence of factors such as the station departure schedule and the sorting center departure schedule are comprehensively considered in the above steps, it is helpful to improve the rationality of the planned inter-city logistics path.

[0096] Figure 5 Schematic diagram of the main modules of the logistics path planning device according to the third embodiment of the present invention. Figure 5 As shown, the logistics path planning device 500 of the embodiment of the present invention includes: a determination module 501 and a construction module 502.

[0097] The determination module 501 is used to determine, for each sorting center in the sorting center set, the optimal sorting path from the sorting center according to the transit information of the sorting center.

[0098] Among them, the sorting room path can be understood as the path between two sorting centers, and the optimal path of the sorting room can be understood as the planned optimal path between the two sorting centers. Exemplarily, for each sorting center in the sorting center set, the determination module 501 can determine all the sorting room paths starting from the sorting center according to the transit information of the sorting center, and select the optimal path of the sorting room from the sorting room paths according to the path cost information. Specifically, when there is only one path between the two sorting rooms, the determination module 501 can use the path as the optimal path of the sorting room; when there are multiple paths between the two sorting rooms, the determination module 501 can use the path with the smallest path cost as the optimal path of the sorting room.

[0099] For example, assuming that the sorting set includes three sorting centers, namely, sorting center A, sorting center B, and sorting center C, there are the following sorting paths starting from sorting center A: the path between AB, specifically the path from sorting center A to sorting center B; the path between AC, specifically the path from sorting center A to sorting center B to sorting center C, and the path from sorting center A to sorting center C. Since there is only one path between sorting center A and sorting center B, it can be directly used as the optimal path between sorting center A and sorting center B. For the two paths between sorting center A and sorting center C, one path can be selected as the optimal path between sorting center A and sorting center C by comparing the path costs of the two paths.

[0100] The transit information of the sorting center includes at least one of the following: sorting wave information and the departure schedule information of the sorting center. Further, the sorting wave information may include the sorting start time and the sorting end time; the departure schedule information of the sorting center may include the departure start time and the arrival time, as well as the departure starting point and the end point.

[0101] Furthermore, the determination module 501 is also used to determine the set of sorting centers before executing the determination of the optimal path between sorting centers starting from the sorting center according to the transit information of the sorting center. In one example, the information such as the set of sorting centers can be directly carried in the call request. Furthermore, after receiving the call request, the determination module 501 can determine the set of sorting centers by parsing the call request. In another example, the information such as the set of sorting centers can be not carried in the call request. Furthermore, after receiving the call request, the determination module 501 can determine the set of sorting centers by querying the database.

[0102] The construction module 502 is used to select a starting site from the sites under the jurisdiction of each city in the city set.

[0103] For example, for each city in the city set, the construction module 502 may first determine all the stations (or “transmitting and receiving stations”) contained in the city, and then filter out stations that can directly reach the sorting center (or “stations with departure schedules to the sorting center”), and use the filtered stations as the starting stations.

[0104] The construction module 502 is further used to construct an optimal logistics path under the first path type according to the starting site, the optimal path of the sorting room connected to the starting site, and the last site.

[0105] Exemplarily, the construction module 502 can determine the optimal path of the sorting room connected to it according to the departure schedule information of the starting station, and determine the terminal station connected to it according to the departure schedule information of the last sorting center in the optimal path of the connected sorting room, and then construct a candidate logistics path based on the starting station, the optimal path of the sorting room connected to the starting station and the terminal station, and select the optimal logistics path under the first path type from the candidate logistics path. Specifically, when there is only one candidate logistics path between two cities, the construction module 502 can use the candidate logistics path as the optimal logistics path under the first path type; when there are multiple candidate logistics paths between the two cities, the construction module 502 can select the optimal logistics path under the first path type from the multiple candidate logistics paths according to the preset screening conditions. Among them, the terminal station and the starting station are located in different cities; the first path type is an inter-city logistics path passing through the starting station, multiple sorting centers and the terminal station.

[0106] In the embodiment of the present invention, the optimal path between the sorting rooms is determined by the determination module, and the optimal logistics path belonging to the first path type is constructed based on the starting station, the optimal path between the sorting rooms, and the end station by the construction module, which can greatly shorten the time required for logistics planning, improve the planning efficiency of the logistics path, and reduce the manpower cost consumed in planning the logistics path; in addition, because the determination module takes into account the influence of the transit information of the sorting center when determining the optimal path between the sorting rooms, it can improve the rationality of the planned logistics path, thereby helping to shorten the transportation time and reduce the logistics cost.

[0107] Figure 6 Schematic diagram of the main modules of the logistics path planning device according to the fourth embodiment of the present invention. Figure 6 As shown, the logistics path planning device 600 of the embodiment of the present invention includes: a determination module 601, a construction module 602, a generation module 603, and a dynamic adjustment module 604.

[0108] The determination module 601 is used to determine the optimal path of the sorting room starting from each sorting center in the sorting center set according to the transit information of the sorting center, specifically including: for each sorting center in the sorting center set, the determination module 601 determines all the departure times of the sorting center; for each departure time, the determination module 601 determines the path of the sorting room starting from the sorting center within the departure time according to the transit information of the sorting center, and then selects the optimal path of the sorting room starting from the sorting center within the departure time from the path of the sorting room according to the path cost information of the sorting room. For example, assuming that the departure time of sorting center A is 21:30 and 22:00, the optimal path of the sorting room starting from the sorting center at the departure time can be determined for each departure time.

[0109] Further, the determination module 601 may select the optimal path between the sorting rooms from the paths between the sorting rooms according to the path cost information, which may include: if there is only one path from the sorting center to another sorting center within the departure time, then the path may be used as the optimal path between the two sorting centers; if there are multiple paths from the sorting center to another sorting center within the departure time, then the path with the smallest path cost may be used as the optimal path between the two sorting centers.

[0110] Among them, the transit information of the sorting center includes: sorting wave information, and the departure shift information of the sorting center. Further, the sorting wave information may include the sorting start time and the sorting end time; the departure shift information of the sorting center may include the departure start time and the arrival time, as well as the departure starting point and the end point. For example, sorting center A has two sorting waves and four departure shifts, specifically: the sorting wave from 18:00 to 20:00, the sorting wave from 21:00 to 23:00, the departure shift from sorting center A to sorting center B from 21:30 to 22:30, and the departure shift from sorting center A to sorting center C from 21:30 to 23:00; the departure shift from sorting center A to sorting center B from 22:00 to 23:00, and the departure shift from sorting center A to sorting center C from 22:00 to 23:00.

[0111] The construction module 602 is used to select a starting site from the sites under the jurisdiction of each city in the city set.

[0112] For example, for each city in the city set, the construction module 602 may first determine all the stations (or referred to as “transmitting and receiving stations”) contained in the city, and then filter out stations that can directly reach the sorting center (or referred to as “stations with departure schedules to the sorting center”), and use the filtered stations as the starting stations.

[0113] The construction module 602 is further used to construct an optimal logistics path under the first path type according to the starting station, the optimal path of the sorting room connected to the starting station and the last station. The last station and the starting station are located in different cities; the first path type is an inter-city logistics path passing through the starting station, multiple sorting centers and the last station.

[0114] Exemplarily, the construction module 602 can determine the optimal path of the sorting room connected to it according to the departure schedule information of the starting station, and determine the last station connected to it according to the departure schedule information of the last sorting center in the optimal path of the connected sorting room, and then can construct a candidate logistics path based on the starting station, the optimal path of the sorting room connected to the starting station, and the last station, and select the optimal logistics path under the first path type from the candidate logistics path. Specifically, when there is only one candidate logistics path between two cities, the construction module 602 can use the candidate logistics path as the optimal logistics path under the first path type; when there are multiple candidate logistics paths between two cities, the construction module 602 can select the optimal logistics path under the first path type from the multiple candidate logistics paths according to the preset screening conditions.

[0115] The construction module 602 is further used to construct an optimal logistics path under a second path type according to the starting site, the sorting center connected to the starting site, and the end site, wherein the second path type is an inter-city logistics path passing through the starting site, a sorting center, and the end site.

[0116] Exemplarily, the construction module 602 can determine the sorting center connected to the starting station according to the departure schedule information of the starting station, and determine the terminal station connected to the starting station according to the transit information of the sorting center, and then construct a candidate logistics path based on the starting station, the sorting center connected to the starting station, and the terminal station, and select the optimal logistics path under the second path type from the candidate logistics paths.

[0117] The generation module 603 is used to generate and save the optimal logistics path between cities according to the optimal logistics path under the first path type and the second optimal logistics path.

[0118] Specifically, if there is only an optimal logistics path under the first path type between two cities, the generation module 603 can use it as the optimal logistics path between the cities; if there is only an optimal logistics path under the second path type between the two cities, the generation module 603 can use it as the optimal logistics path between the cities; if there is an optimal logistics path under the first path type and an optimal logistics path under the second path type between the two cities, the generation module 603 can use the one with the lower path cost as the optimal logistics path between the cities.

[0119] The dynamic adjustment module 604 is used to monitor the logistics network configuration information in the database; when the logistics network configuration information is monitored to change, it is also used to determine whether the change affects the optimal logistics path between the cities; and when the change affects the optimal logistics path between the cities, re-plan the optimal logistics path between the cities and save it. The logistics network configuration information includes: the transfer information of the sorting center and the station departure schedule information.

[0120] In an embodiment of the present invention, the dynamic adjustment module is used to perform operations such as monitoring the logistics network configuration information in the database. When the logistics network configuration information changes and the change affects the previously planned optimal logistics path between cities, the optimal logistics path between cities can be automatically re-planned and saved, thereby meeting the needs of dynamic planning and adjustment of the logistics path.

[0121] In the embodiment of the present invention, the optimal path between the sorting rooms is determined by a determination module, the optimal logistics path of the first path type and the optimal logistics path of the second path type are constructed based on the starting station, the optimal path between the sorting rooms, and the end station by a construction module, and the optimal logistics path between cities is generated according to the optimal logistics path under the first path type and the optimal logistics path under the second path type by a generation module, which can greatly shorten the time required for logistics planning, improve the planning efficiency of the logistics path, and reduce the manpower cost consumed in planning the logistics path; in addition, because the determination module takes into account the influence of the transit information of the sorting center when determining the optimal path between the sorting rooms, it can improve the rationality of the planned logistics path, thereby helping to shorten the transportation time and reduce the logistics cost.

[0122] Figure 7 An exemplary system architecture 700 is shown to which the logistics path planning method or the logistics path planning device according to the embodiment of the present invention can be applied.

[0123] like Figure 7 As shown, system architecture 700 may include terminal devices 701, 702, 703, network 704 and server 705. Network 704 is used to provide a medium for communication links between terminal devices 701, 702, 703 and server 705. Network 704 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0124] Users can use terminal devices 701, 702, 703 to interact with server 705 through network 704 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 701, 702, 703, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0125] The terminal devices 701 , 702 , and 703 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.

[0126] The server 705 may be a server that provides various services, such as a background management server that provides support for websites browsed by users using the terminal devices 701, 702, and 703. The background management server may analyze and process received logistics path planning requests, and feed back processing results (such as logistics path planning results) to the terminal device.

[0127] It should be noted that the logistics path planning method provided in the embodiment of the present invention is generally executed by the server 705 , and accordingly, the logistics path planning device is generally disposed in the server 705 .

[0128] It should be understood that Figure 7 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to the implementation requirements.

[0129] Reference below Figure 8 , which shows a schematic diagram of the structure of a computer system 800 of an electronic device suitable for implementing an embodiment of the present invention. The computer system shown in the figure is only an example and should not bring any limitation to the functions and scope of use of the embodiment of the present invention.

[0130] As shown in the figure, the computer system 800 includes a central processing unit (CPU) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage part 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the system 800 are also stored. The CPU 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0131] The following components are connected to the I / O interface 805: an input section 806 including a keyboard, a mouse, etc.; an output section 807 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN card, a modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the I / O interface 805 as needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 810 as needed, so that a computer program read therefrom is installed into the storage section 808 as needed.

[0132] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 809, and / or installed from the removable medium 811. When the computer program is executed by the central processing unit (CPU) 801, the above-mentioned functions defined in the system of the present invention are executed.

[0133] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0134] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0135] The modules involved in the embodiments described in the present application may be implemented by software or hardware. The modules described may also be set in a processor, for example, it may be described as: a processor includes a determination module and a construction module. The names of these modules do not constitute a limitation on the modules themselves in some cases, for example, the determination module may also be described as a "module for determining the optimal path between sorting rooms".

[0136] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently and not be assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device executes the following process: for each sorting center in the sorting center set, determine the optimal path between sorting centers starting from the sorting center according to the transit information of the sorting center; wherein the transit information of the sorting center includes at least one of the following: sorting wave information, departure schedule information of the sorting center; for each city in the city set, select the starting station from the stations under the jurisdiction of the city; construct the optimal logistics path under the first path type according to the starting station, the optimal path between sorting centers connected to the starting station, and the last station; wherein the last station and the starting station are located in different cities; the first path type is an inter-city logistics path passing through the starting station, multiple sorting centers and the last station.

[0137] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A logistics path planning method, characterized in that: The method comprises: For each sorting center in the sorting center set, determine the optimal sorting path from the sorting center according to the transit information of the sorting center; wherein the transit information of the sorting center includes at least one of the following: sorting wave information, departure shift information of the sorting center; For each city in the city set, a starting site is selected from the sites under the jurisdiction of the city; an optimal logistics path under the first path type is constructed according to the starting site, the optimal path between sorting centers connected to the starting site, and the last site; wherein the last site and the starting site are located in different cities; the first path type is an inter-city logistics path passing through the starting site, multiple sorting centers, and the last site; The step of determining the optimal path of the sorting room from each sorting center in the sorting center set according to the transit information of the sorting center includes: for each sorting center in the sorting center set, determining all departure times of the sorting center; for each departure time, determining the path of the sorting room from the sorting center within the departure time according to the transit information of the sorting center, and then selecting the optimal path of the sorting room from the sorting center within the departure time from the sorting room paths according to the path cost information of the sorting room; wherein the path cost information of the sorting room path includes: the time required to reach the end of sorting and the number of sorting centers passed through; An optimal logistics path under a second path type is constructed according to the starting site, the sorting center connected to the starting site, and the end site; an optimal logistics path between cities is generated and saved according to the optimal logistics path under the first path type and the optimal logistics path under the second path type; wherein the second path type is an inter-city logistics path passing through a starting site, a sorting center, and an end site.

2. The method according to claim 1, characterized in that: The steps of determining, for each departure time, a sorting room path starting from the sorting center at the departure time according to the transfer information of the sorting center, and then selecting the optimal sorting room path starting from the sorting center at the departure time from the sorting room paths according to the sorting room path cost information include: Step S11: taking any one of the sorting centers in the sorting center set as the first sorting center, saving the next sorting center that the first sorting center can directly send to within the departure time into a queue, and recording the sorting path starting with the first sorting center and ending with the sorting center in the queue as the end of sorting, as well as the corresponding path cost information; Step S12: taking out a sorting center from the queue and using the taken out sorting center as the second sorting center; judging whether the second sorting center has a next sorting center to which the items can be directly sent based on the transit information of the sorting center; Step S13: If there is a next sorting center that can be directly sent to in the second sorting center, and the next sorting center that can be directly sent to by the second sorting center is not in the queue, the next sorting center that can be directly sent to by the second sorting center is used as the third sorting center, and the third sorting center is saved in the queue, and the current sorting room path and the corresponding path cost information are recorded; wherein the current sorting room path is a path starting from the first sorting center, passing through the second sorting center to the third sorting center; Step S14: when there is a next sorting center that can be directly sent to in the second sorting center, and the next sorting center that can be directly sent to by the second sorting center already exists in the queue, the next sorting center that can be directly sent to by the second sorting center is used as the third sorting center, and the current sorting room path is compared with the previously recorded path cost of the sorting room path that starts with the first sorting center and ends with the third sorting center, and when the comparison result meets the preset update condition, the recorded sorting room path and path cost information are updated; Step S15, iteratively execute steps S12 to S14 until the queue is empty, and use the finally recorded sorting room path as the optimal sorting room path starting from the sorting center within the departure time.

3. The method according to claim 2, characterized in that The step of updating the recorded sorting room path and path cost when the comparison result meets the preset update condition includes: when the time required for the current sorting room path to reach the end of sorting is less than the previously recorded sorting room path, updating the recorded sorting room path and path cost information; when the time required for the current sorting room path to reach the end of sorting is equal to the previously recorded sorting room path, and the number of sorting centers passed by the current sorting room path is less than the previously recorded sorting room path, updating the recorded sorting room path and path cost information.

4. The method according to claim 1, characterized in that The method further comprises: The logistics network configuration information in the database is monitored; when the logistics network configuration information is monitored to change, whether the change affects the optimal logistics path between the cities is determined; if the change affects the optimal logistics path between the cities, the optimal logistics path between the cities is replanned and saved; wherein the logistics network configuration information includes: the transit information of the sorting center and the station departure schedule information.

5. A logistics path planning device, characterized in that: The device comprises: A determination module is used to determine, for each sorting center in the sorting center set, an optimal sorting path from the sorting center according to the transit information of the sorting center; wherein the transit information of the sorting center includes at least one of the following: sorting wave information, departure shift information of the sorting center; A construction module, for selecting a starting site from sites under the jurisdiction of each city in the city set; and for constructing an optimal logistics path under a first path type according to the starting site, the optimal path between sorting centers connected to the starting site, and the last site; wherein the last site and the starting site are located in different cities; and the first path type is an inter-city logistics path passing through the starting site, multiple sorting centers, and the last site; The determining module determines, for each sorting center in the sorting center set, the optimal sorting room path starting from the sorting center according to the transit information of the sorting center, including: for each sorting center in the sorting center set, the determining module determines all departure times of the sorting center; for each departure time, the determining module determines the sorting room path starting from the sorting center within the departure time according to the transit information of the sorting center, and then selects the optimal sorting room path starting from the sorting center within the departure time from the sorting room paths according to the sorting room path cost information; wherein the path cost information of the sorting room path includes: the time required to reach the end of sorting and the number of sorting centers passed; The construction module is further used to construct an optimal logistics path under a second path type according to the starting site, the sorting center connected to the starting site, and the final site; wherein the second path type is an inter-city logistics path passing through the starting site, a sorting center, and the final site; A generation module is used to generate and save the optimal logistics path between cities based on the optimal logistics path under the first path type and the optimal logistics path under the second path type.

6. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 4.

7. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.