Scheduling method and device for warehousing tasks, processor and storage medium

By splitting warehousing tasks and processing task queues, the problem of low execution efficiency of the existing warehousing control system is solved, efficient task execution and system stability are achieved, and maintenance costs are reduced.

CN118606033APending Publication Date: 2024-09-06ZHONGKE YUNGU TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410862646.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing warehouse control systems have low execution efficiency when faced with warehousing tasks in multiple execution scenarios, and thread expansion leads to increased system complexity and resource consumption.

Method used

By splitting warehousing tasks, subtasks are generated, and the subtasks are piled into task queues and subtask type queues, and are sent to the corresponding execution devices through the subtask type queues to achieve the logical execution time point of the subtask and the actual execution time. The decoupling of points reduces the possibility of crashes caused by the execution device receiving multiple subtasks at the same time.

Benefits of technology

It improves the execution efficiency of warehousing tasks, reduces the complexity and resource consumption of the warehousing control system, and enhances the scalability and exception traceability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118606033A
    Figure CN118606033A
Patent Text Reader

Abstract

The invention discloses a scheduling method and a scheduling device for storage tasks, a processor and a storage medium, and belongs to the technical field of storage management. The scheduling method comprises the steps of obtaining a storage task; splitting the storage task to obtain at least one subtask; stacking the subtasks into a task queue; obtaining a current subtask type corresponding to a current subtask in the task queue; and stacking the current sub-task into a sub-task type queue corresponding to the current sub-task type so as to issue the current sub-task to a corresponding execution device through the sub-task type queue. According to the method, the sub-tasks obtained after splitting are sequentially stacked into the sub-task type queues corresponding to the sub-task types through the task queue, so that the sub-tasks are issued to the corresponding execution equipment through the sub-task type queues, and the execution efficiency of the storage task can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of warehouse management, and in particular to a scheduling method, a scheduling device, a processor and a storage medium for warehouse tasks. Background Art

[0002] The emergence of warehouse control systems is to respond to the logistics industry's pursuit of efficiency, accuracy, flexibility and cost-effectiveness, and to provide solutions for enterprises' warehouse management through integrated automation technology and information technology. Existing warehouse control systems are usually thread-centric, using multi-threaded architecture and diverse communication protocols to achieve management and control of automated equipment. However, in the face of warehouse tasks with multiple execution scenarios, existing warehouse control systems can only achieve warehouse management by continuously expanding the thread model, and the continuous expansion of threads will increase the complexity of the warehouse control system and resource consumption, resulting in reduced execution efficiency of warehouse tasks. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a scheduling method, a scheduling device, a processor and a storage medium for warehousing tasks, so as to solve the problem of low execution efficiency of warehousing tasks in existing warehousing control systems.

[0004] In order to achieve the above-mentioned purpose, the first aspect of the embodiment of the present application provides a scheduling method for warehousing tasks, the scheduling method comprising:

[0005] Get storage tasks;

[0006] Split the storage task to obtain at least one subtask;

[0007] Stack subtasks into the task queue;

[0008] Get the current subtask type corresponding to the current subtask in the task queue;

[0009] The current subtask is stacked into a subtask type queue corresponding to the current subtask type, so as to send the current subtask to the corresponding execution device through the subtask type queue.

[0010] In an embodiment of the present application, a warehousing task is split to obtain at least one subtask, including: obtaining the task type and task execution location of the warehousing task; determining the corresponding preset task configuration template according to the task type, and splitting the warehousing task according to the preset task configuration template and the task execution location to obtain at least one subtask.

[0011] In an embodiment of the present application, a corresponding preset task configuration template is determined according to the task type, and the warehousing task is split according to the preset task configuration template and the task execution position to obtain at least one subtask, including: in the case where the task type is a first task type, according to the first preset task configuration template and the task execution position corresponding to the first task type, the warehousing task is split into a material transportation subtask and a material shelving subtask at the task execution position, and the first task type is a task type for moving materials from an initial material buffer point to a target material shelf; in the case where the task type is a second task type, according to the second preset task configuration template and the task execution position corresponding to the second task type, the warehousing task is split into a task execution position The second task type is a task type for moving materials from an initial material shelf to a target material buffer point; when the task type is a third task type, a third preset task configuration template corresponding to the third task type is obtained, and the third preset task configuration template includes a fourth preset task configuration template and a fifth preset task configuration template. The third task type is a task type for moving materials from an initial material shelf to a target material shelf; according to the task execution location, the fourth preset task configuration template or the fifth preset task configuration template is determined as the target preset task configuration template, and the warehousing task is split according to the target preset task configuration template and the task execution location to obtain at least one subtask.

[0012] In an embodiment of the present application, according to the task execution location, the fourth preset task configuration template or the fifth preset task configuration template is determined as the target preset task configuration template, and the warehousing task is split according to the target preset task configuration template and the task execution location to obtain at least one subtask, including: when the task execution location is any one of the high-bay warehouse and the four-way garage, the fourth preset task configuration template is determined as the target preset task configuration template, and the warehousing task is split according to the target preset task configuration template to obtain the material transfer subtask at the high-bay warehouse or the four-way garage; when the task execution location is a punching and welding vertical warehouse, the initial material shelf and the material corresponding to the warehousing task are judged. Whether the target material shelf is located in the same aisle; when the initial material shelf of the material and the target material shelf are located in the same aisle, the fourth preset task configuration template is determined as the target preset task configuration template, and the storage task is split according to the target preset task configuration template and the task execution location to obtain the material transfer subtask at the punching and welding warehouse; when the initial material shelf of the material and the target material shelf are not located in the same aisle, the fifth preset task configuration template is determined as the target preset task configuration template, and the storage task is split according to the target preset task configuration template and the task execution location to obtain the material unloading subtask, material transportation subtask and material shelving subtask at the punching and welding warehouse.

