Order Processing Method, Device, Server, and Storage Medium

By screening capacity objects and orders that meet the conditions, quickly determine target orders and make adjustments, the problem of inefficiency in the existing technology is solved and order processing efficiency is improved.

CN111815094BActive Publication Date: 2025-07-25BEIJING SANKUAI ONLINE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201910295864.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-04-12
Publication Date
2025-07-25
Estimated Expiration
2039-04-12

AI Technical Summary

Technical Problem

The prior art is inefficient when determining the target orders expected to exceed time from many orders in a short time, resulting in excessive burden on the system and inability to deal with the timeout risk in a timely manner.

Method used

By screening capacity objects that meet the first and second adjustment conditions, determining their target orders that meet the third adjustment conditions, and adjusting capacity objects, including selecting suitable alternative capacity objects to process the target order.

Benefits of technology

It improves the efficiency of quickly determining target orders from many orders from multiple capacity targets, reduces the burden of system screening, and improves the order processing efficiency of capacity teams.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111815094B_ABST
    Figure CN111815094B_ABST
Patent Text Reader

Abstract

The present invention discloses an order processing method, apparatus, server and storage medium, belonging to the technical field of computer applications. Embodiments of the present invention can screen out a plurality of first transportation capacity objects from a plurality of transportation capacity objects according to a first adjustment condition and a second adjustment condition, so as to screen out target orders that meet a third adjustment condition from the respective orders of the plurality of first transportation capacity objects. By preliminarily screening the transportation capacity objects to determine the target orders, the target orders can be quickly determined from the numerous orders of the plurality of transportation capacity objects, which can greatly reduce the screening burden of the system, thereby improving the efficiency of adjusting the transportation capacity objects for the target orders and improving the processing efficiency of the entire transportation capacity team for orders.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer application technologies, and particularly relates to an order processing method, apparatus, server, and storage medium. Background Art

[0002] With the rise of takeaway applications, people's lives have become increasingly convenient. Users can place orders through takeaway applications. After the server assigns an order to a delivery object, the delivery object may encounter various uncertain factors during the process of delivering each order, resulting in a risk of order timeout for undelivered orders. Therefore, an order processing method can be used to reassign the orders at risk of timeout to other delivery objects for processing.

[0003] Currently, the commonly used order processing method is as follows: The server obtains each order to which a delivery object has been assigned, determines a target order with a relatively high estimated timeout duration from these orders, determines each alternative delivery object that can still accept orders from other delivery objects, and then assigns the target order to the alternative delivery object with a relatively high total revenue value for processing according to the total revenue value after each alternative delivery object receives the target order.

[0004] Based on the above order processing method, it is necessary to determine a target order with a relatively high estimated timeout duration from each order to which a delivery object has been assigned. Since the number of assigned orders is large, the system burden is heavy, and it is impossible to determine the target order from numerous orders in a short time, which greatly reduces the order processing efficiency. Summary of the Invention

[0005] Embodiments of the present invention provide an order processing method, apparatus, server, and storage medium, which can solve the problem that it is impossible to determine a target order from numerous orders in a short time and the low order processing efficiency. The technical solutions are as follows:

[0006] On the one hand, an order processing method is provided, and the method includes:

[0007] Obtain multiple delivery objects;

[0008] Obtain multiple first delivery objects from the multiple delivery objects, each first delivery object meets a first adjustment condition, and each of the first delivery objects has an order that meets a second adjustment condition;

[0009] Respectively determine multiple target orders from the orders of the multiple first delivery objects, and each target order meets a third adjustment condition;

[0010] Perform delivery object adjustment on the multiple target orders.

[0011] In a possible implementation, obtaining multiple first transportation capacity objects from the multiple transportation capacity objects includes:

[0012] For each transportation capacity object, when the location of the transportation capacity object and the locations of multiple merchants in the order of the transportation capacity object meet the first preset distance condition, and the current time point meets the first preset time condition with respect to the time point of the last completion of resource extraction, the transportation capacity object is taken as an alternative transportation capacity object;

[0013] For each alternative transportation capacity object, when the alternative transportation capacity object has an order meeting the second adjustment condition, the alternative transportation capacity object is taken as a first transportation capacity object.

[0014] In a possible implementation, for each transportation capacity object, when the location of the transportation capacity object and the locations of multiple merchants in the order of the transportation capacity object meet the first preset distance condition, and the current time point meets the first preset time condition with respect to the time point of the last completion of resource extraction, determining the transportation capacity object as an alternative transportation capacity object includes:

[0015] Obtain the location of the transportation capacity object and the locations of multiple merchants in the order of the transportation capacity object. When the minimum distance between the location of the transportation capacity object and the locations of multiple merchants of the transportation capacity object is less than the distance threshold, and the time interval between the current time point and the time point of the last completion of resource extraction is greater than the first interval threshold, the transportation capacity object is taken as the alternative transportation capacity object.

[0016] In a possible implementation, each of the first transportation capacity objects also meets the following conditions:

[0017] The time interval between the time point of the last upload of the location of each first transportation capacity object and the current time point is less than the second interval threshold.

[0018] In a possible implementation, the second adjustment condition includes at least one of the following:

[0019] The order has not completed resource extraction;

[0020] The location of the merchant of the order that has not completed resource extraction and the location of the transportation capacity object meet the second preset distance condition;

[0021] The expected completion time point of the order that has not completed resource extraction meets the third preset time condition with respect to the current time point;

[0022] The expected overtime duration of the order that has not completed resource extraction meets the first preset overtime condition.

[0023] In a possible implementation, the second adjustment condition further includes at least one of the following:

[0024] The order with uncompleted resource extraction has not changed the transportation capacity object;

[0025] The order with uncompleted resource extraction has not been rejected by the first transportation capacity object for replacement.

[0026] In a possible implementation manner, the determining multiple target orders from the orders of the multiple first transportation capacity objects respectively includes:

[0027] For multiple orders of each first transportation capacity object, when removing one order of the first transportation capacity object, the predicted overtime reduction amount of the first transportation capacity object meets the preset reduction amount threshold, and one order of the first transportation capacity object is used as the target order of the first transportation capacity object.

[0028] In a possible implementation manner, the predicted overtime reduction amount is determined according to the predicted overtime order quantity reduction amount and the preset maximum overtime duration reduction amount.

[0029] In a possible implementation manner, the adjusting the transportation capacity object for the multiple target orders includes:

[0030] For each target order, from the multiple transportation capacity objects, obtain a second transportation capacity object, and the predicted loss value of the second transportation capacity object for processing the target order meets the preset loss value condition, and the predicted loss value is used to represent the overtime risk and detour degree of the second transportation capacity object;

[0031] Assign the target order to the second transportation capacity object.

[0032] In a possible implementation manner, the obtaining a second transportation capacity object from the multiple transportation capacity objects for each target order includes:

[0033] For each target order and each transportation capacity object, when the transportation capacity object does not have an order with a predicted overtime duration meeting the second preset overtime condition, and the predicted detour distance of the transportation capacity object for processing the target order meets the preset detour condition, the transportation capacity object is used as the second transportation capacity object.

[0034] On the one hand, an order processing device is provided, and the device includes:

[0035] A first obtaining module, configured to obtain multiple transportation capacity objects;

[0036] A second obtaining module, configured to obtain multiple first transportation capacity objects from the multiple transportation capacity objects, each first transportation capacity object meets the first adjustment condition, and each of the first transportation capacity objects has an order meeting the second adjustment condition;

