Task execution method and device, electronic equipment and computer readable medium

By introducing an order allocation application template with task backlog threshold and order personalized allocation configuration information in the order allocation system, the problem of inefficient order allocation in the prior art is solved, and personalized allocation and efficient picking are achieved.

CN120146414APending Publication Date: 2025-06-13BEIJING JINGDONG QIANSHITECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311705134.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-12
Publication Date
2025-06-13

AI Technical Summary

Technical Problem

The prior art cannot effectively meet the personalized allocation needs of different periods when order allocation is distributed, resulting in inefficient order allocation.

Method used

By determining the applicable template for order allocation corresponding to the current moment, including task backlog threshold and order personalized allocation configuration information, perform order allocation, generate picking task information, and perform picking tasks.

Benefits of technology

It realizes personalized distribution of orders, improves order allocation efficiency and picking efficiency, and meets the allocation needs of different periods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120146414A_ABST
    Figure CN120146414A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a task execution method and device, electronic equipment and a computer readable medium. According to one specific embodiment, the method comprises the steps that a first order allocation applicable template corresponding to the current moment is determined, and the first order allocation applicable template comprises a task backlog threshold value; in response to determining that the number of the currently executed tasks is smaller than a task backlog threshold value, executing order allocation corresponding to at least one order at the current moment according to order personalized allocation configuration information included in the first order allocation applicable template, so as to obtain order allocation information; in response to determining that the order allocation information represents that the at least one order is taken as the same order picking task order, generating order picking task information for the at least one order; and executing a picking task for the picking task information. The implementation mode is related to order allocation, personalized allocation of orders can be realized by utilizing the first order allocation applicable template, and the order allocation efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of computer technologies, and particularly to a task execution method, apparatus, electronic device, and computer-readable medium. Background Art

[0002] Currently, after an order is issued to a warehouse, in order to centralize picking and improve picking efficiency, orders are often batch-allocated to generate picking tasks. For order allocation, the commonly adopted method is to implement order allocation according to a pre-generated order allocation rule.

[0003] However, the inventors have found that when the above method is used to allocate orders, the following technical problems often exist:

[0004] The order allocation rule cannot effectively meet the personalized allocation requirements at different time periods, resulting in low order allocation efficiency.

[0005] The above information disclosed in this background art section is only used to enhance the understanding of the background of the inventive concept, and thus, it may include information that does not form the prior art known to those of ordinary skill in the art in this country. Summary of the Invention

[0006] The content part of the present disclosure is used to briefly introduce concepts that will be described in detail in the following detailed implementation part. The content part of the present disclosure is not intended to identify the key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.

[0007] Some embodiments of the present disclosure propose a task execution method, apparatus, electronic device, computer-readable medium, and program product to solve the technical problems mentioned in the above background art section.

[0008] In a first aspect, some embodiments of the present disclosure provide a task execution method, including: determining a first order allocation applicable template corresponding to the current moment, where the first order allocation applicable template includes: a task backlog threshold; in response to determining that the number of tasks currently being executed is less than the task backlog threshold, performing order allocation for at least one order corresponding to the current moment according to the order personalized allocation configuration information included in the first order allocation applicable template to obtain order allocation information; in response to determining that the order allocation information indicates that the at least one order is an order for the same picking task, generating picking task information for the at least one order; and performing a picking task for the picking task information.

[0009] Optionally, the above task backlog threshold includes: a picking task backlog threshold and a verification task backlog threshold, and the above current execution tasks include: picking tasks and verification tasks; and in response to determining that the number of tasks of the current execution task is less than the above task backlog threshold, according to the order personalized allocation configuration information included in the above first order allocation applicable template, perform the order allocation for at least one order corresponding to the current moment, including: in response to determining that the number of picking tasks of the above picking task is less than the above picking task backlog threshold and the number of verification tasks of the above verification task is less than the above verification task backlog threshold, according to the above order personalized allocation configuration information, perform the order allocation for at least one order corresponding to the current moment.

[0010] Optionally, the above order personalized allocation configuration information includes: the specified number of orders for picking and the single-item and single-piece configuration information; and according to the order personalized allocation configuration information included in the above first order allocation applicable template, perform the order allocation for at least one order corresponding to the current moment to obtain order allocation information, including: determining whether there is a historical set of orders to be allocated corresponding to the historical moment sequence, and determining whether the current moment is within the configuration time corresponding to the above single-item and single-piece configuration information; in response to determining that there is a historical set of orders to be allocated and the current moment is not within the configuration time corresponding to the above single-item and single-piece configuration information, determine the sum of the number of orders included in the above historical set of orders to be allocated and the number of orders included in the above at least one order to obtain the first order number sum; in response to determining that the first order number sum is greater than or equal to the specified number of orders for picking, generate order allocation information, where the above order allocation information represents taking the above historical set of orders to be allocated and the above at least one order as orders for the same picking task.

[0011] Optionally, the above order personalized allocation configuration information further includes: the specified order allocation duration for picking; and in response to determining that the first order number sum is greater than or equal to the specified number of orders for picking, generate order allocation information, including: in response to determining that the first order number sum is greater than or equal to the specified number of orders for picking and / or the first total duration is less than or equal to the specified order allocation duration for picking, generate order allocation information, where the above order allocation information represents taking the above historical set of orders to be allocated and the above at least one order as orders for the same picking task, where the above first total duration is the sum of the durations of the above historical moment sequence and the current moment.

[0012] Optionally, the above order personalized allocation configuration information further includes: an order cutoff time series; and the above method further includes: in response to determining that the above first order number sum is less than the above picking specified order number and the above first total duration is less than the above picking specified order allocation duration, determining, as the target order cutoff time, the order cutoff information time in the above order cutoff information time series that is later than the above current moment and the time interval between which and the above current moment meets a predetermined condition; and generating the above order allocation information according to the above target order cutoff time.

[0013] Optionally, the generating the above order allocation information according to the above target order cutoff time includes: determining the time difference between the above target order cutoff time and the above current moment; adding the above time difference to the corresponding duration in the above historical moment series to obtain a sum duration; in response to determining that the above sum duration is less than or equal to the above picking specified order allocation duration, determining a first future order set to be allocated within a first future time period, where the above first future time period is the time period between the above target order cutoff time and the above current moment; adding the number of orders included in the above first future order set to be allocated, the above first order number sum, and the number of orders included in the above historical order set to be allocated as a second order number sum; and in response to determining that the above second order number sum is less than or equal to the above picking specified order number, generating order allocation information, where the above order allocation information represents taking the above first future order set to be allocated, the above at least one order, and the above historical order set to be allocated as orders of the same picking task.

[0014] Optionally, the above method further includes: in response to determining that the above second order number sum is greater than the above picking specified order number, sorting the above first future order set to be allocated, the above at least one order, and the above historical order set to be allocated according to the order time corresponding to the first future order to be allocated to obtain a first order group sequence; dividing the above first order group sequence into at least two first order group subsequences according to the above picking specified order number; and generating the above order allocation information, where the above order allocation information represents taking each of the above at least two first order group subsequences as orders of the same picking task.

[0015] Optionally, the above method further includes: in response to determining that the above-mentioned addition duration is greater than the above-mentioned picking specified order allocation duration, determining a second future order set to be allocated in a second future time period, where the second future time period is generated based on the above-mentioned picking specified order allocation duration and the above-mentioned current moment; determining the sum between the number of orders included in the above-mentioned second future order set to be allocated and the above-mentioned first order number to obtain a third order number sum; in response to determining that the above-mentioned third order number sum is less than or equal to the above-mentioned picking specified order number, generating order allocation information, where the order allocation information represents taking the above-mentioned second future order set to be allocated, the above-mentioned at least one order, and the historical order set to be allocated as orders of the same picking task.

