Distribution plan generation method and device, electronic equipment and storage medium

By determining the delivery route and allocating vehicles in logistics distribution, we solve the problem of round-trip delivery caused by the conflict between the customer's designated time and the destination sequence, improve the delivery efficiency, and ensure on-time delivery.

CN118761706AInactive Publication Date: 2024-10-11GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1

Patent Information

Application Number
CN202411227924.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-03
Publication Date
2024-10-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In logistics distribution, when the time specified by the customer conflicts with the destination sequence, it is easy to cause round-trip distribution and reduce distribution efficiency.

Method used

By obtaining the delivery order, the delivery location is determined and the delivery time is calculated. The delivery route is determined based on time and installation time, and vehicles are assigned to the route to ensure that the vehicle is delivered to various locations in a timely manner according to the time specified by the customer and avoids round-trip delivery.

Benefits of technology

It effectively avoids the phenomenon of round-trip distribution, improves the overall efficiency of logistics and delivery, and ensures that goods are delivered on time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118761706A_ABST
    Figure CN118761706A_ABST
Patent Text Reader

Abstract

The invention relates to a distribution plan generation method and apparatus, an electronic device and a storage medium. The method comprises the steps of obtaining a distribution order; wherein the distribution order is used for recording distribution information of distribution clients, and the distribution information at least comprises distribution time, distribution goods, a distribution place and installation and maintenance time; determining all delivery places in the delivery order, and calculating an estimated delivery time length between any two delivery places; determining at least one distribution route according to the distribution time, the installation and maintenance time and the estimated distribution duration; distributing a distribution vehicle for the distribution route according to the distribution goods; and generating a distribution plan from the distribution route and the distribution vehicles distributed for the distribution route. Through the technical scheme provided by the invention, the phenomenon of back-and-forth delivery is avoided as far as possible, and the overall efficiency of logistics delivery is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of logistics, and in particular to a method, device, electronic device and storage medium for generating a distribution plan. Background Art

[0002] With the popularity of Internet shopping, most logistics shipments are mixed shipments of multiple orders and multiple destinations. When formulating distribution plans, they are generally sorted according to the destination locations, and the goods are delivered sequentially according to the order of the destination locations.

[0003] However, many current cargo deliveries require an appointment with the customer for a specified time. When there is a conflict between the time sequence and the destination location sequence, delivery can only be carried out according to the customer's specified time. This can easily lead to back-and-forth delivery, resulting in low delivery efficiency. Summary of the invention

[0004] The present application provides a method, device, electronic device and storage medium for generating a distribution plan to generate a corresponding distribution plan, avoid the phenomenon of back-and-forth distribution as much as possible, and improve the overall efficiency of logistics delivery.

[0005] In a first aspect, the present application provides a method for generating a distribution plan, the method comprising: Obtaining a delivery order; wherein the delivery order is used to record the delivery information of the delivery customer, and the delivery information at least includes the delivery time, delivery goods, delivery location, and installation and maintenance time; Determine all the delivery locations in the delivery order, and calculate the estimated delivery time between any two of the delivery locations; At least one delivery route is determined according to the delivery time, the installation and maintenance time, and the estimated delivery duration; wherein the delivery route starts from the delivery starting point, passes through one or more delivery locations, and returns to the delivery starting point; wherein any two adjacent delivery locations in the delivery route meet a restriction condition, and the restriction condition is: ; Wherein, T1 is the delivery time of the nth delivery location in the delivery route, T2 is the delivery time of the n+1th delivery location in the delivery route, t 装维 is the installation and maintenance time corresponding to the nth delivery location in the delivery route, t 估计 is the estimated delivery time between the nth delivery location and the n+1th delivery location, A is the time threshold, and n is an integer greater than or equal to 1; assigning a delivery vehicle to the delivery route according to the delivery goods; The delivery route and the delivery vehicles assigned to the delivery route are generated as a delivery plan.

