Order meal preparation time determination method and device, equipment and medium

By obtaining and analyzing time data related to orders and delivery, determining the probability of multiple alternative meal times and selecting the target meal time, the problem of difficult to determine the meal preparation time in the takeaway business is solved, and the taste and delivery efficiency of the meal are improved.

CN120218773APending Publication Date: 2025-06-27SHENGDOUSHI SHANGHAI SCI & TECH DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311821537.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-26
Publication Date
2025-06-27

AI Technical Summary

Technical Problem

In the takeaway business scenario, it is difficult for the existing technology to determine a reasonable order preparation time, which will affect the taste of the food or waste time for delivery personnel.

Method used

By obtaining the order placing time of the target store to be delivered, the estimated arrival time of the delivery personnel, the first error time and the second error time, the probability of multiple selected meal times is determined based on these data, and the target meal time is selected according to the target probability, and the target meal time is finally determined.

Benefits of technology

Improve the accuracy of order meal delivery time, thereby improving the accuracy of the target meal preparation time determined based on this time, ensuring the taste and delivery efficiency of the meal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120218773A_ABST
    Figure CN120218773A_ABST
Patent Text Reader

Abstract

The invention provides an order meal preparation time determination method and device, equipment and a medium. The order placing time of a to-be-delivered order, the estimated arrival time of a delivery person, the first error duration used for indicating the meal delivery time error condition of a target store, and the second error duration used for indicating the arrival time error condition of the delivery person are acquired; based on the first error duration, the second error duration, the order placing time, the estimated arrival time and a preset probability determination mode, determining probabilities corresponding to a plurality of alternative meal delivery times, and based on the probabilities corresponding to the plurality of alternative meal delivery times and a preset target probability, determining a target meal delivery time from the plurality of alternative meal delivery times, when the target meal delivery time is determined, the error condition of the meal delivery time of the store and the error condition of the arrival time of the delivery personnel are considered, so that the determined target meal delivery time is more accurate, and the accuracy of the target meal preparation time determined based on the target meal delivery time is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular, to a method, apparatus, device, and medium for determining the order meal preparation time. Background Art

[0002] In the takeaway business scenario, when a customer places an order, the takeaway business scenario will immediately receive this order, but the takeaway business system does not necessarily immediately notify the store (such as a restaurant) to prepare the meal. This is because, if the takeaway order is prepared too early, it may happen that the takeaway order is completed, but if there is no delivery person arriving at the store to pick up the meal for a long time, it will affect the taste of the meal; if the takeaway order is prepared too late, it may happen that the delivery person has already arrived at the store, but the meal has not been completed yet, wasting the delivery person's time and resulting in a low delivery efficiency of the delivery person. Therefore, there is an urgent need for a method for determining the order meal preparation time to help the takeaway business system determine a more reasonable meal preparation time, so as to ensure the delivery efficiency of the delivery person while not affecting the taste of the meal. Summary of the Invention

[0003] To overcome the problems existing in the related art, the present application provides a method, apparatus, device, and medium for determining the order meal preparation time.

[0004] According to the first aspect of the embodiments of the present application, a method for determining the order meal preparation time is provided. The method includes:

[0005] Obtain the order placement time of the order to be delivered at the target store, the estimated arrival time of the delivery person for delivering the order to be delivered, the first error duration, and the second error duration. The first error duration is used to indicate the statistical error between the actual meal preparation time and the estimated meal preparation time at the target store, and the second error duration is used to indicate the statistical error between the actual arrival time and the estimated arrival time of the delivery person.

[0006] Based on the first error duration, the second error duration, the order placement time, the estimated arrival time, and the pre-set probability determination method, determine the probabilities corresponding to multiple candidate meal preparation times. The probability corresponding to each candidate meal preparation time is used to indicate the possibility that the candidate meal preparation time is before the arrival time of the delivery person.

[0007] Based on the probabilities corresponding to multiple candidate meal preparation times and the pre-set target probability, determine the target meal preparation time from multiple candidate meal preparation times.

[0008] Based on the target meal preparation time, the order placement time of the order to be delivered, and the order preparation duration of the order to be delivered, determine the target meal preparation time of the order to be delivered.

[0009] According to the second aspect of the embodiments of the present application, a device for determining the order meal preparation time is provided. The device includes:

[0010] An acquisition module, configured to acquire the order placement time of the orders to be delivered at the target store, the estimated arrival time at the store of the delivery personnel for delivering the orders to be delivered, a first error duration, and a second error duration. The first error duration is used to indicate the statistical error between the actual meal preparation time and the estimated meal preparation time of the target store, and the second error duration is used to indicate the statistical error between the actual arrival time at the store of the delivery personnel and the estimated arrival time at the store;

[0011] A probability determination module, configured to determine the probabilities corresponding to multiple candidate meal preparation times based on the first error duration, the second error duration, the order placement time, the estimated arrival time at the store, and a pre-set probability determination method. The probability corresponding to each candidate meal preparation time is used to indicate the possibility that the candidate meal preparation time is before the arrival time at the store of the delivery personnel;

[0012] A time determination module, configured to determine a target meal preparation time from the multiple candidate meal preparation times based on the probabilities corresponding to the multiple candidate meal preparation times and a pre-set target probability;

[0013] The time determination module is further configured to determine the target meal preparation time of the order to be delivered based on the target meal preparation time, the order placement time of the order to be delivered, and the order preparation duration of the order to be delivered.

[0014] According to the third aspect of the embodiments of the present application, there is provided a computing device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the operations performed by the above-mentioned method for determining the order meal preparation time are implemented.

[0015] According to the fourth aspect of the embodiments of the present application, there is provided a computer-readable storage medium, on which a program is stored. When the program is executed by a processor, the operations performed by the above-mentioned method for determining the order meal preparation time are implemented.

[0016] According to the fifth aspect of the embodiments of the present application, there is provided a computer program product, including a computer program. When the computer program is executed by a processor, the operations performed by the above-mentioned method for determining the order meal preparation time are implemented.

[0017] The technical solutions provided by the embodiments of the present application may include the following beneficial effects:

[0018] By obtaining the order placement time of the orders to be delivered at the target store, the estimated arrival time of the delivery personnel for delivering the orders to be delivered, the first error duration indicating the statistical error between the actual meal preparation time and the estimated meal preparation time of the target store, and the second error duration indicating the statistical error between the actual arrival time and the estimated arrival time of the delivery personnel, and then determining the probabilities corresponding to multiple candidate meal preparation times based on the first error duration, the second error duration, the order placement time, the estimated arrival time, and a pre-set probability determination method, and determining the target meal preparation time from the multiple candidate meal preparation times based on the probabilities corresponding to the multiple candidate meal preparation times and a pre-set target probability, and further determining the target meal preparation time of the order to be delivered based on the target meal preparation time, the order placement time of the order to be delivered, and the order preparation duration of the order to be delivered. By considering the error situation of the meal preparation time at the store and the error situation of the arrival time of the delivery personnel when determining the target meal preparation time, the determined target meal preparation time can be made more accurate, thereby improving the accuracy of the target meal preparation time determined based on the target meal preparation time.

[0019] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit this application. Brief Description of the Drawings

[0020] The drawings herein are incorporated into the specification and constitute a part of this application, showing embodiments consistent with this application, and are used together with the specification to explain the principles of this application.

[0021] Figure 1 is a flowchart of a method for determining the meal preparation time of an order shown according to an exemplary embodiment of this application.

[0022] Figure 2 is a schematic diagram of the interval relationship between the meal preparation time interval of an order and the arrival time interval of the delivery personnel shown according to an exemplary embodiment of this application.

[0023] Figure 3 is a schematic diagram of the interval relationship between the meal preparation time interval of an order and the arrival time interval of the delivery personnel shown according to an exemplary embodiment of this application.

[0024] Figure 4 is a schematic diagram of the interval relationship between the meal preparation time interval of an order and the arrival time interval of the delivery personnel shown according to an exemplary embodiment of this application.

[0025] Figure 5 is a schematic diagram of the interval relationship between the meal preparation time interval of an order and the arrival time interval of the delivery personnel shown according to an exemplary embodiment of this application.

[0026] Figure 6It is a block diagram of a device for determining the order meal preparation time shown according to an exemplary embodiment of the present application.

[0027] Figure 7 It is a schematic structural diagram of a computing device shown according to an exemplary embodiment of the present application. Detailed implementation manners

[0028] Here, the exemplary embodiments will be described in detail, and the examples are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the present application.

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

[0030] It should be understood that although the terms first, second, third, etc. may be used in the present application to describe various information, such 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 the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "when" or "while" or "in response to determining".

[0031] The present application provides a method for determining the order meal preparation time, which is used to simultaneously consider the error situation of the store meal delivery time and the error situation of the delivery person's arrival time at the store to determine the target meal delivery time, improve the accuracy of the determined target meal delivery time, and thus improve the accuracy of the target meal preparation time determined based on the target meal delivery time.

[0032] The method for determining the order meal preparation time provided by the present application can be applied to the takeaway business scenario. In the takeaway business scenario, a customer can place a takeaway order at a certain store through a takeaway software. After the customer places an order, the takeaway business system will immediately receive the order, and thus the method for determining the order meal preparation time provided by the present application can be used to determine a more appropriate meal preparation time for this order, and then push the order to the corresponding store based on the determined meal preparation time so that the corresponding store can make the meal after receiving the order.

[0033] The above method for determining the meal preparation time of an order can be executed by a computing device, which can be a server, such as a single server, multiple servers, a server cluster, a cloud computing platform, etc., but is not limited thereto. The present application does not limit the type and number of computing devices. For example, the takeaway business system can be deployed on the computing device so that the takeaway orders received by the takeaway business system can be processed through the computing device, including but not limited to executing the determination of the meal preparation time of the order provided by the present application through the computing device.