[0037] A determination module, configured to respectively determine a plurality of target orders from the orders of the plurality of first transport capacity objects, and each target order meets a third adjustment condition;

[0038] An adjustment module, configured to perform an adjustment of the transport capacity object on the plurality of target orders.

[0039] In a possible implementation manner, the second acquisition module includes:

[0040] A first determination unit, configured to, for each transport capacity object, when the position of the transport capacity object and the positions of a plurality of merchants in the order of the transport capacity object meet a first preset distance condition, and the current time point and the time point of the last completion of resource extraction meet a first preset time condition, determine the transport capacity object as an alternative transport capacity object;

[0041] A second determination unit, configured to, for each alternative transport capacity object, when the alternative transport capacity object has an order that meets a second adjustment condition, determine the alternative transport capacity object as the first transport capacity object.

[0042] In a possible implementation manner, the first determination unit is configured to:

[0043] Obtain the position of the transport capacity object and the positions of a plurality of merchants in the order of the transport capacity object. When the minimum distance between the position of the transport capacity object and the merchant position of the transport capacity object is less than a distance threshold, and the time interval between the current time point and the time point of the last completion of resource extraction is greater than a first interval threshold, use the transport capacity object as the alternative transport capacity object.

[0044] In a possible implementation manner, each of the first transport capacity objects further meets the following conditions:

[0045] The time interval between the time point of the last upload of the position of each first transport capacity object and the current time point is less than a second interval threshold.

[0046] In a possible implementation manner, the second adjustment condition includes at least one of the following:

[0047] The order has not completed resource extraction;

[0048] The merchant position of the order that has not completed resource extraction and the position of the transport capacity object meet a second preset distance condition;

[0049] The time point between the estimated completion time point of the order that has not completed resource extraction and the current time point meets a third preset time condition;

[0050] The estimated overtime duration of the order that has not completed resource extraction meets a first preset overtime condition.

[0051] In a possible implementation, the second adjustment condition further includes at least one of the following:

[0052] The order with uncompleted resource extraction has not changed the transportation capacity object.

[0053] The order with uncompleted resource extraction has not been rejected for replacement by the first transportation capacity object.

[0054] In a possible implementation, the determining module is configured to:

[0055] For multiple orders of each first transportation capacity object, when removing one order of the first transportation capacity object, if the predicted overtime reduction amount of the first transportation capacity object meets the preset reduction amount threshold, one order of the first transportation capacity object is used as the target order of the first transportation capacity object.

[0056] In a possible implementation, the predicted overtime reduction amount is determined according to the predicted overtime order number reduction amount and the preset maximum overtime duration reduction amount.

[0057] In a possible implementation, the adjustment module includes:

[0058] An obtaining unit, configured to, for each target order, obtain a second transportation capacity object from the multiple transportation capacity objects, where the predicted loss value of the second transportation capacity object for processing the target order meets the preset loss value condition, and the predicted loss value is used to represent the overtime risk and detour degree of the second transportation capacity object;

[0059] An allocation unit, configured to allocate the target order to the second transportation capacity object.

[0060] In a possible implementation, the obtaining unit is configured to:

[0061] For each target order and each transportation capacity object, when the transportation capacity object does not have an order with a predicted overtime duration meeting the second preset overtime condition, and the predicted detour distance of the transportation capacity object for processing the target order meets the preset detour condition, the transportation capacity object is used as the second transportation capacity object.

[0062] On the one hand, a server is provided, where the server includes one or more processors and one or more memories, and at least one instruction is stored in the one or more memories, and the at least one instruction is loaded and executed by the one or more processors to implement the operations performed by the order processing method in any of the above possible implementation manners.

[0063] On the one hand, a computer-readable storage medium is provided, where at least one instruction is stored in the storage medium, and the instruction is loaded and executed by a processor to implement the operations performed by the order processing method in any of the above possible implementation manners.

[0064] In the embodiment of the present invention, multiple first transportation capacity objects can be screened out from multiple transportation capacity objects according to the first adjustment condition and the second adjustment condition. Thus, target orders that meet the third adjustment condition can be screened out from the orders of the multiple first transportation capacity objects. By the way of initially screening the transportation capacity objects to determine the target orders, the target orders can be determined quickly from the numerous orders of the multiple transportation capacity objects, which can greatly reduce the screening burden of the system, thereby improving the efficiency of adjusting the transportation capacity objects for the target orders and enhancing the processing efficiency of the entire transportation capacity team for the orders. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0066] Figure 1 It is a schematic diagram of the implementation environment of an order processing method provided by an embodiment of the present invention;

[0067] Figure 2 It is a flowchart of an order processing method provided by an embodiment of the present invention;

[0068] Figure 3 It is a flowchart of an order processing method provided by an embodiment of the present invention;

[0069] Figure 4 It is a schematic structural diagram of an order processing device provided by an embodiment of the present invention;

[0070] Figure 5 It is a structural block diagram of a terminal 500 provided by an embodiment of the present invention;

[0071] Figure 6 It is a schematic structural diagram of a server 600 provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0072] To make the objectives, technical solutions, and advantages of the present invention clearer, the following will further describe the embodiments of the present invention in detail in conjunction with the drawings.

[0073] Figure 1 It is a schematic diagram of the implementation environment of an order processing method provided by an embodiment of the present invention. Refer to Figure 1 , in this implementation environment diagram, it includes at least one terminal 101 and a server 102:

[0074] Among them, the at least one terminal 101 can be an electronic device capable of wireless connection or wired connection with the server 102. The electronic device can be a computer, a smart phone, a tablet computer or other electronic devices. An application client can be installed on the at least one terminal 101. The application client can be any client capable of providing order receiving services. For example, the application client can be a takeaway order receiving end, etc. The server 102 is used to provide order processing services. The server 102 can dispatch appropriate transportation capacity objects to process orders. The server 102 can also have at least one database for storing attribute information and order processing information associated with each transportation capacity object, etc. The attribute information can include the location information of each transportation capacity object, etc. The order processing information can include the processed order information and the order information being processed of each transportation capacity object, etc.

[0075] Figure 2 is a flowchart of an order processing method provided by an embodiment of the present invention. Refer to Figure 2 , this embodiment can be applied to a server, and this embodiment includes:

[0076] 201. Obtain a plurality of transportation capacity objects.

[0077] 202. From the plurality of transportation capacity objects, obtain a plurality of first transportation capacity objects. Each first transportation capacity object meets a first adjustment condition, and each of the first transportation capacity objects has an order that meets a second adjustment condition.

[0078] 203. Respectively determine a plurality of target orders from the orders of the plurality of first transportation capacity objects. Each target order meets a third adjustment condition.

[0079] 204. Perform transportation capacity object adjustment on the plurality of target orders.

[0080] In the embodiment of the present invention, according to the first adjustment condition and the second adjustment condition, a plurality of first transportation capacity objects can be screened out from the plurality of transportation capacity objects. Thus, from each order of the plurality of first transportation capacity objects, target orders that meet the third adjustment condition can be screened out. By the way of preliminarily screening transportation capacity objects to determine target orders, the target orders can be quickly determined from the numerous orders of the plurality of transportation capacity objects, which can greatly reduce the screening burden of the system, thereby improving the efficiency of adjusting transportation capacity objects for the target orders and improving the order processing efficiency of the entire transportation capacity team.