[0006] In a feasible embodiment of the present application, allocating a delivery vehicle to the delivery route according to the delivery goods includes: Calculating a first total freight volume of the delivery route according to the delivery goods corresponding to each delivery location in the delivery route; The delivery vehicle is allocated to the delivery route so that a second total freight volume is greater than or equal to the first total freight volume; wherein the second total freight volume is the total loading volume of the delivery vehicle.

[0007] In a feasible embodiment of the present application, after the delivery route and the delivery vehicle assigned to the delivery route are generated as a delivery plan, the method further includes: Determining the loading order of the delivery vehicles according to the delivery route; The loading sequence of the delivery vehicle is added to the delivery plan.

[0008] In a feasible embodiment of the present application, determining the loading order of the delivery vehicles according to the delivery route includes: The delivery goods corresponding to the delivery locations on the delivery route are loaded in reverse order of the delivery locations; wherein the delivery goods corresponding to the delivery location passed first are loaded last, and the delivery goods corresponding to the delivery location passed last are loaded first.

[0009] In a feasible embodiment of the present application, all the delivery locations are determined in the delivery order, and the estimated delivery time between any two delivery locations is calculated, including: Get historical delivery records; The estimated delivery time between any two of the delivery locations is calculated based on the historical delivery records.

[0010] In a feasible embodiment of the present application, after the delivery route and the delivery vehicle assigned to the delivery route are generated as a delivery plan, the method further includes: Monitoring the delivery vehicles on the delivery routes to obtain actual working schedules of the delivery vehicles; When there is a discrepancy between the actual worksheet and the delivery plan, a prompt message is sent to the delivery customer.

[0011] In a second aspect, the present application provides a device for generating a distribution plan, the device comprising: An acquisition module is used to acquire a delivery order; wherein the delivery order is used to record the delivery information of the delivery customer, and the delivery information at least includes the delivery time, delivery goods, delivery location and installation and maintenance time; A first determination module, configured to determine all the delivery locations in the delivery order and calculate an estimated delivery time between any two of the delivery locations; The second determination module is used to determine at least one delivery route according to the delivery time, the installation and maintenance time and the estimated delivery time; wherein the delivery route starts from the delivery starting point, passes through one or more delivery locations, and returns to the delivery starting point; wherein any two adjacent delivery locations in the delivery route meet a restriction condition, and the restriction condition is: ; Wherein, T1 is the delivery time of the nth delivery location in the delivery route, T2 is the delivery time of the n+1th delivery location in the delivery route, t 装维 is the installation and maintenance time corresponding to the nth delivery location in the delivery route, t 估计 is the estimated delivery time between the nth delivery location and the n+1th delivery location, A is the time threshold, and n is an integer greater than or equal to 1; An allocation module, configured to allocate a delivery vehicle to the delivery route according to the delivery goods; A generation module is used to generate the delivery route and the delivery vehicles allocated to the delivery route into a delivery plan.

[0012] In a third aspect, the present application provides an electronic device comprising: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; and at least one memory connected to the at least one bus, wherein the processor is configured to execute a method for generating a delivery plan as described in any one of the first aspects of the present application.

[0013] In a fourth aspect, the present application further provides a computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute a method for generating a distribution plan as described in any one of the first aspects of the present application.

