Distribution scheduling method and device

By pre-creating a delivery template in fresh food distribution, matching the target delivery subject and generating tasks, the problem of low delivery efficiency in the existing technology is solved, and an efficient and orderly delivery process and service quality improvement is achieved.

CN119047957APending Publication Date: 2024-11-29BEIJING YUNSHAN INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411229037.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-03
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

In the fresh food distribution process, the efficiency of real-time matching of delivery personnel and transportation equipment is low, resulting in wasting information processing time and resources during the delivery process, affecting product freshness and quality.

Method used

By creating a delivery template based on delivery quality data and cost data in advance, matching the target delivery subject, and generating delivery tasks, improving delivery efficiency and smooth task execution.

Benefits of technology

The selection range of target distribution entities has been shortened, the efficiency of distribution task generation and execution is improved, the efficiency and order of the distribution process is ensured, and the quality of service is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119047957A_ABST
    Figure CN119047957A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a delivery scheduling method and device, and the method comprises the steps: obtaining a target delivery template matched with the delivery address and the delivery time according to the delivery address and the delivery time of a delivery order in response to the received delivery order, the target distribution template comprises a configured distribution route area and a distribution main body, the distribution main body is selected in advance according to distribution quality data and distribution cost data and is arranged in the distribution template, and the distribution quality data and the distribution cost data are calculated based on distribution historical data corresponding to the distribution route area of the distribution main body; determining a corresponding target delivery subject for the delivery order according to a target delivery template matched with the delivery address and the delivery time, and generating a corresponding delivery task; and sending the delivery task to a target delivery subject corresponding to the delivery order. According to the embodiment of the invention, the selection range of distribution information can be narrowed, and the distribution efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of this specification relate to the field of logistics technology, and in particular to a distribution scheduling method and device. Background Art

[0002] Under existing technical conditions, real-time matching of delivery personnel and transportation equipment is a very important task in the fresh food delivery process. Since fresh products are perishable, every link in the delivery process needs to be precisely controlled to ensure the freshness and quality of the products. To achieve this goal, the delivery system needs to obtain and determine a large amount of information in real time. The complexity of this information makes the matching efficiency relatively low, and the delivery system needs to spend a lot of time and resources to process this information to ensure the smooth progress of the delivery task.

[0003] Therefore, improving the efficiency of distribution and scheduling has become an urgent problem to be solved in the field of fresh food distribution. Summary of the invention

[0004] In view of this, an embodiment of this specification provides a delivery scheduling method. One or more embodiments of this specification also relate to a delivery scheduling device, a computing device, a computer-readable storage medium and a computer program to solve the technical defects existing in the prior art.

[0005] According to a first aspect of an embodiment of this specification, a delivery scheduling method is provided, including:

[0006] In response to receiving a delivery order, according to the delivery address and delivery time of the delivery order, a target delivery template is obtained, wherein the delivery route area matches the delivery address and the delivery cycle matches the delivery time, wherein the target delivery template includes a configured delivery route area, a delivery cycle and a delivery subject, wherein the delivery subject is selected and set in advance in the target delivery template according to delivery quality data and delivery cost data, and the delivery quality data and the delivery cost data are calculated based on the delivery history data corresponding to the delivery subject in the delivery route area;

[0007] According to the target delivery template, determining the corresponding target delivery entity for the delivery order and generating the corresponding delivery task;

[0008] The delivery task is sent to the target delivery entity corresponding to the delivery order.

[0009] According to a second aspect of an embodiment of this specification, a delivery scheduling device is provided, including:

[0010] An order receiving module is configured to, in response to receiving a delivery order, obtain a target delivery template whose delivery route area matches the delivery address and whose delivery cycle matches the delivery time according to the delivery address and delivery time of the delivery order, wherein the target delivery template includes a configured delivery route area, a delivery cycle and a delivery subject, wherein the delivery subject is selected and set in advance in the target delivery template according to delivery quality data and delivery cost data, and the delivery quality data and the delivery cost data are calculated based on the delivery history data corresponding to the delivery subject in the delivery route area;

[0011] A template matching module is configured to determine a corresponding target delivery entity for the delivery order according to the target delivery template, and generate a corresponding delivery task;

[0012] The task generation module is configured to send the delivery task to the target delivery entity corresponding to the delivery order.

[0013] According to a third aspect of an embodiment of this specification, a computing device is provided, including:

[0014] Memory and processor;

[0015] The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the above-mentioned distribution scheduling method are implemented.

[0016] According to a fourth aspect of the embodiments of this specification, a computer-readable storage medium is provided, which stores computer-executable instructions, and when the instructions are executed by a processor, the steps of the above-mentioned delivery scheduling method are implemented.

[0017] According to a fifth aspect of the embodiments of this specification, a computer program is provided, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the above-mentioned delivery scheduling method.

[0018] One embodiment of the present specification can pre-establish a delivery template based on historical data before receiving an order. The delivery template is configured with delivery routes, delivery cycles and delivery entities, so that after matching the target delivery template, delivery can be performed directly according to the information configured in the template, thereby improving delivery efficiency. After receiving the order, the corresponding target delivery template is determined, the corresponding target delivery entity is determined for the delivery order, and a delivery task is generated. Since the delivery entity has been configured in the target delivery template, the target delivery entity is determined from these delivery entities, which effectively narrows the selection range of the target delivery entity and improves the efficiency of generating delivery tasks. Furthermore, the generated delivery task is sent to the corresponding target delivery entity, so that the tasks can be executed in an orderly manner, thereby further improving delivery efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 is a flow chart of a delivery scheduling method provided by an embodiment of this specification;

[0020] Figure 2 It is a processing flow chart of a delivery scheduling method applied to a fresh food delivery scenario provided by an embodiment of this specification;

[0021] Figure 3 It is a schematic diagram of road area drawing of a delivery scheduling method provided by an embodiment of this specification;

[0022] Figure 4 It is a structural schematic diagram of a distribution scheduling device provided by an embodiment of this specification;

[0023] Figure 5 It is a structural block diagram of a computing device provided by an embodiment of this specification. DETAILED DESCRIPTION

[0024] Many specific details are described in the following description to facilitate a full understanding of this specification. However, this specification can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of this specification, so this specification is not limited to the specific implementation disclosed below.

[0025] The terms used in one or more embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of this specification. The singular forms of "a", "said" and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.

[0026] It should be understood that although the terms first, second, etc. may be used to describe various information in one or more embodiments of this specification, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0027] In addition, it should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in one or more embodiments of this specification are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0028] In this specification, a delivery scheduling method is provided. This specification also relates to a delivery scheduling device, a computing device, and a computer-readable storage medium, which are described in detail one by one in the following embodiments.

[0029] See also Figure 1 , Figure 1 A flow chart of a delivery scheduling method provided according to an embodiment of the present specification is shown. The delivery scheduling method can be applied to an order management platform and specifically includes the following steps.

[0030] Step 102: In response to receiving a delivery order, a target delivery template is obtained according to the delivery address and delivery time of the delivery order, the delivery route area of ​​which matches the delivery address and the delivery cycle of which matches the delivery time.

[0031] Among them, the target delivery template contains the configured delivery route area, delivery cycle and delivery subject, wherein the delivery subject is pre-selected and set in the target delivery template based on delivery quality data and delivery cost data, and the delivery quality data and the delivery cost data are calculated based on the delivery history data corresponding to the delivery subject in the delivery route area.

[0032] Specifically, a delivery order refers to a request submitted by a user through an online platform or mobile application to deliver goods or services to a designated location. The delivery address usually includes information such as the street, house number, city, and zip code, while the delivery time specifies the specific time range in which the user wants to receive the goods or services. The target delivery template refers to a pre-set delivery plan that contains information such as the delivery route, delivery time, and delivery entity. The delivery entity can be a transportation tool or delivery personnel used to deliver goods. Delivery quality data is used to reflect the overall delivery quality of the delivery entity, including delivery efficiency, punctuality, customer satisfaction, and other indicators, while delivery cost data reflects the overall delivery cost of the delivery entity in the process of delivering goods, including transportation costs, labor costs, time costs, etc. By analyzing historical data, delivery entities with excellent performance can be screened out and configured in the target delivery template to ensure efficient and high-quality completion of delivery tasks.

[0033] Furthermore, in order to quickly match the corresponding delivery template to complete the delivery task after receiving the order, it is necessary to create the delivery template before receiving the order. Therefore, before receiving the delivery order, it also includes:

[0034] Divide the distribution station area into at least two distribution road areas; obtain historical order data corresponding to the distribution road area, determine the historical distribution time of the distribution road area according to the historical order data, and determine the distribution cycle according to the historical distribution time; determine the distribution history data corresponding to the distribution road area of ​​the candidate distribution subject in the historical order data, determine the distribution quality data and the distribution cost data according to the distribution history data, and determine the distribution subject corresponding to the distribution road area among the candidate distribution subjects according to the distribution quality data and the distribution cost data; generate a distribution template based on the distribution station area, the distribution road area, and the distribution cycle and distribution subject corresponding to the distribution road area.

[0035] Specifically, the distribution station area refers to the geographical area where the distribution center or warehouse is located, which is responsible for the distribution of goods within a certain range. Historical order data refers to the detailed information of orders in the past period of time before the creation of the distribution template. For example, historical orders can contain information such as customer name, order time, delivery time, delivery personnel, transportation equipment, delivery address, warehouse location, etc. The distribution cycle refers to the fixed time interval at which the distribution task needs to be performed on the distribution object. For example, it is necessary to deliver to certain merchants in the distribution area every Monday, so the distribution cycle of the corresponding distribution template is configured as every Monday. It should be noted that each distribution area may correspond to one or more distribution templates, and each distribution template corresponds to a distribution cycle. The distribution cycles of different distribution templates may be the same or different. Candidate distribution entities refer to transportation tools or distribution personnel that can be selected for the distribution of goods.

[0036] Based on this, for each distribution station area, the distribution station area can be divided into at least two distribution road areas. Overlapping is allowed between the distribution road areas. Dividing the distribution station area into different distribution road areas helps to optimize the distribution route and improve the distribution efficiency. In actual applications, the road areas can be divided according to factors such as longitude and latitude, the distance between the customer and the distribution warehouse, or the density of customers in different geographical locations. In order to more accurately create a distribution template corresponding to the distribution road area, it is necessary to obtain historical order data within the distribution road area. By analyzing these historical order data, the distribution needs and distribution characteristics of each distribution road area can be understood, and then the historical distribution time of the distribution road area can be determined. According to the historical distribution time, the distribution cycle corresponding to the distribution template is determined. More specifically, the distribution template also needs to specify the specific distribution batch. The distribution batch is any time period of the day, for example, morning distribution or afternoon distribution.

[0037] Next, the delivery history data of each candidate delivery entity within the current delivery route area is determined from the historical order data. By analyzing the delivery history data of the candidate delivery entity in each delivery route area, its delivery quality and cost performance can be evaluated. The delivery quality data and delivery cost data are calculated based on historical data and are used to measure the performance of the candidate delivery entity in a specific delivery route area, and then determine the delivery entity corresponding to the delivery template.

[0038] When determining the distribution entity corresponding to the distribution route area, it is necessary to comprehensively consider the distribution quality data and distribution cost data and select the distribution entity with the best performance. For example, if a distribution entity has a high punctuality rate and customer satisfaction in a certain distribution route area, but the cost is relatively high, and another distribution entity has a lower cost but slightly inferior distribution quality, you can make a trade-off based on actual needs and cost budget. The process of generating a distribution template is to integrate the distribution station area, distribution route area, distribution cycle and selected distribution entity to form a complete distribution plan template. This template can be used to guide actual distribution tasks and ensure the efficiency and orderliness of the distribution process.

[0039] In one embodiment of the present specification, the distribution road area can also be divided into at least one distribution station area, that is, a distribution station area can include one or more distribution road areas. In the case of dividing the distribution station area into one distribution road area, the boundary of the distribution station area can be used as the boundary of the distribution road area, and the distribution station area can be directly used as the distribution road area. For example, if the area of ​​distribution station area A is smaller than the preset area and / or the order cycle of merchants greater than the preset number within the distribution station area A is uniform, then the distribution station area A can be directly used as a distribution road area. In this case, the distribution template corresponding to the distribution road area can still be created in the aforementioned manner. The specific process will not be repeated here, and the aforementioned steps can be referred to.

[0040] Through the above steps, the embodiment of this specification can analyze the user's delivery rules in the delivery route area according to the user's historical orders, and pre-create multiple delivery templates, each template corresponding to the distribution station area, distribution route area, distribution cycle and distribution subject. When receiving a new delivery order, the system can quickly match the most suitable delivery template, thereby quickly generating a delivery plan, improving delivery efficiency and ensuring service quality.

[0041] Furthermore, in order to ensure the delivery efficiency of each order as much as possible, it is necessary to accurately match the corresponding delivery subject for each delivery template, and the delivery subject is generally divided into two categories: transportation tools and delivery personnel. In the case where the delivery subject includes a transportation tool, the delivery subject corresponding to the delivery road area is determined from the candidate delivery subjects according to the delivery quality data and the delivery cost data, including:

[0042] From a first mapping relationship table created in advance, find out the tool delivery quality condition satisfied by the delivery quality data as the target tool delivery quality condition, the first mapping relationship table containing the mapping relationship between the tool delivery quality condition corresponding to the delivery route area, the tool delivery cost condition and at least two types of transportation tools; from the first mapping relationship table, find out the tool delivery cost condition satisfied by the delivery cost data as the target tool delivery cost condition; in the first mapping relationship table, find out the transportation tools corresponding to the target tool delivery quality condition and the target tool delivery cost condition as the transportation tools of the target type.

[0043] Specifically, the first mapping relationship table is created in advance before creating the distribution template, and contains the mapping relationship between different tool distribution conditions and different types of transportation tools. The tool distribution quality conditions refer to the quality standards that the transportation tools need to meet during the distribution process, such as full load rate, punctuality rate, breakage rate, etc. The tool distribution cost conditions involve the use cost of the transportation tools, such as fuel costs, maintenance fees, etc. By pre-creating such a mapping relationship table, each distribution template can be quickly matched with a suitable transportation tool to ensure that the distribution process is both efficient and economical. The target type refers to a type of transportation tool selected from the multiple types of transportation tools configured in the first mapping relationship table. The target type of transportation tool will eventually be configured in the distribution template.

[0044] Based on this, there are multiple tool delivery quality conditions and multiple tool delivery cost conditions in the first mapping relationship. The tool delivery quality condition satisfied by the delivery quality data is searched in the multiple tool delivery quality conditions contained in the first mapping relationship table, and it is used as the target tool delivery quality condition. The tool delivery cost condition satisfied by the delivery cost data is searched in the multiple tool delivery cost conditions, and it is used as the target tool delivery cost condition. The target type of transportation tool corresponding to the target tool delivery quality condition and the target tool delivery cost condition is searched in the first mapping relationship table, and the transportation tool is configured in the delivery template. In this way, each delivery template is matched with a specific transportation tool, thereby ensuring the smooth progress of the delivery task.

[0045] For example, the merchant corresponding to the delivery template 1 of the delivery history data is determined from the historical order data, the total delivery volume is 48 cubic meters, the average fuel consumption is 6 liters / 100 kilometers, and the corresponding vehicle model is determined to be a C-type vehicle according to the pre-established first mapping relationship table. It should be noted that the tool delivery quality conditions and tool delivery cost conditions in this embodiment are exemplary. In actual applications, the tool delivery quality data can be any data that can reflect the delivery quality of the transportation tool, such as full load rate, speed, tool delivery efficiency, etc., wherein the tool delivery efficiency can be determined by the ratio of the total number of parcels delivered by the transportation tool in the past period of time to the total delivery time. Similarly, the tool delivery cost data can be any data that can reflect the delivery cost of the transportation tool, such as fuel costs, maintenance costs, etc.

[0046] In practical applications, the transport tool corresponding to the distribution template can be determined by using the package accrual and piecework methods. It can be understood that the tool distribution efficiency of the transport tool is measured by the package accrual and piecework methods, so as to match the appropriate transport tool for different distribution templates. For example, in one embodiment of the present description, taking the tool distribution quality data as the tool distribution efficiency as an example, the historical distribution data is determined based on the historical order data, and then it is determined that the average number of packages delivered by the merchant corresponding to the distribution template 1 is 80 per day. According to the 8-hour working time per day, the number of packages delivered per hour should be at least 10, and after calculation based on the historical distribution data, in order to control costs, the fuel consumption is required to be less than 10 liters / 100 kilometers. According to the first mapping relationship table, the distribution efficiency is 10 / hour, the average fuel consumption is less than liters / 100 kilometers, and the corresponding vehicle model is a C-type vehicle.