[0081] In a possible implementation manner, the obtaining a plurality of first transportation capacity objects from the plurality of transportation capacity objects includes:

[0082] For each transportation capacity object, when the location of the transportation capacity object and the locations of multiple merchants in the order of the transportation capacity object meet the first preset distance condition, and the current time point and the time point of the last completion of resource extraction meet the first preset time condition, determine the transportation capacity object as an alternative transportation capacity object;

[0083] For each alternative transportation capacity object, when the alternative transportation capacity object has an order that meets the second adjustment condition, determine the alternative transportation capacity object as the first transportation capacity object.

[0084] In a possible implementation manner, for each transportation capacity object, when the location of the transportation capacity object and the locations of multiple merchants in the order of the transportation capacity object meet the first preset distance condition, and the current time point and the time point of the last completion of resource extraction meet the first preset time condition, regarding the transportation capacity object as an alternative transportation capacity object includes:

[0085] Obtain the location of the transportation capacity object and the locations of multiple merchants in the order of the transportation capacity object. When the minimum distance between the location of the transportation capacity object and the merchant locations of the transportation capacity object is less than the distance threshold, and the time interval between the current time point and the time point of the last completion of resource extraction is greater than the first interval threshold, regard the transportation capacity object as the alternative transportation capacity object.

[0086] In a possible implementation manner, each of the first transportation capacity objects also meets the following conditions:

[0087] The time interval between the time point when each first transportation capacity object last uploaded its location and the current time point is less than the second interval threshold.

[0088] In a possible implementation manner, the second adjustment condition includes at least one of the following:

[0089] The order has not completed resource extraction;

[0090] The merchant locations of the order that has not completed resource extraction and the location of the transportation capacity object meet the second preset distance condition;

[0091] The time interval between the estimated completion time point of the order that has not completed resource extraction and the current time point meets the third preset time condition;

[0092] The estimated overtime duration of the order that has not completed resource extraction meets the first preset overtime condition.

[0093] In a possible implementation manner, the second adjustment condition further includes at least one of the following:

[0094] The order that has not completed resource extraction has not changed the transportation capacity object;

[0095] The order that has not completed resource extraction has not been rejected for replacement by the first transportation capacity object.

[0096] In a possible implementation, determining multiple target orders from the orders of the multiple first transportation capacity objects respectively includes:

[0097] For multiple orders of each first transportation capacity object, when removing one order of the first transportation capacity object, if the predicted overtime reduction amount of the first transportation capacity object meets a preset reduction amount threshold, use one order of the first transportation capacity object as the target order of the first transportation capacity object.

[0098] In a possible implementation, the predicted overtime reduction amount is determined according to the predicted overtime order number reduction amount and the preset maximum overtime duration reduction amount.

[0099] In a possible implementation, adjusting the transportation capacity objects for the multiple target orders includes:

[0100] For each target order, obtain a second transportation capacity object from the multiple transportation capacity objects, and the predicted loss value of the second transportation capacity object for processing the target order meets a preset loss value condition, and the predicted loss value is used to represent the overtime risk and detour degree of the second transportation capacity object;

[0101] Assign the target order to the second transportation capacity object.

[0102] In a possible implementation, for each target order, obtaining a second transportation capacity object from the multiple transportation capacity objects includes:

[0103] For each target order and each transportation capacity object, when the transportation capacity object does not have an order with a predicted overtime duration meeting a second preset overtime condition, and the predicted detour distance of the transportation capacity object for processing the target order meets a preset detour condition, use the transportation capacity object as the second transportation capacity object.

[0104] All the above optional technical solutions can be combined arbitrarily to form alternative embodiments of the present invention, which will not be elaborated one by one here.

[0105] Figure 3 It is a flowchart of an order processing method provided by an embodiment of the present invention. Refer to Figure 3 , this embodiment includes:

[0106] 301. The server obtains multiple transportation capacity objects.

[0107] In the embodiment of the present invention, the multiple transportation capacity objects are transportation capacity objects that the server can dispatch, and the multiple transportation capacity objects can be used to represent carriers of transportation resources. As an example, the multiple transportation capacity objects can be used to represent riders for delivering takeout items, and each transportation capacity object can correspond to a user identifier.

[0108] 302. The server obtains each alternative capacity object that meets the first adjustment condition from the multiple capacity objects.

[0109] In the embodiment of the present invention, the first adjustment condition is used by the server to screen the multiple capacity objects to obtain each alternative capacity object. As an example, the first adjustment condition may be that the position of a capacity object and the positions of multiple merchants in the order of the capacity object meet the first preset distance condition, and the time point at the current time and the time point when the capacity object last completed resource extraction meet the first preset time condition. Wherein, the position of the capacity object refers to the current position where the capacity object is located, the order of the capacity object refers to the order received by the capacity object, and each order may include detailed information of the items ordered by the user through the Internet. As an example, each order may include the name of the ordered item, the position of the corresponding merchant, and the position of the user, etc. The multiple merchant positions refer to the positions of the merchants in the order received by the capacity object, and the time point when the last resource extraction was completed refers to the time point when the capacity object last reached the position of a merchant in an order.

[0110] In some embodiments, taking the first preset distance condition as the minimum distance between the position of a capacity object and the merchant position of the capacity object being less than the first distance threshold, and the first preset time condition as the time interval between the current time point and the time point when the last resource extraction was completed being greater than the first interval threshold as an example, the process for the server to obtain each alternative capacity object may include the following steps 302A to 302D:

[0111] 302A: The server obtains the position of each capacity object and the positions of multiple merchants in the order of each capacity object in real time.

[0112] In some embodiments, the terminal where each capacity object is located may obtain the position coordinates of each capacity object in real time through the positioning function. The terminal where each capacity object is located may send the position coordinates of each capacity object to the server in real time. The server may receive the position coordinates of each capacity object in real time and store the position coordinates of each capacity object corresponding to the user identifier of each capacity object. The server may determine the order associated with each capacity object, and the server may determine the coordinates of the merchant positions in each order of each capacity object from the orders associated with each capacity object.

[0113] 302B: The server determines the minimum distance between each capacity object and the corresponding merchant according to the distance between the position of each capacity object and the positions of each corresponding merchant of each capacity object.

[0114] Wherein, the minimum distance is the distance between each capacity object and the nearest merchant.

[0115] In some embodiments, the server may calculate the straight-line distance between the position coordinates of each transportation capacity object and the position coordinates of each merchant corresponding to each transportation capacity object, respectively, to obtain the respective straight-line distances corresponding to each transportation capacity object. Further, the server may determine the minimum distance between each transportation capacity object and the corresponding merchant according to the respective straight-line distances. In other embodiments, the server may also obtain the minimum distance between each transportation capacity object and the corresponding merchant in other ways. As an example, the server may determine the shortest route between the position of each transportation capacity object and the positions of each merchant corresponding to each transportation capacity object according to a preset map. The server may calculate the actual distances corresponding to the respective shortest routes, and the server may determine the minimum actual distance from the respective actual distances, and use the minimum actual distance as the minimum distance between each transportation capacity object and the corresponding merchant. The embodiments of the present invention do not limit the manner in which the server determines the minimum distance between each transportation capacity object and the corresponding merchant herein.

[0116] 302C: The server obtains the time interval between the current time point and the time point when each transportation capacity object last completed resource extraction.