[0014] The above technical solution provided by the embodiment of the present application has the following advantages over the prior art: the method provided by the embodiment of the present application obtains a delivery order; wherein the delivery order is used to record the delivery information of the delivery customer, and the delivery information at least includes the delivery time, the delivery goods, the delivery location and the installation and maintenance time; all the delivery locations are determined in the delivery order, and the estimated delivery time between any two delivery locations is calculated, and the estimated delivery time between the delivery starting point and any delivery location is calculated at the same time; at least one delivery route is determined according to the delivery time, the installation and maintenance time and the estimated delivery time; wherein the delivery route starts from the delivery starting point, passes through one or more delivery locations, and returns to the delivery starting point; a delivery vehicle is allocated to the delivery route according to the delivered goods; the delivery route and the delivery vehicles allocated to the delivery route are generated into a delivery plan. Through the technical solution provided by the present application, when determining the delivery plan, at least one delivery route is determined with time as a constraint, a delivery vehicle is allocated to the delivery route, and the delivery route is determined by time, so that the delivery vehicle can deliver goods to each delivery location on the delivery route in a timely manner according to the customer's specified time, and the phenomenon of back and forth delivery is avoided as much as possible, thereby improving the overall efficiency of logistics shipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0016] 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, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0017] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0018] Figure 1 A flow chart of a method for generating a distribution plan provided in an embodiment of the present application; Figure 2 A schematic diagram of the structure of a distribution plan generation device provided in an embodiment of the present application; Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0020] The disclosure below provides many different embodiments or examples to implement different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.

[0021] In order to solve the technical problem in the prior art that back and forth delivery is prone to occur during logistics and freight, resulting in low delivery efficiency, the present application provides a method, device, electronic device and storage medium for generating a distribution plan, which can avoid the occurrence of back and forth delivery as much as possible and improve the overall efficiency of logistics shipment.

[0022] Figure 1 A flow chart of a method for generating a distribution plan provided in an embodiment of the present application is shown in FIG. Figure 1 The present application provides a method for generating a distribution plan, comprising the following steps: S1: Obtain a delivery order; wherein the delivery order is used to record the delivery information of the delivery customer, and the delivery information at least includes the delivery time, delivery goods, delivery location, and installation and maintenance time; Specifically, a delivery order may include multiple delivery orders, each of which is used to record the delivery information of a delivery customer. In a feasible embodiment of the present application, the delivery order of the delivery customer records at least the delivery information of the delivery time, the delivery goods, the delivery location, and the installation and maintenance time, wherein the delivery time refers to the delivery time of the goods scheduled by the customer, the delivery goods describe the type, name, volume, etc. of the goods currently being delivered, the delivery location refers to the delivery location of the goods specified by the customer, and the installation and maintenance time refers to the time it takes to unload the goods at the delivery location after the goods are delivered.

[0023] In a feasible embodiment of the present application, the delivery order can be directly pulled from the back-end server of the business system.

[0024] When obtaining delivery orders, the manager can manually select which delivery orders to obtain. For example, if only freight is required to be delivered to area A, the manager can manually pull the delivery orders whose delivery locations are within area A.

[0025] When obtaining delivery orders, it is also possible to automatically determine which delivery orders to obtain. The manager can pre-set screening rules and pull delivery orders based on the screening rules. For example, the manager can pre-set that only the delivery orders of the day are generated for delivery plans, and then only the delivery orders with delivery time on the day can be pulled.

[0026] In a feasible embodiment of the present application, the multiple delivery orders pulled may be stored in the form of an order table, where each row in the order table corresponds to a delivery order of a delivery customer. The order table may be specifically shown in Table 1 below: Table 1 Order table

[0027] S2: Determine all the delivery locations in the delivery order and calculate the estimated delivery time between any two delivery locations; Specifically, all the delivery orders are traversed, and all the delivery locations are determined from the delivery orders. Taking Table 1 above as an example, in the currently displayed delivery order, all the delivery locations include: location A, location B, location C, and location D.

[0028] After all the delivery locations are determined, the estimated delivery time between any two delivery locations is calculated, and the estimated delivery time between the delivery starting point and any one of the delivery locations is calculated. In a feasible embodiment of the present application, the estimated delivery time between any two delivery locations and the estimated delivery time between the delivery starting point and any one of the delivery locations can be set by the management personnel based on experience.

