Method, device, storage medium, and electronic device for determining target delivery task node
By obtaining and filtering the task node set of the delivery person, and using the pre-training model combined with real-time features to determine the target task node, the problem of inconsistent prediction of the delivery person's task node is solved, and the order dispatch reliability of the delivery person scheduling system is improved.
Patent Information
- Application Number
- CN201910663173.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-07-22
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2039-07-22
AI Technical Summary
The existing delivery order completion order prediction of the order task nodes to be completed is difficult to accurately evaluate in a real-time environment, resulting in low reliability of order dispatching by the delivery staff scheduling system.
By obtaining the task node set of the order to be completed associated with the delivery person, select the candidate task node that meets the current delivery conditions, and use the pre-trained task point prediction model to determine the target task node based on the real-time delivery characteristics, update the task node set and training Data samples, retrain the model to improve prediction accuracy.
It improves the consistency between the delivery worker's actual task node execution sequence and the predicted sequence, provides an accurate assessment of the quality of task execution, and improves the order dispatch reliability of the delivery worker scheduling system.
Smart Images

Figure CN110472910B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of logistics, and in particular, to a method, device, storage medium, and electronic device for determining a target delivery task node. Background Art
[0002] With the continuous advancement of the Internet industry, the food delivery industry has also developed rapidly. Food delivery requires delivery personnel to deliver to the door. Therefore, when a customer places a new food delivery order, the delivery personnel scheduling system needs to dispatch the delivery personnel to complete the delivery of the newly placed order. Usually, the same delivery personnel is responsible for the delivery of multiple task nodes of orders to be completed. Before the delivery personnel needs to perform the order delivery task, it is necessary to predict the completion order of the task nodes of multiple orders to be completed, and then predict the delivery time and delivery route based on the results of the order planning of different delivery personnel, and select the delivery personnel with the shortest time and distance. Therefore, predicting the completion order of the task nodes of the delivery personnel's orders to be completed has an important impact on the reliability of the delivery personnel scheduling system.
[0003] The existing prediction of the completion order of the task nodes of the to-be-completed orders of the delivery personnel takes the total time and total distance of all the task nodes of the to-be-completed orders as the objective function, generates a better completion order of the to-be-completed orders through initialization, and then continuously adjusts the order of each task point to finally minimize the objective function score, thereby predicting the completion order of the task nodes of the to-be-completed orders. However, in actual delivery scenarios, due to changes in real-time environmental scenarios, the actual execution order of the task nodes performed by the delivery personnel is often inconsistent with the predicted execution order of the task nodes, which cannot provide an accurate basis for the evaluation of the execution quality of the to-be-completed orders, resulting in low reliability of the delivery personnel dispatching system. Summary of the invention
[0004] The purpose of the present disclosure is to provide a method, device, storage medium, and electronic device for determining a target delivery task node, so as to improve the problem that after the deliveryman has completed the delivery of the order, he cannot provide an accurate basis for evaluating the performance of the task to be completed, resulting in low reliability of the deliveryman scheduling system.
[0005] In order to achieve the above-mentioned purpose, the first aspect of the embodiment of the present disclosure provides a method for determining a target delivery task node, the method comprising:
[0006] Obtain the delivery task node set based on the pending orders associated with the delivery person ID;
[0007] Selecting at least two candidate delivery task nodes that meet current delivery conditions from the delivery task node set;
[0008] Inputting the real-time delivery characteristics and the identifiers of the at least two candidate delivery task nodes into a pre-trained task point prediction model to determine a target delivery task node from the at least two candidate delivery task nodes;
[0009] Among them, the objective function of the task point prediction model includes, for each real-time delivery feature, limiting the task point prediction model to output any node among the candidate delivery task nodes as a constraint function of the target delivery task node.
[0010] Optionally, the method further comprises:
[0011] After determining the target delivery task node from the at least two candidate delivery task nodes, updating the real-time delivery feature according to the identifier of the delivery person and the actual delivery task node of the delivery person, and removing the actual delivery task node from the delivery task node set to update the delivery task node set;
[0012] Return to the step of selecting at least two candidate delivery task nodes that meet the current delivery conditions from the delivery task node set until all the delivery task nodes in the delivery task node set are determined as target delivery task nodes.
[0013] Optionally, the method further comprises:
[0014] Record the execution order of the actual delivery task nodes of the delivery personnel;
[0015] Calculating the consistency rate between the order in which each delivery task node in the delivery task node set is determined as the target delivery task node and the execution order;
[0016] When the consistency rate is lower than a preset threshold, reacquiring training data samples;
[0017] The task point prediction model is trained again according to the reacquired multiple training data samples.
[0018] Optionally, the consistency rate between the order in which each delivery task node in the delivery task node set is determined as the target delivery task node and the execution order is calculated according to the longest prefix matching method.
[0019] Optionally, the method further comprises:
[0020] Predicting the first delivery time of the delivery person passing through all the target delivery task nodes according to the order in which the target delivery task nodes are determined and the pre-stored electronic map;
[0021] Record the second delivery time when the delivery person actually delivers the goods;
[0022] Calculating the on-time rate according to the first delivery time and the second delivery time;
[0023] When the punctuality rate is lower than a preset threshold, reacquiring training data samples;
[0024] The task point prediction model is trained again according to the reacquired multiple training data samples.
[0025] Optionally, before the step of acquiring a set of delivery task nodes according to the to-be-completed orders associated with the delivery person identification, the method further comprises:
[0026] The task point prediction model is trained based on training samples constructed based on historical delivery characteristics of an upstream delivery task node in the historical delivery task node set, identifiers of historical candidate delivery nodes associated with the upstream delivery node, and identifiers of downstream delivery task nodes adjacent to the upstream delivery task node.
[0027] Optionally, the delivery task node includes a pickup point and / or a delivery point, and the current delivery condition is a pickup condition and / or a delivery condition.
[0028] A second aspect of the embodiments of the present disclosure provides a device for determining a target delivery task node, the device comprising:
[0029] An information acquisition module is configured to acquire a delivery task node set according to the to-be-completed order associated with the delivery person identification;
[0030] A node selection module is configured to select at least two candidate delivery task nodes that meet current delivery conditions from the delivery task node set;
[0031] A node determination module is configured to input the real-time delivery characteristics and the identifiers of the at least two candidate delivery task nodes into a pre-trained task point prediction model to determine a target delivery task node from the at least two candidate delivery task nodes;
[0032] Among them, the objective function of the task point prediction model includes, for each real-time delivery feature, limiting the task point prediction model to output any node among the candidate delivery task nodes as a constraint function of the target delivery task node.
[0033] A third aspect of an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method provided in the first aspect of the embodiment of the present disclosure.
[0034] A fourth aspect of the present disclosure provides an electronic device, including:
[0035] a memory having a computer program stored thereon;
[0036] A processor is used to execute the computer program in the memory to implement the steps of the method provided in the first aspect of the embodiment of the present disclosure.
[0037] Through the above technical scheme, the embodiment of the present disclosure provides a method, device, storage medium, and electronic device for determining a target delivery task node, which obtains a delivery task node set based on the to-be-completed order associated with the delivery person's identification; then selects at least two candidate delivery task nodes that meet the current delivery conditions from the delivery task node set; finally, the real-time delivery characteristics and the identifications of the at least two candidate delivery task nodes are input into a pre-trained task point prediction model to determine the target delivery task node from the at least two candidate delivery task nodes, so that the next delivery task node of the delivery person can be predicted according to the changes in the real-time delivery environment scene, thereby improving the consistency between the execution order of the task nodes actually delivered by the delivery person and the execution order of the predicted task nodes, providing an accurate basis for evaluating the execution quality of the tasks to be completed for the orders, and improving the reliability of the delivery person's dispatching system.
[0038] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings:
[0040] Figure 1 It is a schematic diagram of an application environment of a method for determining a target delivery task node provided by an embodiment of the present disclosure;
[0041] Figure 2 is a flow chart of a method for determining a target delivery task node provided by an embodiment of the present disclosure;
[0042] Figure 3 is a flow chart of a method for determining a target delivery task node provided by an embodiment of the present disclosure;
[0043] Figure 4 is a flow chart of a method for determining a target delivery task node provided by an embodiment of the present disclosure;
[0044] Figure 5 is a flow chart of a method for determining a target delivery task node provided by an embodiment of the present disclosure;
[0045] Figure 6 It is a functional module block diagram of a device for determining a target delivery task node provided by an embodiment of the present disclosure;
[0046] Figure 7 It is a functional module block diagram of a device for determining a target delivery task node provided by an embodiment of the present disclosure;
[0047] Figure 8 It is a functional module block diagram of a device for determining a target delivery task node provided by an embodiment of the present disclosure;
[0048] Fig. 9 It is a functional module block diagram of a device for determining a target delivery task node provided by an embodiment of the present disclosure;
[0049] Fig.10 It is a circuit connection block diagram of the electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0050] The specific implementation of the present disclosure is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the present disclosure, and is not used to limit the present disclosure.
[0051] The present disclosure provides a method for determining a target delivery task node, which can be applied to Figure 1 In the application environment shown. Figure 1 As shown, the client 100 and the server 200 are located in a network 300, through which the client 100 and the server 200 exchange data. In the embodiment of the present disclosure, at least one application (Application, APP) is installed in the client 100, corresponding to the server 200, to provide services for users. In the embodiment of the present disclosure, the client 100 is preferably a mobile terminal device, for example, the mobile terminal device may include a smart phone, a tablet computer, an e-book reader, a laptop computer, a car computer, a wearable mobile terminal, etc. Figure 2 As shown, the method includes:
[0052] S21: Obtain a set of delivery task nodes according to the to-be-completed orders associated with the delivery person ID.
[0053] Among them, the deliveryman identification can be the account number, ID number, telephone number, etc. when the deliveryman opens the application registration of the client 100, and each deliveryman has a unique deliveryman identification. During the deliveryman's working hours, the dispatching system can dispatch orders to the deliveryman according to the actual situation. For example, the dispatching system dispatches orders to the deliveryman according to the distance between the deliveryman and the merchant and the customer respectively. Among them, the process of the deliveryman completing an order is: receiving the order, going to the merchant to pick up the goods to be delivered, and then delivering the goods to be delivered to the user's address. After the user signs for the delivered goods, the order is completed. Based on the above, assuming that the orders to be completed include three newly dispatched orders A, B, and C, the task node set includes the pickup point of order A, the delivery point of order A, the pickup point of order B, and the delivery point of order B; the pickup point of order C and the delivery point of order C.
[0054] S22: Select at least two candidate delivery task nodes that meet current delivery conditions from the delivery task node set.
[0055] Among them, the current delivery condition is a pickup condition and / or a delivery condition. Based on the above, when the current delivery condition is a pickup condition, the task nodes that meet the current delivery condition include the pickup point of order A, the pickup point of order B, and the pickup point of order C. When the deliveryman completes the task of a task node, for example, he goes to the pickup point of order A to complete the pickup task, then the task nodes that meet the current delivery condition are updated to the delivery point of order A, the pickup point of order B, and the pickup point of order C.
[0056] S23: Inputting the real-time delivery characteristics and the identifiers of the at least two candidate delivery task nodes into a pre-trained task point prediction model to determine a target delivery task node from the at least two candidate delivery task nodes.
[0057] Specifically, real-time delivery features may include the following delivery features: delivery features in the merchant dimension, such as punctuality, average meal pickup time, average meal waiting time, average daily order volume, meal pickup difficulty coefficient, and merchant category; delivery features in the delivery staff dimension, such as attendance rate, labor efficiency, number of completed orders, punctuality, average delivery time per order, average daily total number of delivery orders, average speed, etc.; delivery features in the task point dimension, such as the distance between the current task point and the delivery staff, the minimum distance between the current task point and the remaining task points, the maximum distance between the current task point and the remaining task points, the average distance between the current task point and the remaining task points, etc.; delivery features in the regional dimension, such as regional load, on-time delivery rate in the region, average daily order volume of delivery staff in the region, number of delivery staff in the region, etc. In addition, delivery features in the order dimension, path dimension, and other dimensions may also be included, which will not be given examples one by one here.
[0058] The objective function of the task point prediction model includes, for each real-time delivery feature, limiting the task point prediction model to output any node among the candidate delivery task nodes as a constraint function of the target delivery task node, and determining the target delivery task node from the at least two candidate delivery task nodes through the constraint function task point prediction model. Optionally, the task point prediction model can use a pre-trained extreme gradient boosting model (eXtreme GradientBoosting, XGB).
[0059] The task point prediction model can be trained based on training samples constructed based on historical delivery characteristics of an upstream delivery task node in the historical delivery task node set, the identifier of a historical candidate delivery node associated with the upstream delivery node, and the identifier of a downstream delivery task node adjacent to the upstream delivery task node.
[0060] A method for determining a target delivery task node provided by an embodiment of the present disclosure comprises obtaining a delivery task node set according to an order to be completed associated with a delivery person identification; then selecting at least two candidate delivery task nodes that meet current delivery conditions from the delivery task node set; finally, inputting real-time delivery characteristics and the identifications of the at least two candidate delivery task nodes into a pre-trained task point prediction model to determine the target delivery task node from the at least two candidate delivery task nodes, thereby being able to predict the next delivery task node of the delivery person according to changes in the real-time delivery environment scenario, improving the consistency between the execution order of the task nodes actually delivered by the delivery person and the execution order of the predicted task nodes, providing an accurate basis for evaluating the execution quality of the task to be completed for the order, improving the reliability of the delivery person scheduling system dispatching orders, and predicting only one delivery task node each time, which greatly reduces the calculation time.
[0061] Alternatively, if Figure 3 As shown, the method also includes:
[0062] S24: updating the real-time delivery feature according to the identifier of the delivery person and the actual delivery task node of the delivery person, and removing the actual delivery task node from the delivery task node set to update the delivery task node set.
[0063] When the task node set includes the pickup point of order A, the delivery point of order A, the pickup point of order B, the delivery point of order B, the pickup point of order C, and the delivery point of order C, if the target delivery task node is determined to be the pickup point of order A, then the updated delivery task point set includes the delivery point of order A, the pickup point of order B, the delivery point of order B, the pickup point of order C, and the delivery point of order C. For updating the real-time delivery feature, for example, the distances between the address of the deliveryman before executing the delivery point of order A and each delivery task point of the delivery task node set before the update are updated to the distances between the address of the deliveryman after executing the delivery point of order A and each task point of the delivery task node set after the update; for another example, the number of deliverymen in the area where the address of the deliveryman before executing the delivery point of order A is located is updated to the number of deliverymen in the area where the address is located after executing the delivery point of order A, and so on. The real-time delivery feature is updated once for each predicted task point, so that the reliability of the next delivery task point predicted each time according to the updated real-time delivery feature is higher.
[0064] It should be noted that after the delivery task node is predicted, the delivery task node predicted by the delivery person's actual delivery task node may be the same or different. However, for the real-time delivery features and the update of the delivery task node set, the delivery person's actual delivery task node can be used as a basis to more reliably predict the next delivery task node.
[0065] S25: Determine whether all the delivery task nodes in the delivery task node set have been determined as target delivery task nodes. If not, return to S22.
[0066] Alternatively, if Figure 4 As shown, the method also includes:
[0067] S41: Recording the execution sequence of the actual delivery task nodes performed by the delivery personnel.
[0068] For example, the execution order of the actual delivery task nodes can be the pickup point of order A, the pickup point of order B, the delivery point of order A, the delivery point of order B, the pickup point of order C, and the delivery point of order C; the predicted order of the target delivery task nodes can be the pickup point of order A, the pickup point of order B, the pickup point of order C, the delivery point of order A, the delivery point of order B, and the delivery point of order C. The execution order of the actual delivery task nodes performed by the deliveryman may be the same as or different from the predicted order of the target delivery task nodes. In other words, the deliveryman may not execute the target delivery task nodes in the predicted order according to the actual delivery scenario.
[0069] S42: Calculate the consistency rate between the order in which each delivery task node in the delivery task node set is determined as the target delivery task node and the execution order.
[0070] Optionally, the consistency rate between the order in which each delivery task node in the delivery task node set is determined as the target delivery task node and the execution order is calculated according to the longest prefix matching method.
[0071] Based on the above, there are a total of 6 delivery task nodes, among which the pickup point of order A and the pickup point of order B that are at the front in the execution order of the actual delivery task nodes and the predicted target delivery task nodes are the same, and the consistency rate calculated by the longest prefix matching method is 33.33%.
[0072] S43: When the consistency rate is lower than a preset threshold, reacquire training data samples.
[0073] When the consistency rate is lower than the preset threshold (such as 60%), it means that the sequence of target delivery task nodes predicted by the current task point prediction model has a low reference value (possibly due to large changes in the delivery scenario). In order to avoid the predicted sequence of target delivery task nodes misleading the subsequent delivery personnel in path delivery and affecting the delivery efficiency and punctuality of subsequent delivery personnel, it is necessary to retrain the task point prediction model.
[0074] S44: retraining the task point prediction model according to the reacquired multiple training data samples.
[0075] When the consistency rate is lower than a preset threshold (such as 60%), it means that the currently trained task node prediction model is not accurate enough. Therefore, retraining is needed to obtain a more reliable task prediction model. The sequence of target delivery task nodes predicted by the newly trained task node prediction model is more in line with the actual delivery scenario, so as not to mislead the subsequent delivery personnel in the path delivery, thereby improving the delivery efficiency and punctuality of subsequent delivery personnel.
[0076] Alternatively, if Figure 5 As shown, the method also includes:
[0077] S51: predicting the first delivery time when the delivery person passes through all the target delivery task nodes according to the order in which the target delivery task nodes are determined and the pre-stored electronic map.
[0078] For example, the predicted order of target delivery task nodes may be the pickup point of order A, the pickup point of order B, the pickup point of order C, the delivery point of order A, the delivery point of order B, and the delivery point of order C; based on the determined order of the target delivery task nodes and the pre-stored electronic map, the delivery route of the deliveryman can be planned, and the first delivery time of the deliveryman passing through the pickup point of order A, the pickup point of order B, the pickup point of order C, the delivery point of order A, the delivery point of order B, and the delivery point of order C in sequence according to the planned delivery route can be estimated.
[0079] S52: Record the second delivery time actually performed by the delivery person.
[0080] The execution order of the actual delivery task nodes that the deliveryman performs delivery may be the same as or different from the predicted order of the target delivery task nodes. That is to say, the deliveryman may not execute the target delivery task nodes in the predicted order according to the actual delivery scenario. Therefore, it is necessary to record the second delivery time that the deliveryman actually performs delivery. The execution order of the actual delivery task nodes can be the pickup point of order A, the pickup point of order B, the delivery point of order A, the delivery point of order B, the pickup point of order C, and the delivery point of order C. Then, the second delivery time of the deliveryman passing through the pickup point of order A, the pickup point of order B, the delivery point of order A, the delivery point of order B, the pickup point of order C, and the delivery point of order C can be recorded.
[0081] S53: Calculate the on-time rate according to the first delivery time and the second delivery time.
[0082] Based on the above, since the predicted order of target delivery task nodes is different from the actual order of delivery task nodes, the first delivery time and the second delivery time are also different. For example, if the first delivery time is 30 minutes and the second delivery time is 45 minutes, the on-time rate is 30 / 45 = 60%
[0083] S54: When the punctuality rate is lower than a preset threshold, reacquire training data samples.
[0084] When the punctuality rate is lower than the preset threshold (such as 60%), it means that the sequence of target delivery task nodes predicted by the current task point prediction model is of low reference value (possibly due to large changes in the delivery scenario). In order to avoid the predicted sequence of target delivery task nodes misleading the subsequent delivery personnel in path delivery and affecting the delivery efficiency and punctuality of subsequent delivery personnel, it is necessary to retrain the task point prediction model.
[0085] S55: retraining the task point prediction model according to the reacquired multiple training data samples.
[0086] When the punctuality rate is lower than a preset threshold (such as 60%), it means that the currently trained task node prediction model is not accurate enough. Therefore, retraining is needed to obtain a more reliable task prediction model. The sequence of target delivery task nodes predicted by the newly trained task node prediction model is more in line with the actual delivery scenario, so as not to mislead the subsequent delivery personnel in the path delivery, thereby improving the delivery efficiency and punctuality of subsequent delivery personnel.
[0087] The present disclosure also provides a device 600 for determining a target delivery task node. Figure 6 As shown, the device 600 includes an information acquisition module 601, a node selection module 602 and a node determination module 603.
[0088] The information acquisition module 601 is configured to acquire a set of delivery task nodes according to the to-be-completed orders associated with the delivery person identification.
[0089] The node selection module 602 is configured to select at least two candidate delivery task nodes that meet current delivery conditions from the delivery task node set.
[0090] The node determination module 603 is configured to input the real-time delivery characteristics and the identifiers of the at least two candidate delivery task nodes into a pre-trained task point prediction model to determine the target delivery task node from the at least two candidate delivery task nodes.
[0091] The objective function of the task point prediction model includes, for each real-time delivery feature, limiting the task point prediction model to output any node in the candidate delivery task node as a constraint function of the target delivery task node. The task point prediction model is trained based on a training sample constructed based on the historical delivery features of an upstream delivery task node in the historical delivery task node set, the identifier of the historical candidate delivery node associated with the upstream delivery node, and the identifier of the downstream delivery task node adjacent to the upstream delivery task node.
[0092] A device 600 for determining a target delivery task node provided by an embodiment of the present disclosure can realize the following functions: obtaining a delivery task node set based on an order to be completed associated with a delivery person identification; selecting at least two candidate delivery task nodes that meet current delivery conditions from the delivery task node set; inputting real-time delivery characteristics and the identifications of the at least two candidate delivery task nodes into a pre-trained task point prediction model to determine the target delivery task node from the at least two candidate delivery task nodes, thereby being able to predict the next delivery task node of the delivery person based on changes in the real-time delivery environment scenario, thereby improving the consistency between the execution order of the task nodes actually delivered by the delivery person and the execution order of the predicted task nodes, providing an accurate basis for evaluating the performance of the task to be completed for the order, and improving the reliability of the delivery person scheduling system in dispatching orders.
[0093] Alternatively, if Figure 7 As shown, the device 600 further includes:
[0094] The information update module 701 is configured to update the real-time delivery characteristics according to the identification of the delivery person and the actual delivery task node of the delivery person after determining the target delivery task node from the at least two candidate delivery task nodes, and to eliminate the actual delivery task node from the delivery task node set to update the delivery task node set.
[0095] The node selection module 602 is further configured to select at least two candidate delivery task nodes that meet the current delivery conditions from the delivery task node set until all the delivery task nodes in the delivery task node set are determined as target delivery task nodes.
[0096] Alternatively, if Figure 8 As shown, the device 600 further includes:
[0097] The information recording module 801 is configured to record the execution sequence of the actual delivery task nodes performed by the delivery personnel.
[0098] The calculation module 802 is configured to calculate the consistency rate between the order in which each delivery task node in the delivery task node set is determined as the target delivery task node and the execution order.
[0099] The calculation module 802 may be specifically configured to calculate the consistency rate between the order in which each delivery task node in the delivery task node set is determined as the target delivery task node and the execution order according to the longest prefix matching method.
[0100] The information acquisition module 601 is also configured to reacquire training data samples when the consistency rate is lower than a preset threshold.
[0101] The model training module 803 is configured to retrain the task point prediction model according to the reacquired multiple training data samples.
[0102] Alternatively, if Fig. 9 As shown, the device 600 further includes:
[0103] The time prediction module 901 is configured to predict the first delivery time when the delivery person passes through all the target delivery task nodes according to the order in which the target delivery task nodes are determined and the pre-stored electronic map.
[0104] The time recording module 902 is configured to record the second delivery time actually performed by the delivery person.
[0105] The calculation module 903 is configured to calculate the on-time rate according to the first delivery time and the second delivery time.
[0106] The information acquisition module 601 is also configured to reacquire training data samples when the punctuality rate is lower than a preset threshold.
[0107] The model training module 904 is configured to retrain the task point prediction model based on the reacquired multiple training data samples.
[0108] Regarding the device 600 in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0109] Fig.10 1 is a block diagram of an electronic device 1000 according to an exemplary embodiment. For example, the electronic device 1000 may be provided as a server 200. Fig.10 The electronic device 1000 includes a processor 1022, which may be one or more, and a memory 1032 for storing a computer program executable by the processor 1022. The computer program stored in the memory 1032 may include one or more modules each corresponding to a set of instructions. In addition, the processor 1022 may be configured to execute the computer program to perform the above-mentioned method for determining the target delivery task node.
[0110] In addition, the electronic device 1000 may further include a power supply component 1026 and a communication component 1050, wherein the power supply component 1026 may be configured to perform power management of the electronic device 1000, and the communication component 1050 may be configured to implement communication of the electronic device 1000, for example, wired or wireless communication. In addition, the electronic device 1000 may further include an input / output (I / O) interface 1058. The electronic device 1000 may operate based on an operating system stored in the memory 1032, such as Windows Server™, Mac OS X™, Unix™, Linux™, etc.
[0111] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by the processor, the steps of the above-mentioned method for determining the target delivery task node are implemented. For example, the computer-readable storage medium can be the above-mentioned memory 1032 including program instructions, and the above-mentioned program instructions can be executed by the processor 1022 of the electronic device 1000 to complete the above-mentioned method for determining the target delivery task node. For example, the processor 1022 can perform the following operations: according to the order to be completed associated with the delivery person's identification, a delivery task node set is obtained; at least two candidate delivery task nodes that meet the current delivery conditions are selected from the delivery task node set; the real-time delivery characteristics and the identifications of the at least two candidate delivery task nodes are input into the pre-trained task point prediction model to determine the target delivery task node from the at least two candidate delivery task nodes, so that the next delivery task node of the delivery person can be predicted according to the change of the real-time delivery environment scene, which improves the consistency between the execution order of the task nodes actually delivered by the delivery person and the execution order of the predicted task nodes, and can provide an accurate basis for the evaluation of the execution quality of the task to be completed, thereby improving the reliability of the delivery person's dispatching system.
[0112] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings; however, the present disclosure is not limited to the specific details in the above embodiments. Within the technical concept of the present disclosure, a variety of simple modifications can be made to the technical solution of the present disclosure, and these simple modifications all fall within the protection scope of the present disclosure.
[0113] It should also be noted that the various specific technical features described in the above specific implementation methods can be combined in any suitable manner without contradiction.
[0114] In addition, various embodiments of the present disclosure may be arbitrarily combined, and as long as they do not violate the concept of the present disclosure, they should also be regarded as the contents disclosed by the present disclosure.
Claims
1. A method for determining a target delivery task node, characterized in that: The method comprises: Obtain the delivery task node set based on the pending orders associated with the delivery person ID; Selecting at least two candidate delivery task nodes that meet current delivery conditions from the delivery task node set; Inputting the real-time delivery characteristics and the identifiers of the at least two candidate delivery task nodes into a pre-trained task point prediction model to determine a target delivery task node from the at least two candidate delivery task nodes; The objective function of the task point prediction model includes, for each real-time delivery feature, limiting the task point prediction model to output any node among the candidate delivery task nodes as a constraint function of the target delivery task node; The training of the task point prediction model includes: Record the execution order of the actual delivery task nodes of the delivery personnel; Calculating the consistency rate between the order in which each delivery task node in the delivery task node set is determined as the target delivery task node and the execution order; When the consistency rate is lower than a preset threshold, reacquiring training data samples; Retraining the task point prediction model according to the reacquired multiple training data samples; Wherein, the method further comprises: After determining the target delivery task node from the at least two candidate delivery task nodes, updating the real-time delivery feature according to the identifier of the delivery person and the actual delivery task node of the delivery person, and removing the actual delivery task node from the delivery task node set to update the delivery task node set; Return to the step of selecting at least two candidate delivery task nodes that meet the current delivery conditions from the delivery task node set until all the delivery task nodes in the delivery task node set are determined as target delivery task nodes.
2. The method according to claim 1, characterized in that The consistency rate between the order in which each delivery task node in the delivery task node set is determined as the target delivery task node and the execution order is calculated according to the longest prefix matching method.
3. The method according to claim 1, characterized in that The method further comprises: Predicting the first delivery time of the delivery person passing through all the target delivery task nodes according to the order in which the target delivery task nodes are determined and the pre-stored electronic map; Record the second delivery time when the delivery person actually delivers the goods; Calculating the on-time rate according to the first delivery time and the second delivery time; When the punctuality rate is lower than a preset threshold, reacquiring training data samples; The task point prediction model is trained again according to the reacquired multiple training data samples.
4. The method according to any one of claims 1 to 3, characterized in that: Before the step of acquiring a set of delivery task nodes according to the to-be-completed orders associated with the delivery person identification, the method further includes: The task point prediction model is trained based on training samples constructed based on historical delivery characteristics of an upstream delivery task node in the historical delivery task node set, identifiers of historical candidate delivery nodes associated with the upstream delivery node, and identifiers of downstream delivery task nodes adjacent to the upstream delivery task node.
5. The method according to any one of claims 1 to 3, characterized in that: The delivery task node includes a pickup point and / or a delivery point, and the current delivery condition is a pickup condition and / or a delivery condition.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method described in any one of claims 1 to 5 are implemented.
7. An electronic device, characterized in that: include: a memory having a computer program stored thereon; A processor, configured to execute the computer program in the memory to implement the steps of the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Method and device for planning distribution path based on standard box orders
CN107194656A
Delivery path optimization method and apparatus, computer device and storage medium
CN107464018A
Order meal supply time prediction model construction and prediction method, model and device
CN108345958A
Express delivery method, express delivery device and express delivery vehicle
CN108876008A
Method, apparatus and storage medium for predicting task processing time
CN109063935A