[0047] The embodiment of this specification matches the corresponding transportation tools to the delivery template through the tool delivery quality data, tool delivery cost data and the first mapping relationship table, which can effectively control the transportation cost of the transportation tools during the delivery process and improve the transportation quality.

[0048] Due to the different ordering times of customers in the distribution station area, the order density between different distribution road areas is different, and different distribution road areas require different delivery personnel. However, the delivery time of the delivery personnel is uncontrollable. It is necessary to judge the corresponding personnel delivery quality and personnel delivery cost based on the historical orders within the distribution road area, and then select the corresponding delivery personnel. In terms of the selection of delivery personnel, the process is similar to that of transportation tools. When the delivery subject includes the delivery personnel, the delivery subject corresponding to the distribution road area is determined from the candidate delivery subjects according to the delivery quality data and the delivery cost data, including:

[0049] From a second mapping relationship table created in advance, find out the personnel delivery quality conditions satisfied by the delivery quality data as the target personnel delivery quality conditions, wherein the second mapping relationship table contains a mapping relationship between the personnel delivery quality conditions corresponding to the delivery route area, the personnel delivery cost conditions and at least two candidate personnel; from the second mapping relationship table, find out the personnel delivery cost conditions satisfied by the delivery cost data as the target personnel delivery cost conditions; in the second mapping relationship table, find out the candidate personnel corresponding to the target personnel delivery quality conditions and the target personnel delivery cost conditions as the delivery personnel.

[0050] Specifically, the second mapping relationship table is created in advance before creating the delivery template, and contains the mapping relationship between different personnel delivery conditions and different types of delivery personnel. Personnel delivery quality conditions refer to the quality standards that delivery personnel need to meet during the delivery process, such as punctuality, service attitude, delivery accuracy, etc. Personnel delivery cost conditions involve cost factors such as the salary and benefits of delivery personnel. By creating such a mapping relationship table in advance, each delivery template can be quickly matched with a suitable delivery personnel, ensuring that the delivery process is both efficient and economical.

[0051] Based on this, there are multiple personnel delivery quality conditions and multiple personnel delivery cost conditions in the second mapping relationship table. The personnel delivery quality conditions satisfied by the delivery quality data are searched in the multiple personnel delivery quality conditions contained in the second mapping relationship table, and are used as the target personnel delivery quality conditions. The personnel delivery cost conditions satisfied by the delivery cost data are searched in the multiple personnel delivery cost conditions, and are used as the target personnel delivery cost conditions. The delivery personnel corresponding to the target personnel delivery quality conditions and the target personnel delivery cost conditions are searched in the second mapping relationship table, and the delivery personnel are configured in the delivery template. In this way, each delivery template is matched with a specific delivery personnel, thereby ensuring the smooth progress of the delivery task.

[0052] For example, according to the above historical delivery data, it can be determined that the delivery speed required in the delivery area is at least 1 km / min. The second mapping relationship table determines that Zhang San's average delivery speed in the delivery area is 1.0275 km / min, Li Si's average delivery speed in the delivery area is 0.69 km / min, and Wang Wu's average delivery speed in the delivery area is 0.64 km / min. Zhang San's overtime expense is the lowest. Therefore, Zhang San can be used as the main delivery personnel of the current delivery template 1, and Wang Wu can be used as a backup delivery personnel. It should be noted that the personnel delivery quality conditions and personnel delivery cost conditions in this embodiment are exemplary. In actual applications, the personnel delivery quality data can be any data that can reflect the delivery quality of the delivery personnel, such as personnel delivery efficiency, customer satisfaction, etc., wherein the personnel delivery efficiency can be determined by the ratio of the total number of parcels delivered by the delivery personnel in the past period of time to the total delivery time. Similarly, the personnel delivery cost data can be any data that can reflect the delivery cost of the delivery personnel, such as overtime pay, training expenses, etc. The number of backup delivery personnel can be determined based on the historical order volume in the historical data.

[0053] In practical applications, the delivery personnel corresponding to the delivery template can be determined by using the parcel accrual and piecework methods, which can be understood as measuring the delivery efficiency of the delivery personnel by using the parcel accrual and piecework methods, so as to match the appropriate delivery personnel for different delivery templates. For example, in another embodiment of this specification, taking the personnel delivery quality data as the personnel delivery efficiency as an example, the historical delivery data is determined based on the historical order data, and then it is determined that the average number of parcels delivered by the merchant corresponding to the delivery template 1 is 80 per day. According to the 8-hour working time per day, the number of parcels delivered per hour should be at least 10. At the same time, after calculating according to the historical delivery data, the overtime cost requirement is less than 300. According to the second mapping relationship table, it is found that Zhang San's delivery efficiency in the delivery road area is 7 / hour, and Wang Wu's delivery efficiency in the delivery road area is 5 / hour. The total delivery efficiency of Zhang San and Wang Wu is higher than 10 / hour, and the overtime cost is less than 100. Therefore, Zhang San can be used as the main delivery personnel and Wang Wu can be used as the backup delivery personnel.

[0054] The embodiments of this specification match the corresponding delivery personnel to the delivery template through personnel delivery quality data, personnel delivery cost data and a second mapping relationship table, so as to pre-determine fixed delivery personnel for fixed delivery areas, reduce the time and difficulty of arranging lines, and effectively control the costs of delivery personnel in the delivery process. At the same time, it can stabilize the transportation capacity and make the service more efficient and improve the delivery quality.

[0055] In another embodiment of the present specification, in addition to determining the delivery quality and delivery cost of delivery in different delivery routes based on historical data, the delivery quality and delivery cost may also be determined by counting the delivery personnel's familiarity with each delivery route.

[0056] In summary, through the pre-created mapping relationship table, combined with the delivery quality data and delivery cost data, each delivery template can be accurately matched with the most suitable transportation tools and delivery personnel. Such a delivery template can not only improve delivery efficiency, but also ensure service quality and meet the specific needs of different delivery routes. Finally, through the delivery plan template generated by the system, the delivery process can be automated and intelligent, providing users with more efficient and convenient delivery services, and providing flexible and efficient delivery solutions for distribution stations.

[0057] Further, after the template is created, after a period of time of distribution according to the created template, the order volume of different merchants in the distribution route area may change. In order to adapt to the change of orders, it is necessary to adjust the information in the distribution template. After sending the distribution task to the target distribution entity corresponding to the distribution order, it also includes:

[0058] When the delivery template adjustment conditions are met, the updated delivery history data of the delivery route area corresponding to the target delivery template is obtained, the updated delivery quality data and the updated delivery cost data are determined based on the updated delivery history data, and the scope, delivery cycle and / or delivery entity of the delivery route area configured for the target delivery template are adjusted based on the updated delivery quality data and the updated delivery cost data.

[0059] Specifically, the delivery template adjustment condition refers to the information in the delivery template that refers to the standard that needs to be adjusted. It can be adjusted according to the cycle, or adjusted according to the adjustment request initiated by the staff, or adjusted according to the customer feedback or delivery staff feedback during the delivery process. Updating the delivery history data means obtaining the delivery data in the update time period after executing the delivery task for a period of time and before adjusting the delivery template based on the created delivery template or the delivery template adjusted last time.

[0060] Based on this, when the delivery template adjustment conditions are met, the delivery quality data and delivery cost data can be updated by analyzing the updated historical delivery data. The execution quality and execution cost of the delivery task during the update period can be determined by analyzing the updated delivery quality data and the updated delivery cost data, thereby providing a basis for the adjustment of the delivery template. According to the analysis results, the scope of the delivery road area can be adjusted to adapt to the changes in order volume, or the delivery cycle can be optimized to improve delivery efficiency. In addition, the delivery subject can also be adjusted according to the updated delivery quality data and cost data, and more suitable transportation tools and delivery personnel can be selected to ensure the smooth completion of the delivery task.

[0061] For example, according to the updated historical data of delivery area A, it can be known that the order volume in delivery area A has increased significantly compared with before, and then according to the updated historical data, the total volume of the current delivery goods is calculated to be greater than the first preset threshold, and the full load rate of the currently used type C vehicle is greater than 100%. Therefore, it is determined that it is necessary to replace it with a type B vehicle with a larger capacity; if it is determined according to the updated historical data that the delivery cycles of the first number of merchants in the delivery template 1 in the delivery area have been reduced, it is necessary to re-establish a delivery template with a smaller delivery cycle, or correspond these merchants to other delivery templates; if it is determined according to the updated delivery historical data that in the current delivery area, the main delivery driver Zhang San corresponding to the delivery template 1 has low delivery efficiency and many negative reviews from customers, then it is necessary to replace the main delivery personnel.