[0034] The above is only an exemplary description of the application scenario of the present application and does not constitute a limitation on the application scenario of the present application. In more possible implementation manners, the present application can be applied to other scenarios that require predicting the meal preparation time.

[0035] After introducing the application scenario of the present application, next, in combination with the embodiments of the present application, the method for determining the meal preparation time of the order provided by the present application will be further described.

[0036] As Figure 1 shown, Figure 1 is a flowchart of a method for determining the meal preparation time of an order shown according to an exemplary embodiment of the present application. The method includes the following steps:

[0037] Step 101, obtain the order placement time of the order to be delivered at the target store, the estimated arrival time of the delivery person for delivering the order to be delivered, the first error duration, and the second error duration. The first error duration is used to indicate the statistical error between the actual meal preparation time and the estimated meal preparation time of the target store, and the second error duration is used to indicate the statistical error between the actual arrival time and the estimated arrival time of the delivery person.

[0038] Among them, the target store can be any one of multiple stores in the business scenario. The target store can be a restaurant, a dessert shop, a bakery, etc. The present application does not limit the type of the target store. Taking the business scenario as the takeaway business scenario as an example, the target store can be any restaurant in the takeaway business scenario.

[0039] Among them, the first error duration can be statistically obtained based on the meal preparation situation of the historical orders of the target store, and the second error duration can be statistically obtained based on the historical delivery situation of the delivery person.

[0040] Step 102, based on the first error duration, the second error duration, the order placement time, the estimated arrival time, and the pre-set probability determination method, determine the probabilities corresponding to multiple candidate meal preparation times. The probability corresponding to each candidate meal preparation time is used to indicate the possibility of the candidate meal preparation time before the arrival time of the delivery person.

[0041] Among them, multiple candidate meal delivery times can be automatically generated according to a pre-set determination method for meal preparation and delivery times. For example, it can be configured to determine a candidate meal delivery time every first step length starting from the order placement time of the order to be delivered, until the determined candidate meal delivery time is greater than or equal to the upper limit of the arrival time at the store, and the upper limit of the arrival time at the store can be determined based on the estimated arrival time and the second error duration.

[0042] Optionally, the first step length can be any duration. For example, the first step length can be 1 second, but it is not limited to this, and the first step length can also have other values.

[0043] It should be noted that the pre-set probability determination method can be used to indicate the formula corresponding to the probability and the candidate meal delivery time. For example, the pre-set probability determination method can be a functional relationship with the probability as the dependent variable and the candidate meal delivery time as the independent variable.

[0044] Step 103: Determine the target meal delivery time from multiple candidate meal delivery times based on the probabilities corresponding to the multiple candidate meal delivery times and the pre-set target probability.

[0045] Among them, the target probability can be pre-set by the target store based on actual business needs, and the target probability can be any value between [0, 1]. For example, the target probability can be 0.8, but it is not limited to this, and the target probability can also have other values.

[0046] Step 104: Determine the target meal preparation time of the order to be delivered based on the target meal delivery time, the order placement time of the order to be delivered, and the order preparation duration of the order to be delivered.

[0047] It should be noted that the production processes of different types and quantities of food products are relatively fixed, and moreover, the packaging processes of different types and quantities of food products are also relatively fixed. As a result, the production durations and packaging durations of different types and quantities of food products are also relatively fixed. Therefore, the order preparation duration (including the preparation duration and the packaging duration) of the order to be delivered can be obtained according to the quantity and type of food products in the order, as well as the production process and packaging process of this food product.

[0048] After obtaining the order preparation duration of the order to be delivered, the determination of the target meal preparation time of the order to be delivered can be achieved based on the target meal delivery time, the order placement time of the order to be delivered, and the order preparation duration of the order to be delivered.

[0049] By obtaining the order placement time of the order to be delivered at the target store, the estimated arrival time of the delivery personnel for delivering the order to be delivered, the first error duration indicating the statistical error between the actual meal preparation time and the estimated meal preparation time of the target store, and the second error duration indicating the statistical error between the actual arrival time and the estimated arrival time of the delivery personnel, and then based on the first error duration, the second error duration, the order placement time, the estimated arrival time, and the preset probability determination method, determine the probabilities corresponding to multiple candidate meal preparation times, so as to determine the target meal preparation time from multiple candidate meal preparation times based on the probabilities corresponding to multiple candidate meal preparation times and the preset target probability, and further determine the target meal preparation time of the order to be delivered based on the target meal preparation time, the order placement time of the order to be delivered, and the order preparation duration of the order to be delivered. By considering the error situation of the meal preparation time at the store and the error situation of the arrival time of the delivery personnel when determining the target meal preparation time, the determined target meal preparation time can be made more accurate, thereby improving the accuracy of the target meal preparation time determined based on the target meal preparation time.

[0050] After introducing the basic implementation process of the present application, the various non-limiting implementation manners of the present application will be specifically introduced below.

[0051] In some embodiments, for step 101, when obtaining the order placement time of the order to be delivered at the target store, the estimated arrival time of the delivery personnel for delivering the order to be delivered, the first error duration, and the second error duration, it can be implemented through the following steps:

[0052] Step 1011: Obtain the order placement time of the order to be delivered, the location information of the target store, the location information of the delivery personnel for delivering the order to be delivered, the historical order data of the target store within the first time period, and the historical delivery data of the delivery personnel within the second time period.

[0053] It should be noted that when the customer places an order, the takeaway business system can immediately receive this order, and the takeaway business system can obtain the pick-up location of this order (which is also the location information of the target store) and the delivery location (which is also the delivery address selected by the customer). The takeaway business system can allocate the order based on the pick-up location of this order and the locations of each alternative delivery personnel. For example, this order can be allocated to the delivery personnel closest to the target store, or the takeaway business system can push this order to the alternative delivery personnel whose distance from the target store is less than the set distance threshold, and the alternative delivery personnel who receive the push can grab the order to achieve the allocation of the delivery personnel.

[0054] After completing the allocation of the delivery personnel, the delivery personnel for delivering the order to be delivered can be determined, and thus the location information of the delivery personnel for delivering the order to be delivered can be obtained.

[0055] Among them, the first time period can be any period in the past. For example, the first time period can be a period before the current time, and the first time period can be of any duration. The present application does not limit the duration of the first time period.

[0056] Among them, the second time period can also be any period in the past. For example, the second time period can also be a period before the current time, and the second time period can also be of any duration. Moreover, the durations of the first time period and the second time period can be the same or different. The present application does not limit the duration of the second time period.

[0057] Step 1012: Based on the order placement time of the order to be delivered, the location information of the target store, and the location information of the delivery person, determine the estimated arrival time of the delivery person at the store.

[0058] In a possible implementation manner, the estimated time required for the delivery person to arrive at the store can be determined based on the location information of the target store and the location information of the delivery person. Thus, the estimated arrival time of the delivery person can be determined based on the order placement time of the order to be delivered and the estimated time required for the delivery person to arrive at the store.

[0059] It should be noted that the transportation means used by the delivery person is relatively fixed, and moreover, the road conditions of each section at different time periods are also relatively fixed. Therefore, when determining the estimated time required for the delivery person to arrive at the store based on the location information of the target store and the location information of the delivery person, the driving route of the delivery person can be determined based on the location information of the target store and the location information of the delivery person. Thus, the estimated time required for arrival at the store can be determined by combining the previous driving speed of the delivery person and the road conditions of the driving route during the corresponding previous time period.

[0060] Optionally, when determining the estimated arrival time of the delivery person based on the order placement time of the order to be delivered and the estimated time required for the delivery person to arrive at the store, the estimated time required for the delivery person to arrive at the store can be added to the order placement time of the order to be delivered to obtain the determination of the estimated arrival time of the delivery person.

[0061] Step 1013: Based on the historical order data of the target store within the first time period, determine the first error duration.

[0062] Optionally, the historical order data of the target store within the first time period may include the historical estimated meal preparation time and the historical actual meal preparation time of the historical orders of the target store within the first time period, but is not limited thereto. The historical order data may also include more types of data. The present application does not limit this.

[0063] In a possible implementation, the error in the meal preparation duration for each historical order of the target store within the first time period can be determined based on the historical estimated meal preparation time and the historical actual meal preparation time of each historical order, so that the average value of the errors in the meal preparation durations of these multiple historical orders can be determined to obtain the first error duration.

[0064] Step 1014: Determine the second error duration based on the historical delivery data of the delivery staff within the second time period.

[0065] Optionally, the historical delivery data of the delivery staff within the second time period may include the historical estimated arrival time and the historical actual arrival time when the delivery staff delivers orders within the second time period, but is not limited thereto. The historical delivery data may also include more types of data.

[0066] In a possible implementation, the arrival time error for each delivery process within the second time period can be determined based on the historical estimated arrival time and the historical actual arrival time of each delivery process of the delivery staff within the second time period, so that the average value of the arrival time errors of multiple delivery processes within the second time period can be determined to obtain the second error duration.

[0067] After determining the first error duration, the second error duration, the order placement time, and the estimated arrival time through the above embodiments, step 102 can be used to determine the probabilities corresponding to multiple candidate meal preparation times based on the first error duration, the second error duration, the order placement time, the estimated arrival time, and the pre-set probability determination method.

[0068] In some embodiments, for step 102, when determining the probabilities corresponding to multiple candidate meal preparation times based on the first error duration, the second error duration, the order placement time, the estimated arrival time, and the pre-set probability determination method, it can be implemented through the following steps:

[0069] Step 1021: Determine the upper limit and the lower limit of the meal preparation time based on the candidate meal preparation time and the first error duration.

[0070] Step 1022: Determine the upper limit and the lower limit of the arrival time based on the estimated arrival time and the second error duration.

[0071] It should be noted that there will be certain deviations in the estimation of the order meal preparation time and the delivery staff's arrival time. By considering the first error duration during the estimation of the order meal preparation time and the second error duration during the estimation of the delivery staff's arrival time, the order meal preparation time interval and the delivery staff's arrival time interval can be obtained.

