Order delivery platform determination method and device, equipment and medium
By analyzing the historical data and order allocation ratio of multiple distribution platforms, determining the most suitable distribution platform, the problem of stores choosing the right platform among multiple platforms is solved, and the delivery efficiency of takeaway orders is improved.
Patent Information
- Application Number
- CN202311818450.7
- 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
In the takeaway business scenario, stores need to select the appropriate platform among multiple delivery platforms to deliver takeaway orders. It is difficult for the existing technology to effectively determine the most suitable delivery platform, resulting in low delivery efficiency.
By obtaining the historical delivery data and preset order default allocation ratios of multiple alternative delivery platforms over different time periods, calculating the order allocation ratio adjustment coefficient, determining the optimal allocation ratio of the order, and selecting the most suitable delivery platform at present.
The order allocation ratio is timely adjusted according to the early and recent delivery capabilities of the alternative delivery platforms, ensuring that the selected target delivery platform has the best comprehensive distribution capabilities, thereby improving the distribution efficiency of the store.
Smart Images

Figure CN120218770A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and particularly to a method, apparatus, device, and medium for determining an order delivery platform. Background Art
[0002] In the takeaway business scenario, in order to improve the delivery efficiency and meet the diverse needs of consumers, multiple delivery platforms are usually provided to deliver the takeaway orders received by the takeaway business system. For a store (such as a restaurant) that supports the takeaway business, after receiving a takeaway order, the store needs to select from multiple delivery platforms so that the selected delivery platform can complete the delivery work of the takeaway order. Selecting a suitable delivery platform is crucial for improving the delivery efficiency of the store. Therefore, there is an urgent need for a method for determining an order delivery platform to help the takeaway business system determine a more suitable delivery platform for the store's needs, so as to ensure that the takeaway order can be delivered to the customer as soon as possible and improve the delivery efficiency of the store. 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 an order delivery platform.
[0004] According to the first aspect of the embodiments of the present application, there is provided a method for determining an order delivery platform, the method including:
[0005] Obtain the historical delivery data of multiple alternative delivery platforms in the first time period and the second time period, and obtain the default order allocation ratio preset for the multiple alternative delivery platforms, where the time interval between the end time of the first time period and the current time is greater than the first duration threshold, and the time interval between the end time of the second time period and the current time is less than the second duration threshold;
[0006] Based on the historical delivery data of the multiple alternative delivery platforms in the first time period and the second time period, determine the order allocation ratio adjustment coefficient of the multiple alternative delivery platforms;
[0007] Based on the order allocation ratio adjustment coefficient and the default order allocation ratio, determine the optimal order allocation ratio of the multiple alternative delivery platforms;
[0008] Based on the optimal order allocation ratio of the multiple alternative delivery platforms and the current order allocation ratio of the multiple alternative delivery platforms, determine the target delivery platform currently suitable for delivering the order from the multiple alternative delivery platforms.
[0009] According to the second aspect of the embodiments of the present application, there is provided a device for determining an order delivery platform, the device including:
[0010] An acquisition module, configured to acquire historical delivery data of multiple alternative delivery platforms in a first time period and a second time period, and acquire an order default allocation ratio preset for the multiple alternative delivery platforms, where the time interval between the end time of the first time period and the current time is greater than a first duration threshold, and the time interval between the end time of the second time period and the current time is less than a second duration threshold;
[0011] A data determination module, configured to determine an order allocation ratio adjustment coefficient of the multiple alternative delivery platforms based on the historical delivery data of the multiple alternative delivery platforms in the first time period and the second time period;
[0012] The data determination module is further configured to determine an optimal order allocation ratio of the multiple alternative delivery platforms based on the order allocation ratio adjustment coefficient and the order default allocation ratio;
[0013] A platform determination module, configured to determine a target delivery platform suitable for delivering an order currently from the multiple alternative delivery platforms based on the optimal order allocation ratio of the multiple alternative delivery platforms and the current order allocated ratio of the multiple alternative delivery platforms.
[0014] According to a 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, where the processor executes the computer program to implement the operations performed by the above-mentioned method for determining an order delivery platform.
[0015] According to a fourth aspect of the embodiments of the present application, there is provided a computer-readable storage medium, on which a program is stored, and the program is executed by a processor to implement the operations performed by the above-mentioned method for determining an order delivery platform.
[0016] According to a fifth aspect of the embodiments of the present application, there is provided a computer program product, including a computer program, and when the computer program is executed by a processor, it implements the operations performed by the above-mentioned method for determining an order delivery platform.
[0017] The technical solutions provided by the embodiments of the present application may include the following beneficial effects:
[0018] By obtaining the historical delivery data of multiple alternative delivery platforms in the first time period and the second time period, and obtaining the default order allocation ratios preset for the multiple alternative delivery platforms, the order allocation ratio adjustment coefficients of the multiple alternative delivery platforms are determined based on the historical delivery data of the multiple alternative delivery platforms in the first time period and the second time period, so as to determine the optimal order allocation ratios of the multiple alternative delivery platforms based on the order allocation ratio adjustment coefficients and the default order allocation ratios, so as to timely adjust the default order allocation ratios according to the delivery capacity performance of the alternative delivery platforms in the earlier first time period and the delivery capacity performance of the alternative delivery platforms in the recent second time period, and then determine the target delivery platform suitable for delivering orders currently from the multiple alternative delivery platforms based on the optimal order allocation ratios of the multiple alternative delivery platforms and the currently allocated order ratios of the multiple alternative delivery platforms, so as to ensure that the determined target delivery platform is the alternative delivery platform with the best comprehensive delivery capacity performance in the early stage and the recent stage, and can better meet the delivery needs of the store.
[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 accompanying drawings here are incorporated into the specification and form a part of this application, showing the embodiments consistent with this application, and are used together with the specification to explain the principles of this application.
[0021] Figure 1 It is a flowchart of a method for determining an order delivery platform according to an exemplary embodiment of this application.
[0022] Figure 2 It is a block diagram of a device for determining an order delivery platform according to an exemplary embodiment of this application.
[0023] Figure 3 It is a schematic structural diagram of a computing device according to an exemplary embodiment of this application. Detailed Description of the Embodiments
[0024] 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 embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. On the contrary, they are only examples of devices and methods consistent with some aspects of this application as detailed in this application.
[0025] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms "a", "the", and "said" used in this 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 encompasses any and all possible combinations of one or more of the associated listed items.
[0026] It should be understood that although the terms first, second, third, etc. may be used in this application to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of this 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 a determination".
[0027] This application provides a method for determining an order delivery platform, which is used to determine an adjustment coefficient for the order allocation ratio according to the delivery capacity performance of alternative delivery platforms in an earlier first time period and the delivery capacity performance of alternative delivery platforms in a recent second time period, and then adjust the default order allocation ratio in a timely manner according to the adjustment coefficient for the order allocation ratio to obtain the optimal order allocation ratios of multiple alternative delivery platforms, so as to determine the target delivery platform based on the optimal order allocation ratios of multiple alternative delivery platforms and the currently allocated order ratios of multiple alternative delivery platforms, ensuring that the determined target delivery platform is the alternative delivery platform with the best comprehensive delivery capacity performance in the early and recent periods and is more capable of meeting the delivery needs of the store.
[0028] The method for determining the order delivery platform provided by this application can be applied to the takeaway business scenario. In the takeaway business scenario, customers can place takeaway orders at a certain store through a takeaway software, and the store can prepare the food according to the customers' takeaway orders and then deliver the prepared food to the customers through the delivery platform. By using the method for determining the order delivery platform provided by this application, the target delivery platform for delivering the order can be determined from multiple alternative delivery platforms to ensure that the order can be delivered to the customer as soon as possible. Among them, the delivery platform can be an instant delivery platform that specifically undertakes takeaway orders from various stores.
[0029] The above method for determining the order delivery platform can be executed by a computing device. The computing device can be a server, such as a single server, multiple servers, a server cluster, a cloud computing platform, etc., but is not limited thereto. This application does not limit the type and number of computing devices.
[0030] The above is only an exemplary description of the application scenarios of the present application, and does not constitute a limitation on the application scenarios of the present application. In more possible implementation manners, the present application can be applied to other scenarios that require selecting a delivery platform more.
[0031] After introducing the application scenarios of the present application, next, in combination with the embodiments of the present application, a method for determining an order delivery platform provided by the present application will be further described.
[0032] As Figure 1 shown, Figure 1 FIG. is a flowchart of a method for determining an order delivery platform according to an exemplary embodiment of the present application. The method includes the following steps:
[0033] Step 101, obtain the historical delivery data of multiple alternative delivery platforms in the first time period and the second time period, and obtain the order default allocation ratio preset for the multiple alternative delivery platforms, where the time interval between the end time of the first time period and the current time is greater than the first duration threshold, and the time interval between the end time of the second time period and the current time is less than the second duration threshold.
[0034] Among them, the time interval between the end time of the first time period and the current time is greater than the first duration threshold, that is, the first time period can be a period of time far from the current time, and the duration of the first time period can be any duration; the time interval between the end time of the second time period and the current time is less than the second duration threshold, that is, the second time period can be a period of time close to the current time. For example, the second time period can be a period of time up to the current time, and the duration of the second time period can also be any duration. Generally speaking, the duration of the first time period can be greater than the duration of the second time period. For example, the first time period is the time period corresponding to the 15 days before the current day, and the second time period is the time period corresponding to the current time up to the current day.
[0035] It should be noted that the historical delivery data is used to characterize the order delivery situation of the alternative delivery platforms within a period of time. The historical delivery data of the first time period can be used to characterize the order delivery situation of the alternative delivery platforms within the first time period, and the historical delivery data of the second time period can be used to characterize the order delivery situation of the alternative delivery platforms within the second time period.
[0036] Optionally, the historical delivery data may include the promised delivery time of each historical order generated within the corresponding time period (indicating that the takeaway is promised to be delivered to the customer before this time), the actual delivery time of the historical order, and the order placement time of the historical order. In addition, the historical delivery data may further include the total order suspension duration of each alternative delivery platform within the corresponding time period, the number of order suspensions of the delivery platform, etc., but is not limited thereto. The historical delivery data may further include more data, and the present application does not limit the data content included in the historical delivery data.
[0037] It should be noted that the suspension of orders by the delivery platform refers to the situation where the delivery platform is unable to undertake the delivery work of the takeaway orders from the store due to insufficient delivery personnel on the delivery platform. Optionally, the sum of the order suspension durations and the sum of the number of order suspensions of each alternative delivery platform within the specified time period can be counted to obtain the order suspension duration and the number of order suspensions of each alternative delivery platform within this time period.
[0038] Among them, the default order allocation ratio is used to indicate the proportion of the number of orders planned to be allocated to each alternative delivery platform by the target store in the total number of orders of the target store. The default order allocation ratio can be set by the target store according to the delivery capabilities of each alternative delivery platform. The present application does not limit the value of the default order allocation ratio corresponding to each alternative delivery platform, and only needs to ensure that the sum of the default order allocation ratios of all alternative delivery platforms is 1.
[0039] Step 102: Based on the historical delivery data of multiple alternative delivery platforms in the first time period and the second time period, determine the order allocation ratio adjustment coefficients of the multiple alternative delivery platforms.
[0040] Among them, the order allocation ratio adjustment coefficient is determined based on the delivery capacity performance of the alternative delivery platform in the earlier first time period and the delivery capacity performance of the alternative delivery platform in the recent second time period. The order allocation ratio adjustment coefficient can reflect the change in the comprehensive delivery capacity of the alternative delivery platform in the recent period relative to the comprehensive delivery capacity at an earlier time. For example, whether the comprehensive delivery capacity of the alternative delivery platform in the recent period is better or worse than the comprehensive delivery capacity at an earlier time, so as to ensure the real-time and rationality of order allocation.
[0041] Step 103: Based on the order allocation ratio adjustment coefficient and the default order allocation ratio, determine the optimal order allocation ratios of the multiple alternative delivery platforms.
[0042] It should be noted that the default order allocation ratio can only represent the historical delivery performance of each alternative delivery platform. Or rather, the default order allocation ratio can only be used to measure the comprehensive capabilities of each alternative delivery platform. However, these alternative delivery platforms do not serve only one store. If a store has a large number of orders on a certain day, or if a particular alternative delivery platform arranges fewer delivery personnel on that day, it will result in a poor performance of the delivery capabilities of this alternative delivery platform on that day. If orders are still allocated according to the default order allocation ratio, it will lead to a poor delivery performance of the store on that day, such as being unable to deliver the order to the customer before the promised delivery time, triggering customer complaints and even resulting in customer loss. By considering both the historical delivery capabilities performance and the recent delivery capabilities performance, and adjusting the default order allocation ratio based on the order allocation ratio adjustment coefficient, the optimal order allocation ratio that is more suitable for the current delivery capabilities performance of each alternative delivery platform can be obtained.
[0043] Step 104: Based on the optimal order allocation ratio of multiple alternative delivery platforms and the currently allocated order ratio of multiple alternative delivery platforms, determine the target delivery platform that is currently suitable for delivering orders from multiple alternative delivery platforms.
[0044] In the embodiment of the present application, by obtaining the historical delivery data of multiple alternative delivery platforms in the first time period and the second time period, and obtaining the default order allocation ratio pre-set for multiple alternative delivery platforms, based on the historical delivery data of multiple alternative delivery platforms in the first time period and the second time period, determine the order allocation ratio adjustment coefficient of multiple alternative delivery platforms, so as to determine the optimal order allocation ratio of multiple alternative delivery platforms based on the order allocation ratio adjustment coefficient and the default order allocation ratio, and timely adjust the default order allocation ratio according to the delivery capabilities performance of the alternative delivery platform in the earlier first time period and the delivery capabilities performance of the alternative delivery platform in the recent second time period. Furthermore, based on the optimal order allocation ratio of multiple alternative delivery platforms and the currently allocated order ratio of multiple alternative delivery platforms, determine the target delivery platform that is currently suitable for delivering orders from multiple alternative delivery platforms, so as to ensure that the determined target delivery platform is the alternative delivery platform with the best comprehensive delivery capabilities performance in the early stage and the recent stage, and can better meet the delivery requirements of the store.
[0045] After introducing the basic implementation process of the present application, the following specifically introduces various non-limiting implementation manners of the present application.
[0046] In some embodiments, for step 102, when determining the order allocation ratio adjustment coefficient of multiple alternative delivery platforms based on the historical delivery data of multiple alternative delivery platforms in the first time period and the second time period, it can be implemented through the following steps:
[0047] Step 1021: Based on the historical delivery data of multiple alternative delivery platforms within the first time period, determine the first delivery capacity data of the multiple alternative delivery platforms. The first delivery capacity data is used to represent the delivery capacity of the alternative delivery platforms within the first time period.
[0048] Optionally, the historical delivery data may include the historical promised delivery time of orders, the actual delivery time of orders, the order placement time of orders, the order suspension duration of the delivery platform, the number of order suspensions of the delivery platform, etc. Correspondingly, the delivery capacity data may include the order on-time rate, the order suspension rate, the order suspension frequency, and the average delivery duration, etc., but is not limited thereto. The delivery capacity data may also include fewer or more types of data. This application does not limit the data content included in the delivery capacity data.
[0049] Taking the delivery capacity data including the order on-time rate, the order suspension rate, the order suspension frequency, and the average delivery duration as an example, the methods for determining different types of delivery capacity data will be introduced below.
[0050] In one possible implementation, it is possible to determine the number of orders that are delivered on time within the first time period where the actual delivery time of the historical order is before the promised delivery time of the historical order, and thus determine the ratio of the number of orders delivered on time to the total number of historical orders within the first time period as the order on-time rate within the first time period.
[0051] For example, for any alternative delivery platform, the total number of orders received by the alternative delivery platform within the first time period is N, and M orders are delivered before their corresponding promised delivery times. Then the order on-time rate is M / N.
[0052] In another possible implementation, it is possible to determine the order suspension rate within the first time period based on the ratio of the order suspension duration of the delivery platform to the duration of the first time period.
[0053] For example, if the first time period is H hours and a certain alternative delivery platform has a cumulative order suspension of I hours within the first time period, then the order suspension rate of the alternative delivery platform is I / H.
[0054] In another possible implementation, it is possible to determine the order suspension frequency within the first time period based on the ratio of the number of order suspensions of the delivery platform to the duration of the first time period.
[0055] For example, if the first time period is H hours and a certain alternative delivery platform has L order suspensions within the first time period, then the order suspension frequency of the alternative delivery platform is L / H.
[0056] In another possible implementation, for any alternative delivery platform, the difference between the historical actual delivery time and the historical order placement time of each historical order within the first time period can be determined to obtain the delivery duration of each historical order, thereby determining the delivery duration of each historical order of the alternative delivery platform within the first time period and the total number of historical orders within the first time period, and determining the average delivery duration of all historical orders.
[0057] Step 1022: Based on the historical delivery data of multiple alternative delivery platforms within the second time period, determine the second delivery capacity data of the multiple alternative delivery platforms. The second delivery capacity data is used to represent the delivery capacity of the alternative delivery platform within the second time period.
[0058] Regarding the historical delivery data and delivery capacity data, reference can be made to Step 1021. In addition, for the implementation process of determining the delivery capacity data based on the historical delivery data, reference can also be made to Step 1021, which will not be elaborated here.
[0059] Step 1023: Based on the first delivery capacity data and the second delivery capacity data, determine the delivery capacity change coefficients of the multiple alternative delivery platforms.
[0060] The delivery capacity change coefficient is used to characterize the change situation of the delivery capacity data (such as increasing, decreasing, or being optimized, deteriorated). Among them, the delivery capacity data can include order on-time rate, order suspension rate, order suspension frequency, and average delivery duration, etc. Correspondingly, the delivery capacity change coefficient can include order on-time rate change coefficient, order suspension rate change coefficient, order suspension frequency change coefficient, and average delivery duration change coefficient.
[0061] When determining the delivery capacity change coefficients of multiple alternative delivery platforms based on the first delivery capacity data and the second delivery capacity data, there can be the following several implementation methods:
[0062] In a possible implementation method, the order on-time rate change coefficient as the delivery capacity change coefficient can be determined based on the first order on-time rate included in the first delivery capacity data and the second order on-time rate included in the second delivery capacity data.
[0063] Optionally, the ratio of the second order on-time rate to the first order on-time rate can be determined as the order on-time rate change coefficient.
[0064] For example, the order on-time rate change coefficient of the i-th alternative delivery platform can be determined according to the following formula (1):
[0065]
[0066] Among them, represents the order on-time rate change coefficient of the i-th alternative delivery platform. represents the on-time rate of the second order of the i-th alternative delivery platform represents the on-time rate of the first order of the i-th alternative delivery platform.
[0067] It should be noted that represents that the on-time rate of the orders of the i-th alternative delivery platform recently is better than that of the past orders; represents that the on-time rate of the orders of the i-th alternative delivery platform recently is worse than that of the past orders. That is, the on-time rate change coefficient is positively correlated with the platform's delivery capacity.
[0068] In another possible implementation, the order stoppage rate change coefficient as the delivery capacity change coefficient can be determined based on the first order stoppage rate included in the first delivery capacity data and the second order stoppage rate included in the second delivery capacity data.
[0069] Optionally, the ratio of the second order stoppage rate to the first order stoppage rate can be determined as the order stoppage rate change coefficient.
[0070] For example, the order stoppage rate change coefficient of the i-th alternative delivery platform can be determined according to the following formula (2):
[0071]
[0072] where represents the order stoppage rate change coefficient of the i-th alternative delivery platform, represents the second order stoppage rate of the i-th alternative delivery platform, represents the first order stoppage rate of the i-th alternative delivery platform.
[0073] It should be noted that represents that the order stoppage rate of the i-th alternative delivery platform recently is better than that of the past orders; represents that the order stoppage rate of the i-th alternative delivery platform recently is worse than that of the past orders. That is, the order stoppage rate change coefficient is negatively correlated with the platform's delivery capacity.
[0074] In another possible implementation, the order stoppage frequency change coefficient as the delivery capacity change coefficient can be determined based on the first order stoppage frequency included in the first delivery capacity data and the second order stoppage frequency included in the second delivery capacity data.
[0075] Optionally, the ratio of the second order stoppage frequency to the first order stoppage frequency can be determined as the order stoppage frequency change coefficient.
[0076] For example, the order stoppage frequency change coefficient of the i-th alternative delivery platform can be determined according to the following formula (3):
[0077]
[0078] Among them, represents the order stop frequency change coefficient of the i-th alternative delivery platform, represents the second order stop frequency of the i-th alternative delivery platform, represents the first order stop frequency of the i-th alternative delivery platform.
[0079] It should be noted that represents that the recent order stop frequency of the i-th alternative delivery platform is better than the past order stop frequency; represents that the recent order stop frequency of the i-th alternative delivery platform is worse than the past order stop frequency. That is, the order stop frequency change coefficient is negatively correlated with the platform delivery capacity.
[0080] In another possible implementation, based on the first average delivery duration included in the first delivery capacity data and the second average delivery duration included in the second delivery capacity data, the average delivery duration change coefficient as the delivery capacity change coefficient can be determined.
[0081] Optionally, the ratio of the second average delivery duration to the first average delivery duration can be determined as the average delivery duration change coefficient.
[0082] For example, the average delivery duration change coefficient of the i-th alternative delivery platform can be determined according to the following formula (4):
[0083]
[0084] Among them, represents the average delivery duration change coefficient of the i-th alternative delivery platform, represents the second average delivery duration of the i-th alternative delivery platform, represents the first average delivery duration of the i-th alternative delivery platform.
[0085] It should be noted that represents that the recent delivery duration of the i-th alternative delivery platform is shorter than the past delivery duration; represents that the recent delivery duration of the i-th alternative delivery platform is longer than the past delivery duration. That is, the average delivery duration change coefficient is negatively correlated with the platform delivery capacity.
[0086] Step 1024: Based on the delivery capacity change coefficient, determine the order allocation ratio adjustment coefficients of multiple alternative delivery platforms.
[0087] In a possible implementation, to make the order allocation ratio adjustment coefficient corresponding to the i-th alternative delivery platform increase as the recent delivery capacity of the i-th alternative delivery platform improves and decrease as the recent delivery capacity of the i-th alternative delivery platform deteriorates, for the delivery capacity change coefficient that is positively correlated with the delivery capacity of the delivery platform, the order allocation ratio adjustment coefficient can be positively correlated with this type of delivery capacity change coefficient, and for the delivery capacity change coefficient that is negatively correlated with the delivery capacity of the delivery platform, the order allocation ratio adjustment coefficient can be negatively correlated with this type of delivery capacity change coefficient.
[0088] In a possible implementation, when there is one type of delivery capacity change coefficient, if the delivery capacity change coefficient is positively correlated with the delivery capacity of the delivery platform, then the delivery capacity change coefficient is determined as the order allocation ratio adjustment coefficient.
[0089] In another possible implementation, when there is one type of delivery capacity change coefficient, if the delivery capacity change coefficient is negatively correlated with the delivery capacity of the delivery platform, then the reciprocal of the delivery capacity change coefficient is determined as the order allocation ratio adjustment coefficient.
[0090] In another possible implementation, when there are multiple types of delivery capacity change coefficients, determine the first product of the delivery capacity change coefficients that are positively correlated with the delivery capacity and the second product of the delivery capacity change coefficients that are negatively correlated with the delivery capacity, so as to determine the ratio of the first product to the second product as the order allocation ratio adjustment coefficient.
[0091] Taking the delivery capacity change coefficients including the order on-time rate change coefficient, order suspension rate change coefficient, order suspension frequency change coefficient, and average delivery duration change coefficient as an example, where the order suspension rate change coefficient, order suspension frequency change coefficient, and average delivery duration change coefficient are all negatively correlated with the delivery capacity, and the order on-time rate change coefficient is positively correlated with the delivery capacity. Then, when determining the order allocation ratio adjustment coefficient based on the delivery capacity change coefficients, the product of the order suspension rate change coefficient, order suspension frequency change coefficient, and average delivery duration change coefficient can be determined, and the ratio of the order on-time rate change coefficient to the above product can be used as the order allocation ratio adjustment coefficient.
[0092] For example, the following formula (5) can be used to determine the order allocation ratio adjustment coefficient of the i-th alternative delivery platform based on the order on-time rate change coefficient, order suspension rate change coefficient, order suspension frequency change coefficient, and average delivery duration change coefficient of the i-th alternative delivery platform:
[0093]
[0094] where k i represents the order allocation ratio adjustment coefficient of the i-th alternative delivery platform, Represents the coefficient of change in the on-time delivery rate of the i-th alternative delivery platform, Represents the coefficient of change in the order suspension rate of the i-th alternative delivery platform, Represents the coefficient of change in the order suspension frequency of the i-th alternative delivery platform, Represents the coefficient of change in the average delivery duration of the i-th alternative delivery platform.
[0095] It should be noted that k i > 1 indicates that the recent delivery capacity of the i-th alternative delivery platform is better than its previous delivery capacity; k i < 1 indicates that the recent delivery capacity of the i-th alternative delivery platform is inferior to its previous delivery capacity.
[0096] After determining the order allocation ratio adjustment coefficients of each alternative delivery platform through the above embodiments, the optimal order allocation ratios of multiple alternative delivery platforms can be determined through step 103 based on the order allocation ratio adjustment coefficients and the default order allocation ratios.
[0097] In some embodiments, for step 103, when determining the optimal order allocation ratios of multiple alternative delivery platforms based on the order allocation ratio adjustment coefficients and the default order allocation ratios, it can be achieved through the following steps:
[0098] Step 1031: Based on the order allocation ratio adjustment coefficients and the default order allocation ratios of multiple alternative delivery platforms, determine the adjusted order allocation ratios of multiple alternative delivery platforms.
[0099] In a possible implementation manner, the product of the default order allocation ratio and the order allocation ratio adjustment coefficient can be determined as the adjusted order allocation ratio.
[0100] For example, the adjusted order allocation ratio of the i-th alternative delivery platform can be determined according to the following formula (6):
[0101]
[0102] Wherein, Represents the adjusted order allocation ratio of the i-th alternative delivery platform, q i Represents the default order allocation ratio of the i-th alternative delivery platform, k i Represents the order allocation ratio adjustment coefficient of the i-th alternative delivery platform.
[0103] That is to say, if the recent delivery capacity of a certain alternative delivery platform is better than its previous delivery capacity, that is, k i > 1, a larger proportion of orders should be allocated to this alternative delivery platform, that is If the recent delivery capacity of a certain alternative delivery platform is inferior to its previous delivery capacity, that is, ki If it is less than 1, a smaller proportion of orders should be allocated to this alternative delivery platform, that is
[0104] Step 1032: For any alternative delivery platform, determine the ratio of the adjusted order allocation ratio of the alternative delivery platform to the sum of the adjusted order allocation ratios of multiple alternative delivery platforms as the optimal order allocation ratio of the alternative delivery platform.
[0105] It should be noted that since it is necessary to ensure that the sum of the order allocation ratios of all alternative delivery platforms is 1, that is where i represents the i-th alternative delivery platform and S represents the total number of alternative delivery platforms. If the recent delivery capabilities of all alternative delivery platforms are better than their previous delivery capabilities, that is, all k i are greater than 1, or if the recent delivery capabilities of all alternative delivery platforms are worse than their previous delivery capabilities, that is, all k i are less than 1, it will lead to a situation where the sum of the adjusted order allocation ratios of all alternative delivery platforms is not 1, that is At this time, it is necessary to perform normalization processing on the adjusted order allocation ratios of all alternative delivery platforms to ensure that the sum of the adjusted order allocation ratios of all alternative delivery platforms is 1.
[0106] In a possible implementation manner, for any alternative delivery platform, the ratio of the adjusted order allocation ratio of the alternative delivery platform to the sum of the adjusted order allocation ratios of multiple alternative delivery platforms can be determined to implement the normalization processing of the adjusted order allocation ratio of the alternative delivery platform, and this ratio can be used as the optimal order allocation ratio of the alternative delivery platform.
[0107] For example, the optimal order allocation ratio of the i-th alternative delivery platform can be determined according to the following formula (7):
[0108]
[0109] where represents the optimal order allocation ratio of the i-th alternative delivery platform, represents the adjusted order allocation ratio of the i-th alternative delivery platform, and S represents the total number of alternative delivery platforms.
[0110] Through the above normalization processing, it can be ensured that the sum of the optimal order allocation ratios of all delivery platforms is 1, that is
[0111] After determining the optimal order allocation ratios of each alternative delivery platform through the above embodiments, step 104 can be used to determine the target delivery platform currently suitable for delivering the order from multiple alternative delivery platforms based on the optimal order allocation ratios of multiple alternative delivery platforms and the current order allocation ratios of multiple alternative delivery platforms.
[0112] It should be noted that when receiving an order to be allocated, in order to determine the target delivery platform for delivering the order to be allocated, the order to be allocated can be first simulated and allocated to multiple alternative delivery platforms to simulate the situation when the order to be allocated is allocated to different alternative delivery platforms, so as to determine the target delivery platform based on the simulation results.
[0113] In some embodiments, for step 104, when determining the target delivery platform currently suitable for delivering the order from multiple alternative delivery platforms based on the optimal order allocation ratios of multiple alternative delivery platforms and the current order allocation ratios of multiple alternative delivery platforms, it can be implemented through the following steps:
[0114] Step 1041: For any alternative delivery platform, based on the current order allocation ratios of multiple alternative delivery platforms, determine the new order allocation ratios of multiple alternative delivery platforms after allocating the order to be allocated to the alternative delivery platform as a set of order prediction allocation ratios, where different sets of order prediction allocation ratios correspond to the order to be allocated being allocated to different alternative delivery platforms.
[0115] It should be noted that when the order to be allocated is allocated to an alternative delivery platform, a set of order prediction allocation ratios will be obtained, so that multiple sets of order prediction allocation ratios can be obtained.
[0116] For example, if a certain store has generated a total of M orders during the second time period (such as up to the current time of the day), and the order allocation ratio of the i-th alternative delivery platform during the second time period is If there is a new order to be allocated currently, in the case of S alternative delivery platforms, there will be S allocation possibilities for this order to be allocated.
[0117] If this order to be allocated is allocated to the i-th alternative delivery platform, the order allocation ratios of all alternative delivery platforms will change. Denote the order prediction allocation ratio of the j-th alternative delivery platform during the second time period after this order to be allocated is allocated to the i-th alternative delivery platform as where i = 1, 2,..., S, j = 1, 2,..., S.
[0118] where the number of orders already allocated by the i-th alternative delivery platform during the second time period is The number of orders assigned to the other alternative delivery platforms (such as the j-th alternative delivery platform) is If the order to be assigned is assigned to the i-th alternative delivery platform, the number of orders assigned to the i-th alternative delivery platform will become while the number of orders assigned to the other alternative delivery platforms remains unchanged, still being And the total number of orders assigned to all alternative delivery platforms becomes M + 1. Then, the order prediction allocation ratios of each alternative delivery platform can be seen in the following formula (8):
[0119]
[0120] where represents the order prediction allocation ratio of the j-th alternative delivery platform after the new order to be assigned is assigned to the i-th alternative delivery platform, and M represents the total number of orders.
[0121] Step 1042: Determine the order optimal allocation ratio sequence composed of the order optimal allocation ratios of multiple alternative delivery platforms and the multiple order prediction allocation ratio sequences composed of multiple groups of order prediction allocation ratios respectively.
[0122] For example, the order optimal allocation ratio sequence can be where i = 1, 2,..., S, and the order prediction allocation ratio sequence when the order to be assigned is assigned to the i-th alternative delivery platform can be where i = 1, 2,..., S, and j = 1, 2,..., S.
[0123] For example, the number of assigned orders is M = 10, the total number of alternative delivery platforms is S = 3, and the already assigned order ratios of these 3 alternative delivery platforms are 20%, 30%, and 50% respectively. Then the already assigned order quantities of these 3 alternative delivery platforms are 2, 3, and 5 respectively. At this time, if a new order to be assigned is added, the total number of orders will become M = 11.
[0124] If this order to be assigned is assigned to the 1st alternative delivery platform, the number of orders assigned to the 1st alternative delivery platform will become The number of orders assigned to the other two alternative delivery platforms remains unchanged, still being 3 and 5. Therefore, for the 1st alternative delivery platform, its order prediction allocation ratio is For the 2nd alternative delivery platform, its order prediction allocation ratio is For the 3rd alternative delivery platform, its order prediction allocation ratio is
[0125] Then, when the order to be allocated is allocated to the first alternative distribution platform, the order prediction allocation ratio sequence of these 3 alternative distribution platforms can be
[0126] Similarly, when the order to be allocated is allocated to the second alternative distribution platform, the order prediction allocation ratio sequence of these 3 alternative distribution platforms can be
[0127] Similarly, when the order to be allocated is allocated to the third alternative distribution platform, the order prediction allocation ratio sequence of these 3 alternative distribution platforms can be
[0128] Step 1043: Based on the order optimal allocation ratio sequence and multiple order prediction allocation ratio sequences, determine the target distribution platform that is currently suitable for delivering the order from multiple alternative distribution platforms.
[0129] In a possible implementation manner, this step 1043 can be implemented through the following steps:
[0130] Step 1043A: For any order prediction allocation ratio sequence, determine the similarity between the order prediction allocation ratio sequence and the order optimal allocation ratio sequence.
[0131] Optionally, the difference between the data at the corresponding positions in the order prediction allocation ratio sequence and the order optimal allocation ratio sequence can be determined, and based on the difference and the number of alternative distribution platforms, the similarity between the order prediction allocation ratio sequence and the order optimal allocation ratio sequence can be determined.
[0132] Optionally, when determining the similarity between the order prediction allocation ratio sequence and the order optimal allocation ratio sequence based on the difference and the number of alternative distribution platforms, the sum of the squares of the differences corresponding to each position in the sequence can be determined to obtain the sum of the squares of these multiple differences, and then the ratio of the sum of the squares of these multiple differences to the number of alternative distribution platforms can be determined. Furthermore, according to the square root value of this ratio, the similarity between the order prediction allocation ratio sequence and the order optimal allocation ratio sequence can be determined.
[0133] For example, the square root value of the above ratio can be determined according to the following formula (9)
[0134]
[0135] where list best represents the order optimal allocation ratio sequence, represents the order prediction allocation ratio sequence of each alternative distribution platform when the order to be allocated is allocated to the i-th alternative distribution platform, is negatively correlated with the similarity between the order prediction allocation ratio sequence and the order optimal allocation ratio sequence, The smaller it is, the higher the similarity indicates. represents the optimal allocation ratio of the orders of the i-th alternative delivery platform. represents the predicted allocation ratio of the orders of the j-th alternative delivery platform when the order to be allocated is allocated to the i-th alternative delivery platform, and S represents the total number of alternative delivery platforms.
[0136] It should be noted that The smaller it is, the closer the sequence of the predicted allocation ratios of the orders of multiple alternative delivery platforms is to the sequence of the optimal allocation ratios of the orders after the order to be allocated is allocated to the i-th alternative delivery platform: The larger it is, the greater the difference between the sequence of the predicted allocation ratios of the orders of multiple alternative delivery platforms and the sequence of the optimal allocation ratios of the orders after the order to be allocated is allocated to the i-th alternative delivery platform.
[0137] Step 1043B: Based on the similarity between the sequences of multiple predicted allocation ratios of the orders and the sequence of the optimal allocation ratios of the orders, determine the target delivery platform that is currently suitable for delivering the order from multiple alternative delivery platforms.
[0138] Optionally, the alternative delivery platform corresponding to the sequence of the predicted allocation ratios of the orders with the highest similarity to the sequence of the optimal allocation ratios of the orders can be determined as the target delivery platform.
[0139] For example, the selection of the target delivery platform can be performed according to the following formula (10):
[0140]
[0141] where the sel index -th alternative delivery platform is the target delivery platform. Taking the minimum value indicates the highest similarity between the sequence of the predicted allocation ratios of the orders and the sequence of the optimal allocation ratios of the orders. list best represents the sequence of the optimal allocation ratios of the orders. represents the sequence of the predicted allocation ratios of the orders when the order to be allocated is allocated to the i-th alternative delivery platform.
[0142] For ease of understanding, the following uses a specific example to further illustrate the method for determining the order delivery platform provided by this application.
[0143] For example, there are 4 optional alternative delivery platforms for the target store. Refer to Table 1 below. The on-time rates of the first orders of these 4 alternative delivery platforms are 95%, 86%, 90%, and 70% respectively, and the on-time rates of the second orders are 89%, 87%, 92%, and 78% respectively. Thus, the coefficient of variation of the on-time rates of these 4 alternative delivery platforms can be calculated as 0.94, 1.01, 1.02, and 1.11 respectively; the first order suspension rates of these 4 alternative delivery platforms are 2.6%, 3.4%, 3.1%, and 1.8% respectively, and the second on-time rates are 2.8%, 3.3%, 2.8%, and 2% respectively. Thus, the coefficient of variation of the order suspension rates of these 4 alternative delivery platforms can be calculated as 1.08, 0.97, 0.90, and 1.11 respectively; the first order suspension frequencies of these 4 alternative delivery platforms are 0.45, 0.37, 0.42, and 0.5 (unit: times / hour) respectively, and the second order suspension frequencies are 0.51, 0.34, 0.39, and 0.43 (unit: times / hour) respectively. Thus, the coefficient of variation of the order suspension frequencies of these 4 alternative delivery platforms can be calculated as 1.13, 0.92, 0.93, and 0.86 respectively; the first average delivery durations of these 4 alternative delivery platforms are 21, 23, 24, and 20 (unit: minutes) respectively, and the second average delivery durations are 19, 23, 23, and 22 (unit: minutes) respectively. Thus, the coefficient of variation of the average delivery durations of these 4 alternative delivery platforms can be calculated as 0.90, 1.00, 0.96, and 1.10 respectively.
[0144] Table 1
[0145]
[0146]
[0147] Thus, referring to Table 1 above, the adjustment coefficient of the order allocation ratio of the first alternative delivery platform can be calculated as:
[0148]
[0149] The adjustment coefficient of the order allocation ratio of the second alternative delivery platform is:
[0150]
[0151] The adjustment coefficient of the order allocation ratio of the third alternative delivery platform is:
[0152]
[0153] The adjustment coefficient of the order allocation ratio of the fourth alternative delivery platform is:
[0154]
[0155] Referring to Table 2 below, the default order allocation ratios set by the target store for these 4 alternative delivery platforms are 35%, 20%, 30%, and 15% respectively. Combining with the order allocation ratio adjustment coefficient, the adjusted order allocation ratios for these 4 alternative delivery platforms can be calculated as 30%, 23%, 38%, and 16% respectively. The sum of the adjusted order allocation ratios for these 4 alternative delivery platforms is not 1. Therefore, the adjusted order allocation ratios for these 4 alternative delivery platforms are normalized to obtain the optimal order allocation ratios for these 4 alternative delivery platforms, which are 28%, 21%, 36%, and 15% respectively.
[0156] Table 2
[0157] Alternative delivery platforms The 1st The 2nd The 3rd The 4th Order allocation ratio adjustment coefficient 0.85 1.13 1.27 1.06 Default order allocation ratio (%) 35 20 30 15 Adjusted order allocation ratio (%) 30 23 38 16 Optimal order allocation ratio (%) 28 21 36 15
[0158] Given that the total number of currently allocated orders is 9, referring to Table 3, among them, the number of orders already allocated to each alternative delivery platform is 3, 2, 3, and 1 respectively. Then the order allocation ratios for each alternative delivery platform are 33%, 22%, 33%, and 11% respectively.
[0159] Table 3
[0160] Alternative delivery platforms The 1st The 2nd The 3rd The 4th Number of allocated orders 3 2 3 1 Order allocation percentage (%) 33 22 33 11
[0161] At this time, if there is a new order to be allocated and the most suitable delivery platform needs to be selected, then this order to be allocated can be tried to be allocated to each of these 4 alternative delivery platforms respectively. Referring to Table 4 below, if the order to be allocated is allocated to the 1st alternative delivery platform, then the number of allocated orders for these 4 alternative delivery platforms will become 4, 2, 3, and 1 respectively, and the order predicted allocation ratios will be 40%, 20%, 30%, and 10% respectively; if the order to be allocated is allocated to the 2nd alternative delivery platform, then the number of allocated orders for these 4 alternative delivery platforms will become 3, 3, 3, and 1 respectively, and the order predicted allocation ratios will be 30%, 30%, 30%, and 10% respectively; if the order to be allocated is allocated to the 3rd alternative delivery platform, then the number of allocated orders for these 4 alternative delivery platforms will become 3, 2, 4, and 1 respectively, and the order predicted allocation ratios will be 30%, 20%, 40%, and 10% respectively; if the order to be allocated is allocated to the 4th alternative delivery platform, then the number of allocated orders for these 4 alternative delivery platforms will become 3, 2, 3, and 2 respectively, and the order predicted allocation ratios will be 30%, 20%, 30%, and 20% respectively.
[0162] Table 4
[0163]
[0164] Thus, it can be determined that the order prediction allocation ratio sequence when the order to be allocated is allocated to the first alternative delivery platform is [40%, 20%, 30%, 10%], the order prediction allocation ratio sequence when the order to be allocated is allocated to the second alternative delivery platform is [30%, 30%, 30%, 10%], the order prediction allocation ratio sequence when the order to be allocated is allocated to the third alternative delivery platform is [30%, 20%, 40%, 10%], the order prediction allocation ratio sequence when the order to be allocated is allocated to the fourth alternative delivery platform is [30%, 20%, 30%, 20%], and the order optimal allocation ratio sequence is [28%, 21%, 36%, 15%]. Then, it can be determined that the above corresponding values of the similarity between the order prediction allocation ratio sequences obtained when the order to be allocated is respectively allocated to these 4 alternative delivery platforms and the order optimal allocation ratio sequence are 0.072, 0.059, 0.035, and 0.041. Then, the third alternative delivery platform can be determined as the target delivery platform.
[0165] Corresponding to the embodiments of the foregoing method, the present application also provides embodiments of an apparatus and a computing device to which the apparatus is applied.
[0166] As Figure 2 shown, Figure 2 is a block diagram of an apparatus for determining an order delivery platform according to an exemplary embodiment of the present application. The apparatus includes:
[0167] An obtaining module 201, configured to obtain historical delivery data of multiple alternative delivery platforms in a first time period and a second time period, and obtain order default allocation ratios set in advance for the multiple alternative delivery platforms, where the time interval between the end time of the first time period and the current time is greater than a first duration threshold, and the time interval between the end time of the second time period and the current time is less than a second duration threshold;
[0168] A data determination module 202, configured to determine order allocation ratio adjustment coefficients of the multiple alternative delivery platforms based on the historical delivery data of the multiple alternative delivery platforms in the first time period and the second time period;
[0169] The data determination module 202 is further configured to determine the order optimal allocation ratios of the multiple alternative delivery platforms based on the order allocation ratio adjustment coefficients and the order default allocation ratios;
[0170] A platform determination module 203, configured to determine a target delivery platform suitable for delivering an order currently from the multiple alternative delivery platforms based on the order optimal allocation ratios of the multiple alternative delivery platforms and the currently allocated ratios of the orders of the multiple alternative delivery platforms.
[0171] In some embodiments, the data determination module 202 is specifically configured to:
[0172] Based on the historical delivery data of multiple alternative delivery platforms within the first time period, determine the first delivery capacity data of the multiple alternative delivery platforms, where the first delivery capacity data is used to represent the delivery capacity of the alternative delivery platforms within the first time period;
[0173] Based on the historical delivery data of multiple alternative delivery platforms within the second time period, determine the second delivery capacity data of the multiple alternative delivery platforms, where the second delivery capacity data is used to represent the delivery capacity of the alternative delivery platforms within the second time period;
[0174] Based on the first delivery capacity data and the second delivery capacity data, determine the delivery capacity change coefficient of the multiple alternative delivery platforms;
[0175] Based on the delivery capacity change coefficient, determine the order allocation ratio adjustment coefficient of the multiple alternative delivery platforms.
[0176] In some embodiments, the delivery capacity data includes at least one of order on-time rate, order suspension rate, order suspension frequency, and average delivery duration;
[0177] The data determination module 202 is specifically configured to perform at least one of the following:
[0178] Based on the first order on-time rate included in the first delivery capacity data and the second order on-time rate included in the second delivery capacity data, determine the order on-time rate change coefficient as the delivery capacity change coefficient;
[0179] Based on the first order suspension rate included in the first delivery capacity data and the second order suspension rate included in the second delivery capacity data, determine the order suspension rate change coefficient as the delivery capacity change coefficient;
[0180] Based on the first order suspension frequency included in the first delivery capacity data and the second order suspension frequency included in the second delivery capacity data, determine the order suspension frequency change coefficient as the delivery capacity change coefficient;
[0181] Based on the first average delivery duration included in the first delivery capacity data and the second average delivery duration included in the second delivery capacity data, determine the average delivery duration change coefficient as the delivery capacity change coefficient.
[0182] In some embodiments, the data determination module 202 is specifically configured to perform any one of the following:
[0183] In the case where there is one type of delivery capacity change coefficient, if the delivery capacity change coefficient is positively correlated with the delivery capacity of the delivery platform, then determine the delivery capacity change coefficient as the order allocation ratio adjustment coefficient;
[0184] In the case where there is only one delivery capacity change coefficient, if the delivery capacity change coefficient is negatively correlated with the delivery capacity of the delivery platform, then the reciprocal of the delivery capacity change coefficient is determined as the order allocation ratio adjustment coefficient;
[0185] In the case where there are multiple delivery capacity change coefficients, determine the first product of the delivery capacity change coefficients that are positively correlated with the delivery capacity and the second product of the delivery capacity change coefficients that are negatively correlated with the delivery capacity, so as to determine the ratio of the first product to the second product as the order allocation ratio adjustment coefficient.
[0186] In some embodiments, the data determination module 202 is specifically configured to:
[0187] Based on the order allocation ratio adjustment coefficients and the order default allocation ratios of multiple alternative delivery platforms, determine the adjusted order allocation ratios of the multiple alternative delivery platforms;
[0188] For any alternative delivery platform, determine the ratio of the adjusted order allocation ratio of the alternative delivery platform to the sum of the adjusted order allocation ratios of the multiple alternative delivery platforms as the optimal order allocation ratio of the alternative delivery platform.
[0189] In some embodiments, the platform determination module 203 is specifically configured to:
[0190] For any alternative delivery platform, based on the current order allocation ratios of the multiple alternative delivery platforms, determine the new order allocation ratios of the multiple alternative delivery platforms after the order to be allocated is allocated to the alternative delivery platform as a set of order predicted allocation ratios, where different sets of order predicted allocation ratios correspond to different alternative delivery platforms when the order to be allocated is allocated to different alternative delivery platforms;
[0191] Respectively determine the sequence of optimal order allocation ratios composed of the optimal order allocation ratios of the multiple alternative delivery platforms and the multiple sequences of order predicted allocation ratios composed of multiple sets of order predicted allocation ratios;
[0192] Based on the sequence of optimal order allocation ratios and the multiple sequences of order predicted allocation ratios, determine the target delivery platform that is currently suitable for delivering the order from the multiple alternative delivery platforms.
[0193] In some embodiments, the platform determination module 203 is specifically configured to:
[0194] For any sequence of order predicted allocation ratios, determine the similarity between the sequence of order predicted allocation ratios and the sequence of optimal order allocation ratios;
[0195] Based on the similarities between the multiple sequences of order predicted allocation ratios and the sequence of optimal order allocation ratios, determine the target delivery platform that is currently suitable for delivering the order from the multiple alternative delivery platforms.
[0196] In some embodiments, the platform determination module 203 is specifically configured to:
[0197] Determine the difference between the data at the corresponding positions in the order prediction allocation ratio sequence and the order optimal allocation ratio sequence, and determine the similarity between the order prediction allocation ratio sequence and the order optimal allocation ratio sequence based on the difference and the number of alternative delivery platforms.
[0198] In some embodiments, the platform determination module 203 is specifically configured to:
[0199] Determine the alternative delivery platform corresponding to the order prediction allocation ratio sequence with the highest similarity to the order optimal allocation ratio sequence as the target delivery platform.
[0200] For the specific implementation process of the functions and roles of each module in the above device, please refer to the implementation process of the corresponding steps in the above method, which will not be elaborated here.
[0201] 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 only 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 work.
[0202] This application also provides a computing device. Refer to Figure 3 , Figure 3 which is a schematic structural diagram of a computing device shown by this application according to an exemplary embodiment. As Figure 3 shown, the computing device includes a processor 310, a memory 320, and a network interface 330. The memory 320 is used to store computer instructions that can run on the processor 310. The processor 310 is used to implement the method for determining the order delivery platform provided by any embodiment of this application when executing the computer instructions. The network interface 330 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 make any limitations in this regard.
[0203] 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 an order delivery platform provided in any embodiment of the present application.
[0204] The present application also provides a computer program product, including a computer program, which when executed by a processor, implements the method for determining an order delivery platform provided in any embodiment of the present application.
[0205] Those skilled in the art should understand that one or more embodiments of the present application can be provided as a method, apparatus, computing device, computer-readable storage medium, or 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.
[0206] The various embodiments in the present application are described in a progressive manner. The same or similar parts among the various embodiments can be referred to each other, and each embodiment focuses on 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.
[0207] 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, multitasking and parallel processing are also possible or may be advantageous.
[0208] 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 one or more combinations 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 a data processing apparatus 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 determination apparatus of the order delivery platform. 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.
[0209] 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) of dedicated logic circuitry, and the apparatus can also be implemented as dedicated logic circuitry.
[0210] Computers suitable for executing computer programs include, for example, general and / or special purpose microprocessors, or any other type of central processing unit. Generally, the central processing unit will receive instructions and data from a read-only memory and / or a random access memory. The 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 transmit 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.
[0211] 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.
[0212] Although the present 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 the present 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. In addition, although features may operate in certain combinations as described above and are even initially claimed as such, one or more features from the 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.
[0213] Similarly, although the 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. In addition, 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.
[0214] Thus, specific embodiments of the subject matter have been described. Other embodiments are within the scope of the present application. In some cases, the acts recited in the present application may be performed in a different order and still achieve the desired result. In addition, 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.
[0215] Those skilled in the art will readily conceive of other embodiments of the present application after considering the specification and practicing the invention herein. The present application is intended to cover any variations, uses, or adaptations of the present application that follow the general principles of the present application and include known common general knowledge or conventional technical means in the technical field not claimed in the present application. That is, the present 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.
[0216] 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 an order delivery platform, characterized in that, The method includes: Obtaining the historical delivery data of multiple alternative delivery platforms in a first time period and a second time period, and obtaining the default order allocation ratios preset for the multiple alternative delivery platforms, where the time interval between the end time of the first time period and the current time is greater than a first duration threshold, and the time interval between the end time of the second time period and the current time is less than a second duration threshold; Based on the historical delivery data of the multiple alternative delivery platforms in the first time period and the second time period, determining the order allocation ratio adjustment coefficients of the multiple alternative delivery platforms; Based on the order allocation ratio adjustment coefficients and the default order allocation ratios of the multiple alternative delivery platforms, determining the optimal order allocation ratios of the multiple alternative delivery platforms; Based on the optimal order allocation ratios of the multiple alternative delivery platforms and the current order allocation ratios of the multiple alternative delivery platforms, determining the target delivery platform suitable for delivering orders currently from the multiple alternative delivery platforms.
2. The method according to claim 1, characterized in that The determining the order allocation ratio adjustment coefficients of the multiple alternative delivery platforms based on the historical delivery data of the multiple alternative delivery platforms in the first time period and the second time period includes: Based on the historical delivery data of the multiple alternative delivery platforms in the first time period, determining the first delivery capacity data of the multiple alternative delivery platforms, where the first delivery capacity data is used to represent the delivery capacity of the alternative delivery platforms in the first time period; Based on the historical delivery data of the multiple alternative delivery platforms in the second time period, determining the second delivery capacity data of the multiple alternative delivery platforms, where the second delivery capacity data is used to represent the delivery capacity of the alternative delivery platforms in the second time period; Based on the first delivery capacity data and the second delivery capacity data, determining the delivery capacity change coefficients of the multiple alternative delivery platforms; Based on the delivery capacity change coefficients, determining the order allocation ratio adjustment coefficients of the multiple alternative delivery platforms.
3. The method according to claim 2, wherein The delivery capacity data includes at least one of order on-time rate, order suspension rate, order suspension frequency, and average delivery duration; The determining the delivery capacity change coefficients of the multiple alternative delivery platforms based on the first delivery capacity data and the second delivery capacity data includes at least one of the following: Based on the first order on-time rate included in the first delivery capacity data and the second order on-time rate included in the second delivery capacity data, determining the order on-time rate change coefficient as the delivery capacity change coefficient; Based on the first order suspension rate included in the first delivery capacity data and the second order suspension rate included in the second delivery capacity data, determining the order suspension rate change coefficient as the delivery capacity change coefficient; Based on the first order suspension frequency included in the first delivery capacity data and the second order suspension frequency included in the second delivery capacity data, determining the order suspension frequency change coefficient as the delivery capacity change coefficient; Based on the first average delivery duration included in the first delivery capacity data and the second average delivery duration included in the second delivery capacity data, determining the average delivery duration change coefficient as the delivery capacity change coefficient.
4. The method according to claim 2, characterized in that Determining the order allocation ratio adjustment coefficients of the multiple alternative delivery platforms based on the delivery capacity change coefficient includes any of the following: In the case where there is one type of delivery capacity change coefficient, if the delivery capacity change coefficient is positively correlated with the delivery capacity of the delivery platform, then determine the delivery capacity change coefficient as the order allocation ratio adjustment coefficient; In the case where there is one type of delivery capacity change coefficient, if the delivery capacity change coefficient is negatively correlated with the delivery capacity of the delivery platform, then determine the reciprocal of the delivery capacity change coefficient as the order allocation ratio adjustment coefficient; In the case where there are multiple types of delivery capacity change coefficients, determine the first product of the delivery capacity change coefficients that are positively correlated with the delivery capacity and the second product of the delivery capacity change coefficients that are negatively correlated with the delivery capacity, and determine the ratio of the first product and the second product as the order allocation ratio adjustment coefficient.
5. The method according to claim 1, characterized in that Determining the optimal order allocation ratios of the multiple alternative delivery platforms based on the order allocation ratio adjustment coefficients and the order default allocation ratios of the multiple alternative delivery platforms includes: Based on the order allocation ratio adjustment coefficients and the order default allocation ratios of the multiple alternative delivery platforms, determine the adjusted order allocation ratios of the multiple alternative delivery platforms; For any alternative delivery platform, determine the ratio of the adjusted order allocation ratio of the alternative delivery platform to the sum of the adjusted order allocation ratios of the multiple alternative delivery platforms as the optimal order allocation ratio of the alternative delivery platform.
6. The method according to claim 1, wherein Determining the target delivery platform currently suitable for delivering orders from the multiple alternative delivery platforms based on the optimal order allocation ratios of the multiple alternative delivery platforms and the currently allocated order ratios of the multiple alternative delivery platforms includes: For any alternative delivery platform, based on the currently allocated order ratios of the multiple alternative delivery platforms, determine the newly allocated order ratios of the multiple alternative delivery platforms after allocating the order to be allocated to the alternative delivery platform as a set of order prediction allocation ratios, where different sets of order prediction allocation ratios correspond to different alternative delivery platforms when the order to be allocated is allocated to different alternative delivery platforms; Respectively determine the order optimal allocation ratio sequence composed of the optimal order allocation ratios of the multiple alternative delivery platforms and the multiple order prediction allocation ratio sequences composed of multiple sets of order prediction allocation ratios; Based on the order optimal allocation ratio sequence and the multiple order prediction allocation ratio sequences, determine the target delivery platform currently suitable for delivering orders from the multiple alternative delivery platforms.
7. The method according to claim 6, characterized in that, Determining the target delivery platform currently suitable for delivering orders from the multiple alternative delivery platforms based on the order optimal allocation ratio sequence and the multiple order prediction allocation ratio sequences includes: For any order prediction allocation ratio sequence, determine the similarity between the order prediction allocation ratio sequence and the order optimal allocation ratio sequence; Based on the similarities between the multiple order prediction allocation ratio sequences and the order optimal allocation ratio sequence, determine the target delivery platform currently suitable for delivering orders from the multiple alternative delivery platforms.
8. The method according to claim 7, characterized in that Determining the similarity between the order prediction allocation ratio sequence and the order optimal allocation ratio sequence includes: Determining the difference between the data at the corresponding positions in the order prediction allocation ratio sequence and the order optimal allocation ratio sequence, and determining the similarity between the order prediction allocation ratio sequence and the order optimal allocation ratio sequence based on the difference and the number of alternative delivery platforms.
9. The method according to claim 7, characterized in that, Based on the similarity between the multiple order prediction allocation ratio sequences and the order optimal allocation ratio sequence, determining the target delivery platform suitable for delivering the order currently from the multiple alternative delivery platforms includes: Determining the alternative delivery platform corresponding to the order prediction allocation ratio sequence with the highest similarity to the order optimal allocation ratio sequence as the target delivery platform.
10. A determining device for an order delivery platform, characterized in that, The device includes: An acquisition module, configured to acquire the historical delivery data of multiple alternative delivery platforms in the first time period and the second time period, and acquire the order default allocation ratios preset for the multiple alternative delivery platforms, where the time interval between the end time of the first time period and the current time is greater than the first duration threshold, and the time interval between the end time of the second time period and the current time is less than the second duration threshold; A data determination module, configured to determine the order allocation ratio adjustment coefficients of the multiple alternative delivery platforms based on the historical delivery data of the multiple alternative delivery platforms in the first time period and the second time period; The data determination module is further configured to determine the order optimal allocation ratios of the multiple alternative delivery platforms based on the order allocation ratio adjustment coefficients and the order default allocation ratios; A platform determination module, configured to determine the target delivery platform suitable for delivering the order currently from the multiple alternative delivery platforms based on the order optimal allocation ratios of the multiple alternative delivery platforms and the order already allocated ratios of the current orders of the multiple alternative delivery platforms.
11. A computer device, characterized in that, The computer device includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where when the processor executes the program, the operations performed by the method for determining an order delivery platform according to any one of claims 1 to 9 are implemented.
12. A computer-readable storage medium, characterized in that, A program is stored on the computer-readable storage medium, and the operations performed by the method for determining an order delivery platform according to any one of claims 1 to 9 are executed when the program is executed by the processor.