[0062] If the order volume in a certain delivery route increases significantly, it may be necessary to increase the number of transport vehicles or adjust the type of transport vehicles to meet the higher delivery demand. If the delivery cycle is too long and customer satisfaction decreases, the delivery cycle can be shortened and the delivery frequency can be increased. In addition, if it is found that some delivery personnel have quality problems or the cost is too high during the delivery process, it can be considered to replace more suitable delivery personnel to improve delivery quality and reduce delivery costs.

[0063] In the embodiments of this specification, by continuously optimizing the delivery template, the delivery process can be continuously improved, and the delivery efficiency and customer satisfaction can be improved. By intelligently analyzing and dynamically adjusting the delivery template, the delivery process can be automated and intelligent, providing users with efficient and convenient delivery services, while providing flexible and efficient delivery solutions for the delivery station area. By continuously optimizing the delivery template, the smooth progress of the delivery task can be ensured, the delivery quality and customer satisfaction can be improved, and the continuous improvement and optimization of the delivery process can be finally achieved.

[0064] Furthermore, since there may be some customers who place orders periodically in the delivery route area, such as food courts, canteens, tourist attractions, etc., in order to improve the delivery efficiency, the target cycle of the delivery template may be determined according to the delivery cycle of this type of customers. Therefore, the historical delivery time of the delivery route area is determined according to the historical order data, and the delivery cycle is determined according to the historical delivery time, including:

[0065] Determine the historical delivery time of each historical delivery address in the delivery route area according to the historical order data; determine the first historical delivery time with a periodic law from the historical delivery time, and determine the delivery cycle according to the first historical delivery time.

[0066] Specifically, the historical delivery address is the customer's delivery address, and the historical delivery time refers to the time when the delivery personnel delivers the goods to the historical delivery address.

[0067] Based on this, periodic patterns can be identified through statistical analysis methods of historical order data, identifying regular fluctuations in orders within a specific time period, thereby determining the optimal value of the delivery cycle.

[0068] For example, the distribution station area A is divided into distribution road area A and distribution road area B. Taking distribution road area A as an example, the historical order data corresponding to distribution road area A is obtained as shown in Table 1.

[0069] Table 1:

[0070] Order Name Customer Name Order time Shipping address Order 001 Merchant A 2024 / 1 / 2 10:00 Position A Order 002 Merchant B 2024 / 1 / 2 10:01 Location B Order 003 Merchant B 2024 / 1 / 3 10:02 Location B Order 004 Merchant A 2024 / 1 / 9 10:00 Position A Order 005 Merchant B 2024 / 1 / 4 10:05 Location B Order 006 Merchant A 2024 / 1 / 16 10:10 Position A

[0071] The delivery cycle of delivery template 1 corresponding to the delivery route area is determined by historical order data to be every Tuesday, and the delivery cycle of another delivery template 2 is every day. Furthermore, the delivery batches corresponding to each delivery template are all delivered in the morning. It should be noted that the above historical order data is an exemplary display of a part that can be used to determine the delivery cycle. In addition, it also includes delivery history data that can be used to determine the delivery subject.

[0072] In one embodiment of the present specification, a corresponding cycle label can be set for delivery addresses with the same delivery cycle, and the delivery cycle of the historical delivery address can be judged by the cycle label. Thus, when an order initiated by the historical delivery address is received again after a delivery template is subsequently created, the corresponding cycle label can be found and the corresponding delivery cycle can be determined based on the correspondence between the historical delivery address and the delivery address in the order, thereby determining the target delivery template.

[0073] In actual applications, some orders do not have a periodic pattern. In one embodiment of the present specification, for this type of order, a delivery template with a delivery period that is consistent or close to the delivery time of the current order can be selected from existing delivery templates as the target delivery template based on the delivery time in the order.

[0074] For example, among the delivery templates that have been created, the delivery cycle of delivery template 1 is every morning, and the delivery cycle of delivery template 2 is every Tuesday morning. A new order is received, the delivery time in the order is 9:30 am, the date of the order is Tuesday, and it is determined based on the delivery address in the order that there is no corresponding cycle label. Delivery template 2 can be used as the target delivery template.

[0075] The embodiments of this specification can further optimize the delivery template by analyzing historical order data, determining the historical delivery time of the delivery route area, and determining the delivery cycle based on these data. By configuring the delivery cycle for the delivery template based on periodic rules, the delivery efficiency can be improved, the delivery cost can be reduced, and finally the continuous improvement and optimization of the delivery process can be achieved.

[0076] Furthermore, statutory holidays or seasonal changes may affect the user's order time, causing the user's order time to change in certain specific time periods. In this case, the user can set a custom delivery cycle for his or her delivery template according to the actual changes, and obtain a target delivery template whose delivery route area matches the delivery address and whose delivery cycle matches the delivery time, including:

[0077] Acquire a target delivery template from a delivery template set, the delivery route area matching the delivery address and the delivery cycle matching the delivery time, wherein the delivery template set includes a plurality of delivery templates configured with delivery route areas, delivery cycles and delivery entities;

[0078] The method further comprises:

[0079] Receiving a delivery template to be edited selected by a user through a delivery template selection page and custom delivery cycle data set for the delivery template to be edited, wherein the delivery template selection page is used to display multiple delivery templates in the delivery template set for selection;

[0080] The user's customized delivery cycle data is set for the delivery template to be edited.

[0081] For example: in response to receiving a delivery order, before obtaining a target delivery template that matches the delivery address and delivery time according to the delivery address and delivery time of the delivery order, the delivery template to be edited selected by the user through the delivery template selection page and the custom delivery cycle data set for the delivery template to be edited can be received; and the user's custom delivery cycle data can be set for the delivery template to be edited.

[0082] Specifically, the user can be a delivery person, an administrator of the order management platform, or a customer who requires delivery services. Different users have their own corresponding setting permissions.

[0083] Based on this, users can select the corresponding delivery template according to their needs through the delivery template selection page and edit the selected template. When setting a custom delivery cycle, users can enter a specific date and time range, and the order management platform will automatically adjust the delivery plan according to the cycle set by the user. For example, if the user wants to increase the delivery frequency around a statutory holiday, a special delivery cycle can be set to ensure that delivery tasks can be given priority during this time period.

[0084] Taking the user as a delivery personnel as an example, if the user finds that the order volume of customers corresponding to delivery template 1 exceeds the preset number and increases significantly during the statutory holidays, the statutory holidays can be set as the delivery cycle of delivery template 1 to ensure that customer needs can be met in a timely manner during peak demand periods.

[0085] In order to ensure the accuracy and effectiveness of the customized delivery cycle, the system can also provide historical data analysis function. When setting a customized cycle, users can refer to historical order data and delivery time to ensure that the set cycle can truly meet actual needs.

[0086] It should be noted that when a delivery template is configured with a custom delivery cycle, the custom delivery cycle has a higher priority than the original delivery cycle. You can configure a custom delivery cycle at any time after the delivery template is created.

[0087] In the embodiments of this specification, the delivery template will be closer to the actual business needs through the setting of the user-defined delivery cycle, improving the delivery efficiency and customer satisfaction. At the same time, the system will continuously collect feedback data and continuously optimize the delivery template to ensure the continuous improvement and optimization of the delivery process.

[0088] Step 104: According to the target delivery template that matches the delivery address and delivery time, a corresponding target delivery entity is determined for the delivery order, and a corresponding delivery task is generated.

[0089] Specifically, the target delivery template is selected from multiple created delivery templates and is used to ultimately indicate how to generate a delivery task. The target delivery subject can be understood as the delivery subject that ultimately executes the delivery task.

[0090] Based on this, since each delivery template is configured with at least two delivery entities, in order to ensure that the order can be executed smoothly, it is necessary to determine the corresponding target delivery entity from at least two delivery entities based on the specific information in the target delivery template and the information in the order, and generate a delivery task based on the target delivery entity, target delivery template and delivery order.

[0091] Furthermore, in order to ensure that any order can be matched to a corresponding target delivery template, the step of obtaining a target delivery template that matches the delivery address and the delivery time according to the delivery address and the delivery time of the delivery order includes:

[0092] According to the delivery address contained in the delivery order, determine whether there is a target delivery route area that matches the delivery address. If so, use the delivery template corresponding to the target delivery route area as the delivery template; if not, determine the adjacent delivery route area that is closest to the delivery address, and use the delivery template corresponding to the adjacent delivery route area as the first delivery template; and determine the target delivery template whose delivery period matches the delivery time from the first delivery template.

[0093] Specifically, due to the small number of historical orders in some places, there may not be a separate delivery zone for them, and therefore, there is no corresponding delivery template. In order to ensure that orders in these areas can also match the corresponding delivery template, the order management platform will use the delivery template of the nearest adjacent delivery zone as the first delivery template. In this way, even if the distribution zone is insufficiently divided, the delivery efficiency and accuracy of the order can be guaranteed. After determining the first delivery template, the system will further select the target delivery template that matches the order delivery time from the template based on the delivery time.

[0094] For example, an order is received where the delivery address is located in an emerging residential area on the edge of the city, which has not yet been divided into independent delivery routes. The order management platform first determines the adjacent delivery route that is closest to the residential area through geographic location information, assuming it is delivery route A. Then, the order management platform selects the target delivery template that matches the delivery time of the current order from the delivery templates of delivery route A. Assume that the delivery template of delivery route A contains multiple delivery cycle options, such as morning, afternoon, and evening every day. Since the delivery time of the current order is 3 pm, the order management platform will select the delivery template that includes afternoon delivery in the delivery batch from the delivery template of delivery route A as the target delivery template.

[0095] In the above-mentioned manner, the order management platform can ensure the delivery efficiency and accuracy of orders even when the delivery route division is not so detailed. In addition, the system will continuously collect feedback data and continuously optimize the delivery template to ensure the continuous improvement and optimization of the delivery process and improve the delivery efficiency.

[0096] Furthermore, in order to ensure that the received orders can be executed in an orderly manner, the target delivery template whose delivery route area matches the delivery address and whose delivery cycle matches the delivery time is obtained according to the delivery address and delivery time of the delivery order, including:

[0097] According to the delivery time in the delivery order and the delivery cycle in the delivery template, determine whether there are multiple delivery templates matching the delivery time; if so, select the delivery template with the earliest creation time corresponding to each delivery route area from the delivery templates matching the delivery time as the second delivery template; if not, select the delivery template with a delivery cycle matching the delivery time as the target delivery template; and determine the target delivery template with a delivery route area matching the delivery address from the second delivery templates.

[0098] Specifically, in the same delivery cycle, when there are many delivery orders, multiple identical delivery templates will be created for these customers. When multiple second delivery templates are matched according to the delivery time, it is necessary to retain the delivery template with the earliest creation time corresponding to each different delivery route area according to the creation time of the second delivery template, and then determine the target delivery template from multiple second delivery templates according to the delivery address. This ensures the reasonable allocation and execution of delivery tasks. This can avoid resource waste and delivery confusion caused by duplicate delivery templates.

[0099] For example, suppose that within a certain delivery cycle, the delivery templates of multiple delivery routes all contain delivery options every afternoon. When an order for afternoon delivery is received, the system will first match these delivery templates. Then, the system will check the creation time of these matching delivery templates and select the delivery template with the earliest creation time corresponding to each delivery route as the second delivery template. This ensures that the delivery tasks are reasonably distributed among the various delivery routes, avoiding duplicate delivery and waste of resources. Furthermore, based on the delivery address A contained in the delivery order, the second delivery template corresponding to the delivery route containing the delivery address A is selected from multiple delivery routes as the target delivery template.

[0100] In the embodiment of this specification, since the earlier the delivery template is created, the more experience and optimization it has accumulated during use, selecting the earliest delivery template can better ensure the efficient execution of the delivery task. At the same time, by selecting the target delivery template that matches the delivery address according to the delivery address, the accuracy and efficiency of the delivery task can be ensured.

[0101] Step 106: Send the delivery task to the target delivery entity corresponding to the delivery order.

[0102] Specifically, after determining the target delivery template and the target delivery subject, the system will enter the distribution stage of the delivery task. The delivery task sending process needs to ensure the accuracy and timeliness of the information so that the target delivery subject can respond quickly and execute the delivery task.

[0103] Furthermore, in order to ensure that each order can be executed smoothly, the corresponding target delivery entity is determined for the delivery order according to the target delivery template, including:

[0104] The dispatch time of the delivery entity configured in the target delivery template is obtained, and the target delivery entity matching the delivery time in the order is determined according to the dispatch time.

[0105] Specifically, each delivery template will contain the corresponding delivery entity's shift information. This information helps the system ensure that the delivery entity has free time to perform the delivery task within the specified time period when allocating delivery tasks. After determining the target delivery template, the system will further match the target delivery entity according to the delivery time in the order.

[0106] For example, if the delivery time in the order is 4pm, the system will filter out the delivery entities that are scheduled at 4pm from the target delivery template. If the main delivery entity A and the backup delivery entity B configured in the target delivery template are both free at 4pm, the main delivery entity A will be selected as the target delivery entity first. If the main delivery entity's shift time is leave or no shift, the backup delivery entity B will be selected as the target delivery entity. In each delivery template, the priority of the main delivery entity is higher than the first backup delivery entity and higher than the second backup delivery entity. When the main delivery entity and all the backup delivery entities are not scheduled, the early warning mechanism is triggered, and the target delivery entity is manually selected for the delivery order. For the delivery entity as the delivery personnel, when the main delivery personnel and all the backup delivery personnel are not scheduled, the early warning mechanism is triggered, and the target delivery personnel are manually selected for the delivery order.

[0107] The embodiments of this specification ensure that each order can be executed smoothly through the above method. In addition, the order management platform will continue to collect data such as the delivery entity's shift schedule, geographical location, historical delivery efficiency, and customer evaluation, and optimize the selection of the target delivery entity to improve the execution efficiency of the delivery task and customer satisfaction.

[0108] The following combination Figure 2, taking the application of the distribution scheduling method provided in this specification in the fresh food distribution scenario as an example, the distribution scheduling method is further explained. Figure 2 This is a flow chart of the processing process of a delivery scheduling method applied to a fresh food delivery scenario provided by an embodiment of the present specification, which specifically includes the following steps.

[0109] Step 202: Divide the distribution station area into at least two distribution road areas.

[0110] Taking the distribution station area A as an example, the distribution station area A is divided into distribution road areas such as distribution road area A, distribution road area B and distribution road area C.

[0111] Step 204: Obtain the historical order data corresponding to the delivery route area, and determine the historical delivery time of each historical delivery address in the delivery route area according to the historical order data.

[0112] Obtain historical order data for fresh produce delivered in delivery zone A over the past period of time, and determine the historical delivery times of different merchants in delivery zone A.

[0113] Step 206: Determine a first historical delivery time with a periodic pattern from the historical delivery time, and determine the delivery cycle according to the first historical delivery time.

[0114] Since the order time of some merchants is regular, it is determined from the historical delivery time that the delivery time of these regular merchants is every morning. Therefore, the delivery cycle of the delivery template can be set to delivery every morning.

[0115] Step 208: Find out the tool delivery quality condition satisfied by the delivery quality data from a pre-created first mapping relationship table as the target tool delivery quality condition. The first mapping relationship table contains a mapping relationship between the tool delivery quality condition corresponding to the delivery route area, the tool delivery cost condition and at least two types of transportation tools.

[0116] When initially configuring the delivery tools for a delivery order, it is necessary to conduct a comprehensive analysis of the data in the historical orders, including analyzing the delivery quality data of the transportation tools in the historical orders, such as full load rate, average speed, delivery time, etc. Based on these data, determine the target tool delivery quality conditions corresponding to the tool delivery quality data from the first mapping table.

[0117] Step 210: Find out the tool delivery cost condition satisfied by the delivery cost data from the first mapping relationship table, and use it as the target tool delivery cost condition.

[0118] Analyze the delivery cost data of the transportation tools in the historical orders, such as fuel costs, maintenance costs, etc. According to these data, the target tool delivery cost conditions corresponding to the tool delivery cost data can be determined from the first mapping relationship table.

[0119] Step 212: In the first mapping relationship table, find out the transportation tool corresponding to the target tool delivery quality condition and the target tool delivery cost condition as the target type of transportation tool.

[0120] Since there is a correspondence between tool delivery quality conditions, tool delivery cost conditions and different vehicle models in the first mapping relationship table, the corresponding target type of transportation equipment is determined according to the determined target tool delivery quality conditions and target tool delivery cost conditions, and is configured in the delivery template.