[0013] In an embodiment of the present application, after the current subtask is stacked into the subtask type queue corresponding to the current subtask type, it also includes: when the current subtask in the subtask type queue is the earliest subtask stacked in the subtask type queue, consuming the current subtask in the subtask type queue to determine the execution device corresponding to the current subtask; determining whether the execution device corresponding to the current subtask is in a non-working state; and when the execution device corresponding to the current subtask is in a non-working state, sending the current subtask to the execution device.

[0014] In an embodiment of the present application, the scheduling method also includes: obtaining the execution status of the current subtask fed back by the execution device; when the execution status is the execution completion status, determining the target task queue corresponding to the current subtask, the target task queue is a task queue that stacks the current subtask into the subtask type queue; when there are multiple subtasks in the target task queue, updating the next subtask in the target task queue to the current subtask, the next subtask is determined according to a preset subtask execution order among the multiple subtasks in the target task queue.

[0015] In an embodiment of the present application, the scheduling method also includes: obtaining the task execution location of the warehousing task, the task execution location includes a stamping and welding warehouse; when the task execution location is a stamping and welding warehouse, after stacking the current subtask into the subtask type queue corresponding to the current subtask type, it also includes: determining the current task execution lane of the current subtask; when the current subtask in the subtask type queue is the earliest subtask stacked in the subtask type queue, stacking the current subtask in the subtask type queue into the lane subtask queue corresponding to the current task execution lane, so as to send the current subtask to the corresponding execution device through the lane subtask queue.

[0016] A second aspect of an embodiment of the present application provides a processor configured to execute the above-mentioned scheduling method for warehousing tasks.

[0017] The third aspect of the embodiment of the present application provides a scheduling device for warehousing tasks, including: a warehousing task acquisition module, used to acquire warehousing tasks; a warehousing task splitting module, used to split warehousing tasks to obtain at least one subtask; a subtask publishing module, used to stack subtasks into a task queue; a subtask type acquisition module, used to acquire a current subtask type corresponding to the current subtask in the task queue; a current subtask issuing module, used to stack the current subtask into a subtask type queue corresponding to the current subtask type, so as to issue the current subtask to the corresponding execution device through the subtask type queue.

[0018] A fourth aspect of an embodiment of the present application provides a machine-readable storage medium having instructions stored thereon, the instructions being used to enable a machine to execute the above-mentioned scheduling method for warehousing tasks.

[0019] The above technical solution obtains a storage task and splits the storage task to obtain at least one subtask, then piles the subtask into a task queue, and then obtains the current subtask type corresponding to the current subtask in the task queue, and finally piles the current subtask into a subtask type queue corresponding to the current subtask type, so as to send the current subtask to the corresponding execution device through the subtask type queue. The present application sequentially piles the subtasks obtained after splitting into the subtask type queue corresponding to the subtask type through the task queue, so as to send the subtask to the corresponding execution device through the subtask type queue, which can decouple the logical execution time of the subtask from the actual execution time, reduce the possibility of the execution device crashing due to receiving multiple subtasks at the same time, and improve the execution efficiency of the storage task.

[0020] Other features and advantages of the embodiments of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the accompanying drawings:

[0022] Figure 1 A schematic diagram of a process flow of a scheduling method for warehousing tasks according to an embodiment of the present application is schematically shown;

[0023] Figure 2 The following schematically shows an architecture diagram of a subtask type queue according to a specific embodiment of the present application;

[0024] Figure 3 A schematic diagram schematically shows a subtask execution process according to a specific embodiment of the present application;

[0025] Figure 4 The structure diagram of a scheduling device for warehousing tasks according to an embodiment of the present application is schematically shown. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific implementation methods described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0027] It should be noted that if the embodiments of the present application involve directional indications (such as up, down, left, right, front, back...), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0028] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0029] Figure 1 The following schematically shows a flow chart of a scheduling method for warehousing tasks according to an embodiment of the present application. Figure 1 As shown, the embodiment of the present application provides a scheduling method for warehousing tasks, and the scheduling method is applied to a processor as an example for explanation. The method may include the following steps:

[0030] Step S101: Obtain storage tasks.

[0031] Step S102: Split the warehousing task to obtain at least one subtask.

[0032] Step S103: stacking the subtasks into the task queue.

[0033] Step S104: Obtain the current subtask type corresponding to the current subtask in the task queue.

[0034] Step S105: stacking the current subtask into a subtask type queue corresponding to the current subtask type, so as to send the current subtask to a corresponding execution device through the subtask type queue.