[0016] Optionally, the above method further includes: in response to determining that the above-mentioned third order number sum is greater than the above-mentioned picking specified order number, determining a third future sub-time period in the above-mentioned second future time period, where the third future sub-time period includes a sequence of future moments, the number of orders corresponding to a second future order subset to be allocated is less than the above-mentioned picking specified order number, the second future order subset to be allocated is an order set corresponding to a first future moment subsequence in the above-mentioned second future order set to be allocated, the first future moment subsequence is a sequence obtained by removing the future moment corresponding to the target position from the above-mentioned sequence of future moments, and the number of orders corresponding to the above-mentioned third future sub-time period is greater than or equal to the above-mentioned picking specified order number.

[0017] Optionally, the above method further includes: in response to determining that there is the above-mentioned historical order set to be allocated and it is within the configuration time corresponding to the above-mentioned single-item single-piece configuration information, screening out orders associated with the above-mentioned single-item single-piece configuration information from the above-mentioned at least one order as single-style orders to obtain at least one single-style order; determining the sum between the number of orders included in the above-mentioned historical order set to be allocated and the number of orders included in the above-mentioned at least one single-style order to obtain a fourth order number sum; in response to determining that the above-mentioned fourth order number sum is greater than or equal to the above-mentioned picking specified order number, generating order allocation information, where the above-mentioned order allocation information represents taking the above-mentioned historical order set to be allocated and the above-mentioned at least one single-style order as orders of the same picking task.

[0018] In a second aspect, some embodiments of the present disclosure provide a task execution device, including: a determination unit configured to determine a first order allocation applicable template corresponding to the current moment, where the first order allocation applicable template includes: a task backlog threshold; a first execution unit configured to, in response to determining that the number of tasks currently being executed is less than the task backlog threshold, perform order allocation for at least one order corresponding to the current moment according to the order personalized allocation configuration information included in the first order allocation applicable template to obtain order allocation information; a generation unit configured to, in response to determining that the order allocation information represents taking the at least one order as the same picking task order, generate picking task information for the at least one order; a second execution unit configured to perform the picking task for the picking task information.

[0019] Optionally, the task backlog threshold includes: a picking task backlog threshold and a review task backlog threshold, and the currently executed tasks include: picking tasks and review tasks; and the first execution unit may be configured to: in response to determining that the number of picking tasks is less than the picking task backlog threshold and the number of review tasks is less than the review task backlog threshold, perform order allocation for at least one order corresponding to the current moment according to the order personalized allocation configuration information.

[0020] Optionally, the order personalized allocation configuration information includes: the specified number of picking orders and the single-item single-piece configuration information; and the second execution unit may be configured to: determine whether there is a historical set of orders to be allocated corresponding to a historical time sequence, and determine whether the current moment is within the configuration time corresponding to the single-item single-piece configuration information; in response to determining that there is a historical set of orders to be allocated and the current moment is not within the configuration time corresponding to the single-item single-piece configuration information, determine the sum of the number of orders included in the historical set of orders to be allocated and the number of orders included in the at least one order to obtain a first order number sum; in response to determining that the first order number sum is greater than or equal to the specified number of picking orders, generate order allocation information, where the order allocation information represents taking the historical set of orders to be allocated and the at least one order as the same picking task order.

[0021] Optionally, the order personalized allocation configuration information further includes: the specified order allocation duration for picking; and the second execution unit may be configured to: in response to determining that the first order number sum is greater than or equal to the specified number of picking orders and / or the first total duration is less than or equal to the specified order allocation duration for picking, generate order allocation information, where the order allocation information represents taking the historical set of orders to be allocated and the at least one order as the same picking task order, where the first total duration is the sum of the durations of the historical time sequence and the current moment.

[0022] Optionally, the above order personalization allocation configuration information further includes: an order cutoff time series; and the second execution unit may be configured to: in response to determining that the above first order number sum is less than the above picking specified order number and the above first total duration is less than the above picking specified order allocation duration, determine, as the target order cutoff time, the order cutoff information time in the above order cutoff information time series that is later than the above current moment and the time interval between which and the above current moment meets a predetermined condition; generate the above order allocation information according to the above target order cutoff time.

[0023] Optionally, the second execution unit may be configured to: determine the time difference between the above target order cutoff time and the above current moment; add the above time difference to the corresponding duration of the above historical moment series to obtain an added duration; in response to determining that the above added duration is less than or equal to the above picking specified order allocation duration, determine a first future order set to be allocated within a first future time period, where the above first future time period is the time period between the above target order cutoff time and the above current moment; add the number of orders included in the above first future order set to be allocated, the above first order number sum, and the number of orders included in the above historical order set to be allocated as the second order number sum; generate order allocation information in response to determining that the above second order number sum is less than or equal to the above picking specified order number, where the above order allocation information represents taking the above first future order set to be allocated, the above at least one order, and the above historical order set to be allocated as orders of the same picking task order.

[0024] Optionally, the second execution unit may be configured to: in response to determining that the above second order number sum is greater than the above picking specified order number, sort the above first future order set to be allocated, the above at least one order, and the above historical order set to be allocated according to the order time corresponding to the first future order to be allocated to obtain a first order group sequence; divide the above first order group sequence according to the above picking specified order number to obtain at least two first order group subsequences; generate the above order allocation information, where the above order allocation information represents taking each of the above at least two first order group subsequences as an order of the same picking task order.

[0025] Optionally, the second execution unit may be configured to: in response to determining that the above-mentioned addition duration is greater than the above-mentioned picking specified order allocation duration, determine a second set of future orders to be allocated within a second future time period, where the second future time period is generated based on the above-mentioned picking specified order allocation duration and the above-mentioned current moment; determine the sum between the number of orders included in the above-mentioned second set of future orders to be allocated and the above-mentioned first order number, to obtain a third order number sum; in response to determining that the above-mentioned third order number sum is less than or equal to the above-mentioned picking specified order number, generate order allocation information, where the order allocation information represents taking the above-mentioned second set of future orders to be allocated, the above-mentioned at least one order, and the historical set of orders to be allocated as orders of the same picking task.

[0026] Optionally, the second execution unit may be configured to: in response to determining that the above-mentioned third order number sum is greater than the above-mentioned picking specified order number, determine a third future sub-time period within the above-mentioned second future time period, where the above-mentioned third future sub-time period includes a sequence of future moments, the number of orders corresponding to a second subset of future orders to be allocated is less than the above-mentioned picking specified order number, the above-mentioned second subset of future orders to be allocated is the set of orders corresponding to a first sub-sequence of future moments in the above-mentioned second set of future orders to be allocated, the first sub-sequence of future moments is the sequence obtained by removing the future moment corresponding to the target position from the above-mentioned sequence of future moments, and the number of orders corresponding to the above-mentioned third future sub-time period is greater than or equal to the above-mentioned picking specified order number.

[0027] Optionally, the second execution unit may be configured to: in response to determining that there is the above-mentioned historical set of orders to be allocated and it is within the configuration time corresponding to the above-mentioned single-item single-piece configuration information, screen out orders associated with the above-mentioned single-item single-piece configuration information from the above-mentioned at least one order as single-style orders, to obtain at least one single-style order; determine the sum of the number of orders included in the above-mentioned historical set of orders to be allocated and the number of orders included in the above-mentioned at least one single-style order, to obtain a fourth order number sum; in response to determining that the above-mentioned fourth order number sum is greater than or equal to the above-mentioned picking specified order number, generate order allocation information, where the above-mentioned order allocation information represents taking the above-mentioned historical set of orders to be allocated and the above-mentioned at least one single-style order as orders of the same picking task.

[0028] In a third aspect, some embodiments of the present disclosure provide an electronic device, including: one or more processors; a storage device having one or more programs stored thereon, when the one or more programs are executed by the one or more processors, enabling the one or more processors to implement the method described in any implementation manner of the first aspect.

[0029] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, where the program, when executed by a processor, implements the method described in any implementation manner of the first aspect.