[0029] In order to accurately calculate the estimated delivery time between any two delivery locations and the estimated delivery time between the delivery starting point and any one of the delivery locations, in a feasible embodiment of the present application, all the delivery locations are determined in the delivery order, and the estimated delivery time between any two delivery locations and the estimated delivery time between the delivery starting point and any one of the delivery locations are calculated, including: Get historical delivery records; Calculate the estimated delivery time between any two delivery locations based on historical delivery records.

[0030] Specifically, historical delivery records can be obtained, and the historical delivery time between any two delivery locations can be determined in the historical delivery records, and the historical delivery time between the delivery starting point and any delivery location can be determined, and the historical delivery time can be used as the estimated delivery time.

[0031] S3: Determine at least one delivery route based on the delivery time, installation and maintenance time, and estimated delivery time; wherein the delivery route starts from the delivery starting point, passes through one or more delivery locations, and returns to the delivery starting point; Specifically, based on the delivery time, installation and maintenance time, and estimated delivery time, several delivery locations are selected from multiple delivery locations included in multiple delivery orders to form one or more delivery routes. Any delivery route starts from the delivery starting point, passes through one or more delivery locations, and finally returns to the delivery starting point again.

[0032] In a feasible embodiment of the present application, at least one delivery route is determined according to the delivery time, installation and maintenance time, and estimated delivery time, including: Determine one or more delivery locations in the delivery route based on the delivery time, installation and maintenance time, and estimated delivery duration, so that any two adjacent delivery locations in the delivery route meet the restriction conditions; The restrictions are: ; Among them, T1 is the delivery time of the nth delivery location in the delivery route, T2 is the delivery time of the n+1th delivery location in the delivery route, and t 装维 is the installation and maintenance time corresponding to the nth delivery location in the delivery route, t 估计 is the estimated delivery time between the nth delivery location and the n+1th delivery location, A is the time threshold, and n is an integer greater than or equal to 1.

[0033] Specifically, when determining the delivery route, the most important reference is the delivery time. In order to ensure that the goods delivered to each delivery location can be delivered on time, the constraints between any two adjacent delivery locations in the delivery route must be met. Under the premise that the constraints between any two adjacent delivery locations in the delivery route are met, the delivery goods can be delivered before the delivery time corresponding to the delivery location, or within a short period of time after the delivery time corresponding to the delivery location.

[0034] In a feasible embodiment of the present application, the time threshold A is set to 60 minutes.

[0035] For example, assuming that the estimated delivery time between location A and location B is 30 minutes, and the estimated delivery time between location A and location C is 20 minutes, referring to Table 1 above, it can be seen that the corresponding delivery time for location A is 10:30, and the installation and maintenance time at location A is 30 minutes, the corresponding delivery time for location B is 9:30, and the installation and maintenance time at location B is 45 minutes, the corresponding delivery time for location C is 14:30, and the installation and maintenance time at location A is 20 minutes, and the set time threshold is 60 minutes.

[0036] Based on the above data, when planning a delivery route, a delivery route passes through location B, and it is necessary to determine the location after location B. If the location after location B is location A, then 10:30-(9:30+45min+30min)=-15min, and setting location B after location A meets the restriction condition; if the location after location B is location C, then 14:30-(9:30+45min+30min)=-225min, and setting location C after location A does not meet the restriction condition. Therefore, in this delivery route, the delivery order is set as location B-location A... ...

[0037] In a feasible embodiment of the present application, in order to realize the configuration of multiple delivery routes, a delivery route can be first determined, and the delivery location corresponding to the delivery order with the earliest delivery time is used as the starting point of the delivery route. Based on the above-mentioned restrictions, the route locations of the delivery route are determined in sequence until no other route locations are found; then, the delivery order with the earliest delivery time is selected from the remaining delivery locations, and the above process is repeated to determine the second delivery route; and so on, until all the delivery locations are selected and multiple delivery routes are generated.

[0038] S4: Allocate delivery vehicles to delivery routes according to the delivered goods; Specifically, on the basis of determining the delivery route, for any delivery route, a delivery vehicle is allocated to the delivery route according to the delivery goods of each delivery location on the delivery route.