[0117] In some embodiments, the server may determine the progress information of each order of each transportation capacity object. The server may obtain the time point when each transportation capacity object last completed resource extraction according to the progress information of each order of each transportation capacity object. The server may calculate the time difference between the current time point and the time point when the resource extraction was last completed, to obtain the time interval between the current time point and the time point when each transportation capacity object last completed resource extraction.

[0118] 302D: The server uses, as alternative transportation capacity objects, those transportation capacity objects among the multiple transportation capacity objects for which the minimum distance is less than the first distance threshold and the time interval is greater than the first interval threshold.

[0119] Wherein, the first distance threshold may be a relatively small distance preset by the server. As an example, the first distance threshold may be 50 m, and the first distance threshold may also be other values, which are not limited herein in the embodiments of the present invention. The first interval threshold may be a relatively short time length preset by the server. As an example, the first interval threshold may be 1 min, and the first interval threshold may also be other time lengths, which are not limited herein in the embodiments of the present invention.

[0120] The above steps 302A to 302D are described by taking the server as an example to obtain each alternative capacity object according to the minimum distance between the position of each capacity object and the merchant position corresponding to each capacity object, and the time interval between the current time point and the time point when each capacity object last completed resource extraction. Through this process, the server can screen out each alternative capacity object that has not extracted resources from the merchant of the received order for a long time and is relatively close to the nearest merchant from multiple capacity objects, so that the server can initially screen out the alternative capacity objects that may have abnormal order processing phenomena. Through this process of screening capacity objects, the scope of orders for the capacity objects to be adjusted can be narrowed, which is beneficial for the server to determine the target orders of the capacity objects to be adjusted. In other embodiments, the server can also obtain each alternative capacity object according to other distance conditions and other time conditions, which are not limited in this embodiment of the present invention.

[0121] The above process is the process for the server to obtain the first capacity object that meets the first adjustment condition from multiple capacity objects. In other embodiments, each alternative capacity object can also meet other adjustment conditions. As an example, each alternative capacity object can also meet the following conditions: the time interval between the time point when each alternative capacity object last uploaded its position and the current time point is less than a second interval threshold. As an example, the second interval threshold can be 2 minutes. Through this process, each alternative capacity object obtained by the server is a currently online capacity object, avoiding the situation that there are capacity objects in a non-working state among the alternative capacity objects obtained by the server. Thus, the server can be prevented from allocating orders to these non-working capacity objects.

[0122] 303. For each alternative capacity object, when the alternative capacity object has an order that meets the second adjustment condition, the server uses the alternative capacity object as the first capacity object.

[0123] In the embodiment of the present invention, the second adjustment condition may include at least one of the following:

[0124] Condition 1: The order has not completed resource extraction.

[0125] Among them, the order not completing resource extraction means that the capacity object has not reached the merchant position in the order.

[0126] Condition 2: The merchant position of the order that has not completed resource extraction and the position of the capacity object meet the second preset distance condition.

[0127] Among them, the second preset distance condition may be that the distances between the merchant locations of the orders with uncompleted resource extraction and the locations of the transportation capacity objects are all greater than a second distance threshold. As an example, the second distance threshold may be 50m, and the second distance threshold may also be other values, which are not limited in the embodiments of the present invention.

[0128] Condition 3: The predicted completion time point of the order with uncompleted resource extraction and the current time point meet the third preset time condition.

[0129] Among them, the third preset time condition may be that the time interval between the predicted completion time point of the order with uncompleted resource extraction and the current time point is greater than a third interval threshold. As an example, the third interval threshold may be 35min, and the third interval threshold may also be other durations, which are not limited in the embodiments of the present invention.

[0130] Condition 4: The predicted overtime duration of the order with uncompleted resource extraction meets the first preset overtime condition.

[0131] Among them, the predicted overtime duration can be used to represent the overtime risk of the corresponding alternative transportation capacity object processing the order with uncompleted resource extraction. The first preset overtime condition may be that the predicted overtime durations are all greater than a first overtime threshold. As an example, the first overtime threshold may be 8min, and the first overtime threshold may also be other durations, which are not limited in the embodiments of the present invention.

[0132] Condition 5: The order with uncompleted resource extraction has not changed the transportation capacity object.

[0133] Condition 6: The order with uncompleted resource extraction has not been rejected for replacement by the first transportation capacity object.

[0134] In some embodiments, the server may, from each alternative transportation capacity object, use the alternative transportation capacity object that meets any number of the above conditions 1 to 6 as the first transportation capacity object. As an example, the process for the server to obtain each first transportation capacity object may include the following steps 303A to 303D:

[0135] 303A: The server may, according to the order progress information of each alternative transportation capacity object, screen out each first alternative transportation capacity object with uncompleted resource extraction from each alternative transportation capacity object.

[0136] 303B: The server may, according to the merchant location of the uncompleted resource extraction order of each first alternative transportation capacity object, the predicted completion time point of the uncompleted resource extraction order, the predicted overtime duration of the order with uncompleted resource extraction, the location of each first alternative transportation capacity object, and the current time point, screen out each second alternative transportation capacity object that meets the above conditions 2 and 3 from each first alternative transportation capacity object.

[0137] In some embodiments, the server can obtain the location of each first alternative transportation capacity object in real time. The server can determine the corresponding merchant locations from the orders for extracting unfinished resources of each first alternative transportation capacity object. The server can perform path planning algorithms such as environmental modeling, path search, and path smoothing based on the current time point, the location of each first alternative transportation capacity object, and the merchant locations of the orders for extracting unfinished resources of each first alternative transportation capacity object, to obtain the optimal path for each first alternative transportation capacity object to process the orders for extracting unfinished resources. The server can obtain the estimated completion time point of the orders for extracting unfinished resources of each first alternative transportation capacity object according to the optimal path and the preset speed. The server can screen out each second alternative transportation capacity object from the first alternative transportation capacity objects that satisfies that the distance between the merchant location of the order for extracting unfinished resources and the location of the first alternative transportation capacity object is greater than the second distance threshold, and the time interval between the estimated completion time point of the order for extracting unfinished resources and the current time point is greater than the third interval threshold.

[0138] 303C: The server can obtain the estimated overtime duration of the orders for extracting unfinished resources of each second alternative transportation capacity object according to the estimated completion time point of the orders for extracting unfinished resources of each second alternative transportation capacity object and the promised duration of the orders for extracting unfinished resources. The server can screen out each third alternative transportation capacity object that meets the above condition 4 from the second alternative transportation capacity objects.

[0139] In some embodiments, the server can determine the promised completion time point of the merchant of the orders for extracting unfinished resources of each second alternative transportation capacity object. The server can use the duration between the estimated completion time point and the corresponding promised completion time point as the estimated overtime duration of the orders for extracting unfinished resources of each second alternative transportation capacity object. The server can screen out each third alternative transportation capacity object from the second alternative transportation capacity objects that satisfies that the estimated overtime duration of the orders for extracting unfinished resources is greater than the first overtime threshold.

[0140] 303D: The server can screen out each first transportation capacity object that meets the above condition 5 and condition 6 from the third alternative transportation capacity objects according to the replacement situation of the transportation capacity object of the orders for extracting unfinished resources of each third alternative transportation capacity object.

[0141] In some embodiments, for each third alternative transportation capacity object, the server may obtain the change records of the transportation capacity objects of each order with uncompleted resource extraction for each such third alternative transportation capacity object. The server may, based on the change records, screen out, from among each of the third alternative transportation capacity objects, each first transportation capacity object that has no record of replacing the transportation capacity object and no record of being rejected from replacing the transportation capacity object. The change record is used to store information such as the number of times the transportation capacity object of the order is replaced and whether the order is successfully replaced.