[0030] In a fifth aspect, some embodiments of the present disclosure provide a computer program product, including a computer program which, when executed by a processor, implements the method described in any implementation manner of the above first aspect.

[0031] The above various embodiments of the present disclosure have the following beneficial effects: The task execution method of some embodiments of the present disclosure can utilize the first order allocation applicable template to achieve personalized allocation of orders, improving the order allocation efficiency. Specifically, the reason for the low order allocation efficiency is that the order allocation rules cannot effectively meet the personalized allocation requirements at different times, resulting in low order allocation efficiency. Based on this, the task execution method of some embodiments of the present disclosure first determines the first order allocation applicable template corresponding to the current moment. Among them, the above first order allocation applicable template includes: a task backlog threshold. Here, by using the task backlog threshold in the order allocation applicable model for the current moment, the execution pressure of the subsequent current execution task can be effectively reduced, and the picking efficiency and compound efficiency can be improved. Then, in response to determining that the number of tasks of the current execution task is less than the above task backlog threshold, according to the order personalized allocation configuration information included in the above first order allocation applicable template, perform the order allocation of at least one order corresponding to the current moment to obtain order allocation information. Here, through the order personalized allocation configuration information, personalized allocation of at least one order corresponding to the current moment can be achieved, improving the order allocation efficiency. Then, in response to determining that the above order allocation information indicates that the above at least one order is an order for the same picking task, generate picking task information for the above at least one order to facilitate the timely synchronous processing of the subsequent at least one order. Finally, execute the picking task for the above picking task information to meet the order out-of-warehouse requirements of the order. In summary, through the task backlog threshold and the order personalized allocation configuration information included in the first order allocation applicable template, personalized allocation of at least one order corresponding to the current moment can be achieved, and the allocation efficiency and the order item out-of-warehouse efficiency can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In combination with the accompanying drawings and with reference to the following specific embodiments, the above and other features, advantages and aspects of the various embodiments of the present disclosure will become more obvious. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the elements and elements are not necessarily drawn to scale.

[0033] Figure 1 is a schematic diagram of an application scenario of a task execution method according to some embodiments of the present disclosure;

[0034] Figure 2 is a flowchart of some embodiments of the task execution method according to the present disclosure;

[0035] Figure 3 is a flowchart of some other embodiments of the task execution method according to the present disclosure;

[0036] Figure 4 is a schematic diagram of order screening based on single-item single-piece configuration information and single-piece configuration information in some embodiments of the task execution method according to the present disclosure;

[0037] Figure 5 is a schematic structural diagram of some embodiments of the task execution device according to the present disclosure;

[0038] Figure 6 is a schematic structural diagram of an electronic device suitable for implementing some embodiments of the present disclosure. Detailed implementation manners

[0039] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. On the contrary, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not used to limit the protection scope of the present disclosure.

[0040] In addition, it should be noted that for the sake of convenience of description, only parts related to the relevant invention are shown in the drawings. Without conflict, the embodiments in the present disclosure and the features in the embodiments can be combined with each other.

[0041] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence relationship of the functions performed by these devices, modules or units.

[0042] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive. Those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0043] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only for illustrative purposes and are not used to limit the scope of these messages or information.

[0044] The present disclosure will be described in detail below with reference to the drawings and in conjunction with the embodiments.

[0045] Figure 1 is a schematic diagram of an application scenario of the task execution method according to some embodiments of the present disclosure.

[0046] InFigure 1 In the application scenario, first, the electronic device 101 can determine the first order allocation applicable template 103 corresponding to the current moment 102. Among them, the above-mentioned first order allocation applicable template 103 includes: a task backlog threshold. In this application scenario, the current moment 102 can be "13:14". The task backlog threshold can be "122". Then, in response to determining that the number of tasks currently being executed is less than the above-mentioned task backlog threshold, the electronic device 101 performs the order allocation of at least one order 104 corresponding to the current moment 102 according to the order personalized allocation configuration information included in the above-mentioned first order allocation applicable template 103 to obtain order allocation information 105. In this application scenario, the number of tasks currently being executed can be "21". The order personalized allocation configuration information can be "allocate every 3 minutes". The at least one order 104 can include: order 1041, order 1042, and order 1043. The order allocation information 105 can be "at least one order is an order for the same picking task". Next, in response to determining that the above-mentioned order allocation information 105 indicates that the at least one order 104 is used as an order for the same picking task, the electronic device 101 can generate picking task information 106 for the above-mentioned at least one order 104. Finally, the electronic device 101 can execute the picking task 107 for the above-mentioned picking task information 106.

[0047] It should be noted that the above-mentioned electronic device 101 can be hardware or software. When the electronic device is hardware, it can be implemented as a distributed cluster composed of multiple servers or terminal devices, or can be implemented as a single server or a single terminal device. When the electronic device is embodied as software, it can be installed in the above-mentioned listed hardware devices. It can be implemented as, for example, multiple software or software modules for providing distributed services, or can be implemented as a single software or software module. No specific limitation is made here.

[0048] It should be understood that Figure 1 the number of electronic devices in is merely illustrative. According to the implementation requirements, any number of electronic devices can be provided.

[0049] Continuing to refer to Figure 2 , a process 200 of some embodiments of the task execution method according to the present disclosure is shown. The task execution method includes the following steps:

[0050] Step 201, determine the first order allocation applicable template corresponding to the current moment.

[0051] In some embodiments, the execution subject of the above-mentioned task execution method (such as Figure 1The electronic device 101) shown can determine a first order allocation applicable template corresponding to the current moment. Among them, the above-mentioned first order allocation applicable template includes: a task backlog threshold. The current moment can be the moment of the order to be allocated. The first order allocation applicable template can be an applicable template for allocating at least one order corresponding to the current moment. The template content of the above-mentioned first order allocation applicable template can characterize the order allocation rule. The task backlog threshold can be the maximum backlog value of the currently executing task. For example, the task backlog threshold can be "100".

[0052] It should be noted that the first template table is stored in the database. Among them, the first template table stores template information such as template numbers, template names, and template statuses. Similarly, the second template table is also stored in the database, and the second template table is used to record the template configuration information of each template included in the first template table. For example, the template configuration information can include a task backlog threshold.

[0053] As an example, the above-mentioned execution entity can receive the template selected by the relevant personnel from the template table for the current moment as the first order allocation applicable template.

[0054] In some optional implementation manners of some embodiments, the above-mentioned order personalized allocation configuration information includes: an allocation applicable time period. Among them, the above-mentioned current moment is the moment within the above-mentioned allocation applicable time period. The allocation applicable time period can characterize the applicable time of the first order allocation applicable template. For example, the allocation applicable time period is "11:10 - 12:10". Then, during the period of "11:10 - 12:10", the order allocation template used can be the first order allocation applicable template. For the allocation applicable time period of "11:10 - 12:10", the current moment can be "11:20".

[0055] Step 202, in response to determining that the number of tasks currently being executed is less than the task backlog threshold, perform the order allocation of at least one order corresponding to the current moment according to the order personalized allocation configuration information included in the first order allocation applicable template to obtain order allocation information.

[0056] In some embodiments, in response to determining that the number of tasks currently being executed is less than the above-mentioned task backlog threshold, the above-mentioned execution entity may perform order allocation for at least one order corresponding to the current moment according to the order personalization allocation configuration information included in the above-mentioned first order allocation applicable template, so as to obtain order allocation information. Wherein, the currently executed task may be a task currently being executed and related to the shipment of order items. The order personalization allocation configuration information may be configuration information for performing personalized allocation of orders. For example, the order personalization allocation configuration information may be "divide a batch of orders every 3 minutes". The at least one order may be an order to be allocated at the current moment. The order allocation information may characterize the order allocation situation of the at least one order. For example, the order allocation information may be "perform average allocation on at least one order to generate two batch orders".