[0035] In order to improve the execution efficiency of the warehousing task, in an embodiment of the present application, the processor can split the warehousing task after receiving the warehousing task, so as to obtain at least one subtask. Subsequently, the processor can publish the subtask to the task queue. Among them, the task queue can be one task queue or multiple task queues, and the task queue can adopt the Routing Key mode. When there are multiple task queues, there is no restriction on the execution order between the subtasks of the multiple task queues. In this way, when multiple subtasks are obtained by splitting, the current subtask in the task queue can be determined according to the preset subtask execution order corresponding to the multiple subtasks. At this time, the current subtask is the subtask that is ranked first and has not been executed in the preset subtask execution order. When only one subtask is obtained after splitting, the subtask is the current subtask in the task queue. Then, the processor can obtain the current subtask type corresponding to the current subtask. The subtask type is maintained according to the actual task execution location. For example, for a punching and welding warehouse, the corresponding subtask type can include punching and welding warehouse shelving, punching and welding warehouse de-shelfing, and punching and welding warehouse transfer. The subtask type queue corresponds to the subtask type one by one. Then, after determining the current subtask type corresponding to the current subtask, the processor can stack the current subtask into the subtask type queue corresponding to the current subtask type through the task queue, thereby sending the current subtask to the corresponding execution device through the subtask type queue, so that the execution device executes the current subtask. The execution device can be an execution device in a remote control system (RCS), a production line central control system, and a hardware PLC system. It should be noted that the corresponding execution device differs according to the subtask type. When sending a subtask, the processor can determine the device that can execute the subtask as the corresponding execution device according to the subtask type.

[0036] The above technical solution obtains a storage task and splits the storage task to obtain at least one subtask, then piles the subtask into a task queue, and then obtains the current subtask type corresponding to the current subtask in the task queue, and finally piles the current subtask into a subtask type queue corresponding to the current subtask type, so as to send the current subtask to the corresponding execution device through the subtask type queue. The present application sequentially piles the subtasks obtained after splitting into the subtask type queue corresponding to the subtask type through the task queue, so as to send the subtask to the corresponding execution device through the subtask type queue, which can decouple the logical execution time of the subtask from the actual execution time, reduce the possibility of the execution device crashing due to receiving multiple subtasks at the same time, and improve the execution efficiency of the storage task.

[0037] In an embodiment of the present application, a warehousing task is split to obtain at least one subtask, including: obtaining the task type and task execution location of the warehousing task; determining the corresponding preset task configuration template according to the task type, and splitting the warehousing task according to the preset task configuration template and the task execution location to obtain at least one subtask.

[0038] The processor can split the storage task to obtain at least one subtask. Specifically, when receiving the storage task, the processor can obtain the task type and task execution location of the storage task. Then, the processor can determine the corresponding preset task configuration template according to the task type, and then split the storage task according to the preset task configuration template and the task execution location, thereby obtaining at least one subtask. In this way, the processor can split the storage task into at least one subtask, which is convenient for the subsequent distribution of the subtask through the corresponding subtask type queue.

[0039] In an embodiment of the present application, a corresponding preset task configuration template is determined according to the task type, and the warehousing task is split according to the preset task configuration template and the task execution position to obtain at least one subtask, including: in the case where the task type is a first task type, according to the first preset task configuration template and the task execution position corresponding to the first task type, the warehousing task is split into a material transportation subtask and a material shelving subtask at the task execution position, and the first task type is a task type for moving materials from an initial material buffer point to a target material shelf; in the case where the task type is a second task type, according to the second preset task configuration template and the task execution position corresponding to the second task type, the warehousing task is split into a task execution position The second task type is a task type for moving materials from an initial material shelf to a target material buffer point; when the task type is a third task type, a third preset task configuration template corresponding to the third task type is obtained, and the third preset task configuration template includes a fourth preset task configuration template and a fifth preset task configuration template. The third task type is a task type for moving materials from an initial material shelf to a target material shelf; according to the task execution location, the fourth preset task configuration template or the fifth preset task configuration template is determined as the target preset task configuration template, and the warehousing task is split according to the target preset task configuration template and the task execution location to obtain at least one subtask.

[0040] It can be understood that the task type includes a first task type, a second task type, and a third task type. The first task type is a task type for moving materials from an initial material buffer point to a target material shelf, the second task type is a task type for moving materials from an initial material shelf to a target material buffer point, and the third task type is a task type for moving materials from an initial material shelf to a target material shelf. The initial material buffer point refers to the buffer point position where the material is located before the storage task is performed, and the target material shelf refers to the shelf position to which the material should be moved after the storage task is completed. The initial material shelf refers to the shelf position where the material is located before the storage task is performed, and the target material buffer point refers to the buffer point position to which the material should be moved after the storage task is completed. In addition, the task type may also include a fourth task type, which is a task type for moving materials from an initial material buffer point to a target material buffer point. The material unloading subtask refers to a subtask for moving materials under the shelf. The material transportation subtask refers to a subtask for moving materials from one docking point / buffer point to another docking point / buffer point. The material loading subtask is a subtask for moving materials onto the shelf.

[0041] Specifically, the first preset task configuration template is a preset task configuration template corresponding to the first task type. When the task type of the warehousing task is the first task type, the processor can split the warehousing task according to the first preset task configuration template and the task execution location, thereby obtaining the material transportation subtask and the material shelving subtask at the task execution location. For example, if the task execution location is a high-bay warehouse, the processor can split the warehousing task into the material transportation subtask and the material shelving subtask at the high-bay warehouse. For another example, if the task execution location is a four-way garage, the processor can split the warehousing task into the material transportation subtask and the material shelving subtask at the four-way garage. For another example, if the task execution location is a punching and welding warehouse, the processor can split the warehousing task into the material transportation subtask and the material shelving subtask at the punching and welding warehouse. It should be noted that the execution order of the material transportation subtask at the task execution location takes precedence over the material shelving subtask at the task execution location. In this way, the splitting of the warehousing task of the first task type can be completed.