[0142] The above steps 303A to 303D are the process by which the server obtains each first transportation capacity object from among each alternative transportation capacity object according to the above conditions 1 to 6. Through this process, the server can obtain the first transportation capacity object of the order with uncompleted resource extraction, and the distance from this first transportation capacity object to each corresponding merchant is relatively far, and the order of this first transportation capacity object has never been reassigned and has never been rejected from being reassigned by the first transportation capacity object, so that the first transportation capacity object has an order for which the transportation capacity object can be replaced. That is, through the above step 303, the server can narrow down the scope of determining the order for which the transportation capacity object can be replaced, reduce the burden on the system, and greatly improve the processing efficiency of the server for orders. In other embodiments, the server may also obtain each first transportation capacity object from among each alternative transportation capacity object in other ways, and the embodiments of the present invention do not limit this here.

[0143] It should be noted that each first transportation capacity object determined through the above steps 302 to 303 is used for the subsequent server to determine the target order for which the transportation capacity object needs to be replaced from the orders of each of these first transportation capacity objects, and the subsequent server may not determine the transportation capacity object for processing the target order based on each of these first transportation capacity objects.

[0144] 304. For multiple orders of each first transportation capacity object, when removing one order of the first transportation capacity object, if the predicted overtime reduction amount of the first transportation capacity object meets the preset reduction amount threshold, the server takes one order of the first transportation capacity object as the target order of the first transportation capacity object.

[0145] In the embodiments of the present invention, the predicted overtime reduction amount of the first transportation capacity object is used to represent the overall overtime reduction degree of the first transportation capacity object after removing the one order. The predicted overtime reduction amount can be determined based on the predicted overtime order reduction amount and the preset maximum overtime duration reduction amount. The target order of the first transportation capacity object is the order for which the transportation capacity object is to be replaced. In some embodiments, the process by which the server determines the target order of the first transportation capacity object may include the following steps 304A to 304D:

[0146] 304A: For multiple orders of each first transportation capacity object, the server obtains the first estimated number of overdue orders and the first maximum overdue duration of each first transportation capacity object.

[0147] In some embodiments, the server may perform path planning algorithms such as environmental modeling, path search, and path smoothing based on the merchant locations of the respective orders of each first transportation capacity object and the location of each first transportation capacity object to obtain the optimal path for each first transportation capacity object to process the respective orders. The server may obtain the estimated completion time points of the respective orders of each first transportation capacity object based on the optimal path and a preset speed. The server may obtain the first estimated number of overdue orders of each first transportation capacity object and the overdue durations of the respective orders based on the respective estimated completion time points and the promised completion time points of the corresponding merchants. The server may determine the first maximum overdue duration based on the overdue durations of the respective orders of each first transportation capacity object. In other embodiments, the server may also obtain the first estimated number of overdue orders and the first maximum overdue duration of each first transportation capacity object in other ways, which are not limited in the embodiments of the present invention.

[0148] 304B: After the server removes one order of each first transportation capacity object, it obtains the second estimated number of overdue orders and the second maximum overdue duration of each first transportation capacity object.

[0149] Similar to step 304A above, the server may obtain the second estimated number of overdue orders and the second maximum overdue duration of each first transportation capacity object after removing one order of each first transportation capacity object, which are not elaborated one by one in the embodiments of the present invention.

[0150] 304C: The server obtains the reduction amount of the estimated number of overdue orders and the reduction amount of the estimated maximum overdue duration of each first transportation capacity object based on the first estimated number of overdue orders, the first maximum overdue duration, the second estimated number of overdue orders, and the second maximum overdue duration.

[0151] In some embodiments, the server may use the difference between the first estimated number of overdue orders and the second estimated number of overdue orders as the reduction amount of the estimated number of overdue orders of each first transportation capacity object, and may use the difference between the first maximum overdue duration and the second maximum overdue duration as the reduction amount of the estimated maximum overdue duration of each first transportation capacity object. In other embodiments, the server may also obtain the reduction amount of the estimated number of overdue orders and the reduction amount of the estimated maximum overdue duration of each first transportation capacity object in other ways, which are not limited in the embodiments of the present invention.

[0152] 304D: The server obtains the estimated reduction amount of overdue for each first transportation capacity object based on the reduction amount of the estimated number of overdue orders and the reduction amount of the estimated maximum overdue duration. The server uses the orders whose estimated reduction amount of overdue meets the preset reduction amount threshold as the target orders of each first transportation capacity object.

[0153] In some embodiments, the server may obtain the predicted timeout reduction amount of each first transportation capacity object according to the following formula:

[0154] X = m×N + T

[0155] Wherein, X represents the predicted timeout reduction amount of each first transportation capacity object, N represents the predicted reduction amount of the number of timeout orders of each first transportation capacity object, T represents the predicted maximum timeout duration reduction amount of each first transportation capacity object, and m can be any positive integer. As an example, m can be 6, and the embodiments of the present invention do not limit the value of m here.

[0156] In some embodiments, the server may determine whether the predicted timeout reduction amount of each first transportation capacity object exceeds the reduction amount threshold after removing an order. If it exceeds, the server may use the order as the target order for each first transportation capacity object. In other embodiments, the server may also use the order corresponding to the predicted timeout reduction amount exceeding the reduction amount threshold as an alternative order, and the server may use any one of the alternative orders as the target order for each first transportation capacity object. In other embodiments, the server may also use the order corresponding to the maximum predicted timeout reduction amount of each first transportation capacity object as the target order for each first transportation capacity object. The embodiments of the present invention do not limit the specific manner for the server to determine the target order here.

[0157] The above steps 304A to 304D are the process for the server to determine the target order from the orders of each first transportation capacity object according to the predicted timeout reduction amount after removing one order from each first transportation capacity object. Through this process, the server can obtain the target order with a larger reduction amount of timeout risk from each order of each first transportation capacity object, so that after replacing the transportation capacity object of the target order subsequently, the overall reduction degree of timeout risk can be greater, and thus, the order processing efficiency of the entire transportation capacity team can be improved.

[0158] 305. For each target order and each transportation capacity object, when the transportation capacity object does not have an order with a predicted timeout duration meeting the second preset timeout condition, and the predicted detour distance for the transportation capacity object to process the target order meets the preset detour condition, the server uses the transportation capacity object as the second transportation capacity object.

[0159] In an embodiment of the present invention, each transportation capacity object may be the transportation capacity object obtained by the server in step 301. The second preset timeout condition may be that the expected timeout duration is greater than the second timeout threshold. The expected detour distance may be used to represent the degree of detour of the transportation capacity object for processing the target order and each received order. As an example, the expected detour distance may be the total detour distance of all orders of each transportation capacity object caused by processing one target order obtained by the server. The preset detour condition may be used to represent that the expected detour distance is less than the detour threshold. The embodiment of the present invention does not limit the second preset timeout condition and the preset detour condition herein.

[0160] In some embodiments, the process of the server determining the second transportation capacity object may include the following steps 305A to 305C:

[0161] 305A: For a target order, the server obtains the expected timeout duration of each order of each transportation capacity object after processing the target order.