[0039] In a feasible embodiment of the present application, allocating a delivery vehicle to a delivery route according to the delivery goods includes: Calculate a first freight volume of the delivery route according to the delivery goods corresponding to each delivery location in the delivery route; A delivery vehicle is allocated to the delivery route so that the second total freight volume is greater than or equal to the first total freight volume; wherein the second total freight volume is the total loading volume of the delivery vehicle.

[0040] Specifically, to calculate the first total freight volume, first obtain the cargo volume of the delivered goods corresponding to each delivery location on the delivery route, and then add up the cargo volumes of the delivered goods to obtain the first total freight volume.

[0041] To calculate the second total freight volume, in a feasible embodiment of the present application, a standard loading volume is set for each delivery vehicle, and the second total freight volume is obtained by multiplying the standard loading volume of the delivery vehicle by the number of delivery vehicles.

[0042] A delivery vehicle is allocated to the delivery route so that the second total freight volume is greater than or equal to the first total freight volume. For example, the current delivery route is location B-location A. Referring to Table 1 above, the first total freight volume is volume a+volume b+volume c. A delivery vehicle is allocated to the delivery route. It is determined whether the standard loading volume of a delivery vehicle is greater than volume a+volume b+volume c. If so, the allocation is completed. If not, a delivery vehicle is added and the above process is repeated until the sum of the standard loading volumes of all delivery vehicles (i.e., the second total freight volume) is greater than or equal to volume a+volume b+volume c.

[0043] In a feasible embodiment of the present application, different delivery vehicles have different loading capacities. In this case, the delivery vehicle information may be obtained, the delivery vehicle information at least including the loading capacities of the delivery vehicles, and the second total freight volume is calculated based on the loading capacities of the delivery vehicles. The delivery vehicles are allocated to the delivery routes based on the loading capacities of the delivery vehicles, so that the second total freight volume is greater than or equal to the first total freight volume.

[0044] S5: Generate a delivery plan by including a delivery route and a delivery vehicle assigned to the delivery route; Specifically, one or more delivery routes are determined, and corresponding delivery vehicles are allocated to any delivery route, thus completing the determination of the delivery plan.

[0045] After the distribution plan is generated, it can be sent to the corresponding distribution vehicle so that the distribution vehicle can deliver the goods according to the distribution route specified in the distribution plan. For the generated distribution plan, any distribution vehicle only delivers goods on one distribution route, avoiding the phenomenon of back and forth distribution as much as possible, which can improve the overall efficiency of logistics shipment.

[0046] In a feasible embodiment of the present application, in order to further improve the overall efficiency of logistics delivery, the loading sequence of the delivery vehicles can be planned so that the delivery vehicles can unload the goods faster at the delivery location. In this embodiment, it specifically includes: Determine the loading sequence of the delivery vehicles based on the delivery routes; Add the loading sequence of the delivery vehicles to the delivery plan.

[0047] In a feasible embodiment of the present application, determining the loading order of the delivery vehicles according to the delivery route includes: The delivery goods corresponding to the delivery locations are loaded in reverse order of the delivery locations on the delivery route; among them, the delivery goods corresponding to the first delivery location passed through are loaded last, and the delivery goods corresponding to the last delivery location passed through are loaded first.

[0048] Specifically, after any delivery route is determined and a corresponding delivery vehicle is allocated for the delivery route, the order of the delivery locations in the delivery route is read, and the loading order of the delivery goods is determined in reverse order of the order of the delivery locations.

[0049] For example, if the delivery route is determined to be location B-location A-location C, and referring to Table 1 above, the loading order of the delivery goods is bill 4-bill 1 or bill 2-bill 3. In this way, when the delivery vehicle arrives at the delivery location, the outermost delivery goods can be directly unloaded without the need for excessive loading and maintenance processes.