[0057] As an example, first, the above-mentioned execution entity may execute the allocation rule corresponding to the order personalization allocation configuration information to allocate at least one order to obtain at least one batch of order sets. Then, generate batch allocation information for the at least one batch of order sets as the order allocation information.

[0058] In some alternative implementation manners of some embodiments, the above-mentioned task backlog threshold includes: a picking task backlog threshold and a verification task backlog threshold. The above-mentioned currently executed tasks include: picking tasks and verification tasks. Wherein, the above-mentioned picking task backlog threshold may characterize the maximum number of tasks in the current picking task backlog. The above-mentioned verification task backlog threshold may characterize the maximum number of tasks in the current verification task backlog. The picking task may be a task of picking order items. The verification task may be a task of verifying the order quantity to be requested and the picked quantity.

[0059] Optionally, in response to determining that the number of picking tasks of the above-mentioned picking task is less than the above-mentioned picking task backlog threshold and the number of verification tasks of the above-mentioned verification task is less than the above-mentioned verification task backlog threshold, the above-mentioned execution entity may perform order allocation for at least one order corresponding to the current moment according to the above-mentioned order personalization allocation configuration information.

[0060] As an example, first, the above-mentioned execution entity may execute the allocation rule corresponding to the order personalization allocation configuration information to allocate at least one order to obtain at least one batch of order sets. Then, generate batch allocation information for the at least one batch of order sets as the order allocation information.

[0061] In some alternative implementations of some embodiments, the above at least one order is an order after pre-determining the order logistics attribute information and the storage location information. Among them, the order logistics attribute information may be the logistics attribute information of the order. In practice, the order logistics attribute information may include, but is not limited to, at least one of the following: the volume of the order items, the weight of the order items. The storage location information may be the storage location information where the order items are to be stored. That is, the order in the at least one order is an order for which the logistics attribute information and the storage location information are pre-determined.

[0062] Step 203, in response to determining that the order allocation information indicates that at least one order is the same picking task order, generate picking task information for the at least one order.

[0063] In some embodiments, in response to determining that the above order allocation information indicates that the above at least one order is the same picking task order, the above execution entity may generate picking task information for the above at least one order. The picking task information may be the task information for picking the order item set corresponding to the at least one order. The picking task order may indicate that the corresponding individual orders belong to the same picking task. That is, it indicates that the individual orders are grouped into a set order, and the picking task is subsequently performed simultaneously.

[0064] Step 204, perform the picking task for the picking task information.

[0065] In some embodiments, the above execution entity may perform the picking task for the above picking task information.

[0066] In some alternative implementations of some embodiments, after step 204, the steps further include:

[0067] First step, in response to determining that the next moment is not a moment within the above allocation applicable time period, obtain a second order allocation applicable template for the above next moment. Among them, the above next moment is later than the above current moment. The allocation applicable time period corresponding to the second order allocation applicable template is later than the allocation applicable time period corresponding to the first order allocation applicable template. For example, the allocation applicable time period corresponding to the first order allocation applicable template is "11:10 - 12:10". The allocation applicable time period corresponding to the second order allocation applicable template may be "12:11 - 13:11". The order personalized allocation configuration information corresponding to the first order allocation applicable template is different from the order personalized allocation configuration information corresponding to the second order allocation applicable template.

[0068] Second step, according to the above second order allocation applicable template, perform the order allocation for the order set corresponding to the above next moment. Among them, the orders in the order set may be the orders to be allocated at the above next moment.

[0069] As an example, first, the above-mentioned execution entity may execute the allocation rule corresponding to the order personalization allocation configuration information included in the second order allocation applicable template to allocate the order set.

[0070] The above-mentioned various embodiments of the present disclosure have the following beneficial effects: The task execution method according to some embodiments of the present disclosure can utilize the first order allocation applicable template to achieve personalized allocation of orders and improve the order allocation efficiency. Specifically, the reason for the low order allocation efficiency is that the order allocation rule cannot effectively meet the personalized allocation requirements at different times, resulting in low order allocation efficiency. Based on this, the task execution method according to some embodiments of the present disclosure first determines the first order allocation applicable template corresponding to the current moment. Among them, the above-mentioned first order allocation applicable template includes: the task backlog threshold. Here, by using the task backlog threshold in the order allocation applicable model for the current moment, the execution pressure of the subsequent current execution task can be effectively reduced, and the picking efficiency and compound efficiency can be improved. Then, in response to determining that the number of tasks of the current execution task is less than the above-mentioned task backlog threshold, according to the order personalization allocation configuration information included in the above-mentioned first order allocation applicable template, execute the order allocation of at least one order corresponding to the current moment to obtain order allocation information. Here, through the order personalization allocation configuration information, personalized allocation of at least one order corresponding to the current moment can be realized, and the order allocation efficiency can be improved. Then, in response to determining that the above-mentioned order allocation information indicates that the above-mentioned at least one order is used as the same picking task order, generate picking task information for the above-mentioned at least one order to facilitate the timely synchronous processing of the subsequent at least one order. Finally, execute the picking task for the above-mentioned picking task information to meet the order out-of-warehouse requirements of the order. In summary, through the task backlog threshold and the order personalization allocation configuration information included in the first order allocation applicable template, personalized allocation of at least one order corresponding to the current moment can be realized, and the allocation efficiency and the order item out-of-warehouse efficiency can be improved.

[0071] Further referring to Figure 3 , a flow 300 of some other embodiments of the task execution method according to the present disclosure is shown. The task execution method includes the following steps:

[0072] Step 301, determine the first order allocation applicable template corresponding to the current moment.

[0073] Step 302, determine whether there is a historical order set to be allocated corresponding to the historical moment sequence, and determine whether the current moment is within the configuration time corresponding to the single-item single-piece configuration information.

[0074] In some embodiments, the execution entity (such as Figure 1The electronic device 101) shown can determine whether there is a set of historical orders to be allocated corresponding to a sequence of historical moments, and determine whether the current moment is within the configuration time corresponding to the single-item and single-piece configuration information. Among them, the above order personalized allocation configuration information includes: the specified number of orders for picking and the single-item and single-piece configuration information. Among them, the historical moments in the historical moment sequence can be the moments corresponding to the orders that have not been completed in the order allocation and are to be grouped into orders. The number of orders included in the set of orders to be allocated corresponding to the historical moment sequence is less than the specified number of orders for picking. The specified number of orders for picking can represent the specified number of orders that make up a picking task order. In practice, the number of orders corresponding to the picking task order is not less than the above specified number of orders for picking. For example, the specified number of orders for picking is 20. Then the number of orders corresponding to the picking task order is not less than 20. The single-item and single-piece configuration information can be the order allocation configuration information for orders where the order item is a single item and / or a single piece. The single-item and single-piece configuration information includes: the allocation time (corresponding configuration time) for orders where the order item is a single item and / or a single piece. Among them, a single item can represent that the order item corresponding to the order is a single type of item. A single piece can represent that the order item corresponding to the order is a single piece of item.

[0075] For example, the current moment is "10 minutes past 12 o'clock." The historical moment sequence can include: "7 minutes past 12 o'clock", "8 minutes past 12 o'clock", "9 minutes past 12 o'clock". The set of historical orders to be allocated can include: the set of orders to be allocated corresponding to "7 minutes past 12 o'clock", the set of orders to be allocated corresponding to "8 minutes past 12 o'clock", the set of orders to be allocated corresponding to "9 minutes past 12 o'clock".

[0076] Step 303, in response to determining that there is a set of historical orders to be allocated and the current moment is not within the configuration time corresponding to the single-item and single-piece configuration information, determine the sum of the number of orders included in the set of historical orders to be allocated and the number of orders included in at least one order, to obtain the first order number sum.

[0077] In some embodiments, in response to determining that there is a set of historical orders to be allocated and the current moment is not within the configuration time corresponding to the single-item and single-piece configuration information, the execution entity can determine the sum of the number of orders included in the set of historical orders to be allocated and the number of orders included in the at least one order, to obtain the first order number sum.