[0042] The second preset task configuration template is a preset task configuration template corresponding to the second task type. When the task type of the warehousing task is the second task type, the processor can split the warehousing task according to the second preset task configuration template and the task execution location, thereby obtaining the material unloading subtask and the material transportation subtask at the task execution location. For example, if the task execution location is a high-bay warehouse, the processor can split the warehousing task into the material unloading subtask and the material transportation subtask at the high-bay warehouse. For another example, if the task execution location is a four-way garage, the processor can split the warehousing task into the material unloading subtask and the material transportation subtask at the four-way garage. For another example, if the task execution location is a punching and welding warehouse, the processor can split the warehousing task into the material unloading subtask and the material transportation subtask at the punching and welding warehouse. It should be noted that the execution order of the material unloading subtask at the task execution location takes precedence over the material transportation subtask at the task execution location. In this way, the splitting of the warehousing task of the second task type can be completed.

[0043] The third preset task configuration template is a preset task configuration template corresponding to the third task type. According to the difference in the operating environment of the task execution location, the fourth preset task configuration template and the fifth preset task configuration template included in the third preset task configuration template can be determined. Thus, for the warehousing task of the third task type, any one of the fourth preset task configuration template and the fifth preset task configuration template can be determined as the target preset task configuration template according to the task execution location, and the warehousing task can be split according to the target preset task configuration template and the task execution location to obtain at least one subtask. In this way, the warehousing task of the third task type is split based on the operating environment of the task execution location, so that the actual operating environment of the task execution location can be adapted when executing the subtasks.

[0044] In addition, for a warehousing task whose task type is the fourth task type, the processor may convert the warehousing task into a material transportation subtask.

[0045] In an embodiment of the present application, according to the task execution location, the fourth preset task configuration template or the fifth preset task configuration template is determined as the target preset task configuration template, and the warehousing task is split according to the target preset task configuration template and the task execution location to obtain at least one subtask, including: when the task execution location is any one of the high-bay warehouse and the four-way garage, the fourth preset task configuration template is determined as the target preset task configuration template, and the warehousing task is split according to the target preset task configuration template to obtain the material transfer subtask at the high-bay warehouse or the four-way garage; when the task execution location is a punching and welding vertical warehouse, the initial material shelf and the material corresponding to the warehousing task are judged. Whether the target material shelf is located in the same aisle; when the initial material shelf of the material and the target material shelf are located in the same aisle, the fourth preset task configuration template is determined as the target preset task configuration template, and the storage task is split according to the target preset task configuration template and the task execution location to obtain the material transfer subtask at the punching and welding warehouse; when the initial material shelf of the material and the target material shelf are not located in the same aisle, the fifth preset task configuration template is determined as the target preset task configuration template, and the storage task is split according to the target preset task configuration template and the task execution location to obtain the material unloading subtask, material transportation subtask and material shelving subtask at the punching and welding warehouse.

[0046] Specifically, the material transfer subtask is a subtask of moving materials from one cargo location to another cargo location. The task execution locations of the warehousing task may include a high-bay warehouse and a four-way garage. The high-bay warehouse is an automated warehouse with multi-layer shelves. The four-way garage is an automated warehouse that can be moved in multiple dimensions by a four-way shuttle. In the case where the task execution location is any one of the high-bay warehouse and the four-way garage and the task type is the third task type, it can be determined that the fourth preset task configuration template is the target preset task configuration template, and the processor can split the warehousing task according to the target preset task configuration template. If the task execution location is the high-bay warehouse, then the material transfer subtask at the high-bay warehouse can be obtained. If the task execution location is the four-way garage, then the material transfer subtask at the four-way garage can be obtained. In this way, the splitting of the warehousing task can be completed when the task type of the warehousing task is the third task type and the task execution location is any one of the high-bay warehouse and the four-way garage.

[0047] The task execution location of the storage task also includes a punching and welding warehouse. The punching and welding warehouse is an automated warehouse for storing and managing materials and semi-finished products related to stamping and welding processes, including multiple lanes, each of which is a channel for stackers or other execution equipment to move and operate between shelves. In order to meet the needs of storage management, execution equipment corresponding to each lane is provided. The execution equipment corresponding to each lane moves in each lane to execute subtasks. When the task execution location is a punching and welding warehouse and the task type is a third task type, the processor can obtain the initial material shelf and the target material shelf of the storage task. The initial material shelf refers to the shelf position where the material is located before the storage task is completed. The target material shelf refers to the shelf position to which the material should be moved after the storage task is completed. Subsequently, the processor can determine whether the initial material shelf and the target material shelf of the material corresponding to the storage task are located in the same lane. If they are located in the same lane, the fourth preset task configuration template is determined as the target preset task configuration template, and the storage task is split according to the target preset task configuration template and the task execution location, thereby obtaining the material transfer subtask at the punching and welding warehouse. If they are not located in the same lane, the fifth preset task configuration template will be determined as the target preset task configuration template, and the storage task will be split according to the target preset task configuration template and the task execution location to obtain the material unloading subtask, material transportation subtask and material shelving subtask at the punching and welding warehouse. It should be noted that the execution order of the material unloading subtask at the punching and welding warehouse takes precedence over the material transportation subtask at the punching and welding warehouse, and the execution order of the material transportation subtask at the punching and welding warehouse takes precedence over the material shelving subtask at the punching and welding warehouse. In this way, the splitting of the storage tasks whose task type is the third task type and whose task execution location is the punching and welding warehouse can be completed.