[0050] In a feasible embodiment of the present application, the overall height of the delivery goods needs to be considered when determining the loading order of the delivery goods. For any cargo order, the delivery goods are usually placed in the same area of ​​the delivery vehicle, but when the sum of the overall heights of the delivery goods is greater than the height of the delivery vehicle's compartment, the delivery goods continue to be placed in another area of ​​the delivery vehicle.

[0051] In a feasible embodiment of the present application, in order to improve the customer experience, it is necessary to promptly explain to the customer when the delivery goods cannot be delivered on time. In this embodiment, after the delivery route and the delivery vehicle assigned to the delivery route are generated as a delivery plan, the method further includes: Monitor delivery vehicles on delivery routes to obtain actual work schedules of delivery vehicles; If there is a discrepancy between the actual worksheet and the delivery plan, a prompt message will be sent to the delivery customer.

[0052] Specifically, the actual work sheet of the delivery vehicle shows the time nodes when the delivery vehicle arrives at each delivery location in the delivery route. By comparing the actual work sheet with the delivery plan, it can be determined whether the delivery vehicle is likely to exceed the delivery date. If there is an error between the actual work sheet and the delivery plan, it can be considered that the delivery vehicle has arrived early or exceeded the delivery date. At this time, a prompt message will be sent to the customer in a timely manner to inform the customer of the current delivery status.

[0053] For example, the actual work sheet is fed back at 10:10. In the delivery plan, the delivery vehicle should depart from location B to location A at 10:00. However, according to the feedback from the actual work sheet, the delivery vehicle is still at customer B. It is judged that the delay has been at least 10 minutes. The customer can be reminded of the possible delay through the platform WeChat / SMS, so that the customer can prepare in advance.

[0054] Through the technical solution provided by the present application, when determining the distribution plan, at least one distribution route is determined based on time as a constraint, and distribution vehicles are allocated to the distribution route. The distribution route is determined based on time, so that the distribution vehicle can deliver goods to each distribution location on the distribution route in a timely manner according to the customer's specified time, avoiding the phenomenon of back and forth distribution as much as possible, and improving the overall efficiency of logistics shipment.

[0055] Reference Figure 2 , corresponding to the above method embodiment, the present application also provides a distribution plan generation device, the device comprising: The acquisition module 201 is used to acquire a delivery order; wherein the delivery order is used to record the delivery information of the delivery customer, and the delivery information at least includes the delivery time, delivery goods, delivery location and installation and maintenance time; A first determination module 202 is used to determine all the delivery locations in the delivery order and calculate the estimated delivery time between any two delivery locations; The second determination module 203 is used to determine at least one delivery route according to the delivery time, the installation and maintenance time, and the estimated delivery time; wherein the delivery route starts from the delivery starting point, passes through one or more delivery locations, and returns to the delivery starting point; wherein any two adjacent delivery locations in the delivery route meet the restriction condition, and the restriction condition is: ; Where T1 is the delivery time of the nth delivery location in the delivery route, T2 is the delivery time of the n+1th delivery location in the delivery route, and t 装维 is the installation and maintenance time corresponding to the nth delivery location in the delivery route, t 估计 is the estimated delivery time between the nth delivery location and the n+1th delivery location, A is the time threshold, and n is an integer greater than or equal to 1; An allocation module 204, for allocating a delivery vehicle to a delivery route according to the delivered goods; The generation module 205 is used to generate a delivery plan from the delivery route and the delivery vehicles allocated to the delivery route.

[0056] In a feasible embodiment of the present application, the allocation module 204 includes: A first calculation unit, used to calculate a first total freight volume of the delivery route according to the delivery goods corresponding to each delivery location in the delivery route; The allocation unit is used to allocate a delivery vehicle to the delivery route so that the second total freight volume is greater than or equal to the first total freight volume; wherein the second total freight volume is the total loading volume of the delivery vehicle.