[0121] Step 214: From a pre-created second mapping relationship table, find out the personnel delivery quality conditions satisfied by the delivery quality data as the target personnel delivery quality conditions. The second mapping relationship table contains the mapping relationship between the personnel delivery quality conditions and personnel delivery cost conditions corresponding to the delivery route area and at least two candidate personnel.

[0122] Similarly, when initially configuring delivery personnel for delivery orders, it is necessary to conduct a comprehensive analysis of the data in historical orders, including analyzing the delivery quality data of the delivery personnel in historical orders, such as delivery efficiency, customer satisfaction, etc. Based on these data, the target personnel delivery quality conditions corresponding to the personnel delivery quality data are determined from the second mapping table.

[0123] Step 216: Find out the personnel delivery cost condition satisfied by the delivery cost data from the second mapping relationship table, and use it as the target personnel delivery cost condition.

[0124] Analyze the delivery cost data of the delivery personnel in the historical orders, such as overtime pay, training expenses, etc. Based on these data, the target personnel delivery cost conditions corresponding to the personnel delivery cost data can be determined from the second mapping relationship table.

[0125] Step 218: In the second mapping relationship table, find out the candidate personnel corresponding to the target personnel delivery quality condition and the target personnel delivery cost condition as the delivery personnel.

[0126] Since there is a correspondence between personnel distribution quality conditions, personnel distribution cost conditions and different candidate personnel in the second mapping relationship table, the corresponding target type of transportation equipment is determined according to the determined target personnel distribution quality conditions and target personnel distribution cost conditions, and it is configured in the distribution template.

[0127] The distribution template corresponding to the distribution route area A finally generated according to the above content is shown in Table 2.

[0128] Table 2:

[0129]

[0130]

[0131] like Figure 3 As shown, Figure 3 It is a schematic diagram of road area drawing of a delivery scheduling method provided by an embodiment of this specification. After the delivery template is generated, the road area range can be drawn on the map and the corresponding delivery template can be displayed. The boundaries of different delivery road areas are allowed to overlap.

[0132] Step 220: receiving the delivery template to be edited selected by the user through the delivery template selection page and the custom delivery cycle data set for the delivery template to be edited, and setting the user's custom delivery cycle data for the delivery template to be edited.

[0133] For example, the target cycle (i.e., effective type and batch) of delivery template 2 is delivery every Saturday morning, as shown in Table 3, and the corresponding merchants in delivery template 1 are required to deliver every day during the National Day holiday. Therefore, the user can customize the delivery cycle of delivery template 2 to 9.30-10.6, as shown in Table 4.

[0134] Table 3:

[0135] Station Area Distribution Station Area A Road Area Distribution Road Area A1 batch Morning delivery Effective Type Every Saturday Main driver Zhang San Backup Driver 1 Li Si Backup Driver 2 Wang Wu

[0136] Table 4:

[0137] Station Area Distribution Station Area A Road Area Distribution Road Area A1 batch Morning delivery Effective Type 9.30-10.6 Main driver Zhang San Backup Driver 1 Li Si Backup Driver 2 Wang Wu

[0138] Step 222: Receive a delivery order.

[0139] For example, at 17:10 on July 5, customer A placed order number 1009, which was delivered in batches on the morning of July 6 (Saturday). The delivery address in the order is address A. The corresponding target delivery template is automatically matched according to the delivery address and delivery time of the order until the order is closed by the order management platform.

[0140] Step 224: Based on the delivery address included in the delivery order, determine whether there is a target delivery route area that matches the delivery address. If so, execute step 226; if not, execute step 228.

[0141] For example: determine that the delivery address in the delivery order is address A, and based on address A, determine that there is no target delivery route area that matches it, so execute step 228.

[0142] Step 226: Use the delivery template corresponding to the target delivery route area as the first delivery template.

[0143] Step 228: Determine an adjacent delivery road area that is closest to the delivery address, and use the delivery template corresponding to the adjacent delivery road area as the first delivery template.

[0144] From among the divided delivery road areas, determine the adjacent delivery road area that is closest to address A as delivery road area A, and use delivery template 1 and delivery template 2 corresponding to delivery road area A as the first delivery template, as shown in Table 5 and Table 6.

[0145] Table 5: Delivery Template 1

[0146]

[0147] Table 6: Delivery Template 2

[0148]

[0149] Step 230: determining a target delivery template matching the delivery time from the first delivery templates according to the delivery time;

[0150] The delivery time in the delivery order is determined to be Saturday morning, so delivery template 1 is used as the target delivery template.

[0151] Step 232: According to the delivery time in the delivery order and the delivery cycle in the delivery template, determine whether there are multiple delivery templates matching the delivery time.

[0152] If yes, execute step 234 , if no, execute step 236 .

[0153] Assuming that the delivery time in the delivery order is Saturday morning, the templates matching the delivery time are determined as shown in Tables 7 to 9:

[0154] Table 7: Delivery Template 1

[0155]

[0156]

[0157] Table 8: Delivery Template 3

[0158] Station Area Distribution Station Area A Road Area Distribution Road Area A2 batch Morning delivery Effective Type Every Saturday Main driver Li Si Backup Driver 1 Zhang San Backup Driver 2 Wang Wu

[0159] Table 9: Delivery Template 4

[0160] Station Area Distribution Station Area A Road Area Delivery Road Area B batch Morning delivery Effective Type Every Saturday Main driver Zhao Liu Backup Driver 1 Zhang Si Backup Driver 2

[0161] It should be noted that step 224 and step 232 may be two relatively independent matching methods, and these two methods may also be used simultaneously in the process of the same target delivery template, and the embodiments of this specification do not limit this.

[0162] Step 234: Select the delivery template with the earliest creation time corresponding to each delivery route area from the delivery templates matching the delivery time as the second delivery template.

[0163] After determination, the creation time of delivery template 1 is earlier, therefore, delivery template 1 and delivery template 4 can be used as the second delivery template.

[0164] Step 236: Using the delivery template that matches the delivery time as the target delivery template.

[0165] Step 238: Determine a target delivery template that matches the delivery address from the second delivery template according to the delivery address.

[0166] The delivery routes of delivery order 1 and delivery order 4 are delivery route B and delivery route A respectively, and address A in the order belongs to delivery route A, therefore, delivery order 1 is used as the target delivery template.

[0167] Step 240: Obtain the shift schedule of the delivery entity configured in the target delivery template, and determine the target delivery entity that matches the delivery time in the order based on the shift schedule.

[0168] When the target delivery order is determined to be delivery order 1, it is determined that the shift time of the main delivery driver Zhang San in the delivery order is scheduled for Saturday morning, and Zhang San is directly used as the target delivery personnel, and the transport vehicle type C pre-configured in the target delivery template is also idle, and the type C vehicle is used as the target transport vehicle. It should be noted that after the transport vehicle is configured for the delivery template, the configured transport vehicle can be bound to the delivery personnel, or not, and the target transport vehicle is selected from the main transport vehicle and the backup transport vehicle after receiving the order.

[0169] Step 242: When the delivery template adjustment conditions are met, obtain updated delivery history data, determine updated delivery quality data and updated delivery cost data based on the updated delivery history data, and adjust the scope of the delivery route area, the delivery cycle and / or the delivery subject based on the updated delivery quality data and the updated delivery cost data.

[0170] After executing the delivery task for a period of time according to the created delivery template, due to the change of the order time of some users, it is necessary to adjust the current delivery template according to the updated delivery history data during this period. The updated history data is shown in Table 10.

[0171] Table 10:

[0172]

[0173]

[0174] Assuming that the preset adjustment conditions are that the full load rate is greater than 110% or less than 70%, or the average delivery time is greater than four hours, an adjustment is required. According to the updated historical data, the full load rate is 96% and the average delivery time is 3.57 hours. Therefore, there is no need to adjust the information in the delivery template. Assuming that the actual calculated full load rate is 120%, it is necessary to reduce the scope of the delivery route area or replace the transportation tool with a larger capacity tool.

[0175] In another embodiment of the present specification, since the delivery template includes delivery batches, when an order matches multiple delivery templates with the same delivery batches and delivery routes but different delivery cycles, only one of the multiple delivery templates can take effect, that is, only one of the delivery templates can be used as the target delivery template. The target delivery template can be selected by the delivery personnel, or the order management platform can directly customize the delivery cycle according to the priority > first delivery cycle > second delivery cycle, where the cycle duration of the first delivery cycle is greater than the cycle duration of the second delivery cycle, for example, customized delivery cycle > weekly delivery > daily delivery.