[0162] In some embodiments, the server may perform path planning algorithms such as environmental modeling, path search, and path smoothing based on the merchant locations of each received order of each transportation capacity object and the merchant location of the target order to obtain the optimal path. According to the optimal path, the server may obtain the expected completion time points of each transportation capacity object for processing the target order and each received order. The service may obtain the expected timeout duration of each transportation capacity object for processing the target order and each received order based on each expected completion time point and the promised completion time of the corresponding merchant.

[0163] 305B: The server obtains the expected detour distance of each transportation capacity object for processing the target order according to the length of the first path of each transportation capacity object before processing the target order and the length of the second path of each transportation capacity object after processing the target order.

[0164] Wherein, the first path refers to the optimal path of each transportation capacity object for processing each received order, and the second path refers to the optimal path of each transportation capacity object for processing the target order and each received order.

[0165] In some embodiments, the server may perform route planning based on the merchant locations of each received order of each transportation capacity object to obtain the length of the first route. The server may also perform route planning based on the merchant locations of each received order of each transportation capacity object and the merchant location of the one target order to obtain the length of the second route. The server may use the difference between the length of the first route and the length of the second route as the estimated detour distance for each transportation capacity object to process the one target order. In other embodiments, the server may also obtain the estimated detour distance for each transportation capacity object to process the one target order through other means, which is not limited in the embodiments of the present invention.

[0166] 305C: When each of the estimated overtime durations meets the second preset overtime condition, and the estimated detour distance meets the preset detour condition, the server designates the corresponding transportation capacity object as the second transportation capacity object.

[0167] In some embodiments, for a transportation capacity object, when the server determines that each of the estimated overtime durations of the first transportation capacity object is greater than zero, and the ratio of the estimated detour distance to the length of the first route is less than the preset threshold, the server may designate the one transportation capacity object as the second transportation capacity object. As an example, the preset threshold may be 0.75. In other embodiments, the server may also obtain the second transportation capacity object through other preset overtime conditions and preset detour conditions, which is not limited in the embodiments of the present invention.

[0168] The above steps 305A to 305C are the process of determining one second transportation capacity object according to one target order. Similarly, the server may determine multiple second transportation capacity objects corresponding to the multiple target orders according to the multiple target orders.

[0169] The above step 305 is the process of obtaining one second transportation capacity object from the multiple transportation capacity objects for each target order. Through this process, the server can determine the second transportation capacity object that has no overtime risk and can process the target order on the way from the multiple transportation capacity objects. Thus, after the server assigns the target order to the second transportation capacity object, the order processing efficiency of the entire transportation capacity team can be improved.

[0170] 306. The server assigns the target order to the second transportation capacity object.

[0171] The above steps 305 to 306 are the process of the server adjusting the transportation capacity objects for multiple target orders. Through this process, the server can assign the target orders with overtime risk to the second transportation capacity objects that have no overtime risk orders and can process the target orders on the way, thereby improving the order processing efficiency of the entire transportation capacity team.

[0172] Any combination of the above optional technical solutions can form an optional embodiment of the present invention, which will not be elaborated here one by one.

[0173] In the embodiment of the present invention, multiple first transportation capacity objects can be screened out from multiple transportation capacity objects according to a first adjustment condition and a second adjustment condition. Then, target orders that meet a third adjustment condition can be screened out from the orders of the multiple first transportation capacity objects. By initially screening the transportation capacity objects to determine the target orders, the target orders can be quickly determined from the numerous orders of multiple transportation capacity objects, which can greatly reduce the screening burden of the system, thereby improving the efficiency of adjusting the transportation capacity objects for the target orders and the overall order processing efficiency of the entire transportation capacity team. Further, the embodiment of the present invention can reduce the number of overtime orders, improve the overall scheduling effect of the transportation capacity team, and respond more quickly to orders with the risk of overtime. When the probability of the user looking at the mobile phone is high, a transportation capacity object adjustment message can be sent to the user's terminal, enabling the user to respond to the adjustment message in a timely manner. In addition, the embodiment of the present invention can also screen multiple transportation capacity objects according to the status of the transportation capacity objects, avoiding the system burden caused by performing path planning on all of the multiple transportation capacity objects.

[0174] Figure 4 It is a schematic structural diagram of an order processing device provided by an embodiment of the present invention. Refer to Figure 4 This embodiment includes: a first acquisition module 401, a second acquisition module 402, a determination module 403, and an adjustment module 404.

[0175] The first acquisition module 401 is configured to acquire multiple transportation capacity objects;

[0176] The second acquisition module 402 is configured to acquire multiple first transportation capacity objects from the multiple transportation capacity objects. Each first transportation capacity object meets the first adjustment condition, and each first transportation capacity object has an order that meets the second adjustment condition;

[0177] The determination module 403 is configured to respectively determine multiple target orders from the orders of the multiple first transportation capacity objects. Each target order meets the third adjustment condition;

[0178] The adjustment module 404 is configured to adjust the transportation capacity objects for the multiple target orders.

[0179] Embodiments of the present invention can screen out a plurality of first transportation capacity objects from a plurality of transportation capacity objects according to a first adjustment condition and a second adjustment condition, and thus can screen out target orders that meet a third adjustment condition from each order of the plurality of first transportation capacity objects. By initially screening the transportation capacity objects to determine the target orders, the target orders can be quickly determined from numerous orders of a plurality of transportation capacity objects, which can greatly reduce the screening burden of the system, thereby improving the efficiency of adjusting the transportation capacity objects for the target orders and improving the processing efficiency of the entire transportation capacity team for the orders.

[0180] In a possible implementation manner, the second obtaining module 402 includes:

[0181] A first determining unit, configured to, for each transportation capacity object, when the position of the transportation capacity object and the positions of a plurality of merchants in the order of the transportation capacity object meet a first preset distance condition, and the current time point and the time point of the last resource extraction meet a first preset time condition, determine the transportation capacity object as an alternative transportation capacity object;

[0182] A second determining unit, configured to, for each alternative transportation capacity object, when the alternative transportation capacity object has an order that meets the second adjustment condition, determine the alternative transportation capacity object as the first transportation capacity object.

[0183] In a possible implementation manner, the first determining unit is configured to:

[0184] Obtain the position of the transportation capacity object and the positions of a plurality of merchants in the order of the transportation capacity object. When the minimum distance between the position of the transportation capacity object and the merchant position of the transportation capacity object is less than a distance threshold, and the time interval between the current time point and the time point of the last resource extraction is greater than a first interval threshold, use the transportation capacity object as the alternative transportation capacity object.

[0185] In a possible implementation manner, each of the first transportation capacity objects further meets the following conditions:

[0186] The time interval between the time point of the last position upload of each first transportation capacity object and the current time point is less than a second interval threshold.

[0187] In a possible implementation manner, the second adjustment condition includes at least one of the following:

[0188] The order has not completed resource extraction;

[0189] The merchant position of the order that has not completed resource extraction and the position of the transportation capacity object meet a second preset distance condition;

[0190] The time interval between the predicted completion time point of the order that has not completed resource extraction and the current time point meets a third preset time condition;

[0191] The estimated overtime duration of the order with unfinished resource extraction meets the first preset overtime condition.

[0192] In a possible implementation manner, the second adjustment condition further includes at least one of the following:

[0193] The order with unfinished resource extraction has not changed the transportation capacity object;

[0194] The order with unfinished resource extraction has not been refused to be replaced by the first transportation capacity object.

[0195] In a possible implementation manner, the determining module 403 is configured to:

[0196] For multiple orders of each first transportation capacity object, when removing one order of the first transportation capacity object, the estimated overtime reduction amount of the first transportation capacity object meets the preset reduction amount threshold, and one order of the first transportation capacity object is used as the target order of the first transportation capacity object.

[0197] In a possible implementation manner, the estimated overtime reduction amount is determined according to the estimated overtime order number reduction amount and the preset maximum overtime duration reduction amount.

[0198] In a possible implementation manner, the adjustment module 404 includes:

[0199] An obtaining unit, configured to, for each target order, obtain a second transportation capacity object from the multiple transportation capacity objects, where the estimated loss value of the second transportation capacity object for processing the target order meets the preset loss value condition, and the estimated loss value is used to represent the overtime risk and detour degree of the second transportation capacity object;

[0200] An allocation unit, configured to allocate the target order to the second transportation capacity object.

[0201] In a possible implementation manner, the obtaining unit is configured to:

[0202] For each target order and each transportation capacity object, when the transportation capacity object does not have an order with an estimated overtime duration meeting the second preset overtime condition, and the estimated detour distance of the transportation capacity object for processing the target order meets the preset detour condition, the transportation capacity object is used as the second transportation capacity object.

[0203] It should be noted that when the order processing device provided in the above embodiments processes orders, only the division of the above functional modules is used for illustration. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the server is divided into different functional modules to complete all or part of the functions described above. In addition, the order processing device provided in the above embodiments and the order processing method embodiments belong to the same concept. For the specific implementation process, please refer to the method embodiments and will not be elaborated here.

[0204] Figure 5 It is a structural block diagram of a terminal 500 provided by an embodiment of the present invention. The terminal 500 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 (Moving Picture Experts Group Audio Layer IV) player, a notebook computer, or a desktop computer. The terminal 500 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.

[0205] Generally, the terminal 500 includes: a processor 501 and a memory 502.

[0206] The processor 501 may include one or more processing cores, such as a 4-core processor or an 8-core processor. The processor 501 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 501 may also include a main processor and a coprocessor. The main processor is a processor used to process data in the wake state, also known as the CPU (Central Processing Unit); the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor 501 may be integrated with a GPU (Graphics Processing Unit), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 501 may further include an AI (Artificial Intelligence) processor, and the AI processor is used to process computational operations related to machine learning.

[0207] The memory 502 may include one or more computer-readable storage media, which may be non-transitory. The memory 502 may also include high-speed random access memory, as well as non-volatile memory, such as one or more disk storage devices and flash storage devices. In some embodiments, the non-transitory computer-readable storage media in the memory 502 is used to store at least one instruction for being executed by the processor 501 to implement the order processing method provided in the method embodiments of the present invention.

[0208] In some embodiments, the terminal 500 may further optionally include: a peripheral device interface 503 and at least one peripheral device. The processor 501, the memory 502, and the peripheral device interface 503 may be connected through a bus or signal lines. Each peripheral device may be connected to the peripheral device interface 503 through a bus, signal lines, or a circuit board. Specifically, the peripheral device includes at least one of a radio frequency circuit 504, a display screen 505, a camera 506, an audio circuit 507, a positioning component 508, and a power supply 509.

[0209] The peripheral device interface 503 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 501 and the memory 502. In some embodiments, the processor 501, the memory 502, and the peripheral device interface 503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 501, the memory 502, and the peripheral device interface 503 may be implemented on a separate chip or circuit board, and the present embodiment does not limit this.

[0210] The radio frequency circuit 504 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 504 communicates with a communication network and other communication devices through electromagnetic signals. The radio frequency circuit 504 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 504 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so on. The radio frequency circuit 504 may communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: a metropolitan area network, each generation of mobile communication networks (2G, 3G, 4G, and 5G), a wireless local area network, and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 504 may further include a circuit related to NFC (Near Field Communication), and the present invention does not limit this.

[0211] The display screen 505 is used to display the UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 505 is a touch display screen, the display screen 505 also has the ability to collect touch signals on or above the surface of the display screen 505. The touch signal can be input to the processor 501 as a control signal for processing. At this time, the display screen 505 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there can be one display screen 505, which is provided on the front panel of the terminal 500; in other embodiments, there can be at least two display screens 505, which are respectively provided on different surfaces of the terminal 500 or are in a foldable design; in still other embodiments, the display screen 505 can be a flexible display screen, which is provided on the curved surface or the folding surface of the terminal 500. Even more, the display screen 505 can also be set to an irregular non-rectangular shape, that is, an irregular-shaped screen. The display screen 505 can be prepared using materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0212] The camera module 506 is used to collect images or videos. Optionally, the camera module 506 includes a front camera and a rear camera. Generally, the front camera is provided on the front panel of the terminal, and the rear camera is provided on the back of the terminal. In some embodiments, there are at least two rear cameras, which are respectively any one of a main camera, a depth-of-field camera, a wide-angle camera, and a telephoto camera, so as to implement functions such as the combination of the main camera and the depth-of-field camera to achieve the background blurring function, the combination of the main camera and the wide-angle camera to achieve panoramic shooting and VR (Virtual Reality) shooting functions, or other combined shooting functions. In some embodiments, the camera module 506 can also include a flash. The flash can be a single-color-temperature flash or a two-color-temperature flash. A two-color-temperature flash refers to the combination of a warm-light flash and a cold-light flash, which can be used for light compensation under different color temperatures.

[0213] The audio circuit 507 may include a microphone and a speaker. The microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals for input to the processor 501 for processing, or input to the radio frequency circuit 504 to achieve voice communication. For the purpose of stereo collection or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 500. The microphone may also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert the electrical signal from the processor 501 or the radio frequency circuit 504 into sound waves. The speaker may be a traditional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for uses such as ranging. In some embodiments, the audio circuit 507 may further include a headphone jack.

[0214] The positioning component 508 is used to locate the current geographical location of the terminal 500 to achieve navigation or LBS (Location Based Service). The positioning component 508 may be a positioning component based on the GPS (Global Positioning System) of the United States, the Beidou system of China, the GLONASS system of Russia, or the Galileo system of the European Union.

[0215] The power supply 509 is used to supply power to each component in the terminal 500. The power supply 509 may be alternating current, direct current, a disposable battery or a rechargeable battery. When the power supply 509 includes a rechargeable battery, the rechargeable battery may support wired charging or wireless charging. The rechargeable battery may also be used to support fast charging technology.

[0216] In some embodiments, the terminal 500 further includes one or more sensors 510. The one or more sensors 510 include but are not limited to: an acceleration sensor 511, a gyroscope sensor 512, a pressure sensor 513, a fingerprint sensor 514, an optical sensor 515, and a proximity sensor 516.

[0217] The acceleration sensor 511 can detect the magnitudes of accelerations on the three coordinate axes of the coordinate system established with the terminal 500. For example, the acceleration sensor 511 can be used to detect the components of the gravitational acceleration on the three coordinate axes. The processor 501 can control the display screen 505 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 511. The acceleration sensor 511 can also be used for collecting game or user movement data.

[0218] The gyroscope sensor 512 can detect the body direction and rotation angle of the terminal 500. The gyroscope sensor 512 can cooperate with the acceleration sensor 511 to collect the 3D actions of the user on the terminal 500. Based on the data collected by the gyroscope sensor 512, the processor 501 can implement the following functions: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