[0057] In a feasible embodiment of the present application, the device further includes: After generating the delivery route and the delivery vehicle assigned to the delivery route as a delivery plan, the method further includes: A third determination module is used to determine the loading order of the delivery vehicles according to the delivery route; Add module to add the loading sequence of delivery vehicles to the delivery plan.

[0058] In a feasible embodiment of the present application, the third determination module includes: The second determining unit is used to load the delivery goods corresponding to the delivery locations in reverse order of the delivery locations on the delivery route; wherein the delivery goods corresponding to the first delivery location passed through are loaded last, and the delivery goods corresponding to the last delivery location passed through are loaded first.

[0059] In a feasible embodiment of the present application, the first determining module 202 includes: An acquisition unit, used to acquire historical delivery records; The second calculation unit is used to calculate the estimated delivery time between any two delivery locations based on historical delivery records.

[0060] In a feasible embodiment of the present application, the device further includes: A monitoring module, used to monitor the delivery vehicles on the delivery routes to obtain the actual working schedule of the delivery vehicles; The prompt module is used to send prompt information to the delivery customer when there is a discrepancy between the actual worksheet and the delivery plan.

[0061] like Figure 3 As shown, an embodiment of the present application provides an electronic device, including a processor 301, a communication interface 302, a memory 303 and a communication bus 304, wherein the processor 301, the communication interface 302, and the memory 303 communicate with each other through the communication bus 304. Memory 303, used for storing computer programs; In one embodiment of the present application, the processor 301 is used to execute the program stored in the memory 303 to implement a method for generating a distribution plan provided by any of the aforementioned method embodiments, including: Obtain a delivery order; the delivery order is used to record the delivery information of the delivery customer, and the delivery information at least includes the delivery time, delivery goods, delivery location, and installation and maintenance time; Identify all delivery locations in the delivery order and calculate the estimated delivery time between any two delivery locations; At least one delivery route is determined based on the delivery time, installation and maintenance time, and estimated delivery time. The delivery route starts from the delivery starting point, passes through one or more delivery locations, and returns to the delivery starting point. Any two adjacent delivery locations in the delivery route meet the restriction conditions, which are: ; Where T1 is the delivery time of the nth delivery location in the delivery route, T2 is the delivery time of the n+1th delivery location in the delivery route, and t 装维 is the installation and maintenance time corresponding to the nth delivery location in the delivery route, t 估计 is the estimated delivery time between the nth delivery location and the n+1th delivery location, A is the time threshold, and n is an integer greater than or equal to 1; Allocate delivery vehicles to delivery routes based on the goods being delivered; The delivery routes and the delivery vehicles assigned to the delivery routes are generated as a delivery plan.

[0062] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of a method for generating a distribution plan provided in any of the aforementioned method embodiments are implemented.

[0063] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0064] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution, in essence, or the part that contributes to the relevant technology, can be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiment.

[0065] It should be understood that the terms used in the text are only for the purpose of describing specific example embodiments, and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used in the text may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.

[0066] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for generating a distribution plan, It is characterized in that The method comprises: Obtaining a delivery order; wherein the delivery order is used to record the delivery information of the delivery customer, and the delivery information at least includes the delivery time, delivery goods, delivery location, and installation and maintenance time; Determine all the delivery locations in the delivery order, and calculate the estimated delivery time between any two of the delivery locations; At least one delivery route is determined according to the delivery time, the installation and maintenance time, and the estimated delivery duration; wherein the delivery route starts from the delivery starting point, passes through one or more delivery locations, and returns to the delivery starting point; wherein any two adjacent delivery locations in the delivery route meet a restriction condition, and the restriction condition is: ; Among them, T 1 is the delivery time of the nth delivery location in the delivery route, T 2 is the delivery time of the n+1th delivery location in the delivery route, t 装维 is the installation and maintenance time corresponding to the nth delivery location in the delivery route, t 估计 is the estimated delivery time between the nth delivery location and the n+1th delivery location, A is the time threshold, and n is an integer greater than or equal to 1; assigning a delivery vehicle to the delivery route according to the delivery goods; The delivery route and the delivery vehicles assigned to the delivery route are generated as a delivery plan.