[0048] In an embodiment of the present application, the scheduling method also includes: obtaining the task execution location of the warehousing task, the task execution location includes a stamping and welding warehouse; when the task execution location is a stamping and welding warehouse, after stacking the current subtask into the subtask type queue corresponding to the current subtask type, it also includes: determining the current task execution lane of the current subtask; when the current subtask in the subtask type queue is the earliest subtask stacked in the subtask type queue, stacking the current subtask in the subtask type queue into the lane subtask queue corresponding to the current task execution lane, so as to send the current subtask to the corresponding execution device through the lane subtask queue.

[0049] The punching and welding warehouse includes multiple lanes. In order to meet the needs of warehouse management, execution equipment corresponding to each lane is set. The execution equipment corresponding to each lane moves in each lane to execute subtasks. Since the same execution equipment cannot move in multiple lanes, a lane subtask queue corresponding to each lane is set to send the subtask to the execution equipment of the corresponding lane through the lane subtask queue. Specifically, for a storage task whose task execution location is a punching and welding warehouse, after splitting the storage task to obtain subtasks, the processor can stack the current subtask in the task queue into the subtask type queue corresponding to the current subtask type, and then determine the corresponding current task execution lane by consuming the current subtask in the subtask type queue, so that when the current subtask in the subtask type queue is the earliest subtask stacked in the subtask type queue, the current subtask is sent to the lane subtask queue corresponding to the current task execution lane. In this way, after consuming the current subtask in the lane subtask queue, the processor can send the current subtask to the execution equipment corresponding to the current task execution lane.

[0050] In an embodiment of the present application, after the current subtask is stacked into the subtask type queue corresponding to the current subtask type, it also includes: when the current subtask in the subtask type queue is the earliest subtask stacked in the subtask type queue, consuming the current subtask in the subtask type queue to determine the execution device corresponding to the current subtask; determining whether the execution device corresponding to the current subtask is in a non-working state; and when the execution device corresponding to the current subtask is in a non-working state, sending the current subtask to the execution device.

[0051] Specifically, after the current subtask is stacked into the subtask type queue corresponding to the current subtask type, if the current subtask in the subtask type queue is the earliest subtask stacked in the subtask type queue, the processor can consume the current subtask in the subtask type queue, thereby determining the execution device corresponding to the current subtask, and then interacting with the execution device to determine whether the execution device is in a non-working state. In the case where the execution device is in a non-working state, the processor can send the current subtask to the execution device so that the execution device executes the current subtask. In this way, the possibility of the execution device crashing due to multiple subtasks requesting execution at the same time can be reduced.

[0052] It should be noted that, in the process of consuming the current subtask, it is equivalent to removing the consumed current subtask from the subtask type queue or the lane subtask queue.

[0053] In an embodiment of the present application, the scheduling method also includes: obtaining the execution status of the current subtask fed back by the execution device; when the execution status is the execution completion status, determining the target task queue corresponding to the current subtask, the target task queue is a task queue that stacks the current subtask into the subtask type queue; when there are multiple subtasks in the target task queue, updating the next subtask in the target task queue to the current subtask, the next subtask is determined according to a preset subtask execution order among the multiple subtasks in the target task queue.

[0054] Specifically, when the execution device executes the current subtask, the processor can obtain the execution status of the current subtask fed back by the execution device. For the execution device in the software system, the execution status can be actively fed back by the execution device. For the execution device in the hardware PLC system, the execution status can be obtained by polling the device point. The execution status includes the execution completion status and the execution incomplete status. When the execution status is the execution incomplete status, continue to wait for the execution device to complete the current subtask. When the execution status is the execution completion status, since there may be multiple task queues, and the current subtasks in the multiple task queues are in the execution stage, then at this time, after receiving the execution status, the processor can determine the target task queue corresponding to the current subtask. The target task queue refers to the task queue in the multiple task queues that stacks the current subtask that has been executed and completed into the subtask type queue. Subsequently, if there are multiple subtasks in the target task queue, the processor can determine the next subtask in the task queue according to the preset subtask execution order corresponding to the multiple subtasks, and update the next subtask to the current subtask, so that the target task queue stacks the updated current subtask into the corresponding subtask type queue until the multiple subtasks in the target task queue are completed.

[0055] It should be noted that the task execution location of the storage task is not limited to the high-bay warehouse, four-way garage and punching and welding warehouse. In the case of an increase, decrease or change in the task execution location, the aforementioned subtask type, subtask type queue and execution device can be adjusted according to the specific task execution location, and examples are not given here one by one.

[0056] A specific embodiment of the present application provides a scheduling method for warehousing tasks, such as Figures 2 to 3 As shown, Figure 2 The following schematically shows an architecture diagram of a subtask type queue according to a specific embodiment of the present application. Figure 3 The following is a schematic diagram of a subtask execution process according to a specific embodiment of the present application.

