Logistics line straightening method, device and equipment and storage medium
Through the analysis of historical waybill data and line combination, the straightening cycle is determined based on the cycle dimension, and the logistics line planning is optimized, which solves the problems of high cost of straightening calculation and poor timeline in the existing technology, and achieves more efficient line management.
Patent Information
- Application Number
- CN202410699504.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-11-26
AI Technical Summary
The existing logistics line straightening scheme has high calculation cost and poor timeliness in a big data environment, and cannot effectively respond to the needs of corporate business updates.
By obtaining the nodes passing through historical waybills, combining the lines and counting the cargo volume based on the cycle dimension, determining the straightening cycle and line, optimizing the line planning to reduce calculation pressure and improve timeliness.
It improves the timeline and accuracy of line straightening, reduces calculation costs and server query load, coordinates server resources, and reduces waybill costs.
Smart Images

Figure CN119027015A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of logistics technology, and in particular to a logistics line straightening method, device, equipment and storage medium. Background Art
[0002] As the scale of logistics enterprises expand, the number of outlets, daily waybills, and routes will continue to grow. If the routes are still planned based on past experience, some routes may not be updated with the company's constantly updated business, resulting in high waybill costs and poor timeliness. The industry generally responds to the company's constantly updated business by straightening the routes, but the existing route straightening solutions generally analyze in real time whether the cargo volume of each waybill meets the requirements. If it does, the waybill will be straightened. However, this route straightening solution needs to be determined in real time. In a big data environment, real-time straightening requires high computing power, which makes the route straightening calculation cost high, and real-time calculation will affect the timeliness of the waybill. Summary of the invention
[0003] The present invention provides a logistics route straightening method, device, equipment and storage medium, which are used to solve the technical problems of high calculation cost of route straightening and poor timeliness of waybills.
[0004] In order to solve the above technical problems, in a first aspect, the present invention provides a logistics line straightening method, the method comprising:
[0005] Obtain the nodes that the historical waybill passes through, and combine the nodes in the passage in pairs in a manner that there is at least one node between two nodes to obtain a plurality of combined routes;
[0006] The historical waybills within a preset time range are taken, and statistically grouped according to their unloading time at the starting node of each combined route, to obtain the cycle dimension cargo volume of the starting node of each combined route; the cycle dimension cargo volume includes the cycle cargo volume of 7 cycles with the same day of each week as one cycle;
[0007] If the average daily volume of the periodic cargo volume in the combined route is greater than the preset volume, the cycle is determined to be a straightenable cycle; if the number of straightenable cycles in the periodic dimension cargo volume in the combined route is greater than or equal to the preset number, the combined route is determined to be straightenable, and a straightened route is obtained.
[0008] Optionally, the logistics line straightening method further includes:
[0009] When multiple combined lines with different starting nodes but the same ending nodes, or with the same starting nodes but different ending nodes cannot be straightened, the starting nodes or ending nodes of the multiple combined lines are aggregated to the same starting node or ending node to obtain a new combined line;
[0010] According to the periodic dimension cargo volume of the starting node of the new combined route, it is determined whether the new combined route can be straightened.
[0011] Optionally, after obtaining the straightening route, the method further includes:
[0012] Divide the periodic cargo volume of the straightening cycle in the straightening route into a number of preset time intervals in one day, and obtain the average cargo volume of each of the time intervals;
[0013] Starting from the preset time period, the average cargo volume of each time period is accumulated in sequence according to the time sequence; when the accumulated value is greater than or equal to the preset qualified cargo volume, the departure time of the straightening route in the straightening period is determined in combination with the time period corresponding to the last accumulated average cargo volume and the loading time;
[0014] The arrival time of the straight line road is determined according to the departure time, the mileage of the straight line road and the preset speed.
[0015] Optionally, after determining the arrival time of the drawable straight road, the method further includes:
[0016] If there is a next target site to be transported after the end node of the straightened route, the preset departure time of the planned batch of the target site is obtained;
[0017] The arrival time is compared with the preset departure time. If the time difference between the arrival time and the preset departure time is greater than or equal to a preset time threshold, it is determined that the straightening road and the target site can be connected for transportation.
[0018] Optionally, the logistics line straightening method further includes:
[0019] If the multiple combined lines that cannot be straightened have different starting nodes but the same ending nodes, then the starting node of any one of the multiple combined lines is selected as the starting node of a new combined line.
[0020] Optionally, the logistics line straightening method further includes:
[0021] The straightened road is compared with a conventional route corresponding to the straightened road, the saved time is calculated, and the saved cost of the straightened road is calculated based on the saved nodes.
[0022] Optionally, comparing the straightening route with a conventional route corresponding to the straightening route, calculating the saved time, and calculating the saved cost of the straightening route according to the saved nodes, includes:
[0023] Compare the arrival time of the straightened route with the earliest arrival time of the planned batches in the conventional route to calculate the time saved;
[0024] Determine the nodes saved by each conventional route relative to the straightened route, and obtain the saved cost of the straightened route based on the node operation unit price corresponding to the saved node and the cargo volume of the historical waybills departing from the node.
[0025] In a second aspect, the present invention provides a logistics route straightening device, including a combined route acquisition module, a cycle dimension cargo quantity acquisition module, and a straightening route acquisition module;
[0026] The combined route acquisition module is used to acquire nodes that the historical waybill passes through, and to combine the nodes in the passage in pairs in a manner that at least one node is spaced between two nodes, so as to acquire a plurality of combined routes;
[0027] The cycle dimension cargo volume acquisition module is used to obtain the historical waybills within a preset time range, perform statistical grouping according to the unloading time at the starting node of each combined route, and obtain the cycle dimension cargo volume of the starting node of each combined route; the cycle dimension cargo volume includes a cycle volume of 7 cycles with the same day of each week as one cycle;
[0028] The straightening route acquisition module is used to determine that a cycle is a straightening cycle if the average daily volume of the periodic cargo volume in the combined route is greater than a preset volume; if the number of straightening cycles in the periodic dimension cargo volume in the combined route is greater than or equal to a preset number, determine that the combined route can be straightened to obtain a straightening route.
[0029] In a third aspect, the present invention provides a logistics line straightening device, including a memory and a processor, wherein:
[0030] The memory is used to store computer programs;
[0031] The processor is used to read the program in the memory and execute the steps of the logistics line straightening method provided in the first aspect above.
[0032] In a fourth aspect, the present invention provides a computer-readable storage medium having a readable computer program stored thereon, which, when executed by a processor, implements the steps of the logistics line straightening method provided in the first aspect above.
[0033] Compared with the prior art, the logistics line straightening method, device, equipment and storage medium provided by the present invention have the following beneficial effects:
[0034] Obtain the nodes that the historical waybills pass through, and combine the nodes in the path in pairs in a manner that there is at least one node between two nodes to obtain several combined routes; take the historical waybills within a preset time range, and statistically group them according to their unloading time at the starting node of each combined route to obtain the cycle dimension cargo volume of the starting node of each combined route; the cycle dimension cargo volume includes a cycle cargo volume of 7 cycles with the same day of each week as a cycle; if the average daily cargo volume of the cycle cargo volume in the combined route is greater than the preset cargo volume, the cycle is determined to be a straightening cycle; if the number of straightening cycles in the cycle dimension cargo volume in the combined route is greater than or equal to the preset number, the combined route is determined to be straightened to obtain a straightened route; the above technical solution, by analyzing historical data, finds data analysis results related to the straightening law from the historical data, and applies them to the daily route operation process, thereby improving the timeliness and accuracy of route straightening, while reducing the pressure of real-time calculation and server query load, and can more effectively coordinate server resources and reduce the calculation cost of route straightening judgment. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only part of the embodiments of the present invention, rather than all of the embodiments. For ordinary technicians in this field, without paying creative work, other drawings obtained based on these drawings all fall within the scope of protection of this application.
[0036] Figure 1 It is a flow chart of a logistics line straightening method provided in an embodiment of the present invention.
[0037] Figure 2 It is a schematic diagram of multiple combined routes that can be obtained by combining nodes of a waybill path provided by an embodiment of the present invention.
[0038] Figure 3 It is a schematic diagram of straightening a plurality of combined lines with different starting nodes but the same ending nodes provided by an embodiment of the present invention.
[0039] Figure 4 It is a schematic diagram of the connection transportation between the straight line road and the target site provided by an embodiment of the present invention.
[0040] Figure 5 It is a schematic diagram of a straight line provided by an embodiment of the present invention and a conventional line corresponding to the straight line.
[0041] Figure 6 It is a structural schematic diagram of a logistics line straightening device provided in an embodiment of the present invention.
[0042] Figure 7 It is a structural schematic diagram of a logistics line straightening device provided in an embodiment of the present invention.
[0043] Figure 8 It is a structural schematic diagram of a computer-readable storage medium provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0044] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0045] In order to make the description of the disclosed content more detailed and complete, the following is an illustrative description of the implementation mode and specific examples of the present invention; however, this is not the only form of implementing or applying the specific embodiments of the present invention. The implementation mode covers the features of multiple specific embodiments and the method steps and their sequence for constructing and operating these specific embodiments. However, other specific embodiments can also be used to achieve the same or equal functions and step sequences. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0046] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein.
[0047] In the description of the embodiments of the present application, "multiple" refers to two or more than two, and other quantifiers are similar and should be understood. The preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention. In addition, the embodiments of the present application and the features therein may be combined with each other if there is no conflict.
[0048] Example 1
[0049] like Figure 1 As shown, it is a flow chart of a logistics line straightening method provided by an embodiment of the present invention, and the logistics line straightening method includes the following steps.
[0050] Step S101, obtaining nodes that the historical waybill passes through, combining the nodes in the passage in pairs in a manner that at least one node is spaced between two nodes, and obtaining a plurality of combined routes;
[0051] In some embodiments, the site information scanned by the handover of historical waybills across the entire network is obtained through the big data platform. The site information includes the scanning site, scanning status, unloading time, loading time, cargo volume and other information of the historical waybills; after the site information is cleaned, all site information of each historical waybill route is obtained. According to the scanning time of each site, the sites of the historical waybill route are removed from the sites at the customer's location, and the sites are spliced in chronological order to obtain the nodes of each historical waybill route. Exemplarily, as shown in Table 1, the site information obtained by scanning the historical waybill.
[0052] Table 1 Venue information obtained by scanning historical waybills
[0053]
[0054] After obtaining the node information of each historical waybill route, the nodes of the route are combined in pairs in a way that there is at least one node between two nodes to obtain several combined routes. Figure 2 As shown, it is a schematic diagram of multiple combined routes that can be obtained by combining the nodes of the waybill path, wherein the nodes of the historical waybill path include A, B, C, D, E and F in sequence, and the nodes of the historical waybill path are combined in pairs in a manner that at least one node is spaced between two nodes, and the obtained combined routes include routes from A to C, D, E, and F, respectively, routes from B to D, E, and F, routes from C to E and F, respectively, and a route from D to F.
[0055] Step S102, taking the historical waybills within a preset time range, statistically grouping them according to their unloading time at the starting node of each combined route, and obtaining the periodic dimension cargo volume of the starting node of each combined route; the periodic dimension cargo volume includes a periodic cargo volume of 7 periods with the same day of each week as one period;
[0056] After obtaining the combined route, select the historical waybills within the preset time range, perform statistical grouping according to the unloading time at the starting node in the combined route, and obtain the cycle dimension cargo volume of the starting node of each combined route. The preset time range can be 2 weeks, 3 weeks, 4 weeks, etc. Exemplarily, the embodiment of the present invention takes 4 weeks of historical waybills and performs statistical calculations on the cycle dimension cargo volume of the starting node of each combined route. Among them, the cycle dimension cargo volume includes a cycle volume of 7 cycles with the same day of each week as one cycle, that is, in multiple weeks within the preset time range, the cargo volume on Monday of each week is counted as the cycle volume of one cycle, and the cargo volume on Tuesday of each week is counted as the cycle volume of one cycle, and so on, until the cycle volume on Sunday of each week is counted, thereby obtaining the cycle dimension cargo volume of 7 cycles of the starting node of each combined route. Exemplarily, as shown in Table 2, it is the cycle dimension cargo volume information of the starting node of a certain combined route.
[0057] Table 2 Cargo volume information in the cycle dimension of the starting node of a certain combined route
[0058] cycle Week 1 Week 2 Week 3 Week 4 Cycle 1 (every Monday) 10.5T 11T 14T 9.5T Cycle 2 (Every Tuesday) 12T 13.5T 7.5T 15T Cycle 3 (Every Wednesday) 9T 7T 6T 15T Cycle 4 (Every Thursday) 15T 14.5T 11T 10.5T Cycle 5 (every Friday) 9.5T 8T 8.5T 10T Cycle 6 (Every Saturday) 13T 14T 15T 13T Cycle 7 (Every Sunday) 12T 13.5T 11T 8T
[0059] In an optional embodiment, when the daily cargo volume statistics are performed on the starting node of the combined line according to the unloading time, the starting time period and the ending time period of the statistics are different according to the different line types of the combined line. Exemplarily, for a combined line belonging to an inter-provincial line type or an inter-city line type, the cargo volume unloaded between 12:00 on the same day and 12:00 on the next day is counted, and for a combined line belonging to a branch line type, the cargo volume unloaded between 16:00 on the same day and 16:00 on the next day is counted. According to different line types, the daily cargo volume of the starting node of the combined line is differentiated and counted to match the departure time of different line types in actual operation, thereby providing more accurate periodic cargo volume statistical information for subsequent straightening judgments and improving the accuracy of line straightening calculations.
[0060] Step S103, if the average daily volume of the periodic cargo volume in the combined route is greater than the preset volume, the cycle is determined to be a straightenable cycle; if the number of straightenable cycles in the periodic dimension cargo volume in the combined route is greater than or equal to the preset number, the combined route is determined to be straightenable, and a straightened route is obtained.
[0061] According to the cycle volume of the starting node of each combined line, the average daily volume of the cycle volume is calculated. As shown in Table 2, the cycle dimension volume information of the starting node of the combined line is used as an example to calculate the average daily volume of the cycle volume of cycle 1, and its average daily volume is (10.5+11+14+9.5) / 4=11.25T. If the average daily volume of the cycle volume of a cycle in the combined line is greater than the preset volume, the cycle is determined to be a straightening cycle, and the combined line can be straightened in this cycle. Among them, the preset volume can be set according to the line type of the combined line and the area where the starting node is located. Among them, when the starting node of the combined line is a first-level transfer yard, the preset volume is the largest, followed by a second-level transfer yard, and then a point. Among them, the transportation throughput of the first-level transfer yard is greater than that of the second-level transfer yard, and the transportation throughput of the second-level transfer yard is greater than that of the point.
[0062] If the number of straightenable cycles in the cycle dimension cargo volume in the combined route is greater than or equal to the preset number, the combined route is determined to be straightened and a straightened route is obtained. If the number of straightenable cycles of the combined route is greater than or equal to the preset number, the combined route can be straightened within the above straightenable cycles, that is, straightening route transportation is performed within the above straightening cycles. As shown in Table 2, the cycle dimension cargo volume information of the starting node of a combined route, assuming that through calculation, cycle 1, cycle 2, cycle 4, cycle 6 and cycle 7 are straightenable cycles, and the preset number is 4, then it is determined that the combined route can be straightened, and straightening route transportation is performed on the days corresponding to cycle 1, cycle 2, cycle 4, cycle 6 and cycle 7, a total of 20 days.
[0063] The logistics route straightening method provided in the embodiment of the present invention analyzes historical data, discovers data analysis results related to straightening rules from the historical data, and applies them to the daily route operation process, thereby improving the timeliness and accuracy of route straightening, while reducing the pressure of real-time calculation and server query load, and can more effectively coordinate server resources and reduce the computational cost of route straightening judgment.
[0064] As an optional implementation, the logistics line straightening method further includes:
[0065] When multiple combined lines with different starting nodes but the same ending nodes, or with the same starting nodes but different ending nodes cannot be straightened, the starting nodes or ending nodes of the multiple combined lines are aggregated to the same starting node or ending node to obtain a new combined line;
[0066] According to the periodic dimension cargo volume of the starting node of the new combined route, it is determined whether the new combined route can be straightened.
[0067] If the cycle-dimensional cargo volumes of multiple combined routes do not meet the conditions for line straightening, but the starting nodes of the multiple combined routes are the same and the ending nodes of each combined route are within the preset area, or the ending nodes of the multiple combined routes are the same and the starting nodes of each combined route are within the preset area, then the starting nodes or ending nodes of the multiple combined routes can be combined to the same starting node or ending node to obtain a new combined route, and the sum of the cycle-dimensional cargo volumes of each combined route that does not meet the line straightening conditions is used as the cycle-dimensional cargo volume of the new combined route, and then it is determined whether the conditions for line straightening are met based on the cycle-dimensional cargo volume of the new combined route.
[0068] For example, Figure 3 As shown, it is a schematic diagram of multiple combined routes with different starting nodes but the same ending nodes, including four combined routes from node B to E, B2 to E, B3 to E, and B4 to E. If nodes B, B2, B3, and B4 are within the preset area, and the cycle-dimensional cargo volumes of the four combined routes do not meet the straightening conditions, then node B is selected from nodes B, B2, B3, and B4 as the starting node of the new combined route, and node E is selected as the ending node of the new combined route to obtain a new combined route from node B to node E. The cycle-dimensional cargo volumes of each combined route are combined as the cycle-dimensional cargo volume of the new combined route, and it is determined whether it meets the straightening conditions.
[0069] It should be noted that the method for determining the straightening of multiple combined routes with different ending nodes but the same starting nodes is the same as the above-mentioned method. For example, the starting node of multiple combined routes is node B, and the ending nodes are nodes E, E1, E2 and E3. Nodes E1, E2 and E3 can be aggregated to node E, and node E is used as the ending node of the new combined route, and node B is used as the starting node of the new combined route. A new combined route from node B to node E is determined, and based on the periodic dimensional cargo volume of the combined routes from B to E, B to E1, B to E2, and B to E3, it is determined whether the periodic dimensional cargo volume of the new combined route from node B to node E meets the straightening conditions.
[0070] In the embodiment of the present invention, when a plurality of combined routes with different starting nodes but the same ending nodes, or with the same starting nodes but different ending nodes cannot be straightened, the starting nodes or ending nodes of the plurality of combined routes are aggregated into the same starting node or ending node to obtain a new combined route; and according to the cargo volume in the cycle dimension of the starting node of the new combined route, it is determined whether the new combined route can be straightened, thereby reducing the waste of transport resources, reducing the cost of waybills and improving the timeliness of waybills.
[0071] As an optional implementation, the logistics line straightening method further includes:
[0072] If the multiple combined lines that cannot be straightened have different starting nodes but the same ending nodes, then the starting node of any one of the multiple combined lines is selected as the starting node of a new combined line.
[0073] As an optional implementation manner, after obtaining the straightening route, the method further includes:
[0074] Divide the periodic cargo volume of the straightening cycle in the straightening route into a number of preset time intervals in one day, and obtain the average cargo volume of each of the time intervals;
[0075] Starting from the preset time period, the average cargo volume of each time period is accumulated in sequence according to the time sequence; when the accumulated value is greater than or equal to the preset qualified cargo volume, the departure time of the straightening route in the straightening period is determined in combination with the time period corresponding to the last accumulated average cargo volume and the loading time;
[0076] The arrival time of the straight line road is determined according to the departure time, the mileage of the straight line road and the preset speed.
[0077] For example, if the preset time interval is 1 hour, 1 day is divided into 24 time intervals. The historical waybills of each period in the straightened cycle are counted into different time intervals according to their unloading time. Specifically, the historical waybills with unloading time between 0:00-01:00 are all divided into the time interval 01:00 and the total cargo volume of the historical waybills in this time interval is counted to obtain the waybill data in this time interval. And so on, the statistics of the waybill data in all 24 time intervals are completed. As shown in Table 3, the waybill data obtained by dividing the historical waybills of cycle 1 into the time interval 01:00
[0078] Table 3 Waybill data obtained by dividing the historical waybill of period 1 into the time interval 01:00
[0079] Starting Node *** Point Department cycle Cycle 1 Time interval 01:00 Volume 5.66T
[0080] After dividing the periodic cargo volume of the straightenable cycle in the straightening route into several preset time intervals in 1 day, the average cargo volume of each of the time intervals is calculated. In some embodiments, the average cargo volume of the straightening route in each preset time interval is calculated by a weighted averaging algorithm. Exemplarily, taking the calculation process of the average cargo volume in the time interval 01:00 as an example, the cargo volume at 01:00 in the time interval of seven cycles from Monday to Sunday is obtained, and by assigning different weights to each cycle or different weights to each time interval, a weighted averaging algorithm is used to determine the average cargo volume in the time interval corresponding to 01:00. The objects and values assigned to the weights can be designed and adjusted according to actual operation, and the embodiments of the present invention are not limited to this.
[0081] After calculating the average cargo volume of each time period, the average cargo volume of each time period is accumulated in sequence according to the time sequence starting from the preset time period. Among them, the starting time period for accumulating the average cargo volume can be set according to the line type of the combined line, such as the starting time period for accumulating the average cargo volume for the inter-provincial line type or the inter-city line type is 12:00 on the same day, and the starting time period for the branch line type is 16:00 on the same day. As shown in Table 4, it is an illustration of accumulating the average cargo volume of each time period starting from 12:00 in the time period.
[0082] Table 4 shows the cumulative average cargo volume from 12 o'clock in each period
[0083]
[0084]
[0085] When the accumulated value is greater than or equal to the preset qualified cargo volume, the departure time of the straightened road in the straightening period is determined in combination with the time period and loading time corresponding to the last accumulated average cargo volume. Among them, the qualified cargo volume can be set according to the configured vehicle model and the loading rate of the vehicle model. Then, according to the number of kilometers between the starting node and the end node of the straightened road, and the preset speed corresponding to the line type to which the straightened road belongs, the arrival time of the straightened road in the straightening period is calculated. The calculation formula is: arrival time = departure time + (number of kilometers / preset speed)
[0086] The embodiment of the present invention calculates the departure time and arrival time of the straightened road in the straightening period, which not only facilitates the evaluation of the timeliness of the straightened road to ensure that the timeliness of the straightened road is higher than that of the conventional route, but also can provide timeliness data for the next step of logistics operation coordination after the waybill reaches the end node.
[0087] As an optional implementation manner, after determining the arrival time of the drawable straight road, the method further includes:
[0088] If there is a next target site to be transported after the end node of the straightened route, the preset departure time of the planned batch of the target site is obtained;
[0089] The arrival time is compared with the preset departure time. If the time difference between the arrival time and the preset departure time is greater than or equal to a preset time threshold, it is determined that the straightening road and the target site can be connected for transportation.
[0090] If the combined line can be straightened, but there is still a next target site that needs to be connected to the combined line, then it can be further determined whether the arrival time of the combined line after straightening can be connected with the preset departure time from the destination node to the target site. When the time difference between the arrival time after straightening and the preset departure time of the target site is greater than or equal to the preset time threshold, the straightened line and the target site can be connected for transportation. If there are multiple planned batches of preset departure times between the end node of the straightened line and the target site, as long as any one of the planned batches meets the preset time threshold, the straightened line and the target site can be connected for transportation. If no planned batch can be connected, it means that the straightened line and the target site cannot be connected for transportation. There can be one or more target sites. Exemplarily, the preset time threshold is 3 hours. Figure 4 As shown in the figure, it is a schematic diagram of the connection and transportation between the straight line and the target site. Figure 4 The line from node B directly to node E represents the straightening road, and nodes F, F1, F2, and F3 are all the target sites of node E. Taking node F as the target site, obtain the planned departure batch between node E and node F, that is, the preset departure time; determine whether the time interval between the departure time of the planned batch and the arrival time of the straightening road is greater than or equal to 3 hours. If so, node E and node F can be connected.
[0091] The embodiment of the present invention comprehensively calculates the arrival time of the straight line and the preset departure time of the target site to be connected for transportation, so as to determine whether the straight line can be connected for transportation with the target site, thereby improving the overall nature of logistics and transportation planning and ensuring the timeliness of the waybill.
[0092] As an optional implementation, the logistics line straightening method further includes:
[0093] The straightened road is compared with a conventional route corresponding to the straightened road, the saved time is calculated, and the saved cost of the straightened road is calculated based on the saved nodes.
[0094] By pulling the start and end nodes of the straight line, a regular route with the same start and end nodes as the straight line is obtained, such as Figure 5 The figure shows a schematic diagram of a straight line and a conventional line corresponding to the straight line. For example, the line from node B to node E is a straight line, and its conventional line is the line from node B to node E via nodes C and D. The saved time is calculated based on the historical arrival time of the conventional line and the arrival time calculated by the straight line, and the saved cost of each node is calculated based on the number of nodes reduced for each conventional line.
[0095] According to the embodiment of the present invention, by comparing the straightened road and the conventional route corresponding to the straightened road, the saved time is calculated, and the saved cost of the straightened road is calculated according to the saved nodes. It is possible to obtain which routes that cannot be straightened on a daily basis will be affected when the straightened road is actually put into operation, that is, the impact on the operation of conventional routes. The straightened road with higher cost can be further eliminated, thereby reducing the cost of waybills.
[0096] As an optional implementation manner, comparing the straightening route with a conventional route corresponding to the straightening route, calculating the saved time, and calculating the saved cost of the straightening route according to the saved nodes, includes:
[0097] Compare the arrival time of the straightened route with the earliest arrival time of the planned batches in the conventional route to calculate the time saved;
[0098] Determine the nodes saved by each conventional route relative to the straightened route, and obtain the saved cost of the straightened route based on the node operation unit price corresponding to the saved node and the cargo volume of the historical waybills departing from the node.
[0099] In some embodiments, the earliest arrival time of the planned batch of the last section of the conventional route can be compared with the arrival time of the corresponding straight line route, and the difference in arrival time can be calculated to obtain the saved time. As for the calculation of cost savings, the nodes passed by the conventional route and the nodes passed by the straight line route can be compared to determine the nodes saved by the straight line route relative to the conventional route, and then the cost savings can be calculated based on the operating unit price of each node measured in cost / kg for the cargo volume. Figure 5 The nodes saved between the conventional route and the straightened route shown include node C and node D. The cost savings of each node are calculated based on the operating unit prices of node C and node D, and the cargo volume when the conventional route passes through the two nodes, thereby obtaining the cost savings of the straightened route. In an optional embodiment, the time savings and cost savings can be visualized so that the operator can determine whether to straighten the straightened route based on the displayed time savings and cost savings.
[0100] In some embodiments, the difference between the number of kilometers of conventional route transfers and the number of kilometers of the straightened route that does not require transfers after straightening can be calculated uniformly through a map interface to obtain the number of kilometers saved. In addition, the number of kilometers saved can also be visualized so that operators can determine whether to straighten the straightened route based on the displayed number of kilometers saved.
[0101] The logistics route straightening method provided by the embodiment of the present invention obtains the nodes passed by the historical waybills, and combines the nodes in the route in pairs in a manner that there is at least one node between two nodes to obtain a plurality of combined routes; the historical waybills within a preset time range are taken, and statistically grouped according to their unloading time at the starting node of each combined route to obtain the cycle dimension cargo volume of the starting node of each combined route; the cycle dimension cargo volume includes a cycle cargo volume of 7 cycles with the same day of each week as a cycle; if the average daily cargo volume of the cycle cargo volume in the combined route is greater than the preset cargo volume, the cycle cargo volume is determined to be a straightenable cycle; if the number of straightenable cycles in the cycle dimension cargo volume in the combined route is greater than or equal to the preset number, the combined route is determined to be straightenable to obtain a straightened route; the technical solution analyzes historical data, finds data analysis results related to the straightening law from the historical data, and applies them to the daily route operation process, thereby improving the timeliness and accuracy of route straightening, while reducing the pressure of real-time calculation and server query load, and more effectively coordinating server resources.
[0102] Example 2
[0103] Based on the above-mentioned logistics line straightening method, an embodiment of the present invention provides a logistics line straightening device, and its structural schematic diagram is as follows: Figure 6 As shown, the logistics route straightening device 60 includes a combined route acquisition module 61, a cycle dimension cargo quantity acquisition module 62 and a straightening route acquisition module 63;
[0104] The combined route acquisition module 61 is used to acquire nodes that the historical waybill passes through, and to combine the nodes in the passage in pairs in a manner that at least one node is spaced between two nodes, to acquire a plurality of combined routes;
[0105] The cycle dimension cargo volume acquisition module 62 is used to obtain the historical waybills within a preset time range, perform statistical grouping according to the unloading time at the starting node of each combined route, and obtain the cycle dimension cargo volume of the starting node of each combined route; the cycle dimension cargo volume includes a cycle cargo volume of 7 cycles with the same day of each week as one cycle;
[0106] The straightening route acquisition module 63 is used to determine that the periodic cargo volume in the combined route is a straightening cycle if the average daily cargo volume of the periodic cargo volume in the combined route is greater than the preset cargo volume; if the number of straightening cycles in the periodic dimension cargo volume in the combined route is greater than or equal to the preset number, determine that the combined route can be straightened to obtain the straightening route.
[0107] For other details about how the modules in the logistics line straightening device implement the above technical solution, please refer to the description of the logistics line straightening method provided in the above invention embodiment, which will not be repeated here.
[0108] Example 3
[0109] Based on the above-mentioned logistics line straightening method, the embodiment of the present invention further provides a logistics line straightening device, and its structural schematic diagram is as follows: Figure 7 As shown, the device 70 includes a processor 71 and a memory 72 coupled to the processor 71. The memory 72 stores a computer program, and when the computer program is executed by the processor 71, the processor 71 executes the steps of the logistics line straightening method in the above embodiment.
[0110] For other details about how the processor 71 in the logistics line straightening device implements the above technical solution, please refer to the description of the logistics line straightening method provided in the above invention embodiment, which will not be repeated here.
[0111] Among them, the processor 71 can also be called a CPU (Central Processing Unit), and the processor 91 may be an integrated circuit chip with signal processing capabilities; the processor 71 can also be a general-purpose processor, DSP (Digital Signal Process), ASIC (Application Specific Integrated Circuit), FPGA (Field Programmable Gate Array) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, among which the general-purpose processor can be a microprocessor or the processor 71 can also be any conventional processor, etc.
[0112] Example 4
[0113] The embodiment of the present invention further provides a computer-readable storage medium, a schematic diagram of which is shown in FIG. Figure 8 As shown, a readable computer program 81 is stored on the storage medium 80; wherein, the computer program 81 can be stored in the above storage medium in the form of a software product, including several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, magnetic disk or optical disk, ROM (Read-Only Memory), RAM (Random Access Memory) and other media that can store program codes, or terminal devices such as computers, servers, mobile phones, and tablets.
[0114] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules 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 through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0115] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0116] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium.
[0117] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.
[0118] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, a computer, a server, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or a data center that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.
[0119] The technical solution provided by the present application is introduced in detail above. The principles and implementation methods of the present application are explained by using specific examples in the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
[0120] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0121] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices and computer program products according to the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0122] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0123] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0124] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A method for straightening a logistics line, characterized in that: include: Obtain the nodes that the historical waybill passes through, and combine the nodes in the passage in pairs in a manner that there is at least one node between two nodes to obtain a plurality of combined routes; The historical waybills within a preset time range are taken, and statistically grouped according to their unloading time at the starting node of each combined route, to obtain the cycle dimension cargo volume of the starting node of each combined route; the cycle dimension cargo volume includes the cycle cargo volume of 7 cycles with the same day of each week as one cycle; If the average daily volume of the periodic cargo volume in the combined route is greater than the preset volume, the cycle is determined to be a straightenable cycle; if the number of straightenable cycles in the periodic dimension cargo volume in the combined route is greater than or equal to the preset number, the combined route is determined to be straightenable, and a straightened route is obtained.
2. The logistics line straightening method according to claim 1, characterized in that: The logistics line straightening method further comprises: When multiple combined lines with different starting nodes but the same ending nodes, or with the same starting nodes but different ending nodes cannot be straightened, the starting nodes or ending nodes of the multiple combined lines are aggregated to the same starting node or ending node to obtain a new combined line; According to the periodic dimension cargo volume of the starting node of the new combined route, it is determined whether the new combined route can be straightened.
3. The logistics line straightening method according to claim 1, characterized in that: After obtaining the straightening route, the method further includes: Divide the periodic cargo volume of the straightening cycle in the straightening route into a number of preset time intervals in one day, and obtain the average cargo volume of each of the time intervals; Starting from the preset time period, the average cargo volume of each time period is accumulated in sequence according to the time sequence; when the accumulated value is greater than or equal to the preset qualified cargo volume, the departure time of the straightening route in the straightening period is determined in combination with the time period corresponding to the last accumulated average cargo volume and the loading time; The arrival time of the straight line road is determined according to the departure time, the mileage of the straight line road and the preset speed.
4. The logistics line straightening method according to claim 3, characterized in that: After determining the arrival time of the pullable straight road, the method further comprises: If there is a next target site to be transported after the end node of the straightened route, the preset departure time of the planned batch of the target site is obtained; The arrival time is compared with the preset departure time. If the time difference between the arrival time and the preset departure time is greater than or equal to a preset time threshold, it is determined that the straightening road and the target site can be connected for transportation.
5. The logistics line straightening method according to claim 2, characterized in that: The logistics line straightening method further comprises: If the multiple combined lines that cannot be straightened have different starting nodes but the same ending nodes, then the starting node of any one of the multiple combined lines is selected as the starting node of a new combined line.
6. The logistics line straightening method according to claim 3, characterized in that: The logistics line straightening method further comprises: The straightened road is compared with a conventional route corresponding to the straightened road, the saved time is calculated, and the saved cost of the straightened road is calculated based on the saved nodes.
7. The logistics line straightening method according to claim 6, characterized in that: The comparing the straightening route with the conventional route corresponding to the straightening route, calculating the saved time, and calculating the saved cost of the straightening route according to the saved nodes, includes: Compare the arrival time of the straightened route with the earliest arrival time of the planned batches in the conventional route to calculate the time saved; Determine the nodes saved by each conventional route relative to the straightened route, and obtain the saved cost of the straightened route based on the node operation unit price corresponding to the saved node and the cargo volume of the historical waybills departing from the node.
8. A logistics line straightening device, characterized in that: It includes a combined route acquisition module, a cycle dimension cargo volume acquisition module, and a straight line route acquisition module; The combined route acquisition module is used to acquire nodes that the historical waybill passes through, and to combine the nodes in the passage in pairs in a manner that at least one node is spaced between two nodes, so as to acquire a plurality of combined routes; The cycle dimension cargo volume acquisition module is used to obtain the historical waybills within a preset time range, perform statistical grouping according to the unloading time at the starting node of each combined route, and obtain the cycle dimension cargo volume of the starting node of each combined route; the cycle dimension cargo volume includes a cycle volume of 7 cycles with the same day of each week as one cycle; The straightening route acquisition module is used to determine that a cycle is a straightening cycle if the average daily volume of the periodic cargo volume in the combined route is greater than a preset volume; if the number of straightening cycles in the periodic dimension cargo volume in the combined route is greater than or equal to a preset number, determine that the combined route can be straightened to obtain a straightening route.
9. A logistics line straightening device, characterized in that: comprising a memory and a processor, wherein: The memory is used to store computer programs; The processor is used to read the computer program in the memory and execute the steps of the logistics line straightening method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: A readable computer program is stored thereon, and when the program is executed by a processor, the steps of the logistics line straightening method as described in any one of claims 1 to 7 are implemented.