2. The method according to claim 1, It is characterized in that Allocating a delivery vehicle to the delivery route according to the delivery goods includes: Calculating a first total freight volume of the delivery route according to the delivery goods corresponding to each delivery location in the delivery route; The delivery vehicle is allocated to the delivery route so that a second total freight volume is greater than or equal to the first total freight volume; wherein the second total freight volume is the total loading volume of the delivery vehicle.

3. The method according to claim 1, It is characterized in that After generating the delivery route and the delivery vehicles assigned to the delivery route into a delivery plan, the method further includes: Determining the loading order of the delivery vehicles according to the delivery route; The loading sequence of the delivery vehicle is added to the delivery plan.

4. The method according to claim 3, It is characterized in that Determining the loading sequence of the delivery vehicle according to the delivery route includes: The delivery goods corresponding to the delivery locations on the delivery route are loaded in reverse order of the delivery locations; wherein the delivery goods corresponding to the delivery location passed first are loaded last, and the delivery goods corresponding to the delivery location passed last are loaded first.

5. The method according to claim 1, It is characterized in that Determining all the delivery locations in the delivery order and calculating the estimated delivery time between any two of the delivery locations includes: Get historical delivery records; The estimated delivery time between any two of the delivery locations is calculated based on the historical delivery records.

6. The method according to claim 5, It is characterized in that After generating the delivery route and the delivery vehicles assigned to the delivery route into a delivery plan, the method further includes: Monitoring the delivery vehicles on the delivery routes to obtain actual working schedules of the delivery vehicles; When there is a discrepancy between the actual worksheet and the delivery plan, a prompt message is sent to the delivery customer.

7. A distribution plan generating device, It is characterized in that The device comprises: An acquisition module is used to acquire a delivery order; wherein the delivery order is used to record the delivery information of the delivery customer, and the delivery information at least includes the delivery time, delivery goods, delivery location and installation and maintenance time; A first determination module, configured to determine all the delivery locations in the delivery order and calculate an estimated delivery time between any two of the delivery locations; The second determination module is used to determine at least one delivery route according to the delivery time, the installation and maintenance time and the estimated delivery time; wherein the delivery route starts from the delivery starting point, passes through one or more delivery locations, and returns to the delivery starting point; wherein any two adjacent delivery locations in the delivery route meet a restriction condition, and the restriction condition is: ; Among them, T 1 is the delivery time of the nth delivery location in the delivery route, T 2 is the delivery time of the n+1th delivery location in the delivery route, t 装维 is the installation and maintenance time corresponding to the nth delivery location in the delivery route, t 估计 is the estimated delivery time between the nth delivery location and the n+1th delivery location, A is the time threshold, and n is an integer greater than or equal to 1; An allocation module, configured to allocate a delivery vehicle to the delivery route according to the delivery goods; A generation module is used to generate the delivery route and the delivery vehicles allocated to the delivery route into a delivery plan.

8. An electronic device, It is characterized in that include: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor coupled to the at least one bus; At least one memory connected to the at least one bus, wherein the processor is configured to implement the method according to any one of claims 1-6.

9. A computer storage medium, It is characterized in that Computer executable instructions are stored, and the computer executable instructions are used to execute the method according to any one of claims 1-6.

Citation Information

Patent Citations

  • Smart electric meter distribution task planning and scheduling optimization method

    CN106845857A

  • Delivery system, server, movable body, and baggage delivery method

    CN109840735A

  • Distribution route planning method, system, and server equipment

    CN112396368A

Cited By

  • Merchant inspection path planning method, electronic device and program product

    CN120467363A