[0057] like Figure 2As shown, when a storage task is received, the processor can split the storage task. First, the processor can determine the task type and task execution location of the storage task, and then split the storage task according to the task type and task execution location to obtain multiple subtasks. Subsequently, through the task queue, the current subtask can be stacked into the subtask type queue corresponding to the current subtask type. Taking the task execution location including the elevated warehouse, four-way garage and punching and welding warehouse as an example, the subtask types can include point-to-point, elevated warehouse shelving, four-way garage shelving, punching and welding warehouse shelving, elevated warehouse unshelving, four-way garage unshelving, punching and welding warehouse unshelving, elevated warehouse transfer, four-way garage transfer, punching and welding warehouse transfer. The subtask type queue may include a point-to-point subtask type queue, a high-bay warehouse shelving subtask type queue, a four-way garage shelving subtask type queue, a punching and welding vertical warehouse shelving subtask type queue, a high-bay warehouse shelving subtask type queue, a four-way garage shelving subtask type queue, a punching and welding vertical warehouse shelving subtask type queue, a high-bay warehouse transfer subtask type queue, a four-way garage transfer subtask type queue, and a punching and welding vertical warehouse transfer subtask type queue. In addition, for the punching and welding vertical warehouse, it is also necessary to send the subtask to the lane subtask queue corresponding to the task execution lane through the subtask type queue corresponding to the subtask type according to the task execution lane of the subtask, and then send the subtask to the corresponding execution device through the lane subtask queue.

[0058] For multiple subtasks in the same task queue, there are restrictions on the execution order of the subtasks. For different task queues, there is no restriction on the execution order of the subtasks in different task queues. Figure 3As shown, after determining the subtask type of subtask 1, subtask 1 in the task queue can be published to the subtask type queue corresponding to its subtask type. If there are multiple task queues, then after the current subtasks in the multiple task queues are stacked into the corresponding subtask type queue, there may be multiple subtasks in the subtask type queue, and there is no restriction on the execution order between the multiple subtasks in the same subtask type queue. The processor can consume the message in the subtask type queue. Assuming that the processor consumes subtask 1, the processor can determine whether the execution device corresponding to subtask 1 is in a non-working state. In the case of being in a non-working state, subtask 1 is sent to the execution device to execute subtask 1 through the execution device, and the execution device feeds back the execution status of subtask 1. When subtask 1 is completed, the processor publishes subtask 2 to the subtask type queue corresponding to its subtask type through the task queue. In the case that the execution device corresponding to subtask 1 is not in a non-working state, the processor can consume the remaining subtasks (i.e., task d, task c, task b, and task a) in the subtask type queue, so that the remaining subtasks of the corresponding execution device in a non-working state can be executed, thereby improving the utilization rate of the execution device. It can be understood that, for other subtask type queues, the subtasks in the other subtask type queues can also be executed by referring to the aforementioned process.

[0059] Taking the task execution location of the warehousing task as the punching and welding warehouse, and the task type as the first task type as an example, the processor can filter the preset task configuration template according to the task execution location, task type and task execution lane of the warehousing task. In this way, the warehousing task can be split into the material transportation subtask and the material shelving subtask at the punching and welding warehouse, that is, AGV point-to-point delivery and punching and welding warehouse shelving. At this time, according to the preset subtask execution order, AGV point-to-point delivery is the first subtask to be executed, and after splitting, it can be immediately stacked into the point-to-point subtask type queue through the task queue. After the downstream RCS system consumes the AGV point-to-point delivery in the point-to-point subtask type queue, the RCS system feedbacks the execution status of the AGV point-to-point delivery. If the execution is completed, the next subtask is automatically triggered, that is, the issuance and execution of the punching and welding warehouse shelving. Before issuing the subtask of punching and welding warehouse shelving, the real-time point position of the polling execution equipment (conveyor line and stacker) is used to determine whether the issuance conditions are met. When the conditions for sending are met, the subtask of putting the punching and welding warehouse on the shelf is stacked into the punching and welding warehouse on the shelf subtask type queue through the task queue, so as to send the punching and welding warehouse on the shelf to the execution device through the punching and welding warehouse on the shelf subtask type queue.

[0060] In summary, compared with the prior art, the technical solution provided by this application has the following advantages:

[0061] 1) This application achieves the decoupling of warehousing tasks in differentiated scenarios by splitting the warehousing tasks at multiple task execution locations, which can improve the execution efficiency of warehousing tasks.

[0062] 2) This application issues warehouse tasks through task queues and subtask type queues, avoiding the increase in complexity and resource consumption of the warehouse control system caused by the introduction of multi-threading, and reducing the maintenance cost of the warehouse control system.

[0063] 3) For newly added task execution locations, the technical solution provided by this application has the characteristics of strong scalability and can quickly respond to changes in business needs.

[0064] 4) For warehousing tasks of different task types, their task execution processes do not interfere with each other, and they are easy to trace when there are abnormalities in the task execution process.

[0065] An embodiment of the present application also provides a processor configured to execute the above-mentioned scheduling method for warehousing tasks.

[0066] Figure 4 The structure diagram of a scheduling device for warehousing tasks according to an embodiment of the present application is schematically shown. Figure 4 As shown, the embodiment of the present application further provides a scheduling device 400 for warehousing tasks, including:

[0067] The storage task acquisition module 410 is used to acquire storage tasks.