[0078] In practice, in response to determining that there is a set of historical orders to be allocated, it indicates that the set of historical orders to be allocated is the same picking task order. In response to determining that the current moment is not within the configuration time corresponding to the single-item and single-piece configuration information, it indicates that the current moment does not perform screening of orders for single items and / or single pieces.

[0079] Step 304, in response to determining that the first order number sum is greater than or equal to the specified number of orders for picking, generate order allocation information.

[0080] In some embodiments, in response to determining that the above first order number is greater than or equal to the above picking specified order number, the above executing entity may generate order allocation information. Wherein, the above order allocation information represents regarding the above historical orders to be allocated set and the above at least one order as the same picking task order.

[0081] In some alternative implementation manners of some embodiments, the above order personalized allocation configuration information further includes: the picking specified order allocation duration.

[0082] Wherein, the picking specified order allocation duration may represent the order allocation specified time for each order in the picking task order. That is, the difference duration between the earliest moment and the latest moment among all moments is not greater than the picking specified order allocation duration. Wherein, each moment is the corresponding moment of each order in the picking task order. For example, the picking specified order allocation duration is 10 seconds.

[0083] Optionally, in response to determining that there is a historical orders to be allocated set, it represents that the order duration corresponding to the historical orders to be allocated set is less than the picking specified order allocation duration.

[0084] Optionally, in response to determining that the above first order number is greater than or equal to the above picking specified order number and / or the first total duration is less than or equal to the above picking specified order allocation duration, the above executing entity may generate order allocation information. Wherein, the above order allocation information represents regarding the above historical orders to be allocated set and the above at least one order as the same picking task order. Wherein, the above first total duration is the sum of the duration of the above historical moment sequence and the current moment.

[0085] For example, the number of orders included in the historical orders to be allocated set is 10. The number of orders included in the at least one order is 11. The picking specified order number is 20. Then the sum of the first order numbers is 21. And the duration corresponding to the historical orders to be allocated set is 8 seconds. The current moment is 1 second. Then the first total duration is 9 seconds. The picking specified order allocation duration is 10 seconds. Then the historical orders to be allocated set and the at least one order are regarded as the same picking task order.

[0086] In some alternative implementation manners of some embodiments, the above order personalized allocation configuration information further includes: the order cut-off time sequence. Wherein, each order cut-off time in the order cut-off time sequence may be pre-configured. The order cut-off time represents the order allocation cut-off time. In addition, the order cut-off time also represents the order allocation wave. When the current moment reaches the order cut-off time, the historical orders to be allocated set that are not allocated before the order cut-off time will be determined as the same picking task order for subsequent generation of the picking task.

[0087] For example, the order cut-off time series is {"11:00", "12:00", "13:00"}. Then, multiple orders before "11:00" belong to the same batch of orders. Multiple orders from "11:00" to "12:00" belong to the same batch of orders. Multiple orders from "12:00" to "13:00" belong to the same batch of orders.

[0088] Optionally, after step 304, the steps further include:

[0089] First step, in response to determining that the above-mentioned first order number is less than the above-mentioned picking specified order number and the above-mentioned first total duration is less than the above-mentioned picking specified order allocation duration, determine the order cut-off information time in the above-mentioned order cut-off information time series that is later than the above-mentioned current moment and the time interval between which and the above-mentioned current moment meets a predetermined condition, as the target order cut-off time. The above-mentioned predetermined condition may be that the order cut-off information time is the time with the shortest time interval from the current moment.

[0090] For example, the order cut-off time series is {"11:00", "12:00", "13:00"}. The current moment is "10:40". Then the target order cut-off time is "11:00".

[0091] Second step, generate the above-mentioned order allocation information according to the above-mentioned target order cut-off time.

[0092] As an example, first, the above-mentioned execution entity may determine the orders to be allocated between the current moment and the target order cut-off time as the target orders to be allocated, to obtain a target set of orders to be allocated. Then, generate order allocation information. Among them, the order allocation information may represent information that takes the historical set of orders to be allocated, at least one order, and the target set of orders to be allocated as orders of the same picking task.

[0093] Optionally, the generating the above-mentioned order allocation information according to the above-mentioned target order cut-off time may include the following steps:

[0094] First step, determine the time difference between the above-mentioned target order cut-off time and the above-mentioned current moment.

[0095] Second step, add the above-mentioned time difference to the corresponding duration of the above-mentioned historical moment series to obtain an added duration. Among them, the corresponding duration of the historical moment series may be the time difference between the earliest historical moment and the latest historical moment.

[0096] Step 3: In response to determining that the above-mentioned addition duration is less than or equal to the above-mentioned picking specified order allocation duration, determine the first set of future orders to be allocated within the first future time period. Wherein, the above-mentioned first future time period is the time period between the cut-off time of the above-mentioned target order and the above-mentioned current moment. For example, the current moment is "10:40". The cut-off time of the target order is "11:00". The first future time period can be "10:40 - 11:00".

[0097] Step 4: Add the number of orders included in the above-mentioned first set of future orders to be allocated, the above-mentioned first order number, and the number of orders included in the above-mentioned historical set of orders to be allocated, and use the sum as the second order number sum.

[0098] Step 5: In response to determining that the above-mentioned second order number sum is less than or equal to the above-mentioned picking specified order number, generate order allocation information. Wherein, the above-mentioned order allocation information represents taking the above-mentioned first set of future orders to be allocated, the above-mentioned at least one order, and the above-mentioned historical set of orders to be allocated as orders of the same picking task.

[0099] Optionally, after generating the order allocation information in response to determining that the above-mentioned second order number sum is less than or equal to the above-mentioned picking specified order number, the steps further include:

[0100] Step 1: In response to determining that the above-mentioned second order number sum is greater than the above-mentioned picking specified order number, sort the above-mentioned first set of future orders to be allocated, the above-mentioned at least one order, and the above-mentioned historical set of orders to be allocated according to the order time corresponding to the first future order to be allocated, to obtain a first order group sequence. Wherein, each first order group in the first order group sequence corresponds to the same moment. For example, the at least one order can be used as a first order group. The moment corresponding to the at least one order is the current moment.

[0101] As an example, the above-mentioned execution entity can sort the above-mentioned first set of future orders to be allocated, the above-mentioned at least one order, and the above-mentioned historical set of orders to be allocated in ascending order according to the order time corresponding to the first future order to be allocated, to obtain a first order group sequence.

[0102] Step 2: According to the above-mentioned picking specified order number, divide the above-mentioned first order group sequence into at least two first order group subsequences.

[0103] As an example, first, the above-mentioned execution entity can sequentially determine the number of orders included in each first order group in the first order group sequence as the order group number to obtain an order group number sequence. Then, according to the order of the number of order groups included in the order group number sequence, the order group numbers are sequentially added until the added number is greater than or equal to the picking specified order number to obtain a subsequence of order group numbers. Next, starting from the next order group number in the order group number sequence corresponding to the last order group number in the subsequence of order group numbers, continue to sequentially add the order group numbers according to the order of the number of order groups included in the order group number sequence until the added number is greater than or equal to the picking specified order number to obtain a subsequence of order group numbers. By sequentially and repeatedly executing this process, at least two first order group number subsequences can be obtained. Finally, at least two first order group subsequences are generated for the at least two first order group number subsequences.

[0104] In the third step, the above-mentioned order allocation information is generated, where the above-mentioned order allocation information represents taking each first order group subsequence in the at least two first order group subsequences as the same picking task order.

[0105] Optionally, after generating the order allocation information in response to determining that the sum of the above-mentioned second order numbers is less than or equal to the picking specified order number, the steps further include:

[0106] In the first step, in response to determining that the above-mentioned added duration is greater than the picking specified order allocation duration, a second future order set to be allocated within the second future time period is determined. Wherein, the above-mentioned second future time period is generated based on the picking specified order allocation duration and the current moment. The duration corresponding to the second future time period is equal to the picking specified order allocation duration.

[0107] In practice, the above-mentioned second future time period can be generated through the following steps:

[0108] Step 1: Delay the current moment by the picking specified order allocation duration to obtain a future moment.

[0109] Step 2: Determine the time period between the current moment and the future moment as the second future time period.

[0110] In the second step, the sum of the number of orders included in the above-mentioned second future order set to be allocated and the above-mentioned first order number sum is determined to obtain a third order number sum.

[0111] In the third step, in response to determining that the above-mentioned third order number sum is less than or equal to the picking specified order number, order allocation information is generated. The order allocation information represents taking the above-mentioned second future order set to be allocated, the above-mentioned at least one order sum, and the historical order set to be allocated as the same picking task order.

[0112] Optionally, after generating order allocation information in response to determining that the above-mentioned third order quantity is less than or equal to the above-mentioned picking specified order quantity, the steps further include:

[0113] In response to determining that the above-mentioned third order quantity is greater than the above-mentioned picking specified order quantity, the above-mentioned execution entity may determine a third future sub-time period in the above-mentioned second future time period. Wherein, the above-mentioned third future sub-time period includes a sequence of future moments. The order quantity corresponding to the second future order subset to be allocated is less than the picking specified order quantity. The above-mentioned second future order subset to be allocated is the order set corresponding to the first future moment subsequence in the above-mentioned second future order set to be allocated. The first future moment subsequence is the sequence obtained by removing the future moment corresponding to the target position from the above-mentioned sequence of future moments. The order quantity corresponding to the above-mentioned third future sub-time period is greater than or equal to the above-mentioned picking specified order quantity. The above-mentioned target position may be the sequence position corresponding to the latest future moment in the sequence of future moments. For example, if the sequence of future moments is arranged in ascending order of time, the target position is the sequence position of the last future moment in the sequence of future moments. The future moment corresponding to the target position is the last future moment.

[0114] In some alternative implementation manners of some embodiments, after step 304, the steps further include:

[0115] First step, in response to determining that there is the above-mentioned historical order set to be allocated and within the configuration time corresponding to the above-mentioned single-item single-piece configuration information, screen out the orders associated with the above-mentioned single-item single-piece configuration information from the above-mentioned at least one order as single-style orders, to obtain at least one single-style order.

[0116] As an example, the above-mentioned execution entity may screen out the orders corresponding to single-piece items and / or single-item items from the at least one order as single-style orders, to obtain at least one single-style order.

[0117] Second step, determine the sum of the order quantity included in the above-mentioned historical order set to be allocated and the order quantity included in the above-mentioned at least one single-style order, to obtain a fourth order quantity sum.

[0118] Third step, in response to determining that the above-mentioned fourth order quantity sum is greater than or equal to the above-mentioned picking specified order quantity, generate order allocation information. Wherein, the above-mentioned order allocation information represents taking the above-mentioned historical order set to be allocated and the above-mentioned at least one single-style order as the same picking task order.

[0119] It should be noted that for subsequent situations of the fourth order quantity and orders with quantities less than the above-mentioned order quantity for picking goods, as well as various order situations when the order personalized allocation configuration information includes the order cut-off time series and the allocation duration of the order quantity for picking goods, the specific logic can refer to the order allocation method for various situations corresponding to "the current moment is not within the configuration time corresponding to the above single-item and single-piece configuration information". This will not be elaborated here.

[0120] Optionally, the above single-item and single-piece configuration information includes: single-piece configuration information and single-item configuration information. Among them, the single-piece configuration information can be the order screening configuration information for orders where the order item is a single piece. The single-item configuration information can be the order screening configuration information for orders where the order item is a single item. The single-piece configuration information can include: single-piece configuration time. The single-piece configuration time can be the applicable time of the single-piece configuration information (i.e., the time limit). The single-item configuration information can include: single-item configuration time. The single-piece configuration time can be the applicable time of the single-piece configuration information (i.e., the time limit).

[0121] Optionally, the above execution entity can screen out orders that meet the configuration conditions corresponding to the above single-piece configuration information and / or the configuration conditions corresponding to the above single-item configuration information from the above at least one order. Among them, the configuration conditions corresponding to the single-piece configuration information can be orders where the order item is a single piece and the corresponding moment is within the single-piece configuration time. The configuration conditions corresponding to the single-item configuration information can be orders where the order item is a single item and the corresponding moment is within the single-item configuration time.

[0122] See Figure 4 , the at least one order includes: order 402, order 403, order 404, order 405, and order 406. The order item information corresponding to order 402 can be "2 cabbages, 4 cucumbers". The order item information corresponding to order 403 can be "1 cabbage, 3 cucumbers". The order item information corresponding to order 404 can be "1 cabbage, 1 cucumber". The order item information corresponding to order 405 can be "1 cabbage". The order item information corresponding to order 406 can be "1 cucumber". The current moment 401 corresponding to the at least one order can be "11:03". The single-item configuration information can include: the configuration time corresponding to the single-piece configuration information. The configuration time corresponding to the single-piece configuration information can be "11:00 - 12:00". The configuration time corresponding to the single-item configuration information can be "10:00 - 13:30". The screened orders can include: order 405 and order 406.

[0123] Step 305, in response to determining that the order allocation information indicates that at least one order is an order for the same picking task, generate picking task information for the at least one order.

[0124] Step 306: Perform the picking task for the picking task information.

[0125] In some embodiments, for the specific implementation of steps 301, 305 - 306 and the technical effects brought thereby, reference may be made to Figure 2 steps 201, 203 - 204 in the corresponding embodiments, which will not be elaborated herein.

[0126] From Figure 3 it can be seen that compared with the description of some corresponding embodiments, Figure 2 for the process 300 of the task execution method in some corresponding embodiments, by using the picking specified order quantity and single - item single - piece configuration information included in the order personalized allocation configuration information, personalized allocation can be performed on at least one order and the historical order set to be allocated, improving the order allocation efficiency. Figure 3

[0127] Further referring to Figure 5 , as an implementation of the methods shown in the above figures, some embodiments of a task execution device are provided in the present disclosure. These device embodiments correspond to Figure 2 the method embodiments shown, and the task execution device can be specifically applied to various electronic devices.

[0128] As shown in Figure 5 a task execution device 500 includes: a determination unit 501, a first execution unit 502, a generation unit 503, and a second execution unit 504. Among them, the determination unit 501 is configured to determine a first order allocation applicable template corresponding to the current moment, where the first order allocation applicable template includes: a task backlog threshold; the first execution unit 502 is configured to, in response to determining that the number of tasks currently being executed is less than the task backlog threshold, perform the order allocation for at least one order corresponding to the current moment according to the order personalized allocation configuration information included in the first order allocation applicable template to obtain order allocation information; the generation unit 503 is configured to, in response to determining that the order allocation information indicates that the at least one order is an order for the same picking task, generate picking task information for the at least one order; the second execution unit 504 is configured to perform the picking task for the picking task information.

[0129] ​In some alternative implementation manners of some embodiments, the above task backlog threshold includes: a picking task backlog threshold and a review task backlog threshold, and the above current execution tasks include: a picking task and a review task; and the first execution unit 502 may be configured to: in response to determining that the number of picking tasks of the above picking task is less than the above picking task backlog threshold and the number of review tasks of the above review task is less than the above review task backlog threshold, perform order allocation for at least one order corresponding to the current moment according to the above order personalized allocation configuration information.