[0219] The pressure sensor 513 can be disposed on the side frame of the terminal 500 and / or the lower layer of the display screen 505. When the pressure sensor 513 is disposed on the side frame of the terminal 500, it can detect the holding signal of the user on the terminal 500, and the processor 501 can perform left / right hand recognition or quick operation according to the holding signal collected by the pressure sensor 513. When the pressure sensor 513 is disposed on the lower layer of the display screen 505, the processor 501 can control the operable controls on the UI interface according to the pressure operation of the user on the display screen 505. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.

[0220] The fingerprint sensor 514 is used to collect the fingerprint of the user. The processor 501 can identify the user's identity according to the fingerprint collected by the fingerprint sensor 514, or the fingerprint sensor 514 can identify the user's identity according to the collected fingerprint. When the identified user identity is a trusted identity, the processor 501 authorizes the user to perform relevant sensitive operations, and the sensitive operations include unlocking the screen, viewing encrypted information, downloading software, making payments, and changing settings, etc. The fingerprint sensor 514 can be disposed on the front, back, or side of the terminal 500. When there are physical buttons or manufacturer logos on the terminal 500, the fingerprint sensor 514 can be integrated with the physical buttons or manufacturer logos.

[0221] The optical sensor 515 is used to collect the ambient light intensity. In one embodiment, the processor 501 can control the display brightness of the display screen 505 according to the ambient light intensity collected by the optical sensor 515. Specifically, when the ambient light intensity is high, the display brightness of the display screen 505 is increased; when the ambient light intensity is low, the display brightness of the display screen 505 is decreased. In another embodiment, the processor 501 can also dynamically adjust the shooting parameters of the camera module 506 according to the ambient light intensity collected by the optical sensor 515.

[0222] The proximity sensor 516, also known as a distance sensor, is typically disposed on the front panel of the terminal 500. The proximity sensor 516 is used to collect the distance between the user and the front of the terminal 500. In one embodiment, when the proximity sensor 516 detects that the distance between the user and the front of the terminal 500 is gradually decreasing, the processor 501 controls the display screen 505 to switch from the lit state to the off state; when the proximity sensor 516 detects that the distance between the user and the front of the terminal 500 is gradually increasing, the processor 501 controls the display screen 505 to switch from the off state to the lit state.

[0223] Those skilled in the art can understand that Figure 5 the structure shown in does not constitute a limitation on the terminal 500, and may include more or fewer components than shown in the figure, or combine some components, or adopt different component arrangements.

[0224] Figure 6 FIG. is a schematic structural diagram of a server 600 provided by an embodiment of the present invention. The server 600 may vary greatly due to different configurations or performances, and may include one or more CPUs (central processing units, processors) 601 and one or more memories 602. Among them, at least one instruction is stored in the memory 602, and the at least one instruction is loaded and executed by the processor 601 to implement the order processing method provided by each of the above method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input / output interface for input / output. The server may also include other components for implementing the functions of the device, which will not be elaborated here.

[0225] In an exemplary embodiment, a computer-readable storage medium is also provided, such as a memory including instructions, and the above instructions can be executed by a processor in the terminal to complete the order processing method in the above embodiments. For example, the computer-readable storage medium may be a ROM (Read-Only Memory), a RAM (Random Access Memory), a CD-ROM (Compact Disc Read-Only Memory), a magnetic tape, a floppy disk, and an optical data storage device, etc.

[0226] Those of ordinary skill in the art can understand that all or part of the steps of implementing the above embodiments can be completed by hardware, or can be completed by a program instructing relevant hardware. The above program can be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk, or an optical disk, etc.

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

Claims

1. An order processing method, characterized in that, The method includes: Obtaining a plurality of transportation capacity objects; From the plurality of transportation capacity objects, obtaining a plurality of first transportation capacity objects, each first transportation capacity object having an order that meets the second adjustment condition; Respectively determining a plurality of target orders from the orders of the plurality of first transportation capacity objects; performing transportation capacity object adjustment on the plurality of target orders; The obtaining a plurality of first transportation capacity objects from the plurality of transportation capacity objects includes: for each transportation capacity object, when the position of the transportation capacity object and the positions of a plurality of merchants in the order of the transportation capacity object meet the first preset distance condition, and the current time point and the time point of the last resource extraction meet the first preset time condition, determining the transportation capacity object as an alternative transportation capacity object; For each alternative transportation capacity object, when the alternative transportation capacity object has an order that meets the second adjustment condition, determining the alternative transportation capacity object as a first transportation capacity object; determining the transportation capacity object as an alternative transportation capacity object includes: obtaining the position of the transportation capacity object and the positions of a plurality of merchants in the order of the transportation capacity object, when the minimum distance between the position of the transportation capacity object and the positions of the plurality of merchants of the transportation capacity object is less than the distance threshold, and the time interval between the current time point and the time point of the last resource extraction is greater than the first interval threshold, taking the transportation capacity object as the alternative transportation capacity object; Each of the first transportation capacity objects also meets the following conditions: The time interval between the time point of the last upload of the position of each first transportation capacity object and the current time point is less than the second interval threshold; the second adjustment condition includes at least one of the following: The order has not completed resource extraction; the merchant position of the order that has not completed resource extraction and the position of the transportation capacity object meet the second preset distance condition; the estimated completion time point of the order that has not completed resource extraction and the current time point meet the third preset time condition; the estimated overtime duration of the order that has not completed resource extraction meets the first preset overtime condition; The respectively determining a plurality of target orders from the orders of the plurality of first transportation capacity objects includes: for the plurality of orders of each first transportation capacity object, when removing one order of each first transportation capacity object, the estimated overtime reduction amount of each first transportation capacity object meets the preset reduction amount threshold, taking one order of each first transportation capacity object as the target order of each first transportation capacity object.

2. The method according to claim 1, wherein The second adjustment condition also includes at least one of the following: The order that has not completed resource extraction has not changed the transportation capacity object; The order that has not completed resource extraction has not been rejected by the first transportation capacity object for replacement.

3. The method according to claim 1, wherein The estimated overtime reduction amount is determined according to the estimated overtime order reduction amount and the preset maximum overtime duration reduction amount.

4. The method according to claim 1, wherein The performing transportation capacity object adjustment on the plurality of target orders includes: For each target order, obtaining a second transportation capacity object from the plurality of transportation capacity objects, the estimated loss value of the second transportation capacity object for processing the target order meets the preset loss value condition, and the estimated loss value is used to represent the overtime risk and detour degree of the second transportation capacity object; Assigning the target order to the second transportation capacity object.

5. The method according to claim 4, wherein For each target order, obtaining a second transportation capacity object from the multiple transportation capacity objects includes: For each target order and each transportation capacity object, when the transportation capacity object does not have an order with an expected overtime duration meeting the second preset overtime condition, and the expected detour distance for the transportation capacity object to process the target order meets the preset detour condition, the transportation capacity object is used as the second transportation capacity object.

6. A server, characterized in that, The server includes one or more processors and one or more memories. At least one instruction is stored in the one or more memories, and the instruction is loaded and executed by the one or more processors to implement the operations performed by the order processing method according to any one of claims 1 to 5.

7. A computer-readable storage medium, characterized in that, At least one instruction is stored in the storage medium, and the instruction is loaded and executed by a processor to implement the operations performed by the order processing method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Order monitoring method and device

    CN105719109A

  • Method, apparatus, and system for scheduling logistic resources

    US20190026691A1