[0068] The storage task splitting module 420 is used to split the storage task to obtain at least one subtask.

[0069] The subtask issuing module 430 is used to stack the subtask into the task queue.

[0070] The subtask type acquisition module 440 is used to acquire the current subtask type corresponding to the current subtask in the task queue.

[0071] The current subtask sending module 450 is used to stack the current subtask into a subtask type queue corresponding to the current subtask type, so as to send the current subtask to the corresponding execution device through the subtask type queue.

[0072] The above technical solution obtains a storage task and splits the storage task to obtain at least one subtask, then piles the subtask into a task queue, and then obtains the current subtask type corresponding to the current subtask in the task queue, and finally piles the current subtask into a subtask type queue corresponding to the current subtask type, so as to send the current subtask to the corresponding execution device through the subtask type queue. The present application sequentially piles the subtasks obtained after splitting into the subtask type queue corresponding to the subtask type through the task queue, so as to send the subtask to the corresponding execution device through the subtask type queue, which can decouple the logical execution time of the subtask from the actual execution time, reduce the possibility of the execution device crashing due to receiving multiple subtasks at the same time, and improve the execution efficiency of the storage task.

[0073] In one embodiment, the warehousing task splitting module 420 is also used to: obtain the task type and task execution location of the warehousing task; determine the corresponding preset task configuration template according to the task type, and split the warehousing task according to the preset task configuration template and the task execution location to obtain at least one subtask.

[0074] In one embodiment, the warehousing task splitting module 420 is also used for: when the task type is the first task type, according to the first preset task configuration template corresponding to the first task type and the task execution position, splitting the warehousing task into a material transportation subtask and a material shelving subtask at the task execution position, the first task type is a task type for moving materials from an initial material buffer point to a target material shelf; when the task type is the second task type, according to the second preset task configuration template corresponding to the second task type and the task execution position, splitting the warehousing task into a material unloading subtask and a material transportation subtask at the task execution position, the second task type is a task type for moving materials from an initial material shelf to a target material buffer point; when the task type is the third task type, obtaining a third preset task configuration template corresponding to the third task type, the third preset task configuration template including a fourth preset task configuration template and a fifth preset task configuration template, the third task type is a task type for moving materials from an initial material shelf to a target material shelf; according to the task execution position, determining the fourth preset task configuration template or the fifth preset task configuration template as the target preset task configuration template, and splitting the warehousing task according to the target preset task configuration template and the task execution position to obtain at least one subtask.

[0075] In one embodiment, the storage task splitting module 420 is also used for: when the task execution location is any one of the high-bay warehouse and the four-way garage, determining the fourth preset task configuration template as the target preset task configuration template, and splitting the storage task according to the target preset task configuration template to obtain the material transfer subtask at the high-bay warehouse or the four-way garage; when the task execution location is the punching and welding warehouse, judging whether the initial material shelf and the target material shelf of the material corresponding to the storage task are located in the same aisle; when the initial material shelf and the target material shelf of the material are located in the same aisle, determining the fourth preset task configuration template as the target preset task configuration template, and splitting the storage task according to the target preset task configuration template and the task execution location to obtain the material transfer subtask at the punching and welding warehouse; when the initial material shelf and the target material shelf of the material are not located in the same aisle, determining the fifth preset task configuration template as the target preset task configuration template, and splitting the storage task according to the target preset task configuration template and the task execution location to obtain the material unloading subtask, material transportation subtask and material shelving subtask at the punching and welding warehouse.

[0076] In one embodiment, the current subtask sending module 450 is also used to: when the current subtask in the subtask type queue is the earliest subtask stacked in the subtask type queue, consume the current subtask in the subtask type queue to determine the execution device corresponding to the current subtask; determine whether the execution device corresponding to the current subtask is in a non-working state; and when the execution device corresponding to the current subtask is in a non-working state, send the current subtask to the execution device.

[0077] In one embodiment, the scheduling device 400 for warehousing tasks also includes a current subtask update module, which is used to: obtain the execution status of the current subtask fed back by the execution device; when the execution status is the execution completion status, determine the target task queue corresponding to the current subtask, and the target task queue is a task queue that stacks the current subtask into the subtask type queue; when there are multiple subtasks in the target task queue, update the next subtask in the target task queue to the current subtask, and the next subtask is determined according to the preset subtask execution order among the multiple subtasks in the target task queue.

[0078] In one embodiment, the scheduling device 400 for warehousing tasks also includes a task execution location acquisition module, which is used to: obtain the task execution location of the warehousing task, and the task execution location includes a punching and welding warehouse; the current subtask sending module 450 is also used to: determine the current task execution lane of the current subtask; when the current subtask in the subtask type queue is the earliest subtask stacked in the subtask type queue, the current subtask in the subtask type queue is stacked into the lane subtask queue corresponding to the current task execution lane, so as to send the current subtask to the corresponding execution device through the lane subtask queue.

[0079] An embodiment of the present application also provides a machine-readable storage medium, on which instructions are stored, and the instructions are used to enable a machine to execute the above-mentioned scheduling method for warehousing tasks.

[0080] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0081] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0082] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0083] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0084] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0085] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0086] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0087] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0088] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A scheduling method for warehousing tasks, characterized in that: The scheduling method comprises: Get storage tasks; Splitting the warehousing task to obtain at least one subtask; Stacking the subtasks into a task queue; Obtain the current subtask type corresponding to the current subtask in the task queue; The current subtask is stacked into a subtask type queue corresponding to the current subtask type, so as to send the current subtask to a corresponding execution device through the subtask type queue.