[0130] In some alternative implementation manners of some embodiments, the above order personalized allocation configuration information includes: the specified number of picking orders and the single-item single-piece configuration information; and the first execution unit 502 may be configured to: determine whether there is a historical set of orders to be allocated corresponding to a historical time sequence, and determine whether the current moment is within the configuration time corresponding to the above single-item single-piece configuration information; in response to determining that there is a historical set of orders to be allocated and the current moment is not within the configuration time corresponding to the above single-item single-piece configuration information, determine the sum of the number of orders included in the above historical set of orders to be allocated and the number of orders included in the above at least one order, to obtain the first total number of orders; in response to determining that the first total number of orders is greater than or equal to the above specified number of picking orders, generate order allocation information, where the above order allocation information represents that the above historical set of orders to be allocated and the above at least one order are used as the same picking task order.

[0131] In some alternative implementation manners of some embodiments, the above order personalized allocation configuration information further includes: the specified picking order allocation duration; and the first execution unit 502 may be configured to: in response to determining that the first total number of orders is greater than or equal to the above specified number of picking orders and / or the first total duration is less than or equal to the above specified picking order allocation duration, generate order allocation information, where the above order allocation information represents that the above historical set of orders to be allocated and the above at least one order are used as the same picking task order, where the above first total duration is the sum of the durations of the above historical time sequence and the current moment.

[0132] In some alternative implementation manners of some embodiments, the above order personalized allocation configuration information further includes: an order cut-off time sequence; and the first execution unit 502 may be configured to: in response to determining that the first total number of orders is less than the above specified number of picking orders and the first total duration is less than the above specified picking order allocation duration, determine the order cut-off information time in the above order cut-off information time sequence that is later than the current moment and the time interval between which and the current moment satisfies a predetermined condition, as the target order cut-off time; generate the above order allocation information according to the above target order cut-off time.

[0133] In some alternative implementations of some embodiments, the first execution unit 502 may be configured to: determine the time difference between the cut-off time of the target order and the current moment; add the time difference to the corresponding duration of the historical moment sequence to obtain an added duration; in response to determining that the added duration is less than or equal to the pick-up specified order allocation duration, determine a first set of future orders to be allocated within a first future time period, where the first future time period is the time period between the cut-off time of the target order and the current moment; add the number of orders included in the first set of future orders to be allocated, the number of the first orders, and the number of orders included in the historical set of orders to be allocated as the second order number sum; in response to determining that the second order number sum is less than or equal to the pick-up specified order number, generate order allocation information, where the order allocation information represents taking the first set of future orders to be allocated, the at least one order, and the historical set of orders to be allocated as orders of the same pick-up task.

[0134] In some alternative implementations of some embodiments, the first execution unit 502 may be configured to: in response to determining that the second order number sum is greater than the pick-up specified order number, sort the first set of future orders to be allocated, the at least one order, and the historical set of orders to be allocated according to the order time corresponding to the first set of future orders to be allocated to obtain a first order group sequence; divide the first order group sequence into at least two first order group subsequences according to the pick-up specified order number; generate the order allocation information, where the order allocation information represents taking each first order group subsequence in the at least two first order group subsequences as orders of the same pick-up task.

[0135] In some alternative implementations of some embodiments, the first execution unit 502 may be configured to: in response to determining that the added duration is greater than the pick-up specified order allocation duration, determine a second set of future orders to be allocated within a second future time period, where the second future time period is generated based on the pick-up specified order allocation duration and the current moment; determine the sum between the number of orders included in the second set of future orders to be allocated and the sum of the number of the first orders to obtain a third order number sum; in response to determining that the third order number sum is less than or equal to the pick-up specified order number, generate order allocation information, where the order allocation information represents taking the second set of future orders to be allocated, the at least one order, and the historical set of orders to be allocated as orders of the same pick-up task.

[0136] In some alternative implementations of some embodiments, the first execution unit 502 may be configured to: in response to determining that the sum of the above-mentioned third order numbers is greater than the above-mentioned picking specified order number, determine a third future sub-period in the above-mentioned second future period, where the above-mentioned third future sub-period includes a sequence of future moments, the number of orders corresponding to the second future order subset to be allocated is less than the above-mentioned picking specified order number, the above-mentioned second future order subset to be allocated is an order set corresponding to the first future moment subsequence in the above-mentioned second future order set to be allocated, the first future moment subsequence is a sequence obtained by removing the future moment corresponding to the target position from the above-mentioned sequence of future moments, and the number of orders corresponding to the above-mentioned third future sub-period is greater than or equal to the above-mentioned picking specified order number.

[0137] In some alternative implementations of some embodiments, the first execution unit 502 may be configured to: in response to determining the existence of the above-mentioned historical order set to be allocated and within the configuration time corresponding to the above-mentioned single-item single-piece configuration information, screen out orders associated with the above-mentioned single-item single-piece configuration information from the above-mentioned at least one order as single-style orders to obtain at least one single-style order; determine the sum of the number of orders included in the above-mentioned historical order set to be allocated and the number of orders included in the above-mentioned at least one single-style order to obtain a fourth order number sum; and in response to determining that the above-mentioned fourth order number sum is greater than or equal to the above-mentioned picking specified order number, generate order allocation information, where the above-mentioned order allocation information represents taking the above-mentioned historical order set to be allocated and the above-mentioned at least one single-style order as the same picking task order.

[0138] It can be understood that the various units described in the task execution device 500 correspond to the respective steps in the method described with reference to Figure 2 Therefore, the operations, features, and beneficial effects described above for the method also apply to the task execution device 500 and the units included therein, and will not be repeated here.

[0139] Next, with reference to Figure 6 , which shows a schematic structural diagram of an electronic device 600 (such as the electronic device 101 in Figure 1 ) suitable for implementing some embodiments of the present disclosure. Figure 6 The electronic device shown is merely an example and should not impose any limitation on the functions and usage scope of the embodiments of the present disclosure.

[0140] As in Figure 6As shown, the electronic device 600 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 601, which may perform various appropriate actions and processes according to a program stored in the read-only memory 602 or a program loaded from the storage device 608 into the random access memory 603. In the random access memory 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the read-only memory 602, and the random access memory 603 are connected to each other through a bus 604. The input / output interface 605 is also connected to the bus 604.

[0141] Generally, the following devices may be connected to the input / output interface 605: an input device 606 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or wiredly to exchange data. Although Figure 6 an electronic device 600 with various devices is shown, it should be understood that it is not required to implement or have all the shown devices. Instead, more or fewer devices may be implemented or had. Figure 6 Each block shown in the figure may represent one device or, as needed, multiple devices.

[0142] In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program codes for performing the methods shown in the flowcharts. In such some embodiments, the computer program may be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the read-only memory 602. When the computer program is executed by the processing device 601, the above functions defined in the methods of some embodiments of the present disclosure are executed.

[0143] It should be noted that in some embodiments of the present disclosure, the above-mentioned computer-readable medium may be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, the computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium, and the computer-readable signal medium may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted by any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0144] In some embodiments, the client and the server can communicate using any currently known or future-developed network protocol such as HTTP (HyperText Transfer Protocol), and can be interconnected with digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include local area networks (“LAN”), wide area networks (“WAN”), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or future-developed network.

[0145] The above computer-readable medium may be included in the above electronic device; or may exist separately without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by the electronic device, the electronic device is caused to: determine a first order allocation applicable template corresponding to the current moment, where the above first order allocation applicable template includes: a task backlog threshold; in response to determining that the number of tasks currently being executed is less than the above task backlog threshold, perform the order allocation of at least one order corresponding to the current moment according to the order personalized allocation configuration information included in the above first order allocation applicable template to obtain order allocation information; in response to determining that the above order allocation information indicates that the above at least one order is used as an order for the same picking task, generate picking task information for the above at least one order; and perform the picking task for the above picking task information.

[0146] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages or combinations thereof. The above programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (for example, by using an Internet service provider to connect through the Internet).

[0147] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code that contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, may be implemented by a dedicated hardware-based system for performing the specified functions or operations, or may be implemented by a combination of dedicated hardware and computer instructions.