[0176] Since fresh produce is difficult to preserve, higher requirements are placed on delivery efficiency. The embodiments of this specification can pre-establish a delivery template based on historical data before receiving an order, and configure the delivery route area in the delivery template, so that after the target delivery template is matched, delivery can be performed directly according to the information configured in the template, thereby improving delivery efficiency. After the order is received, the corresponding target delivery template is determined, the corresponding target delivery entity is determined for the delivery order, and a delivery task is generated. Since the delivery entity has been configured in the target delivery template, the target delivery entity is determined from these delivery entities, which effectively narrows the selection range of the target delivery entity and improves the efficiency of generating delivery tasks. Furthermore, the generated delivery task is sent to the corresponding target delivery entity, so that the tasks can be executed in an orderly manner, thereby further improving delivery efficiency.

[0177] Corresponding to the above method embodiment, this specification also provides a distribution scheduling device embodiment, Figure 4 FIG. 1 shows a schematic diagram of the structure of a distribution scheduling device provided by an embodiment of the present specification. Figure 4 As shown, the device comprises:

[0178] The template matching module 402 is configured to, in response to receiving a delivery order, obtain a target delivery template whose delivery route area matches the delivery address and whose delivery cycle matches the delivery time according to the delivery address and delivery time of the delivery order, wherein the target delivery template includes a configured delivery route area, a delivery cycle and a delivery subject, wherein the delivery subject is selected and set in advance in the target delivery template according to delivery quality data and delivery cost data, and the delivery quality data and the delivery cost data are calculated based on the delivery history data corresponding to the delivery subject in the delivery route area;

[0179] The delivery subject matching module 404 is configured to determine a corresponding target delivery subject for the delivery order according to the target delivery template, and generate a corresponding delivery task;

[0180] The task generation module 406 is configured to send the delivery task to the target delivery entity corresponding to the delivery order.

[0181] Optionally, in response to receiving a delivery order, the delivery scheduling device further includes:

[0182] A road area division module is configured to divide the distribution station area into at least two distribution road areas;

[0183] a cycle determination module, configured to obtain historical order data corresponding to the delivery route area, determine a historical delivery time of the delivery route area according to the historical order data, and determine a delivery cycle according to the historical delivery time;

[0184] A delivery subject determination module is configured to determine delivery history data corresponding to the delivery route area of ​​a candidate delivery subject in the historical order data, determine the delivery quality data and the delivery cost data according to the delivery history data, and determine the delivery subject corresponding to the delivery route area among the candidate delivery subjects according to the delivery quality data and the delivery cost data;

[0185] The template generation module is configured to generate a delivery template based on the delivery station area, the delivery road area, and the delivery cycle and delivery subject corresponding to the delivery road area.

[0186] Optionally, the delivery subject includes a transportation tool; and the delivery subject determination module includes:

[0187] The first quality condition determination submodule is configured to find out the tool delivery quality condition satisfied by the delivery quality data from a pre-created first mapping relationship table as the target tool delivery quality condition, wherein the first mapping relationship table contains a mapping relationship between the tool delivery quality condition corresponding to the delivery route area, the tool delivery cost condition and at least two types of transportation tools;

[0188] The first quality cost part determination submodule is configured to find out the tool delivery cost condition satisfied by the delivery cost data from the first mapping relationship table as the target tool delivery cost condition;

[0189] The transportation tool determination submodule is configured to search for the transportation tool corresponding to the target tool delivery quality condition and the target tool delivery cost condition in the first mapping relationship table as the transportation tool of the target type.

[0190] Optionally, the delivery entity includes a delivery person;

[0191] The distribution subject determination module includes:

[0192] The second quality condition determination submodule is configured to find out the personnel delivery quality condition satisfied by the delivery quality data from a pre-created second mapping relationship table as the target personnel delivery quality condition, wherein the second mapping relationship table contains a mapping relationship between the personnel delivery quality condition corresponding to the delivery route area, the personnel delivery cost condition and at least two candidate personnel;

[0193] The second cost condition determination submodule is configured to find out the personnel delivery cost condition satisfied by the delivery cost data from the second mapping relationship table as the target personnel delivery cost condition;

[0194] The delivery personnel determination submodule is configured to search the second mapping relationship table for candidate personnel corresponding to the target personnel delivery quality condition and the target personnel delivery cost condition as the delivery personnel.

[0195] Optionally, the distribution scheduling device further includes:

[0196] The template adjustment module is configured to obtain updated delivery history data when the delivery template adjustment conditions are met, determine updated delivery quality data and updated delivery cost data based on the updated delivery history data, and adjust the scope of the delivery route area, the delivery cycle and / or the delivery subject based on the updated delivery quality data and the updated delivery cost data.

[0197] Optionally, the period determination module includes:

[0198] Determine the historical delivery time of each historical delivery address within the delivery route area based on historical order data;

[0199] The delivery cycle determination submodule is configured to determine a first historical delivery time having a periodic regularity from the historical delivery time, and determine the delivery cycle according to the first historical delivery time.

[0200] Optionally, the module matching module is configured to obtain a target delivery template whose delivery route area matches the delivery address and whose delivery cycle matches the delivery time from a delivery template set, wherein the delivery template set includes multiple delivery templates configured with delivery routes, delivery cycles and delivery entities. Accordingly, the delivery scheduling device further includes:

[0201] A custom data receiving module is configured to receive a delivery template to be edited selected by a user through a delivery template selection page and custom delivery cycle data set for the delivery template to be edited, wherein the delivery template selection page is used to display multiple delivery templates in the delivery template set for selection;

[0202] The custom data setting module is configured to set the user's custom delivery cycle data for the delivery template to be edited.

[0203] Optionally, the delivery subject matching module includes:

[0204] The first delivery template determination submodule is configured to determine whether there is a target delivery road area matching the delivery address according to the delivery address included in the delivery order,

[0205] If so, use the delivery template corresponding to the target delivery route area as the first delivery template;

[0206] If not, determine the adjacent delivery road area closest to the delivery address, and use the delivery template corresponding to the adjacent delivery road area as the first delivery template;

[0207] The target delivery template determination submodule is configured to determine a target delivery template whose delivery period matches the delivery time from the first delivery template.

[0208] Optionally, the delivery subject matching module includes:

[0209] The second delivery template determination submodule is configured to determine whether there are multiple delivery templates matching the delivery time according to the delivery time in the delivery order and the delivery cycle in the delivery template,

[0210] If so, selecting the delivery template with the earliest creation time corresponding to each delivery road area from the delivery templates matching the delivery time as the second delivery template;

[0211] If not, a delivery template matching the delivery time is used as a target delivery template;

[0212] The target delivery template determination submodule is configured to determine a target delivery template whose delivery route area matches the delivery address from the second delivery template.

[0213] Optionally, the delivery subject determination module includes:

[0214] The target delivery entity determination submodule is configured to obtain the scheduling time of the delivery entity configured in the target delivery template, and determine the target delivery entity that matches the delivery time in the order according to the scheduling time.

[0215] The above is a schematic scheme of a distribution scheduling device of this embodiment. It should be noted that the technical scheme of the distribution scheduling device and the technical scheme of the distribution scheduling method described above are of the same concept, and the details not described in detail in the technical scheme of the distribution scheduling device can be found in the description of the technical scheme of the distribution scheduling method described above.

[0216] Figure 5 The structure block diagram of a computing device 500 provided according to an embodiment of the present specification is shown. The components of the computing device 500 include but are not limited to a memory 510 and a processor 520. The processor 520 is connected to the memory 510 via a bus 530, and the database 550 is used to store data.

[0217] The computing device 500 also includes an access device 540 that enables the computing device 500 to communicate via one or more networks 560. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 540 may include one or more of any type of network interface, wired or wireless (e.g., a network interface card (NIC)), such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a World Wide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a Bluetooth interface, and a Near Field Communication (NFC).

[0218] In one embodiment of the present specification, the above components of the computing device 500 and Figure 5 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 5 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.

[0219] The computing device 500 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or a personal computer (PC). The computing device 500 may also be a mobile or stationary server.

[0220] The processor 520 is used to execute the following computer executable instructions, which, when executed by the processor, implement the steps of the above-mentioned delivery scheduling method.

[0221] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the above-mentioned distribution scheduling method belong to the same concept, and the details not described in detail in the technical scheme of the computing device can be referred to the description of the technical scheme of the above-mentioned distribution scheduling method.

