Method, apparatus, electronic device, and storage medium for task processing
By generating multiple handling tasks and assigning target equipment, the problem of long and low efficiency of order tasks in the logistics and warehousing system is solved, and multiple equipments are realized to complete order tasks at the same time, improving efficiency.
Patent Information
- Application Number
- CN202010877142.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-27
- Publication Date
- 2025-06-10
- Estimated Expiration
- 2040-08-27
AI Technical Summary
In a logistics storage system, an order may contain multiple goods, and these goods are stored on different shelves, resulting in the need to be carried multiple times of handling equipment, resulting in a longer time to complete the order task and low efficiency.
By obtaining order information of the order task, multiple handling tasks are generated, each handling task is associated with a storage location information, and a target handling equipment is assigned to each handling task, and the control device performs the handling task according to the stored location information.
It realizes that multiple handling equipment can complete one order task at the same time, reducing the completion time of order task and improving the execution efficiency of order task.
Smart Images

Figure CN114118886B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of logistics warehousing, and in particular, to a method, an apparatus, an electronic device, and a storage medium for task processing. Background Art
[0002] Currently, goods are stored on the shelves of a warehouse so that after receiving an order, a handling device can be controlled to move the goods required by the order to a workstation to complete the picking of the goods.
[0003] Generally, after receiving an order task, a server can allocate the order task to a handling device and control the handling device to complete the order task. However, an order may include multiple goods, and the multiple goods may be stored on different shelves. Therefore, the handling device needs to move the shelves or goods multiple times to complete the order task. When controlling a handling device to complete the order task, it will cause a long time to complete the order task and low efficiency. Summary of the Invention
[0004] Embodiments of the present disclosure at least provide a method, an apparatus, an electronic device, and a storage medium for task processing.
[0005] In a first aspect, an embodiment of the present disclosure provides a method for task processing, including:
[0006] Obtaining order information corresponding to an order task;
[0007] Generating a corresponding plurality of handling tasks for the order task according to the order information; each handling task is associated with a storage location information;
[0008] Allocating a corresponding target handling device to each handling task, and controlling each target handling device to execute the handling task according to the storage location information associated with the corresponding handling task.
[0009] In an optional implementation manner, generating a corresponding plurality of handling tasks for the order task according to the order information includes:
[0010] Generating a corresponding plurality of handling tasks for the order task according to the storage location corresponding to each to-be-operated good included in the order information and the required quantity of the to-be-operated good, or according to the storage location corresponding to each to-be-operated good included in the order information.
[0011] In an optional implementation manner, allocating a corresponding target handling device to each handling task includes:
[0012] Based on the handling distances between the current positions of each handling device among the multiple handling devices and the storage location information associated with each handling task, assign a corresponding target handling device for each of the handling tasks from the multiple handling devices; and / or,
[0013] Based on the number of unexecuted tasks corresponding to each handling device among the multiple handling devices and the set threshold of the number of tasks that can be undertaken, assign a corresponding target handling device for each of the handling tasks from the multiple handling devices.
[0014] In an optional implementation manner, controlling each target handling device to execute the handling task according to the storage location information associated with the corresponding handling task includes:
[0015] When there are other pending handling tasks other than the handling task in the target handling device, based on the task levels and / or receiving times of each handling task among the other pending handling tasks and the handling task, determine the execution order of the other pending handling tasks and the handling task;
[0016] Control the target handling device to execute the handling task and the other pending handling tasks according to the determined execution order.
[0017] In an optional implementation manner, before obtaining the order information, the method further includes:
[0018] Obtain historical order information;
[0019] Based on the historical order information, determine the degree of association between the multiple stored goods;
[0020] Based on the degree of association between the multiple goods, the distances between different shelves, and the set storage conditions, determine the storage positions of the storage shelves corresponding to each good, and control the handling device to transport each good to the corresponding storage position, where the set storage conditions include: multiple goods with a high degree of association are placed on different shelves, and / or, the mapping relationship between the distance between shelves and the degree of association.
[0021] In an optional implementation manner, before obtaining the order information, the method further includes:
[0022] Set multiple storage areas;
[0023] For each type of good, select multiple target areas from the set multiple storage areas, determine a storage position for the good in each target area respectively, and control the handling device to transport the good to the corresponding multiple storage positions.
[0024] In a second aspect, embodiments of the present disclosure further provide an apparatus for task processing, including:
[0025] An obtaining module is configured to obtain order information corresponding to an order task;
[0026] A generating module is configured to generate a plurality of corresponding handling tasks for the order task according to the order information; each handling task is associated with a storage location information;
[0027] A control module is configured to allocate a corresponding target handling device for each handling task, and control each target handling device to execute the handling task according to the storage location information associated with the corresponding handling task.
[0028] In an optional implementation manner, when generating a plurality of corresponding handling tasks for the order task according to the order information, the generating module is configured to:
[0029] Generate a plurality of corresponding handling tasks for the order task according to the storage location corresponding to each type of goods to be operated included in the order information and the required quantity of the goods to be operated, or according to the storage location corresponding to each type of goods to be operated included in the order information.
[0030] In an optional implementation manner, when allocating a corresponding target handling device for each handling task, the control module is configured to:
[0031] Based on the handling distance between the current position of each handling device among a plurality of handling devices and the storage location information associated with each handling task, allocate a corresponding target handling device for each handling task from the plurality of handling devices; and / or,
[0032] Based on the number of unexecuted tasks corresponding to each handling device among a plurality of handling devices and a set threshold value of the number of tasks that can be undertaken, allocate a corresponding target handling device for each handling task from the plurality of handling devices.
[0033] In an optional implementation manner, when controlling each target handling device to execute the handling task according to the storage location information associated with the corresponding handling task, the control module is configured to:
[0034] When there are other pending handling tasks in the target handling device in addition to the handling task, determine the execution order of the other pending handling tasks and the handling task based on the task level and / or reception time of each handling task in the other pending handling tasks and the handling task;
[0035] Control the target handling device to execute the handling task and the other pending handling tasks according to the determined execution order.
[0036] In an alternative embodiment, before obtaining the order information, the device further includes: a first storage module, configured to:
[0037] Obtain historical order information;
[0038] Based on the historical order information, determine the degree of association between multiple stored goods;
[0039] Based on the degree of association between the multiple goods, the distances between different shelves, and the set storage conditions, determine the storage locations of the storage shelves corresponding to each good, and control the handling device to move each good to the corresponding storage location, where the set storage conditions include: multiple goods with a high degree of association are placed on different shelves, and / or, the mapping relationship between the distance between shelves and the degree of association.
[0040] In an alternative embodiment, before obtaining the order information, the device further includes: a second storage module, configured to:
[0041] Set multiple storage areas;
[0042] For each type of good, select multiple target areas from the set multiple storage areas, determine a storage location for the good in each target area respectively, and control the handling device to move the good to the corresponding multiple storage locations.
[0043] In a third aspect, an embodiment of the present disclosure further provides an electronic device, including: a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device runs, the processor communicates with the memory through the bus. When the machine-readable instructions are executed by the processor, the steps in the first aspect, or any possible implementation manner in the first aspect, are executed.
[0044] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is run by a processor, the steps in the first aspect, or any possible implementation manner in the first aspect, are executed.
[0045] The method, device, electronic device, and storage medium for task processing provided by the embodiments of the present disclosure can generate corresponding multiple handling tasks for an order task after obtaining the order information corresponding to the order task, allocate corresponding target handling devices to each handling task, and control each target handling device to execute the handling task according to the storage location information associated with the corresponding handling task, so as to enable multiple handling devices to complete an order task simultaneously, reduce the completion time of the order task, and improve the execution efficiency of the order task.
[0046] To make the above objects, features, and advantages of the present disclosure more apparent and understandable, the following provides preferred embodiments in conjunction with the accompanying drawings and describes them in detail as follows. Description of the Drawings
[0047] To more clearly illustrate the technical solutions of the embodiments of the present disclosure, the accompanying drawings required for use in the embodiments will be briefly introduced below. These accompanying drawings are incorporated into the specification and constitute a part of this specification. These accompanying drawings show embodiments that conform to the present disclosure and, together with the specification, are used to illustrate the technical solutions of the present disclosure. It should be understood that the following accompanying drawings only show certain embodiments of the present disclosure and should not be regarded as limiting the scope. For those of ordinary skill in the art, without creative efforts, other related accompanying drawings can also be obtained based on these accompanying drawings.
[0048] Figure 1 Shows a flowchart of a method for task processing provided by an embodiment of the present disclosure;
[0049] Figure 2 Shows a schematic diagram of a goods storage area in a method for task processing provided by an embodiment of the present disclosure;
[0050] Figure 3 Shows a schematic diagram of a goods storage area in a method for task processing provided by an embodiment of the present disclosure;
[0051] Figure 4 Shows a schematic diagram of a device for task processing provided by an embodiment of the present disclosure;
[0052] Figure 5 Shows a schematic diagram of an electronic device 500 provided by an embodiment of the present disclosure. Detailed Embodiments
[0053] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all of the embodiments. Usually, the components of the embodiments of the present disclosure described and shown in the accompanying drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the accompanying drawings is not intended to limit the scope of the present disclosure claimed, but only represents selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present disclosure.
[0054] Generally, after receiving an order task, the server can assign the order task to a handling device and control the handling device to complete the order task. However, an order may include multiple goods, and the multiple goods can be stored on different shelves. Therefore, the handling device needs to carry the shelves or goods multiple times to complete the order task. When controlling a handling device to complete the order task, it will cause a long time to complete the order task and low efficiency. Therefore, to solve the above problems, the present disclosure provides a method for task processing.
[0055] Regarding the defects existing in the above solutions, they are all the results obtained by the inventors after practice and careful research. Therefore, the process of discovering the above problems and the solutions proposed by the present disclosure for the above problems in the following text should be the contributions made by the inventors to the present disclosure during the process of the present disclosure.
[0056] It should be noted that similar reference numerals and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings.
[0057] To facilitate the understanding of this embodiment, first, a method for task processing disclosed in the embodiments of the present disclosure will be introduced in detail. The execution subject of the method for task processing provided in the embodiments of the present disclosure is generally a computer device with certain computing capabilities. The computer device includes, for example: a terminal device, a server, or other processing devices. The terminal device can be a user equipment (UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (PDA), a handheld device, a computing device, a wearable device, etc. In some possible implementation manners, the method for task processing can be implemented by a processor calling computer-readable instructions stored in a memory.
[0058] To facilitate the understanding of the embodiments of the present disclosure, first, a method for task processing disclosed in the embodiments of the present disclosure will be introduced in detail.
[0059] Embodiment 1
[0060] See Figure 1 As shown, it is a flowchart of the method for task processing provided by the embodiments of the present disclosure. The method includes steps S101 to S103, where:
[0061] S101, obtain order information corresponding to the order task.
[0062] Here, each generated order task can be obtained in real time from the order management system. Each order task includes corresponding order information, and the order information includes at least one type of goods to be operated. Each type of goods to be operated is stored on the corresponding pick-up shelf in the storage area. Among them, the goods to be operated can be goods to be picked, goods to be shelved, etc.
[0063] S102. According to the order information, generate corresponding multiple handling tasks for the order task; each handling task is associated with a storage location information. This storage location information is the storage location of the goods to be operated corresponding to this handling task.
[0064] Here, after obtaining the order information, corresponding multiple handling tasks for the order task can be generated according to the order information, and each handling task is associated with a storage location information.
[0065] In an optional implementation manner, generating corresponding multiple handling tasks for the order task according to the order information may include:
[0066] Method 1: Generate corresponding multiple handling tasks for the order task according to the storage location corresponding to each type of goods to be operated included in the order information.
[0067] Method 2: Generate corresponding multiple handling tasks for the order task according to the storage location corresponding to each type of goods to be operated included in the order information and the required quantity of the goods to be operated.
[0068] Here, in Method 1, corresponding multiple handling tasks for the order task can be generated according to the storage location corresponding to the goods to be operated. For example, the order information includes goods to be operated A, goods to be operated B, and goods to be operated C. The goods to be operated A corresponds to the storage location information A, the goods to be operated B corresponds to the storage location information B, and the goods to be operated C corresponds to the storage location information C. Therefore, 3 corresponding handling tasks can be generated according to this order information, that is, the first handling task corresponding to the goods to be operated A, the second handling task corresponding to the goods to be operated B, and the third handling task corresponding to the goods to be operated C.
[0069] In the second method, multiple order tasks can be generated according to the storage location of the goods to be operated and the required quantity of the goods to be operated. For example, the order information includes goods A to be operated, goods B to be operated, and goods C to be operated. The storage location information corresponding to goods A to be operated is A, the storage location information corresponding to goods B to be operated is B, and the storage location information corresponding to goods C to be operated is C. The required quantity corresponding to goods A to be operated is two pallets, the required quantity corresponding to goods B to be operated is one pallet, and the required quantity corresponding to goods C to be operated is 0.5 pallet. The handling equipment can carry one pallet of goods each time. Therefore, 4 corresponding handling tasks can be generated according to the order information, that is, the first handling task and the second handling task corresponding to goods A to be operated, the third handling task corresponding to goods B to be operated, and the fourth handling task corresponding to goods C to be operated. Specifically, the first handling task and the second handling task are respectively to carry one pallet of goods from the storage location corresponding to goods A to be operated, the third handling task is to carry one pallet of goods from the storage location corresponding to goods B to be operated, and the fourth handling task is to carry one pallet of goods from the storage location corresponding to goods C to be operated.
[0070] S103. Assign a corresponding target handling equipment to each handling task, and control each target handling equipment to execute the handling task according to the storage location information associated with the corresponding handling task.
[0071] Here, after multiple handling tasks are generated, a corresponding target handling equipment can be assigned to each handling task, and each target handling equipment can be controlled to execute the handling task according to the storage location information associated with the corresponding handling task. Among them, the handling equipment can be a lifting robot, a forklift, etc.
[0072] In an alternative implementation, assigning a corresponding target handling equipment to each handling task may include:
[0073] Based on the handling distance between the current position of each handling equipment among multiple handling equipments and the storage location information associated with each handling task, assign a corresponding target handling equipment to each handling task from multiple handling equipments; and / or,
[0074] Based on the number of unexecuted tasks corresponding to each handling equipment among multiple handling equipments and the set threshold of the number of tasks that can be undertaken, assign a corresponding target handling equipment to each handling task from multiple handling equipments.
[0075] Here, the target handling equipment can be determined based on the handling distance between the handling equipment and the storage location information. Exemplarily, for handling task A, the handling distance between the current position of each handling equipment among multiple handling equipments and the storage location information associated with this handling task A can be determined, and the handling equipment with a relatively short handling distance can be selected and determined as the target handling equipment corresponding to this handling task A.
[0076] Based on the number of unexecuted tasks corresponding to each handling device in the handling device and the set task quantity threshold, a corresponding target handling device can also be assigned to each handling device. Exemplarily, if multiple handling devices include handling device A, handling device B, and handling device C, the task quantity threshold is 5, the number of unexecuted tasks in handling device A is 3, the number of unexecuted tasks in handling device B is 4, and the number of unexecuted tasks in handling device C is 5, then it is determined that handling device A and handling device B can be the target handling devices for the corresponding handling tasks.
[0077] In addition, based on the current position of each handling device in the multiple handling devices, the handling distance between the storage location information associated with each handling task, and the number of unexecuted tasks corresponding to each handling device, the target handling device corresponding to each handling task can be determined.
[0078] Exemplarily, for handling task A, if multiple handling devices include handling device A, handling device B, and handling device C, the task quantity threshold is 5, the number of unexecuted tasks in handling device A is 3, the number of unexecuted tasks in handling device B is 4, and the number of unexecuted tasks in handling device C is 5, then handling device A and handling device B are determined as candidate handling devices. The first handling distance between handling device A and the storage location information associated with handling task A and the second handling distance between handling device B and the storage location information associated with handling task A are determined. If the second handling distance is less than the first handling distance, then handling device B is determined as the target handling device corresponding to handling task A.
[0079] As an optional implementation manner, controlling each target handling device to execute the handling task according to the storage location information associated with the corresponding handling task may include:
[0080] 1. When there are other handling tasks to be executed in addition to the handling task in the target handling device, based on the task levels and / or receiving times of each handling task in the other handling tasks to be executed and the handling task, determine the execution order of the other handling tasks to be executed and the handling task;
[0081] 2. Control the target handling device to execute the handling task and the other handling tasks to be executed according to the determined execution order.
[0082] Here, when there are other to-be-executed handling tasks in the target handling device in addition to the handling task, the execution order of the handling tasks can be determined for the target handling device. In specific implementation, the execution order of the handling tasks can be determined according to the handling level of each handling task. For example, if the target handling device includes handling task A, other to-be-executed handling tasks B, and other to-be-executed handling tasks C, the task level corresponding to handling task A is level one, the task level corresponding to other to-be-executed handling task B is level two, and the task level corresponding to other to-be-executed handling task C is level three, then the determined execution order can be handling task A, other to-be-executed handling task B, and other to-be-executed handling task C.
[0083] Among them, the task level corresponding to each handling task can be determined according to the level corresponding to the order task. For example, if the level corresponding to order task A is level one, then the task levels of multiple handling tasks corresponding to order task A are determined to be level one. Or, if order A is an urgent order, the level of order task A corresponding to order A is level one, then the task levels of multiple handling tasks corresponding to order task A are determined to be level one.
[0084] In specific implementation, the execution order of the handling tasks can also be determined according to the receiving time of each handling task. For example, if the target handling device includes handling task A, other to-be-executed handling tasks B, and other to-be-executed handling tasks C, the receiving time corresponding to handling task A is 10:00, the receiving time corresponding to other to-be-executed handling task B is 9:55, and the task level corresponding to other to-be-executed handling task C is 9:50, then the determined execution order can be other to-be-executed handling task C, other to-be-executed handling task B, and handling task A.
[0085] In specific implementation, the execution order of the handling tasks can also be determined based on the task level and receiving time of each handling task. Specifically, sorting can be first performed according to the task level, and when the task levels are the same, sorting can be performed according to the receiving time.
[0086] For example, if the target handling device includes handling task A, other to-be-executed handling tasks B, other to-be-executed handling tasks C, and other to-be-executed handling tasks D, the task level corresponding to handling task A is level one and the receiving time is 10:00, the task level corresponding to other to-be-executed handling task B is level two and the receiving time is 9:45, the task level corresponding to other to-be-executed handling task C is level three and the receiving time is 9:50, and the task level corresponding to other to-be-executed handling task D is level one and the receiving time is 9:50; therefore, the determined execution order can be other to-be-executed handling task D, handling task A, other to-be-executed handling task B, and other to-be-executed handling task C.
[0087] Among them, there are various ways to determine the handling tasks, and only exemplary descriptions are provided here.
[0088] In an alternative embodiment, before obtaining the order information, the method may further include:
[0089] Step 1: Obtain historical order information.
[0090] Step 2: Based on the historical order information, determine the degree of association between the multiple stored goods.
[0091] Step 3: Based on the degree of association between the multiple goods, the distance between different shelves, and the set storage conditions, determine the storage location of the storage shelf corresponding to each good, and control the handling device to move each good to the corresponding storage location, where the set storage conditions include: multiple goods with a high degree of association are placed on different shelves, and / or, the mapping relationship between the distance between the shelves and the degree of association.
[0092] Here, before obtaining the order information, the corresponding storage location can be determined for each good, and the handling device can be controlled to move each good to the corresponding storage location.
[0093] In specific implementation, the historical order information within the target time period of the goods can be used. For example, the historical order information within the past month can be obtained. Based on the historical order information, the degree of association between the multiple stored goods can be determined, and this degree of association represents the probability that the multiple goods appear in one order information.
[0094] Furthermore, based on the degree of association between the multiple goods, the distance between different shelves, and the set storage conditions, the storage location of the storage shelf corresponding to each good can be determined. Among them, the set storage conditions include that multiple goods with a high degree of association are placed on different shelves, and / or, the mapping relationship between the distance between the shelves and the degree of association.
[0095] Generally, in order to store more goods in the goods storage area, the aisles between the shelves are set relatively narrow, and only one handling device can enter the aisle to perform the handling task. That is, after the first handling device performs the handling task in the aisle, the second handling device needs to wait at the aisle entrance. After the first handling device exits the aisle, the second handling device can enter the aisle to perform the handling task.
[0096] Therefore, the waiting time of the handling equipment can be reduced. Multiple goods with a high degree of association can be placed on different shelves. For example, if the degree of association between Goods 1 and Goods 2 is high, Goods 1 can be stored on the first shelf, and Goods 2 can be stored on the second shelf. Among them, the first shelf and the second shelf are located in different aisles, so that the handling equipment 1 corresponding to the first shelf and the handling equipment 2 corresponding to the second shelf can simultaneously execute the handling tasks for the first shelf and the second shelf, reducing the waiting time of the handling equipment and improving the efficiency of the handling equipment in executing the handling tasks.
[0097] See Figure 2 As shown, the figure shows multiple shelves set in the goods storage area. For example, for Storage Shelf 1 21, the distances between Storage Shelf 2 22 and Storage Shelf 3 23 and Storage Shelf 1 21 are the first distance respectively, and the distances between Storage Shelf 4 24 and Storage Shelf 5 25 and Storage Shelf 1 21 are the second distance respectively. The mapping relationship set can be: the first distance corresponds to the degree of association 1, and the second distance corresponds to the degree of association 2. That is, if the degree of association between Goods A and Goods B is the degree of association 1, then Goods A can be stored on Storage Shelf 1 21, and Goods B can be stored on Storage Shelf 2 22, or Goods B can also be stored on Storage Shelf 3 23; if the degree of association between Goods A and Goods C is the degree of association 2, then Goods A can be stored on Storage Shelf 1 21, and Goods C can be stored on Storage Shelf 4 24, or Goods C can also be stored on Storage Shelf 5 25.
[0098] Furthermore, after determining the corresponding storage shelf for each good, the handling equipment can be controlled to move each good to the corresponding storage location.
[0099] In an optional implementation manner, before obtaining the order information, the method further includes:
[0100] Step 1: Set multiple storage areas.
[0101] Step 2: For each type of good, select multiple target areas from the set multiple storage areas, determine a storage location for the good in each target area respectively, and control the handling equipment to move the good to the corresponding multiple storage locations.
[0102] Considering that when the demand for goods in an order is large, multiple handling tasks need to be generated for the goods. In order to enable the target handling device to execute multiple handling tasks corresponding to the goods simultaneously and improve the execution efficiency of the handling tasks, multiple storage areas can be set in the goods storage area. For each type of goods, multiple target areas are selected from the set multiple storage areas, and a storage location is determined for the goods in each target area respectively. The handling device is controlled to transport the goods to the corresponding multiple storage locations, so that multiple subsequent target handling devices can simultaneously transport the goods to be operated from multiple storage locations.
[0103] See Figure 3 As shown, 4 storage areas can be set in the goods storage area, and multiple storage shelves 30 are set in each storage area. For goods A, storage area one 31 and storage area two 32 can be determined as target areas, and a storage location is determined for goods A in storage area one 31 and storage area two 32 respectively. Finally, the handling device is controlled to transport the goods to the corresponding multiple storage locations.
[0104] In the above embodiment, after obtaining the order information corresponding to the order task, multiple handling tasks corresponding to the order task can be generated, a corresponding target handling device is assigned to each handling task, and each target handling device is controlled to execute the handling task according to the storage location information associated with the corresponding handling task, so as to realize multiple handling devices to complete an order task simultaneously, reduce the completion time of the order task, and improve the execution efficiency of the order task.
[0105] Those skilled in the art can understand that in the above method of the specific embodiment, the writing order of each step does not mean a strict execution order and does not constitute any limitation to the implementation process. The specific execution order of each step should be determined according to its function and possible internal logic.
[0106] Based on the same inventive concept, an apparatus for task processing corresponding to the method for task processing is also provided in the embodiments of the present disclosure. Since the principle of solving problems by the apparatus in the embodiments of the present disclosure is similar to that of the above method for task processing in the embodiments of the present disclosure, the implementation of the apparatus can refer to the implementation of the method, and the repeated parts will not be described again.
[0107] Embodiment 2
[0108] Refer to Figure 4 As shown, it is a schematic diagram of an apparatus for task processing provided by an embodiment of the present disclosure. The apparatus includes: an acquisition module 401, a generation module 402, a control module 403, a first storage module 404, and a second storage module 405; wherein,
[0109] The acquisition module 401 is configured to acquire the order information corresponding to the order task;
[0110] The generation module 402 is configured to generate a corresponding plurality of handling tasks for the order task according to the order information; each handling task is associated with a storage location information;
[0111] The control module 403 is configured to allocate a corresponding target handling device for each handling task, and control each target handling device to execute the handling task according to the storage location information associated with the corresponding handling task.
[0112] In an alternative embodiment, when generating a corresponding plurality of handling tasks for the order task according to the order information, the generation module 402 is configured to:
[0113] Generate a corresponding plurality of handling tasks for the order task according to the storage location corresponding to each goods to be operated included in the order information and the required quantity of the goods to be operated, or according to the storage location corresponding to each goods to be operated included in the order information.
[0114] In an alternative embodiment, when allocating a corresponding target handling device for each handling task, the control module 403 is configured to:
[0115] Based on the handling distance between the current position of each handling device among the plurality of handling devices and the storage location information associated with each handling task, allocate a corresponding target handling device for each handling task from the plurality of handling devices; and / or,
[0116] Based on the number of unexecuted tasks corresponding to each handling device among the plurality of handling devices and the set threshold of the number of tasks that can be undertaken, allocate a corresponding target handling device for each handling task from the plurality of handling devices.
[0117] In an alternative embodiment, when controlling each target handling device to execute the handling task according to the storage location information associated with the corresponding handling task, the control module 403 is configured to:
[0118] When there are other pending handling tasks in the target handling device in addition to the handling task, based on the task levels and / or reception times of each handling task in the other pending handling tasks and the handling task, determine the execution order of the other pending handling tasks and the handling task;
[0119] Control the target handling device to execute the handling task and the other pending handling tasks according to the determined execution order.
[0120] In an alternative embodiment, before obtaining the order information, the device further includes: a first storage module 404, configured to:
[0121] Obtain historical order information;
[0122] Based on the historical order information, determine the degree of association between multiple stored goods;
[0123] Based on the degree of association between the multiple goods, the distances between different shelves, and the set storage conditions, determine the storage locations of the storage shelves corresponding to each good, and control the handling device to move each good to the corresponding storage location, where the set storage conditions include: multiple goods with a high degree of association are placed on different shelves, and / or, the mapping relationship between the distance between shelves and the degree of association.
[0124] In an alternative embodiment, before obtaining the order information, the apparatus further includes: a second storage module 405, configured to:
[0125] Set multiple storage areas;
[0126] For each type of good, select multiple target areas from the set multiple storage areas, determine a storage location for the good in each target area respectively, and control the handling device to move the good to the corresponding multiple storage locations.
[0127] The description of the processing flow of each module in the apparatus and the interaction flow between modules can refer to the relevant descriptions in the above method embodiments, and will not be elaborated here.
[0128] Based on the same inventive concept, the embodiments of the present application further provide an electronic device. Refer to Figure 5 As shown, it is a schematic structural diagram of an electronic device 500 provided by an embodiment of the present application, including a processor 501, a memory 502, and a bus 503. Among them, the memory 502 is used to store execution instructions, including an internal memory 5021 and an external memory 5022; here, the internal memory 5021 is also called the main memory, which is used to temporarily store the operation data in the processor 501 and the data exchanged with the external memory 5022 such as the hard disk. The processor 501 exchanges data with the external memory 5022 through the internal memory 5021. When the electronic device 500 runs, the processor 501 communicates with the memory 502 through the bus 503, so that the processor 501 executes the following instructions:
[0129] Obtain the order information corresponding to the order task;
[0130] Generate corresponding multiple handling tasks for the order task according to the order information; each handling task is associated with a storage location information;
[0131] Allocate a corresponding target handling device for each handling task, and control each target handling device to execute the handling task according to the storage location information associated with the corresponding handling task.
[0132] In a possible implementation, among the instructions executed by the processor 501, generating a corresponding plurality of handling tasks for the order task according to the order information includes:
[0133] Generating a corresponding plurality of handling tasks for the order task according to the storage location corresponding to each goods to be operated included in the order information and the required quantity of the goods to be operated, or according to the storage location corresponding to each goods to be operated included in the order information.
[0134] In a possible implementation, among the instructions executed by the processor 501, allocating a corresponding target handling device for each handling task includes:
[0135] Based on the handling distance between the current position of each handling device among the plurality of handling devices and the storage location information associated with each handling task, allocating a corresponding target handling device for each of the handling tasks from the plurality of handling devices; and / or,
[0136] Based on the number of unexecuted tasks corresponding to each handling device among the plurality of handling devices and the set threshold of the number of tasks that can be undertaken, allocating a corresponding target handling device for each of the handling tasks from the plurality of handling devices.
[0137] In a possible implementation, among the instructions executed by the processor 501, controlling each target handling device to execute the handling task according to the storage location information associated with the corresponding handling task includes:
[0138] When there are other handling tasks to be executed in the target handling device in addition to the handling task, determining the execution order of the other handling tasks to be executed and the handling task based on the task level and / or reception time of each handling task in the other handling tasks to be executed and the handling task;
[0139] Controlling the target handling device to execute the handling task and the other handling tasks to be executed according to the determined execution order.
[0140] In a possible implementation, among the instructions executed by the processor 501, before obtaining the order information, the method further includes:
[0141] Obtaining historical order information;
[0142] Based on the historical order information, determining the degree of association between the stored plurality of goods;
[0143] Based on the degree of association between the multiple goods, the distances between different shelves, and the set storage conditions, determine the storage locations of the storage shelves corresponding to each good, and control the handling equipment to move each good to the corresponding storage location, where the set storage conditions include: multiple goods with a high degree of association are placed on different shelves, and / or, the mapping relationship between the distances between the shelves and the degree of association.
[0144] In a possible implementation manner, in the instructions executed by the processor 501, before obtaining the order information, the method further includes:
[0145] Set multiple storage areas;
[0146] For each type of good, select multiple target areas from the set multiple storage areas, determine a storage location for the good in each target area respectively, and control the handling equipment to move the good to the corresponding multiple storage locations.
[0147] The embodiments of the present disclosure further provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is run by a processor, it executes the steps of the method for task processing described in the above method embodiments. Among them, the storage medium can be a volatile or non-volatile computer-readable storage medium.
[0148] The computer program product of the method for task processing provided by the embodiments of the present disclosure includes a computer-readable storage medium storing program code, and the instructions included in the program code can be used to execute the steps of the method for task processing described in the above method embodiments. For details, refer to the above method embodiments, and details will not be described herein again.
[0149] The embodiments of the present disclosure further provide a computer program, which when executed by a processor implements any one of the methods in the foregoing embodiments. The computer program product can be specifically implemented in a manner of hardware, software, or a combination thereof. In an optional embodiment, the computer program product is specifically embodied as a computer storage medium, and in another optional embodiment, the computer program product is specifically embodied as a software product, such as a Software Development Kit (SDK), etc.
[0150] Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes of the systems and devices described above can refer to the corresponding processes in the foregoing method embodiments, and will not be elaborated herein. In the several embodiments provided in the present disclosure, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. For another example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the couplings, direct couplings, or communication connections shown or discussed with each other can be through some communication interfaces. The indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms.
[0151] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0152] In addition, in each embodiment of the present disclosure, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.
[0153] If the functions are implemented in the form of software function units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such an understanding, the technical solution of the present disclosure, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of the present disclosure. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs that can store program codes.
[0154] Finally, it should be noted that the above-described embodiments are only specific embodiments of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than limiting them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that any person skilled in the art within the technical scope disclosed by the present disclosure can still modify the technical solutions recorded in the foregoing embodiments, or can easily think of changes, or perform equivalent replacements on some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should all be covered within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.
Claims
1. A method for task processing, characterized in that, it includes: Obtaining order information corresponding to an order task; When the order task includes multiple goods to be operated, according to the order information, generating multiple corresponding handling tasks for the order task; each handling task is associated with a storage location information; the storage location information is used to reflect the position of the goods to be operated corresponding to the handling task on the storage shelf, and one handling task corresponds to one kind of goods to be operated; Allocating a corresponding target handling device for each handling task from multiple handling devices, and controlling each target handling device to execute the handling task according to the storage location information associated with the corresponding handling task; Before obtaining the order information, the method further includes: Obtaining historical order information; Based on the historical order information, determining the degree of association between multiple stored goods; Based on the degree of association between the multiple goods, the distance between different shelves, and the set storage conditions, determining the storage position of the storage shelf corresponding to each good, and controlling the handling device to move each good to the corresponding storage position, where the set storage conditions include: multiple goods with a high degree of association are placed on different shelves, and / or, the mapping relationship between the distance between shelves and the degree of association.
2. The method according to claim 1, characterized in that, Generating multiple corresponding handling tasks for the order task according to the order information includes: Generating multiple corresponding handling tasks for the order task according to the storage position corresponding to each good to be operated included in the order information and the required quantity of the goods to be operated, or according to the storage position corresponding to each good to be operated included in the order information.
3. The method according to claim 1, characterized in that, Allocating a corresponding target handling device for each handling task includes: Based on the handling distance between the current position of each handling device among multiple handling devices and the storage location information associated with each handling task, allocating a corresponding target handling device for each handling task from the multiple handling devices; and / or, Based on the number of unexecuted tasks corresponding to each handling device among multiple handling devices and the set threshold of the number of tasks that can be undertaken, allocating a corresponding target handling device for each handling task from the multiple handling devices.
4. The method according to claim 1, characterized in that, Controlling each target handling device to execute the handling task according to the storage location information associated with the corresponding handling task includes: When there are other pending handling tasks in the target handling device in addition to the handling task, based on the task levels and / or receiving times of each handling task in the other pending handling tasks and the handling task, determining the execution order of the other pending handling tasks and the handling task; Controlling the target handling device to execute the handling task and the other pending handling tasks according to the determined execution order.
5. The method according to any one of claims 1 to 4, characterized in that, Before obtaining the order information, the method further includes: Set multiple storage areas; For each type of goods, select multiple target areas from the set multiple storage areas, determine a storage location for the goods in each target area respectively, and control the handling equipment to transport the goods to the corresponding multiple storage locations.
6. A device for task processing, characterized in that, it includes: An acquisition module configured to acquire order information corresponding to an order task; A generation module configured to, when the order task includes multiple types of goods to be operated, generate corresponding multiple handling tasks for the order task according to the order information; each handling task is associated with a storage location information; the storage location information is used to reflect the position of the goods to be operated corresponding to the handling task on the storage shelf, and one handling task corresponds to one type of goods to be operated; A control module configured to allocate a corresponding target handling device for each handling task from multiple handling devices, and control each target handling device to execute the handling task according to the storage location information associated with the corresponding handling task; Before acquiring the order information, the device further includes: a first storage module, configured to: Acquire historical order information; Based on the historical order information, determine the degree of association between the stored multiple goods; Based on the degree of association between the multiple goods, the distance between different shelves, and the set storage conditions, determine the storage positions of the storage shelves corresponding to each good, and control the handling equipment to transport each good to the corresponding storage position, where the set storage conditions include: multiple goods with a high degree of association are placed on different shelves, and / or, the mapping relationship between the distance between the shelves and the degree of association.
7. The device according to claim 6, characterized in that, When generating corresponding multiple handling tasks for the order task according to the order information, the generation module is configured to: Generate corresponding multiple handling tasks for the order task according to the storage position corresponding to each type of goods to be operated included in the order information and the required quantity of the goods to be operated, or, according to the storage position corresponding to each type of goods to be operated included in the order information.
8. The device according to claim 6, characterized in that, When allocating a corresponding target handling device for each handling task, the control module is configured to: Based on the handling distance between the current position of each handling device among the multiple handling devices and the storage location information associated with each handling task, allocate a corresponding target handling device for each handling task from the multiple handling devices; and / or, Based on the number of unexecuted tasks corresponding to each handling device among the multiple handling devices and the set threshold of the number of tasks that can be undertaken, allocate a corresponding target handling device for each handling task from the multiple handling devices.
9. The device according to claim 6, characterized in that, When controlling each target handling device to execute the handling task according to the storage location information associated with the corresponding handling task, the control module is configured to: When there are other handling tasks to be executed in addition to the handling task in the target handling device, based on the task levels and / or receiving times of each handling task in the other handling tasks to be executed and the handling task, determine the execution order of the other handling tasks to be executed and the handling task; According to the determined execution order, control the target handling device to execute the handling task and the other handling tasks to be executed.
10. The device according to any one of claims 7 to 9, characterized in that, Before obtaining the order information, the device further includes: a second storage module, configured to: Set a plurality of storage areas; For each type of goods, select a plurality of target areas from the set plurality of storage areas, determine a storage location for the goods in each target area respectively, and control the handling device to transport the goods to the corresponding plurality of storage locations.
11. An electronic device, characterized in that, comprising: A processor, a memory and a bus, the memory stores machine-readable instructions executable by the processor. When the electronic device runs, the processor communicates with the memory through the bus. When the machine-readable instructions are executed by the processor, the steps of the method for task processing according to any one of claims 1 to 5 are executed.
12. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, the steps of the method for task processing according to any one of claims 1 to 5 are executed.
Citation Information
Patent Citations
Order task-based sorting method and device, server and medium
CN108846609A
Goods storage method and device
CN111476521A