2. The scheduling method according to claim 1, characterized in that: The step of splitting the storage task to obtain at least one subtask includes: Obtaining the task type and task execution location of the warehousing task; A corresponding preset task configuration template is determined according to the task type, and the warehousing task is split according to the preset task configuration template and the task execution location to obtain at least one subtask.

3. The scheduling method according to claim 2, characterized in that: The determining of the corresponding preset task configuration template according to the task type, and splitting the warehousing task according to the preset task configuration template and the task execution location to obtain at least one subtask includes: In the case where the task type is the first task type, the warehousing task is split into a material transportation subtask and a material shelving subtask at the task execution location according to the first preset task configuration template corresponding to the first task type and the task execution location, and the first task type is a task type for moving materials from an initial material buffer point to a target material shelf; In the case where the task type is the second task type, the warehousing task is split into a material unloading subtask and a material transportation subtask at the task execution location according to the second preset task configuration template corresponding to the second task type and the task execution location, and the second task type is a task type for moving materials from an initial material shelf to a target material buffer point; In the case where the task type is the third task type, a third preset task configuration template corresponding to the third task type is obtained, the third preset task configuration template includes a fourth preset task configuration template and a fifth preset task configuration template, and the third task type is a task type for moving materials from an initial material shelf to a target material shelf; According to the task execution location, the fourth preset task configuration template or the fifth preset task configuration template is determined as the target preset task configuration template, and the warehousing task is split according to the target preset task configuration template and the task execution location to obtain at least one subtask.

4. The scheduling method according to claim 3, characterized in that: The step of determining the fourth preset task configuration template or the fifth preset task configuration template as a target preset task configuration template according to the task execution location, and splitting the warehousing task according to the target preset task configuration template and the task execution location to obtain at least one subtask includes: When the task execution location is any one of the high-bay warehouse and the four-way garage, the fourth preset task configuration template is determined as the target preset task configuration template, and the warehousing task is split according to the target preset task configuration template to obtain the material transfer subtask at the high-bay warehouse or the four-way garage. In the case where the task execution location is a punching and welding warehouse, determining whether the initial material shelf and the target material shelf of the material corresponding to the storage task are located in the same lane; In the case where the initial material shelf and the target material shelf of the material are located in the same lane, the fourth preset task configuration template is determined as the target preset task configuration template, and the storage task is split according to the target preset task configuration template and the task execution position to obtain the material transfer subtask at the punching and welding warehouse; When the initial material shelf and the target material shelf of the material are not located in the same aisle, the fifth preset task configuration template is determined as the target preset task configuration template, and the warehousing task is split according to the target preset task configuration template and the task execution location to obtain the material unloading subtask, material transportation subtask and material shelving subtask at the punching and welding warehouse.

5. The scheduling method according to claim 1, characterized in that: After stacking the current subtask into the subtask type queue corresponding to the current subtask type, the method further includes: When the current subtask in the subtask type queue is the earliest subtask stacked in the subtask type queue, consuming the current subtask in the subtask type queue to determine an execution device corresponding to the current subtask; Determine whether the execution device corresponding to the current subtask is in a non-working state; When the execution device corresponding to the current subtask is in a non-working state, the current subtask is sent to the execution device.

6. The scheduling method according to claim 1, characterized in that: The scheduling method further includes: Obtaining the execution status of the current subtask fed back by the execution device; In the case where the execution state is the execution completion state, determining a target task queue corresponding to the current subtask, the target task queue being a task queue that stacks the current subtask into a subtask type queue; In the case that there are multiple subtasks in the target task queue, the next subtask in the target task queue is updated to the current subtask, and the next subtask is determined according to a preset subtask execution order among the multiple subtasks in the target task queue.

7. The scheduling method according to claim 1, characterized in that: The scheduling method further includes: Acquire the task execution location of the warehousing task, wherein the task execution location includes a punching and welding warehouse; In the case where the task execution location is the punching and welding warehouse, after stacking the current subtask into the subtask type queue corresponding to the current subtask type, the method further includes: Determining a current task execution lane of the current subtask; When the current subtask in the subtask type queue is the earliest subtask stacked in the subtask type queue, the current subtask in the subtask type queue is stacked into the lane subtask queue corresponding to the lane where the current task is executed, so that the current subtask can be sent to the corresponding execution device through the lane subtask queue.

8. A processor, characterized in that: The method is configured to execute the scheduling method for warehousing tasks according to any one of claims 1 to 7.

9. A scheduling device for warehousing tasks, characterized in that: include: The storage task acquisition module is used to obtain storage tasks; A storage task splitting module, used for splitting the storage task to obtain at least one subtask; A subtask publishing module, used for stacking the subtask into a task queue; A subtask type acquisition module, used to acquire the current subtask type corresponding to the current subtask in the task queue; The current subtask sending module is used to stack the current subtask into a subtask type queue corresponding to the current subtask type, so as to send the current subtask to the corresponding execution device through the subtask type queue.

10. A machine-readable storage medium, characterized in that: The machine-readable storage medium stores instructions for causing a machine to execute a scheduling method for warehousing tasks according to any one of claims 1 to 7.