[0222] An embodiment of the present specification also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the above-mentioned delivery scheduling method.

[0223] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the above-mentioned distribution scheduling method belong to the same concept, and the details not described in detail in the technical scheme of the storage medium can be referred to the description of the technical scheme of the above-mentioned distribution scheduling method.

[0224] An embodiment of the present specification also provides a computer program, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the above-mentioned delivery scheduling method.

[0225] The above is a schematic scheme of a computer program of this embodiment. It should be noted that the technical scheme of the computer program and the technical scheme of the above-mentioned delivery scheduling method belong to the same concept, and the details not described in detail in the technical scheme of the computer program can be referred to the description of the technical scheme of the above-mentioned delivery scheduling method.

[0226] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0227] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of patent practice. For example, in some regions, according to patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0228] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of this specification are not limited by the order of the actions described, because according to the embodiments of this specification, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of this specification.

[0229] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0230] The preferred embodiments of this specification disclosed above are only used to help explain this specification. The optional embodiments do not describe all the details in detail, nor do they limit the invention to only the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the embodiments of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of this specification, so that technicians in the relevant technical field can well understand and use this specification. This specification is only limited by the claims and their full scope and equivalents.

Claims

1. A distribution scheduling method, It is characterized in that include: In response to receiving a delivery order, according to the delivery address and delivery time of the delivery order, a target delivery template is obtained, wherein the delivery route area matches the delivery address and the delivery cycle matches the delivery time, wherein the target delivery template includes a configured delivery route area, a delivery cycle and a delivery subject, wherein the delivery subject is selected and set in advance in the target delivery template according to delivery quality data and delivery cost data, and the delivery quality data and the delivery cost data are calculated based on the delivery history data corresponding to the delivery subject in the delivery route area; According to the target delivery template, determining the corresponding target delivery entity for the delivery order and generating the corresponding delivery task; The delivery task is sent to the target delivery entity corresponding to the delivery order.

2. The distribution scheduling method according to claim 1, It is characterized in that Before receiving the delivery order, it also includes: Divide the distribution station area into at least two distribution road areas; Acquire historical order data corresponding to the delivery route area, determine the historical delivery time of the delivery route area according to the historical order data, and determine the delivery cycle according to the historical delivery time; Determine the delivery history data corresponding to the delivery route area by the candidate delivery subject in the historical order data, determine the delivery quality data and the delivery cost data according to the delivery history data, and determine the delivery subject corresponding to the delivery route area among the candidate delivery subjects according to the delivery quality data and the delivery cost data; A delivery template is generated based on the delivery station area, the delivery road area, and the delivery cycle and delivery subject corresponding to the delivery road area.

3. The distribution scheduling method according to claim 2, It is characterized in that The distribution subject includes a means of transport; Determining a delivery entity corresponding to the delivery road area from among the candidate delivery entities according to the delivery quality data and the delivery cost data includes: Find out the tool delivery quality condition satisfied by the delivery quality data from a pre-created first mapping relationship table as the target tool delivery quality condition, wherein the first mapping relationship table includes a mapping relationship between the tool delivery quality condition corresponding to the delivery route area, the tool delivery cost condition and at least two types of transportation tools; Finding a tool delivery cost condition satisfied by the delivery cost data from the first mapping relationship table as a target tool delivery cost condition; In the first mapping relationship table, the transport tool corresponding to the target tool delivery quality condition and the target tool delivery cost condition is found as the target type of transport tool.

4. The distribution scheduling method according to claim 2, It is characterized in that The delivery subject includes delivery personnel; The step of determining the delivery entity corresponding to the delivery road area from among the candidate delivery entities according to the delivery quality data and the delivery cost data comprises: Finding out the personnel delivery quality condition satisfied by the delivery quality data from a pre-created second mapping relationship table as the target personnel delivery quality condition, wherein the second mapping relationship table contains a mapping relationship between the personnel delivery quality condition corresponding to the delivery route area, the personnel delivery cost condition and at least two candidate personnel; From the second mapping relationship table, searching for a personnel delivery cost condition satisfied by the delivery cost data as a target personnel delivery cost condition; In the second mapping relationship table, candidate personnel corresponding to the target personnel delivery quality condition and the target personnel delivery cost condition are found as delivery personnel.

5. The distribution scheduling method according to claim 1, It is characterized in that After sending the delivery task to the target delivery entity corresponding to the delivery order, the method further includes: When the delivery template adjustment conditions are met, the updated delivery history data of the delivery route area corresponding to the target delivery template is obtained, the updated delivery quality data and the updated delivery cost data are determined based on the updated delivery history data, and the scope, delivery cycle and / or delivery entity of the delivery route area configured for the target delivery template are adjusted based on the updated delivery quality data and the updated delivery cost data.

6. The distribution scheduling method according to claim 2, It is characterized in that Determining the historical delivery time of the delivery route area according to the historical order data, and determining the delivery cycle according to the historical delivery time, including: Determine the historical delivery time of each historical delivery address within the delivery route area based on historical order data; A first historical delivery time having a periodic regularity is determined from the historical delivery time, and the delivery cycle is determined according to the first historical delivery time.

7. The distribution scheduling method according to claim 1, It is characterized in that Obtaining a target delivery template whose delivery route area matches the delivery address and whose delivery cycle matches the delivery time, including: Acquire a target delivery template from a delivery template set, the delivery route area matching the delivery address and the delivery cycle matching the delivery time, wherein the delivery template set includes a plurality of delivery templates configured with delivery route areas, delivery cycles and delivery entities; The method further comprises: Receiving a delivery template to be edited selected by a user through a delivery template selection page and custom delivery cycle data set for the delivery template to be edited, wherein the delivery template selection page is used to display multiple delivery templates in the delivery template set for selection; The user's customized delivery cycle data is set for the delivery template to be edited.

8. The distribution scheduling method according to claim 1, It is characterized in that The step of acquiring a target delivery template matching the delivery address and the delivery time according to the delivery address and the delivery time of the delivery order includes: According to the delivery address contained in the delivery order, it is determined whether there is a target delivery route area matching the delivery address, If so, using the delivery template corresponding to the target delivery road area as the first delivery template; If not, determine the adjacent delivery road area closest to the delivery address, and use the delivery template corresponding to the adjacent delivery road area as the first delivery template; A target delivery template having a delivery period matching the delivery time is determined from the first delivery template.

9. The distribution scheduling method according to claim 1, It is characterized in that The step of acquiring, according to the delivery address and delivery time of the delivery order, a target delivery template whose delivery route area matches the delivery address and whose delivery cycle matches the delivery time, comprises: According to the delivery time in the delivery order and the delivery cycle in the delivery template, determining whether there are multiple delivery templates matching the delivery time, If so, selecting the delivery template with the earliest creation time corresponding to each delivery road area from the delivery templates matching the delivery time as the second delivery template; If not, a delivery template whose delivery period matches the delivery time is used as a target delivery template; A target delivery template whose delivery route area matches the delivery address is determined from the second delivery template.

10. The distribution scheduling method according to claim 1, It is characterized in that Determining a corresponding target delivery entity for the delivery order according to the target delivery template includes: The dispatch time of the delivery entity configured in the target delivery template is obtained, and the target delivery entity matching the delivery time in the order is determined according to the dispatch time.

11. A distribution scheduling device, It is characterized in that include: An order receiving module is configured to, in response to receiving a delivery order, obtain a target delivery template whose delivery route area matches the delivery address and whose delivery cycle matches the delivery time according to the delivery address and delivery time of the delivery order, wherein the target delivery template includes a configured delivery route area, a delivery cycle and a delivery subject, wherein the delivery subject is selected and set in advance in the target delivery template according to delivery quality data and delivery cost data, and the delivery quality data and the delivery cost data are calculated based on the delivery history data corresponding to the delivery subject in the delivery route area; A template matching module is configured to determine a corresponding target delivery entity for the delivery order according to the target delivery template, and generate a corresponding delivery task; The task generation module is configured to send the delivery task to the target delivery entity corresponding to the delivery order.

12. A computing device, It is characterized in that include: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the distribution scheduling method described in any one of claims 1 to 10 are implemented.

13. A computer-readable storage medium, It is characterized in that It stores computer executable instructions, which, when executed by a processor, implement the steps of the distribution scheduling method described in any one of claims 1 to 10.

14. A computer program, It is characterized in that When the computer program is executed in a computer, the computer is caused to execute the steps of the delivery scheduling method described in any one of claims 1 to 10.