[0148] The units described in some embodiments of the present disclosure can be implemented in software or in hardware. The described units can also be provided in a processor. For example, it can be described as: a processor includes a determination unit, a first execution unit, a generation unit, and a second execution unit. Among them, the names of these units do not constitute a limitation on the unit itself in some cases. For example, the determination unit can also be described as "the unit for determining the applicable template for the first order allocation corresponding to the current moment".

[0149] The functions described above in this article can be at least partially executed by one or more hardware logic components. For example, without limitation, the exemplary types of hardware logic components that can be used include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Product (ASSP), System on Chip (SOC), Complex Programmable Logic Device (CPLD), and so on.

[0150] Some embodiments of the present disclosure also provide a computer program product, including a computer program, which implements any of the above task execution methods when executed by a processor.

[0151] The above description is only some preferred embodiments of the present disclosure and an explanation of the applied technical principles. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by the specific combination of the above technical features, and should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above inventive concept. For example, the technical solutions formed by mutually replacing the above features with the (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure.

Claims

1. A task execution method, including: determining a first order allocation applicable template corresponding to the current moment, wherein the first order allocation applicable template includes: a task backlog threshold; in response to determining that the number of tasks currently being executed is less than the task backlog threshold, performing order allocation for at least one order corresponding to the current moment according to the order personalized allocation configuration information included in the first order allocation applicable template to obtain order allocation information; in response to determining that the order allocation information represents taking the at least one order as the same picking task order, generating picking task information for the at least one order; performing a picking task for the picking task information.

2. The method according to claim 1, wherein, the task backlog threshold includes: a picking task backlog threshold and a review task backlog threshold, and the currently executed tasks include: picking tasks and review tasks; and the performing, in response to determining that the number of tasks currently being executed is less than the task backlog threshold, order allocation for at least one order corresponding to the current moment according to the order personalized allocation configuration information included in the first order allocation applicable template includes: in response to determining that the number of picking tasks is less than the picking task backlog threshold and the number of review tasks is less than the review task backlog threshold, performing order allocation for at least one order corresponding to the current moment according to the order personalized allocation configuration information.

3. The method according to claim 1, wherein, the order personalized allocation configuration information includes: a specified number of picking orders and single-item single-piece configuration information; and the performing, according to the order personalized allocation configuration information included in the first order allocation applicable template, order allocation for at least one order corresponding to the current moment to obtain order allocation information includes: determining whether there is a historical set of orders to be allocated corresponding to a historical moment sequence, and determining whether the current moment is within the configuration time corresponding to the single-item single-piece configuration information; in response to determining that there is a historical set of orders to be allocated and the current moment is not within the configuration time corresponding to the single-item single-piece configuration information, determining the sum of the number of orders included in the historical set of orders to be allocated and the number of orders included in the at least one order to obtain a first order number sum; in response to determining that the first order number sum is greater than or equal to the specified number of picking orders, generating order allocation information, wherein the order allocation information represents taking the historical set of orders to be allocated and the at least one order as the same picking task order.

4. The method according to claim 3, wherein, the order personalized allocation configuration information further includes: a specified picking order allocation duration; and the generating, in response to determining that the first order number sum is greater than or equal to the specified number of picking orders, order allocation information includes: Generate order allocation information in response to determining that the first order quantity is greater than or equal to the picking specified order quantity and / or the first total duration is less than or equal to the picking specified order allocation duration, where the order allocation information represents that the historical orders to be allocated set and the at least one order are regarded as orders of the same picking task, and the first total duration is the sum of the durations of the historical time sequence and the current moment.

5. The method according to claim 4, wherein, the order personalized allocation configuration information further includes: an order cut-off time sequence; and the method further includes: In response to determining that the first order quantity is less than the picking specified order quantity and the first total duration is less than the picking specified order allocation duration, determine the order cut-off information time in the order cut-off information time sequence that is later than the current moment and the time interval between which and the current moment meets a predetermined condition as the target order cut-off time; Generate the order allocation information according to the target order cut-off time.

6. The method according to claim 5, wherein, the generating the order allocation information according to the target order cut-off time includes: Determine the time difference between the target order cut-off time and the current moment; Add the time difference to the corresponding duration of the historical time sequence to obtain an added duration; In response to determining that the added duration is less than or equal to the picking specified order allocation duration, determine a first set of orders to be allocated in the first future time period, where the first future time period is the time period between the target order cut-off time and the current moment; Add the number of orders included in the first set of orders to be allocated in the first future time period, the first order quantity sum, and the number of orders included in the historical orders to be allocated set as the second order quantity sum; Generate order allocation information in response to determining that the second order quantity sum is less than or equal to the picking specified order quantity, where the order allocation information represents that the first set of orders to be allocated in the first future time period, the at least one order, and the historical orders to be allocated set are regarded as orders of the same picking task.

7. The method according to claim 6, wherein, the method further includes: In response to determining that the second order quantity sum is greater than the picking specified order quantity, sort the first set of orders to be allocated in the first future time period, the at least one order, and the historical orders to be allocated set according to the order time corresponding to the first future orders to be allocated to obtain a first order group sequence; Perform order group division on the first order group sequence according to the picking specified order quantity to obtain at least two first order group subsequences; Generate the order allocation information, where the order allocation information represents that each of the at least two first order group subsequences is regarded as an order of the same picking task.

8. The method according to claim 6, wherein, the method further includes: In response to determining that the addition duration is greater than the picking specified order allocation duration, determine a second future order set to be allocated within a second future time period, where the second future time period is generated based on the picking specified order allocation duration and the current moment; Determine the sum between the number of orders included in the second future order set to be allocated and the first order number to obtain a third order number sum; In response to determining that the third order number sum is less than or equal to the picking specified order number, generate order allocation information, where the order allocation information represents taking the second future order set to be allocated, the at least one order, and the historical order set to be allocated as orders of the same picking task.

9. The method according to claim 8, wherein, the method further includes: In response to determining that the third order number sum is greater than the picking specified order number, determine a third future sub-time period within the second future time period, where the third future sub-time period includes a sequence of future moments, the number of orders corresponding to a second future order subset to be allocated is less than the picking specified order number, the second future order subset to be allocated is an order set corresponding to a first future moment subsequence in the second future order set to be allocated, the first future moment subsequence is a sequence obtained by removing the future moment corresponding to the target position from the sequence of future moments, and the number of orders corresponding to the third future sub-time period is greater than or equal to the picking specified order number.

10. The method according to claim 3, wherein, the method further includes: In response to determining that there is the historical order set to be allocated and it is within the configuration time corresponding to the single-item single-piece configuration information, screen out orders associated with the single-item single-piece configuration information from the at least one order as single-style orders to obtain at least one single-style order; Determine the sum of the number of orders included in the historical order set to be allocated and the number of orders included in the at least one single-style order to obtain a fourth order number sum; In response to determining that the fourth order number sum is greater than or equal to the picking specified order number, generate order allocation information, where the order allocation information represents taking the historical order set to be allocated and the at least one single-style order as orders of the same picking task.

11. A task execution device, including: A determination unit configured to determine a first applicable order allocation template corresponding to the current moment, where the first applicable order allocation template includes: a task backlog threshold; A first execution unit configured to, in response to determining that the number of tasks currently being executed is less than the task backlog threshold, perform order allocation for at least one order corresponding to the current moment according to the order personalized allocation configuration information included in the first applicable order allocation template to obtain order allocation information; A generation unit configured to, in response to determining that the order allocation information represents taking the at least one order as orders of the same picking task, generate picking task information for the at least one order; A second execution unit configured to execute the picking task for the picking task information.

12. An electronic device, including: One or more processors; A storage device having stored thereon one or more programs, which, when executed by the one or more processors, cause the one or more processors to implement the method according to any one of claims 1-10.

13. A computer-readable medium having stored thereon a computer program, wherein, the computer program, when executed by a processor, implements the method according to any one of claims 1-10.

14. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-10.