[0072] It should be noted that the arrival time of the delivery staff at the store follows a uniform distribution. That is, the arrival time of the delivery staff at the store will be within the arrival time interval of the delivery staff, and the probability of the delivery staff arriving at the store at each time is equal.

[0073] Among them, the arrival time interval of the delivery staff at the store can be the time interval composed of the lower limit of the arrival time and the upper limit of the arrival time. The lower limit of the arrival time can be determined based on the difference between the estimated arrival time and the second error duration, and the upper limit of the arrival time can be determined based on the sum of the estimated arrival time and the second error duration. That is, the arrival time interval of the delivery staff at the store can be [t arrive -Δt a ,t arrive +Δt a , where t arrive is the estimated arrival time, and Δt a is the second error duration.

[0074] In addition, the meal preparation time of the order also follows a uniform distribution. That is, the meal preparation time of the order will be within the meal preparation time interval of the order, and the probability of the meal being prepared at each time is equal.

[0075] Among them, the meal preparation time interval of the order can be the time interval composed of the lower limit of the meal preparation time and the upper limit of the meal preparation time. The lower limit of the meal preparation time can be determined based on the difference between the meal preparation time of the order and the first error duration, and the upper limit of the meal preparation time can be determined based on the sum of the meal preparation time of the order and the first error duration. That is, the meal preparation time interval of the order can be [t dish -Δt d ,t dish +Δt d , where t dish is the meal preparation time of the order, and Δt d is the first error duration.

[0076] Step 1023: According to the pre-set probability determination method, based on the upper limit of the meal preparation time, the lower limit of the meal preparation time, the upper limit of the arrival time, and the lower limit of the arrival time, determine the probability corresponding to the candidate meal preparation time.

[0077] It should be noted that according to the interval relationship between the meal preparation time interval of the order and the arrival time interval of the delivery staff, multiple possible situations can be obtained, such as the delivery staff must not have arrived at the store when the order is completed, the delivery staff must have arrived at the store when the order is completed, the delivery staff may have arrived at the store when the order is completed, and so on. Different probability determination methods can be set for different situations. That is, the pre-set probability determination methods can be multiple, and different probability determination methods can correspond to different situations regarding whether the delivery staff has arrived at the store when the order is completed.

[0078] Optionally, according to the magnitude relationship between the first error duration and the second error duration, the situation of whether the delivery person arrives at the store when the order production is completed can be discussed in different cases, so as to discuss how to determine the probability corresponding to the candidate meal preparation time under different probability determination methods.

[0079] (1) The first error duration is less than the second error duration (that is, Δt d <Δt a )

[0080] For the case where the first error duration is less than the second error duration (that is, Δt d <Δt a ), there are 5 possible cases for the interval relationship between the order meal preparation time interval and the delivery person's arrival time interval. See Figure 2 , Figure 2 which is a schematic diagram of the interval relationship between the order meal preparation time interval and the delivery person's arrival time interval shown according to an exemplary embodiment of the present application. The following will respectively introduce the probability determination methods corresponding to the 5 cases as Figure 2 shown.

[0081] Case 1: The upper limit of the meal preparation time is less than or equal to the lower limit of the arrival time (that is, t dish +Δt d ≤t arrive +Δt a )

[0082] Optionally, if the upper limit of the meal preparation time is less than or equal to the lower limit of the arrival time, the probability corresponding to the candidate meal preparation time can be determined to be 1.

[0083] It should be noted that when the upper limit of the meal preparation time is less than or equal to the lower limit of the arrival time, the probability that the order meal preparation time is earlier than the delivery person's arrival time interval is 1, that is, P before =1, where P before represents the probability that the order meal preparation time is earlier than the delivery person's arrival time interval. Therefore, for Case 1 where the upper limit of the meal preparation time is less than or equal to the lower limit of the arrival time, the probability corresponding to the candidate meal preparation time at Case 1 can be directly determined to be 1.

[0084] Case 2: The lower limit of the arrival time is greater than the lower limit of the meal preparation time and less than the upper limit of the meal preparation time (that is, t dish -Δt d <t arrive -Δt a <t dish +Δt d )

[0085] Optionally, if the lower limit of the arrival time at the store is greater than the lower limit of the meal preparation time and less than the upper limit of the meal preparation time, the probability corresponding to the alternative meal preparation time can be determined based on the alternative meal preparation time, the estimated arrival time at the store, the first error duration, and the second error duration.

[0086] The following describes the implementation method for determining the probability corresponding to the alternative meal preparation time based on the alternative meal preparation time, the estimated arrival time at the store, the first error duration, and the second error duration when the lower limit of the arrival time at the store is greater than the lower limit of the meal preparation time and less than the upper limit of the meal preparation time.

[0087] It should be noted that when the lower limit of the arrival time at the store is greater than the lower limit of the meal preparation time and less than the upper limit of the meal preparation time, there is a certain probability that the order meal preparation time is definitely earlier than the arrival time of the delivery person at the store, and there is also a certain probability that it may be earlier than the arrival time of the delivery person at the store, but there is no probability that the order meal preparation time is later than the arrival time of the delivery person at the store (that is, P before >0, P in >0, P after =0), where P before represents the probability that the order meal preparation time is earlier than the arrival time interval of the delivery person at the store (that is, the probability that the alternative meal preparation time is earlier than the estimated arrival time at the store), and P in represents the probability that the order meal preparation time is within the arrival time interval of the delivery person at the store (that is, the probability that the alternative meal preparation time is between the lower limit and the upper limit of the arrival time at the store), and P after represents the probability that the order meal preparation time is later than the arrival time interval of the delivery person at the store (that is, the probability that the alternative meal preparation time is later than the estimated arrival time at the store). See Figure 3 , Figure 3 is a schematic diagram of the interval relationship between the order meal preparation time interval and the delivery person's arrival time interval shown in accordance with an exemplary embodiment of the present application. As Figure 3 shown, the situation where the order meal preparation time is definitely earlier than the arrival time of the delivery person at the store corresponds to Case2A. That is, in the case of Case2A, the probability that the order has been prepared before the delivery person arrives at the store is 1; the situation where the order meal preparation time is within the delivery time arrival time interval corresponds to Case2B. That is, in the case of Case2B, the probability that the order has been prepared before the delivery person arrives at the store is 0 - 1.

[0088] For Case2A, the probability that the alternative meal preparation time is earlier than the estimated arrival time at the store can be determined in the following manner:

[0089] Based on the alternative meal preparation time, the estimated arrival time at the store, the first error duration, and the second error duration, determine a first probability, where the first probability is used to indicate the probability that the alternative meal preparation time is earlier than the estimated arrival time at the store.

[0090] Optionally, the difference between the alternative meal delivery time and the first error duration can be determined as the lower limit of the meal delivery time; the difference between the lower limit of the arrival time and the lower limit of the meal delivery time can be determined as the third difference; the second ratio of the third difference to the first error duration of the preset multiple can be determined, so as to determine the difference between the first target value and the second ratio as the first probability. Wherein, the value of the preset multiple can be 2.

[0091] For example, the probability that the alternative meal delivery time is earlier than the estimated arrival time (i.e., the first probability) can be determined according to the following formula (1):

[0092]

[0093] Wherein, P before represents the probability that the alternative meal delivery time is earlier than the estimated arrival time (i.e., the first probability), t dish represents the order meal delivery time, Δt d is the first error duration, t arrive represents the arrival time of the delivery person at the store, Δt a represents the second error duration.

[0094] It should be noted that the sum of the probabilities of P before , P in and P after is 1. In Case2, P after has been determined to be 0. Then, for Case2B, the probability that the alternative meal delivery time is between the lower limit of the arrival time and the upper limit of the arrival time can be determined in the following way:

[0095] Based on the first probability, the second probability is determined, and the second probability is used to indicate the probability that the alternative meal delivery time is between the lower limit of the arrival time and the upper limit of the arrival time.

[0096] Optionally, the difference between the first target value and the first probability can be determined as the second probability. Wherein, the first target value can be 1.

[0097] For example, the probability that the alternative meal delivery time is between the lower limit of the arrival time and the upper limit of the arrival time (i.e., the second probability) can be determined according to the following formula (2):

[0098] P in = 1 - P before (2)

[0099] Wherein, P in represents the probability that the alternative meal delivery time is between the lower limit of the arrival time and the upper limit of the arrival time (i.e., the second probability), P before represents the probability that the alternative meal delivery time is earlier than the estimated arrival time (i.e., the first probability).

[0100] Moreover, the central position of the order food delivery time (i.e., the central position of the food delivery time) can be determined in the following manner:

[0101] Based on the alternative food delivery times, the estimated arrival time, the first error duration, and the second error duration, determine the central position of the food delivery time.

[0102] Optionally, since the order food delivery time follows a uniform distribution, the central position of the food delivery time can be determined in the following specific manner by way of example:

[0103] Determine the difference between the estimated arrival time and the second error duration as the lower limit of the arrival time; determine the sum of the alternative food delivery time and the first error duration as the upper limit of the food delivery time; determine the mean of the lower limit of the arrival time and the upper limit of the food delivery time as the central position of the food delivery time.

[0104] For example, the central position of the food delivery time can be determined according to the following formula (3):

[0105]

[0106] where t mid represents the central position of the food delivery time, t dish represents the order food delivery time, Δt d is the first error duration, t arrive represents the arrival time of the delivery person at the store, Δt a represents the second error duration.

[0107] Furthermore, the probability corresponding to the alternative food delivery time in Case 2 can be determined in the following manner:

[0108] Based on the first probability, the second probability, the central position of the food delivery time, the estimated arrival time, and the second error duration, determine the probability corresponding to the alternative food delivery time.

[0109] Optionally, the difference between the central position of the food delivery time and the lower limit of the arrival time can be determined as the fourth difference; determine the third ratio of the fourth difference to the preset multiple of the second error duration, and take the difference between the first target value and the third ratio as the fifth difference; determine the second product of the second probability and the fifth difference, and determine the sum value of the second product and the first probability as the probability corresponding to the alternative food delivery time.

[0110] For example, the probability corresponding to the alternative food delivery time when the upper limit of the arrival time is greater than the lower limit of the food delivery time and less than the upper limit of the food delivery time can be determined according to the following formula (4):

[0111]

[0112] where P ahead represents the probability corresponding to the alternative food delivery time, Pbefore represents the probability that the alternative meal preparation time is earlier than the estimated arrival time (i.e., the first probability), P in represents the probability that the alternative meal preparation time is between the lower limit and the upper limit of the arrival time (i.e., the second probability), t mid represents the central position of the meal preparation time, t arrive represents the arrival time of the delivery staff at the store, Δt a represents the second error duration.

[0113] Case 3: The lower limit of the meal preparation time is greater than or equal to the lower limit of the arrival time and the upper limit of the meal preparation time is less than or equal to the upper limit of the arrival time (i.e., t arrive -Δt a ≤t dish -Δt d and t dish +Δt d ≤t arrive +Δt a )

[0114] Optionally, if the lower limit of the meal preparation time is greater than or equal to the lower limit of the arrival time and the upper limit of the meal preparation time is less than or equal to the upper limit of the arrival time, and the first error duration is less than the second error duration, then based on the alternative meal preparation time, the estimated arrival time, and the second error duration, determine the probability corresponding to the alternative meal preparation time.

[0115] The following introduces the implementation method for determining the probability corresponding to the alternative meal preparation time based on the alternative meal preparation time, the estimated arrival time, and the second error duration when the lower limit of the meal preparation time is greater than or equal to the lower limit of the arrival time, the upper limit of the meal preparation time is less than or equal to the upper limit of the arrival time, and the first error duration is less than the second error duration.

[0116] It should be noted that when the lower limit of the meal preparation time is greater than or equal to the lower limit of the arrival time, the upper limit of the meal preparation time is less than or equal to the upper limit of the arrival time, and the first error duration is less than the second error duration, the probability that the order meal preparation time is definitely within the arrival time interval of the delivery staff is 1, that is, P in = 1, where P in represents the probability that the order meal preparation time is within the arrival time interval of the delivery staff. That is, when the order is being prepared, the delivery staff may have already arrived at the store, that is, the probability of the order being prepared before the delivery staff arrives at the store is 0 - 1.

[0117] In a possible implementation method, the determination of the probability corresponding to the alternative meal preparation time in Case 3 can be achieved through the following method:

[0118] Determine the difference between the estimated arrival time at the store and the second error duration as the lower limit of the arrival time; determine the difference between the candidate meal preparation time and the lower limit of the arrival time as the first difference; determine the first ratio of the first difference to the second error duration multiplied by a preset multiple, and determine the difference between the first target value and the first ratio as the probability corresponding to the candidate meal preparation time.

[0119] For example, the probability corresponding to the candidate meal preparation time when the lower limit of the meal preparation time is greater than or equal to the lower limit of the arrival time, the upper limit of the meal preparation time is less than or equal to the upper limit of the arrival time, and the first error duration is less than the second error duration can be determined according to the following formula (5):

[0120]

[0121] where P ahead represents the probability corresponding to the candidate meal preparation time, t arrive represents the arrival time of the delivery person at the store, Δt a represents the second error duration, and t dish represents the meal preparation time of the order.

[0122] Case 4: The upper limit of the arrival time is greater than the lower limit of the meal preparation time and less than the upper limit of the meal preparation time (that is, t dish -Δt d <t arrive +Δt a <t dish +Δt d )

[0123] Optionally, if the upper limit of the arrival time is greater than the lower limit of the meal preparation time and less than the upper limit of the meal preparation time, the probability corresponding to the candidate meal preparation time can be determined based on the candidate meal preparation time, the estimated arrival time, the first error duration, and the second error duration.

[0124] The following introduces the implementation method based on the candidate meal preparation time, the estimated arrival time, the first error duration, and the second error duration when the upper limit of the arrival time is greater than the lower limit of the meal preparation time and less than the upper limit of the meal preparation time.

[0125] It should be noted that when the upper limit of the arrival time is greater than the lower limit of the meal preparation time and less than the upper limit of the meal preparation time, there is a certain probability that the meal preparation time of the order may be earlier than the arrival time of the delivery person, and there is also a certain probability that it must be later than the arrival time of the delivery person, but there is no probability that the meal preparation time of the order must be earlier than the arrival time of the delivery person (that is, P before =0, P in >0, P after >0), where P before represents the probability that the candidate meal preparation time is earlier than the estimated arrival time (that is, the first probability), and P inIndicates the probability that the alternative meal delivery time is between the lower limit and the upper limit of the arrival time (i.e., the second probability), P after Indicates the probability that the alternative meal delivery time is later than the estimated arrival time. Still taking Figure 3 as an example, as Figure 3 shown, the situation where the order meal delivery time may be earlier than the delivery person's arrival time corresponds to Case4A. That is, in the case of Case4A, the probability that the order has been delivered before the delivery person arrives at the store is 0 - 1; the situation where the order meal delivery time is later than the delivery time to the store corresponds to Case4B. That is, in the case of Case4B, the probability that the order has been delivered before the delivery person arrives at the store is 0.

[0126] For Case4A, the probability that the order meal delivery time is within the delivery person's arrival time interval can be determined in the following way:

[0127] Based on the alternative meal delivery time, the estimated arrival time, the first error duration, and the second error duration, determine the second probability, which is used to indicate the probability that the alternative meal delivery time is between the lower limit and the upper limit of the arrival time.

[0128] Optionally, the sum of the estimated arrival time and the second error duration can be determined as the upper limit of the arrival time; the difference between the alternative meal delivery time and the first error duration can be determined as the lower limit of the meal delivery time; the difference between the upper limit of the arrival time and the lower limit of the meal delivery time can be determined as the sixth difference; the fourth ratio of the sixth difference and the preset multiple of the first error duration can be determined as the second probability.

[0129] For example, the probability that the alternative meal delivery time is between the lower limit and the upper limit of the arrival time (i.e., the second probability) can be determined according to the following formula (6):

[0130]

[0131] where P in Indicates the probability that the alternative meal delivery time is between the lower limit and the upper limit of the arrival time (i.e., the second probability), t dish Represents the order meal delivery time, Δt d Is the first error duration, t arrive Represents the delivery person's arrival time, Δt a Represents the second error duration.

[0132] It should be noted that the sum of the probabilities of P before 、P in and P after is 1. In Case4, P beforeIf it is 0, for Case 4B, the probability that the order meal delivery time is later than the delivery person's arrival time at the store can be determined according to the following formula (7):

[0133] P after = 1 - P in (7)

[0134] Wherein, P after represents the probability that the alternative meal delivery time is later than the estimated arrival time, and Pin represents the probability that the alternative meal delivery time is between the lower limit and the upper limit of the arrival time (i.e., the second probability).

[0135] It should be noted that since the situation where the delivery person has arrived when the order meal is delivered definitely does not include the situation where the order meal delivery time is later than the delivery person's arrival time at the store, therefore, the process of calculating the probability that the order meal delivery time is later than the delivery person's arrival time at the store can be omitted.

[0136] And the central position of the meal delivery time can be determined in the following way:

[0137] Optionally, the central position of the meal delivery time can be determined based on the alternative meal delivery time, the estimated arrival time, the first error duration, and the second error duration.

[0138] Optionally, since the order meal delivery time follows a uniform distribution, therefore, the central position of the meal delivery time can be determined in the following specific way by example:

[0139] Determine the sum of the estimated arrival time and the second error duration as the upper limit of the arrival time; determine the difference between the alternative meal delivery time and the first error duration as the lower limit of the meal delivery time; determine the mean of the upper limit of the arrival time and the lower limit of the meal delivery time as the central position of the meal delivery time.

[0140] For example, the central position of the meal delivery time can be determined according to the following formula (8):

[0141]

[0142] Wherein, t mid represents the central position of the meal delivery time, t dish represents the order meal delivery time, Δt d is the first error duration, t arrive represents the delivery person's arrival time at the store, and Δt a represents the second error duration.

[0143] Furthermore, the probability corresponding to the alternative meal delivery time in Case 4 can be determined by the following method:

[0144] Determine the probability corresponding to the alternative meal preparation time based on the second probability, the central position of the meal preparation time, the estimated arrival time at the store, and the second error duration.

[0145] Optionally, the difference between the estimated arrival time at the store and the second error duration can be determined as the lower limit of the arrival time; the difference between the central position of the meal preparation time and the lower limit of the arrival time can be determined as the seventh difference; the difference between the central position of the meal preparation time and the seventh difference can be determined as the eighth difference; the fifth ratio of the eighth difference to the preset multiple of the second error duration can be determined; the difference between the first target value and the fifth ratio can be determined as the ninth difference; the product of the second probability and the ninth difference can be determined as the probability corresponding to the alternative meal preparation time.

[0146] For example, the probability corresponding to the alternative meal preparation time when the upper limit of the arrival time is greater than the lower limit of the meal preparation time and less than the upper limit of the meal preparation time can be determined according to the following formula (9):

[0147]

[0148] where, P ahead represents the probability corresponding to the alternative meal preparation time, P in represents the probability that the alternative meal preparation time is between the lower limit of the arrival time and the upper limit of the arrival time (i.e., the second probability), t mid represents the central position of the meal preparation time, t arrive represents the arrival time of the delivery person at the store, Δt a represents the second error duration.

[0149] Case 5: The lower limit of the meal preparation time is greater than or equal to the upper limit of the arrival time (i.e., t dish -Δt d ≥t arrive +Δt a )

[0150] Optionally, if the lower limit of the meal preparation time is greater than or equal to the upper limit of the arrival time, the probability corresponding to the alternative meal preparation time can be determined as 0.

[0151] It should be noted that when the lower limit of the meal preparation time is greater than or equal to the upper limit of the arrival time, the probability that the meal preparation time of the order is later than the arrival time interval of the delivery person is 1, that is, P after = 1, where, P after represents the probability that the meal preparation time of the order is later than the arrival time interval of the delivery person. And the situation where the meal preparation time of the order must be later than the arrival time interval of the delivery person will definitely not meet the requirement that the delivery person has arrived when the meal is prepared. Therefore, for Case 5 where the lower limit of the meal preparation time is greater than or equal to the upper limit of the arrival time, the probability corresponding to the alternative meal preparation time in Case 5 can be directly set to 0.

[0152] In summary, Δtd <Δt a When there are five cases during <Δt, the probability determination method for determining the probability corresponding to the candidate meal delivery time can be seen in the following formula (10):

[0153]

[0154] Among them, P ahead represents the probability corresponding to the candidate meal delivery time, P before represents the probability that the candidate meal delivery time is earlier than the estimated arrival time at the store (i.e., the first probability), P in represents the probability that the candidate meal delivery time is between the lower limit and the upper limit of the arrival time at the store (i.e., the second probability), t mid represents the central position of the meal delivery time, t dish represents the order meal delivery time, Δt d is the first error duration, t arrive represents the arrival time of the delivery person at the store, Δt a represents the second error duration.

[0155] (2) When the first error duration is greater than or equal to the second error duration (i.e., Δt d ≥Δt a )

[0156] For the case where the first error duration is greater than or equal to the second error duration (i.e., Δt d ≥Δt a ), there are five possible cases for the interval relationship between the order meal delivery time interval and the delivery person's arrival time at the store interval. See Figure 4 , Figure 4 which is a schematic diagram of the interval relationship between the order meal delivery time interval and the delivery person's arrival time at the store interval shown according to an exemplary embodiment of the present application. The probability determination methods corresponding to the following five cases shown in Figure 4 will be introduced respectively.

[0157] Except for Case3, the probability determination methods corresponding to the other four cases are the same as those corresponding to these four cases when Δt d <Δt a , and will not be elaborated here.

[0158] That is, when the first error duration is greater than or equal to the second error duration, if the upper limit of the meal preparation time is less than or equal to the lower limit of the arrival time (i.e., Case 1), the probability corresponding to the alternative meal preparation time can be determined as 1; if the lower limit of the arrival time is greater than the lower limit of the meal preparation time and less than the upper limit of the meal preparation time (i.e., Case 2), then the probability corresponding to the alternative meal preparation time can be determined based on the alternative meal preparation time, the estimated arrival time, the first error duration, and the second error duration; if the upper limit of the arrival time is greater than the lower limit of the meal preparation time and less than the upper limit of the meal preparation time (i.e., Case 4), then the probability corresponding to the alternative meal preparation time can be determined based on the alternative meal preparation time, the estimated arrival time, the first error duration, and the second error duration; if the lower limit of the meal preparation time is greater than or equal to the upper limit of the arrival time (i.e., Case 5), then the probability corresponding to the alternative meal preparation time can be determined as 0. Next, the method for determining the probability corresponding to Case 3 when d ≥ Δt a will be introduced.

[0159] Optionally, if the lower limit of the meal preparation time is greater than or equal to the lower limit of the arrival time and the upper limit of the meal preparation time is less than or equal to the upper limit of the arrival time, and the first error duration is greater than or equal to the second error duration, then the probability corresponding to the alternative meal preparation time can be determined based on the alternative meal preparation time, the estimated arrival time, the first error duration, and the second error duration.

[0160] Next, the implementation method for determining the probability corresponding to the alternative meal preparation time when the lower limit of the meal preparation time is greater than or equal to the lower limit of the arrival time, the upper limit of the meal preparation time is less than or equal to the upper limit of the arrival time, and the first error duration is greater than or equal to the second error duration will be introduced.

[0161] It should be noted that when the lower limit of the meal preparation time is greater than or equal to the lower limit of the arrival time, the upper limit of the meal preparation time is less than or equal to the upper limit of the arrival time (i.e., t arrive -Δt a ≤ t dish -Δt d and t dish +Δt d ≤ t arrive +Δt a ), and the first error duration is greater than or equal to the second error duration, the order meal preparation time may be earlier than the delivery person's arrival time interval, may also be within the delivery person's arrival time interval, or may be later than the delivery person's arrival time interval (i.e., P before >0, P in >0, P after >0), where P before represents the probability that the alternative meal preparation time is earlier than the estimated arrival time (i.e., the first probability), P in represents the probability that the alternative meal preparation time is between the lower limit and the upper limit of the arrival time (i.e., the second probability), Pafter Indicates the probability that the alternative meal delivery time is later than the estimated arrival time at the store. Refer to Figure 5 , Figure 5 FIG. Figure 5 is a schematic diagram of the interval relationship between the meal delivery time interval of an order and the arrival time interval of the delivery person at the store according to an exemplary embodiment of the present application. As Figure 5 shown, the case where the meal delivery time of the order is earlier than the arrival time of the delivery person corresponds to Case3A. That is, in the case of Case3A, the probability that the order has been delivered before the delivery person arrives at the store is 1; the case where the meal delivery time of the order is within the interval between the delivery time and the arrival time of the delivery person corresponds to Case3B. That is, in the case of Case3B, the probability that the order has been delivered before the delivery person arrives at the store is 0-1; the case where the meal delivery time of the order is later than the arrival time of the delivery person corresponds to Case3C. That is, in the case of Case3C, the probability that the order has been delivered before the delivery person arrives at the store is 0.

[0162] For Case3A, the probability that the alternative meal delivery time is earlier than the estimated arrival time can be determined in the following manner:

[0163] Based on the alternative meal delivery time, the estimated arrival time, the first error duration, and the second error duration, determine a first probability, where the first probability is used to indicate the probability that the alternative meal delivery time is earlier than the estimated arrival time.

[0164] Optionally, the difference between the estimated arrival time and the second error duration can be determined as the lower limit of the arrival time; the difference between the alternative meal delivery time and the first error duration can be determined as the lower limit of the meal delivery time; the difference between the lower limit of the arrival time and the lower limit of the meal delivery time can be determined as the third difference; determine the second ratio of the third difference to the preset multiple of the first error duration, and determine the difference between the first target value and the second ratio as the first probability.

[0165] For example, according to the following formula (11), the probability that the alternative meal delivery time is earlier than the estimated arrival time (i.e., the first probability) can be determined:

[0166]

[0167] where P before represents the probability that the alternative meal delivery time is earlier than the estimated arrival time (i.e., the first probability), t dish represents the meal delivery time of the order, Δt d is the first error duration, t arrive represents the arrival time of the delivery person at the store, Δt a represents the second error duration.

[0168] For Case3B, the probability that the alternative meal delivery time is between the lower limit and the upper limit of the arrival time can be determined in the following manner:

[0169] Determine a second probability based on the estimated arrival time at the store, the first error duration, and the second error duration.

[0170] Optionally, the ratio of the second error duration to the first error duration can be determined as the second probability.

[0171] For example, the probability that the alternative meal preparation time is between the lower limit and the upper limit of the arrival time at the store (i.e., the second probability) can be determined according to the following formula (12):

[0172]

[0173] where P in represents the probability that the alternative meal preparation time is between the lower limit and the upper limit of the arrival time at the store (i.e., the second probability), t arrive represents the arrival time of the delivery person at the store, Δt d is the first error duration, and Δt a represents the second error duration.

[0174] It should be noted that the sum of the probabilities of P before , P in , and P after is 1. Therefore, for Case3C, the probability that the order meal preparation time is later than the arrival time of the delivery person at the store can be determined according to the following formula (13):

[0175] P after = 1 - P before - P in (13)

[0176] where P after represents the probability that the alternative meal preparation time is later than the estimated arrival time at the store, Pbefore represents the probability that the alternative meal preparation time is earlier than the estimated arrival time at the store (i.e., the first probability), and P in represents the probability that the alternative meal preparation time is between the lower limit and the upper limit of the arrival time at the store (i.e., the second probability).

[0177] It should be noted that since the situation where the delivery person has arrived when the order meal is prepared definitely does not include the situation where the order meal preparation time is later than the arrival time of the delivery person at the store, the process of calculating the probability that the order meal preparation time is later than the arrival time of the delivery person at the store can be omitted.

[0178] Since the order meal preparation time follows a uniform distribution, the central position of the meal preparation time can be determined according to the following formula (14):

[0179]

[0180] where t midRepresents the central position of the meal delivery time, t dish Represents the meal delivery time of the order, Δt d Is the first error duration, t arrive Represents the time when the delivery person arrives at the store, Δt a Represents the second error duration.

[0181] That is to say, the meal delivery time can be determined as the central position of the meal delivery time.

[0182] Furthermore, the determination of the probability corresponding to the alternative meal delivery time in Case 3 can be achieved in the following way:

[0183] Based on the first probability, the second probability, the central position of the meal delivery time, the estimated arrival time at the store, and the second error duration, determine the probability corresponding to the alternative meal delivery time.

[0184] Optionally, the difference between the central position of the meal delivery time and the lower limit of the arrival time at the store can be determined as the first difference; determine the first ratio of the first difference to the second error duration of the preset multiple, and use the difference between the first target value and the first ratio as the second difference; determine the first product of the second probability and the second difference, so as to determine the sum value of the first product and the first probability as the probability corresponding to the alternative meal delivery time.

[0185] For example, the probability corresponding to the alternative meal delivery time when the lower limit of the meal delivery time is greater than or equal to the lower limit of the arrival time at the store, the upper limit of the meal delivery time is less than or equal to the upper limit of the arrival time at the store, and the first error duration is greater than or equal to the second error duration can be determined according to the following formula (15):

[0186]

[0187] Wherein, P ahead Represents the probability corresponding to the alternative meal delivery time, P before Represents the probability that the alternative meal delivery time is earlier than the estimated arrival time at the store (that is, the first probability), P in Represents the probability that the alternative meal delivery time is between the lower limit and the upper limit of the arrival time at the store (that is, the second probability), t mid Represents the central position of the meal delivery time (that is, t dish ), t arrive Represents the time when the delivery person arrives at the store, Δt a Represents the second error duration.

[0188] In summary, when Δt d ≥Δt a The probability determination methods for determining the probability corresponding to the alternative meal delivery time in 5 cases can refer to the following formula (16):

[0189]

[0190] Among them, P ahead represents the probability corresponding to the alternative meal delivery time, and P before represents the probability that the alternative meal delivery time is earlier than the estimated arrival time (i.e., the first probability), and P in represents the probability that the alternative meal delivery time is between the lower limit and the upper limit of the arrival time (i.e., the second probability), and t mid represents the central position of the meal delivery time, and t dish represents the order meal delivery time, and Δt d is the first error duration, and t arrive represents the arrival time of the delivery staff, and Δt a represents the second error duration.

[0191] Therefore, for step 1021, based on the magnitude relationship between the upper limit and the lower limit of the meal delivery time, the upper limit and the lower limit of the arrival time, as well as the magnitude relationship between the first error duration and the second error duration, the required parameters can be substituted into the formula indicated by the corresponding alternative probability determination method to determine the probability corresponding to the alternative meal delivery time.

[0192] In some embodiments, for step 103, when determining the target meal delivery time from multiple alternative meal delivery times based on the probabilities corresponding to the multiple alternative meal delivery times and a preset target probability, it can be achieved by the following method:

[0193] Determine the probability difference between the probability corresponding to each alternative meal delivery time and the target probability; take the alternative meal delivery time with the smallest probability difference from the target probability as the target meal delivery time.

[0194] It should be noted that through the above analysis, it can be seen that from Case 1 to Case 5, as the order meal preparation time increases, the probability that the order has been prepared when the delivery staff arrives at the store will gradually decrease from 1 to 0. Therefore, after determining the probability corresponding to a candidate meal preparation time (for the convenience of explanation, denoted as the first candidate meal preparation time), the difference between the probability corresponding to the first candidate meal preparation time and the target probability can be immediately calculated; on the basis of the first candidate meal preparation time, increase the first step length to obtain the next candidate meal preparation time (for the convenience of explanation, denoted as the second candidate meal preparation time), so as to determine the probability corresponding to the second candidate meal preparation time, determine the difference between the probability corresponding to the second candidate meal preparation time and the target probability, and then determine the magnitude relationship between the difference corresponding to the second candidate meal preparation time and the difference corresponding to the first candidate meal preparation time; on the basis of the second candidate meal preparation time, increase the first step length to obtain the next candidate meal preparation time (for the convenience of explanation, denoted as the third candidate meal preparation time), so as to determine the probability corresponding to the third candidate meal preparation time, determine the difference between the probability corresponding to the third candidate meal preparation time and the target probability, and then determine the magnitude relationship between the difference corresponding to the third candidate meal preparation time and the difference corresponding to the second candidate meal preparation time. If the difference corresponding to the second candidate meal preparation time is less than the difference corresponding to the third candidate meal preparation time and the difference corresponding to the second candidate meal preparation time is less than the difference corresponding to the first candidate meal preparation time, then the second candidate meal preparation time can be used as the target candidate meal preparation time.

[0195] That is to say, after each determination of the probability corresponding to a candidate meal preparation time, the difference between the probability corresponding to this candidate meal preparation time and the target probability can be determined, so as to compare the magnitude relationship between the difference corresponding to this candidate meal preparation time and the difference corresponding to the previous candidate meal preparation time. After determining the candidate meal preparation time with the corresponding difference smaller than the difference corresponding to the previous candidate meal preparation time and smaller than the difference corresponding to the next candidate meal preparation time (that is, determining the candidate meal preparation time corresponding to the minimum difference value), the candidate meal preparation time corresponding to the minimum difference value can be directly used as the target candidate meal preparation time without continuing to calculate the probabilities corresponding to the subsequent candidate meal preparation times.

[0196] It should be noted that for Case 1 and Case 5, the probabilities corresponding to multiple candidate meal preparation times within the meal preparation time intervals of these two orders are the same. If the candidate meal preparation time with the smallest difference between the corresponding probability and the target probability belongs to any one of the meal preparation time intervals of these two orders, then the candidate meal preparation time closest to the estimated arrival time of the delivery staff among the candidate meal preparation times belonging to this order meal preparation time interval can be determined as the target meal preparation time.

[0197] In some embodiments, for step 104, when determining the target meal preparation time of the order to be delivered based on the target meal delivery time, the order placement time of the order to be delivered, and the order preparation duration of the order to be delivered, it can be achieved in the following manner:

[0198] Determine the difference between the target meal delivery time and the order preparation duration as the alternative meal preparation time; determine the larger value between the alternative meal preparation time and the order placement time as the target meal preparation time.

[0199] For example, the target meal preparation time can be determined according to the following formula (17):

[0200] t prepare = max{t dish - period, t order} (17)

[0201] Wherein, t prepare represents the target meal preparation time, t dish represents the target meal delivery time, period represents the order preparation duration, and t order represents the order placement time.

[0202] By using the method for determining the order meal preparation time provided by the present application, the order meal preparation time interval and the delivery staff arrival time interval at the store can be considered when determining the order meal preparation time, so that the determined order meal preparation time is more accurate; moreover, each store can set the target probability according to its own business situation and business objectives (such as being more inclined to improve the delivery efficiency of the delivery staff or ensure the taste of the food) to obtain a meal preparation time plan that better meets the business needs of the store.

[0203] The following uses a specific example to verify the accuracy of the target meal preparation time determined by the method for determining the order meal preparation time provided by the present application.

[0204] For example, assume that the delivery staff arrival time at the store is t dish = 12:30:00, the order preparation duration is period = 10 min, the first error duration is Δt d = 3 min, the second error duration is Δt a = 5 min, the target probability is P target = 0.8. By using the method for determining the order meal preparation time provided by the present application, it can be predicted that the target meal delivery time of the order is t dish ≈ 12:27:00. Next, verify whether the probability that the delivery staff arrives at the store before the order meal delivery time is 0.8 when the order meal delivery time is 12:27:00.

[0205] First, the boundaries of the order meal delivery time interval can be calculated. Among them, the lower limit of the meal delivery time is t dish-Δt d ≈12:24:00, the upper limit of the meal preparation time is t dish +Δt d ≈12:30:00; and, the boundaries of the time interval when the delivery person arrives at the store can be calculated. Among them, the lower limit of the arrival time is t arrive -Δt a =12:25:00, the upper limit of the arrival time is t arrive +Δt a =12:35:00.

[0206] Therefore, the order meal preparation time interval is [12:24:00, 12:30:00]. If the order meal preparation time is within the interval [12:24:00, 12:25:00], the delivery person has not arrived at the store yet. That is, before the delivery person arrives at the store, the probability that the order has been prepared is 1.

[0207] If the order production completion time is within the interval [12:25:00, 12:30:00], the delivery person may have arrived at the store or may not have arrived at the store yet. That is, before the delivery person arrives at the store, the probability that the order has been prepared is O - 1. The specific calculation results are as follows:

[0208] The probability that the order meal preparation time is earlier than the delivery person's arrival time interval is:

[0209]

[0210] The probability that the order meal preparation time is within the delivery person's arrival time interval is:

[0211] P in =1 - P before =1 - 0.1667 = 0.8333

[0212] And, the central position of the order meal preparation time for orders with the order production completion time within the interval [12:25:00, 12:30:00] is:

[0213]

[0214] Therefore, the probability that the order has been prepared before the delivery person arrives at the store is:

[0215]

[0216] Therefore, if the delivery person's arrival time interval is [12:25:00, 12:35:00], when the order meal preparation time t dish ≈12:27:00, before the delivery person arrives at the store, the probability that the order has been prepared is 0.8.

[0217] If, the order placement time t order≈12:20:00, the order meal preparation time is:

[0218] t prepare = max{t dish - period, t order}

[0219] = max{12:27:00, 12:10:00} = 12:27:00

[0220] That is, after the customer places an order for this order, the target store can wait for 7 minutes before making the meal. Because even if it is made immediately, there is no suitable delivery staff who can arrive at the store to pick up the meal. Preparing the meal in advance at the target store will affect the taste of the order meal.

[0221] Corresponding to the embodiments of the foregoing method, the present application also provides embodiments of a device and a computing device to which the device is applied.

[0222] As Figure 6 shown, Figure 6 is a block diagram of a device for determining the order meal preparation time according to an exemplary embodiment of the present application. The device includes:

[0223] An acquisition module 601, configured to acquire the order placement time of the order to be delivered at the target store, the estimated arrival time of the delivery staff for delivering the order to be delivered, a first error duration, and a second error duration. The first error duration is used to indicate the statistical error between the actual meal preparation time and the estimated meal preparation time of the target store, and the second error duration is used to indicate the statistical error between the actual arrival time and the estimated arrival time of the delivery staff;

[0224] A probability determination module 602, configured to determine the probabilities corresponding to multiple candidate meal preparation times based on the first error duration, the second error duration, the order placement time, the estimated arrival time, and a pre-set probability determination method. The probability corresponding to each candidate meal preparation time is used to indicate the possibility that the candidate meal preparation time is before the arrival time of the delivery staff;

[0225] A time determination module 603, configured to determine a target meal preparation time from multiple candidate meal preparation times based on the probabilities corresponding to the multiple candidate meal preparation times and a pre-set target probability;

[0226] A time determination module 604 is further configured to determine the target meal preparation time of the order to be delivered based on the target meal preparation time, the order placement time of the order to be delivered, and the order preparation duration of the order to be delivered.

[0227] In some embodiments, the probability determination module 602 is specifically configured to:

[0228] For any candidate meal delivery time, determine the upper limit and lower limit of the meal delivery time based on the candidate meal delivery time and the first error duration;

[0229] Based on the estimated arrival time and the second error duration, determine the upper limit and lower limit of the arrival time;

[0230] According to the pre-set probability determination method, determine the probability corresponding to the candidate meal delivery time based on the upper limit of the meal delivery time, the lower limit of the meal delivery time, the upper limit of the arrival time, and the lower limit of the arrival time.

[0231] In some embodiments, the probability determination module 602 is specifically configured to:

[0232] If the upper limit of the meal delivery time is less than or equal to the lower limit of the arrival time, the probability corresponding to the candidate meal delivery time is determined to be 1.

[0233] In some embodiments, the probability determination module 602 is specifically configured to:

[0234] If the lower limit of the meal delivery time is greater than or equal to the upper limit of the arrival time, the probability corresponding to the candidate meal delivery time is determined to be 0.

[0235] In some embodiments, the probability determination module 602 is specifically configured to:

[0236] If the lower limit of the meal delivery time is greater than or equal to the lower limit of the arrival time and the upper limit of the meal delivery time is less than or equal to the upper limit of the arrival time, and the first error duration is less than the second error duration, determine the probability corresponding to the candidate meal delivery time based on the candidate meal delivery time, the estimated arrival time, and the second error duration.

[0237] In some embodiments, the probability determination module 602 is specifically configured to:

[0238] If the lower limit of the meal delivery time is greater than or equal to the lower limit of the arrival time and the upper limit of the meal delivery time is less than or equal to the upper limit of the arrival time, and the first error duration is greater than or equal to the second error duration, determine the first probability based on the candidate meal delivery time, the estimated arrival time, the first error duration, and the second error duration. The first probability is used to indicate the probability that the candidate meal delivery time is earlier than the estimated arrival time;

[0239] Determine the second probability based on the estimated arrival time, the first error duration, and the second error duration. The second probability is used to indicate the probability that the candidate meal delivery time is between the lower limit and the upper limit of the arrival time;

[0240] Determine the candidate meal delivery time as the central position of the meal delivery time;

[0241] Based on the first probability, the second probability, the central position of the meal delivery time, the estimated arrival time, and the second error duration, determine the probability corresponding to the candidate meal delivery time.

[0242] In some embodiments, the probability determination module 602 is specifically configured to:

[0243] If the lower limit of the arrival time is greater than the lower limit of the meal preparation time and less than the upper limit of the meal preparation time, then based on the candidate meal preparation time, the estimated arrival time, the first error duration, and the second error duration, determine a first probability, where the first probability is used to indicate the probability that the candidate meal preparation time is earlier than the estimated arrival time;

[0244] Based on the first probability, determine a second probability, where the second probability is used to indicate the probability that the candidate meal preparation time is between the lower limit of the arrival time and the upper limit of the arrival time;

[0245] Based on the candidate meal preparation time, the estimated arrival time, the first error duration, and the second error duration, determine the central position of the meal preparation time;

[0246] Based on the first probability, the second probability, the central position of the meal preparation time, the estimated arrival time, and the second error duration, determine the probability corresponding to the candidate meal preparation time.

[0247] In some embodiments, the probability determination module 602 is specifically configured to:

[0248] If the upper limit of the arrival time is greater than the lower limit of the meal preparation time and less than the upper limit of the meal preparation time, then based on the candidate meal preparation time, the estimated arrival time, the first error duration, and the second error duration, determine a second probability, where the second probability is used to indicate the probability that the candidate meal preparation time is between the lower limit of the arrival time and the upper limit of the arrival time;

[0249] Based on the candidate meal preparation time, the estimated arrival time, the first error duration, and the second error duration, determine the central position of the meal preparation time;

[0250] Based on the second probability, the central position of the meal preparation time, the estimated arrival time, and the second error duration, determine the probability corresponding to the candidate meal preparation time.

[0251] In some embodiments, the time determination module 603 is specifically configured to:

[0252] Determine the probability difference between the probability corresponding to each candidate meal preparation time and the target probability;

[0253] Take the candidate meal preparation time with the smallest probability difference from the target probability as the target meal preparation time.

[0254] In some embodiments, the acquisition module 601 is specifically configured to:

[0255] Acquire the order placement time of the order to be delivered, the location information of the target store, the location information of the delivery personnel for delivering the order to be delivered, the historical order data of the target store within the first time period, and the historical delivery data of the delivery personnel within the second time period;

[0256] Based on the order placement time of the order to be delivered, the location information of the target store, and the location information of the delivery personnel, determine the estimated arrival time of the delivery personnel at the store;

[0257] Based on the historical order data of the target store in the first time period, determine the first error duration;

[0258] Based on the historical delivery data of the delivery personnel in the second time period, determine the second error duration.

[0259] For the implementation process of the functions and roles of each module in the above device, specifically refer to the implementation process of the corresponding steps in the above method, which will not be elaborated here.

[0260] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed to multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this application. Those of ordinary skill in the art can understand and implement it without creative efforts.

[0261] This application also provides a computing device. Refer to Figure 7 , Figure 7 which is a schematic structural diagram of a computing device shown by this application according to an exemplary embodiment. As Figure 7 shown, the computing device includes a processor 710, a memory 720, and a network interface 730. The memory 720 is used to store computer instructions that can run on the processor 710. The processor 710 is used to implement the method for determining the order meal preparation time provided by any embodiment of this application when executing the computer instructions. The network interface 730 is used to implement input and output functions. In more possible implementation manners, the computing device may further include other hardware, and this application does not limit this.

[0262] The present application also provides a computer-readable storage medium. The computer-readable storage medium can be in various forms. For example, in different examples, the computer-readable storage medium can be: RAM (Random Access Memory), volatile memory, non-volatile memory, flash memory, storage drives (such as hard disk drives), solid-state drives, any type of storage disk (such as optical discs, DVDs, etc.), or similar storage media, or a combination thereof. Specifically, the computer-readable medium can also be paper or other suitable media capable of printing programs. A computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, it implements the method for determining the order meal preparation time provided by any embodiment of the present application.

[0263] The present application also provides a computer program product, including a computer program, and when the computer program is executed by a processor, it implements the method for determining the order meal preparation time provided by any embodiment of the present application.

[0264] Those skilled in the art should understand that one or more embodiments of the present application can be provided as a method, an apparatus, a computing device, a computer-readable storage medium, or a computer program product. Therefore, one or more embodiments of the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, one or more embodiments of the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program code.

[0265] Each embodiment in the present application is described in a progressive manner. The same or similar parts among the embodiments can be referred to each other, and the key point of each embodiment is to illustrate the differences from other embodiments. In particular, for the embodiment corresponding to the computing device, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0266] The above describes specific embodiments of the present application. Other embodiments are within the scope of the present application. In some cases, the actions or steps recorded in the present application can be executed in a different order from that in the embodiments and still achieve the desired results. Additionally, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In certain embodiments, multi-tasking and parallel processing are also possible or may be advantageous.

[0267] Embodiments of the subject matter and the functional operations described in this application can be implemented in digital electronic circuitry, tangibly embodied computer software or firmware, computer hardware including the structures disclosed in this application and their structural equivalents, or in a combination of one or more of them. Embodiments of the subject matter described in this application can be implemented as one or more computer programs, i.e., one or more modules of computer program instructions encoded on a tangible non-transitory program carrier to be executed by, or to control the operation of, a data processing apparatus. Alternatively or additionally, the program instructions can be encoded on an artificially generated propagated signal, such as a machine-generated electrical, optical, or electromagnetic signal, which is generated to encode and transmit information to a suitable receiver apparatus for execution by the apparatus for determining the order preparation time. A computer storage medium may be a machine-readable storage device, a machine-readable storage substrate, a random or serial access memory device, or a combination of one or more of them.

[0268] The processes and logical flows described in this application can be performed by one or more programmable computers executing one or more computer programs to perform the corresponding functions by operating on input data and generating output. The processes and logical flows can also be performed by, for example, FPGA (Field Programmable Gate Array) or ASIC (Application Specific Integrated Circuit) as special purpose logic circuitry, and the apparatus can also be implemented as special purpose logic circuitry.

[0269] Computers suitable for executing computer programs include, for example, general and / or special purpose microprocessors, or any other type of central processing unit. Generally, a central processing unit will receive instructions and data from a read-only memory and / or a random access memory. Basic components of a computer include a central processing unit for implementing or executing instructions and one or more memory devices for storing instructions and data. Generally, a computer will also include one or more mass storage devices for storing data, such as magnetic disks, magneto-optical disks, or optical disks, etc., or the computer will be operatively coupled to such mass storage devices to receive data from them or to transfer data to them, or both. However, a computer is not necessarily required to have such devices. In addition, a computer can be embedded in another device, such as a mobile phone, a personal digital assistant (PDA), a mobile audio or video player, a game console, a global positioning system (GPS) receiver, or a portable storage device such as a universal serial bus (USB) flash drive, to name just a few.

[0270] Computer-readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media, and memory devices, such as semiconductor memory devices (e.g., EPROM, EEPROM, and flash memory devices), magnetic disks (e.g., internal hard disks or removable disks), magneto-optical disks, and CD-ROM and DVD-ROM disks. The processor and the memory may be supplemented by, or incorporated in, special purpose logic circuitry.

[0271] Although this application contains many specific implementation details, these should not be construed as limiting the scope of any invention or the scope of what is claimed, but rather are mainly used to describe the features of specific embodiments of a particular invention. Certain features described in multiple embodiments in this application may also be implemented in combination in a single embodiment. On the other hand, the various features described in a single embodiment may also be implemented separately in multiple embodiments or in any suitable sub-combination. Additionally, although features may operate in certain combinations as described above and even were initially claimed as such, one or more features from a claimed combination may in some cases be removed from that combination, and the claimed combination may be directed to a sub-combination or a variation of a sub-combination.

[0272] Similarly, although operations are depicted in the drawings in a particular order, this should not be construed as requiring that the operations be performed in the particular order shown or sequentially, or that all illustrated operations be performed, to achieve the desired result. In some cases, multitasking and parallel processing may be advantageous. Additionally, the separation of the various system modules and components in the above embodiments should not be construed as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.

[0273] Thus, specific embodiments of the subject matter have been described. Other embodiments are within the scope of this application. In some cases, the actions recited in this application may be performed in a different order and still achieve the desired result. Additionally, the processes depicted in the drawings are not necessarily in the particular order or sequential order shown to achieve the desired result. In some implementations, multitasking and parallel processing may be advantageous.

[0274] Those skilled in the art will readily conceive of other embodiments of this application after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include known common knowledge or conventional technical means in this technical field that this application does not claim. That is, this application is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope.

[0275] The above are only optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application shall be included within the scope of protection of the present application.

Claims

1. A method for determining the order meal preparation time, characterized in that, The method includes: Obtaining the order placement time of the orders to be delivered at the target store, the estimated arrival time of the delivery staff for delivering the orders to be delivered, a first error duration, and a second error duration, where the first error duration is used to indicate the statistical error between the actual meal preparation time and the estimated meal preparation time of the target store, and the second error duration is used to indicate the statistical error between the actual arrival time and the estimated arrival time of the delivery staff; Based on the first error duration, the second error duration, the order placement time, the estimated arrival time, and a pre-set probability determination method, determining the probabilities corresponding to multiple candidate meal preparation times, where the probability corresponding to each candidate meal preparation time is used to indicate the likelihood of the candidate meal preparation time being before the arrival time of the delivery staff; Based on the probabilities corresponding to the multiple candidate meal preparation times and a pre-set target probability, determining a target meal preparation time from the multiple candidate meal preparation times; Based on the target meal preparation time, the order placement time of the order to be delivered, and the order preparation duration of the order to be delivered, determining the target meal preparation time of the order to be delivered.

2. The method according to claim 1, wherein The determining the probabilities corresponding to multiple candidate meal preparation times based on the first error duration, the second error duration, the order placement time, the estimated arrival time, and a pre-set probability determination method includes: For any candidate meal preparation time, based on the candidate meal preparation time and the first error duration, determining an upper limit of the meal preparation time and a lower limit of the meal preparation time; Based on the estimated arrival time and the second error duration, determining an upper limit of the arrival time and a lower limit of the arrival time; According to the pre-set probability determination method, based on the upper limit of the meal preparation time, the lower limit of the meal preparation time, the upper limit of the arrival time, and the lower limit of the arrival time, determining the probability corresponding to the candidate meal preparation time.

3. The method according to claim 2, wherein The determining the probability corresponding to the candidate meal preparation time according to the pre-set probability determination method, based on the upper limit of the meal preparation time, the lower limit of the meal preparation time, the upper limit of the arrival time, and the lower limit of the arrival time includes: If the upper limit of the meal preparation time is less than or equal to the lower limit of the arrival time, determining the probability corresponding to the candidate meal preparation time as 1.

4. The method according to claim 2, wherein The determining the probability corresponding to the candidate meal preparation time according to the pre-set probability determination method, based on the upper limit of the meal preparation time, the lower limit of the meal preparation time, the upper limit of the arrival time, and the lower limit of the arrival time includes: If the lower limit of the meal preparation time is greater than or equal to the upper limit of the arrival time, determining the probability corresponding to the candidate meal preparation time as 0.

5. The method according to claim 2, wherein The determining the probability corresponding to the candidate meal preparation time according to the pre-set probability determination method, based on the upper limit of the meal preparation time, the lower limit of the meal preparation time, the upper limit of the arrival time, and the lower limit of the arrival time includes: If the lower limit of the meal preparation time is greater than or equal to the lower limit of the arrival time and the upper limit of the meal preparation time is less than or equal to the upper limit of the arrival time, and the first error duration is less than the second error duration, then based on the candidate meal preparation time, the estimated arrival time, and the second error duration, determining the probability corresponding to the candidate meal preparation time.

6. The method according to claim 2, wherein Determining the probability corresponding to the candidate meal delivery time based on the upper limit of the meal delivery time, the lower limit of the meal delivery time, the upper limit of the arrival time, and the lower limit of the arrival time according to the pre-set probability determination method includes: If the lower limit of the meal delivery time is greater than or equal to the lower limit of the arrival time, the upper limit of the meal delivery time is less than or equal to the upper limit of the arrival time, and the first error duration is greater than or equal to the second error duration, then based on the candidate meal delivery time, the estimated arrival time, the first error duration, and the second error duration, determine a first probability, where the first probability is used to indicate the probability that the candidate meal delivery time is earlier than the estimated arrival time; Based on the estimated arrival time, the first error duration, and the second error duration, determine a second probability, where the second probability is used to indicate the probability that the candidate meal delivery time is between the lower limit and the upper limit of the arrival time; Determine the candidate meal delivery time as the central position of the meal delivery time; Based on the first probability, the second probability, the central position of the meal delivery time, the estimated arrival time, and the second error duration, determine the probability corresponding to the candidate meal delivery time.

7. The method according to claim 2, wherein Determining the probability corresponding to the candidate meal delivery time based on the upper limit of the meal delivery time, the lower limit of the meal delivery time, the upper limit of the arrival time, and the lower limit of the arrival time according to the pre-set probability determination method includes: If the lower limit of the arrival time is greater than the lower limit of the meal delivery time and less than the upper limit of the meal delivery time, then based on the candidate meal delivery time, the estimated arrival time, the first error duration, and the second error duration, determine a first probability, where the first probability is used to indicate the probability that the candidate meal delivery time is earlier than the estimated arrival time; Based on the first probability, determine a second probability, where the second probability is used to indicate the probability that the candidate meal delivery time is between the lower limit and the upper limit of the arrival time; Based on the candidate meal delivery time, the estimated arrival time, the first error duration, and the second error duration, determine the central position of the meal delivery time; Based on the first probability, the second probability, the central position of the meal delivery time, the estimated arrival time, and the second error duration, determine the probability corresponding to the candidate meal delivery time.

8. The method according to claim 2, characterized in that, Determining the probability corresponding to the candidate meal delivery time based on the upper limit of the meal delivery time, the lower limit of the meal delivery time, the upper limit of the arrival time, and the lower limit of the arrival time according to the pre-set probability determination method includes: If the upper limit of the arrival time is greater than the lower limit of the meal delivery time and less than the upper limit of the meal delivery time, then based on the candidate meal delivery time, the estimated arrival time, the first error duration, and the second error duration, determine a second probability, where the second probability is used to indicate the probability that the candidate meal delivery time is between the lower limit and the upper limit of the arrival time; Based on the candidate meal delivery time, the estimated arrival time, the first error duration, and the second error duration, determine the central position of the meal delivery time; Determine the probability corresponding to the alternative meal preparation time based on the second probability, the central position of the meal preparation time, the estimated arrival time at the store, and the second error duration.

9. The method according to claim 1, wherein The determining the target meal preparation time from the multiple alternative meal preparation times based on the probabilities corresponding to the multiple alternative meal preparation times and a preset target probability includes: Determine the probability difference between the probability corresponding to each alternative meal preparation time and the target probability; Use the alternative meal preparation time with the smallest probability difference from the target probability as the target meal preparation time.

10. The method according to claim 1, wherein The obtaining the order placement time of the order to be delivered at the target store, the estimated arrival time at the store of the delivery person for delivering the order to be delivered, the first error duration, and the second error duration includes: Obtain the order placement time of the order to be delivered, the location information of the target store, the location information of the delivery person for delivering the order to be delivered, the historical order data of the target store in the first time period, and the historical delivery data of the delivery person in the second time period; Based on the order placement time of the order to be delivered, the location information of the target store, and the location information of the delivery person, determine the estimated arrival time at the store of the delivery person; Based on the historical order data of the target store in the first time period, determine the first error duration; Based on the historical delivery data of the delivery person in the second time period, determine the second error duration.

11. A device for determining the order meal preparation time, characterized in that, The apparatus includes: An obtaining module, configured to obtain the order placement time of the order to be delivered at the target store, the estimated arrival time at the store of the delivery person for delivering the order to be delivered, the first error duration, and the second error duration, where the first error duration is used to indicate the statistical error between the actual meal preparation time and the estimated meal preparation time of the target store, and the second error duration is used to indicate the statistical error between the actual arrival time at the store and the estimated arrival time at the store of the delivery person; A probability determination module, configured to determine the probabilities corresponding to multiple alternative meal preparation times based on the first error duration, the second error duration, the order placement time, the estimated arrival time at the store, and a preset probability determination method, and the probability corresponding to each alternative meal preparation time is used to indicate the possibility of the alternative meal preparation time before the arrival time of the delivery person at the store; A time determination module, configured to determine the target meal preparation time from the multiple alternative meal preparation times based on the probabilities corresponding to the multiple alternative meal preparation times and a preset target probability; The time determination module is further configured to determine the target meal preparation time of the order to be delivered based on the target meal preparation time, the order placement time of the order to be delivered, and the order preparation duration of the order to be delivered.

12. A computing device, characterized in that, The computing device includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the operations performed by the method for determining the order meal preparation time according to any one of claims 1 to 10 are implemented.

13. A computer-readable storage medium, characterized in that, A program is stored on the computer-readable storage medium, and when the program is executed by the processor, the operations performed by the method for determining the order meal preparation time according to any one of claims 1 to 10 are implemented.