Warehouse System Scheduling Control Method, Device, Equipment and Storage Medium

By receiving task scheduling instructions in the warehousing system and updating the substitute task template, the problem of rewriting the scheduler in the existing technology is solved, efficient task scheduling and data management are achieved, and the flexibility and adaptability of the system are improved.

CN119130089BActive Publication Date: 2025-05-30SUZHOU SHITAIDE INTELLIGENT TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411614889.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-13
Publication Date
2025-05-30
Estimated Expiration
2044-11-13

AI Technical Summary

Technical Problem

In the prior art, the task scheduling process of the warehousing system requires rewriting the scheduler, resulting in wasting labor costs and reducing scheduling efficiency.

Method used

By receiving task scheduling instructions carrying template identifiers, find out whether there is a matching task template database. If it does not exist, obtain the substitute task template, and update the substitute task template based on the device instructions and task execution steps, obtain the target task template, and send task scheduling instructions to the target device.

Benefits of technology

There is no need to rewrite program code, save human resources, improve scheduling efficiency, increase scheduling flexibility and adaptability of the warehousing system, ensure that tasks are carried out according to the latest templates, and improve data consistency and database scalability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119130089B_ABST
    Figure CN119130089B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, equipment and storage medium for scheduling and controlling a warehousing system. The method includes receiving a task scheduling request, which is used to request scheduling a target device in the warehousing system to execute a corresponding device instruction; in response to the task scheduling request, searching whether there is a matching task template in the task template database that matches the template identifier; if not, obtaining a substitute task template; based on the device instruction, the task execution steps in the substitute task template, and the task instructions corresponding to the task execution steps, updating the substitute task template to obtain a target task template; sending a task scheduling instruction to the warehousing system to schedule the target device to execute the corresponding device instruction based on the target execution information in the target task template. In the present invention, when the task execution logic changes, only the corresponding template needs to be called, or the substitute task template can be updated based on the instruction, without having to rewrite the program code, saving human resources and improving the calling efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of logistics scheduling, and particularly relates to a method, device, equipment and storage medium for task configuration of a four-way vehicle scheduling system. Background Art

[0002] In recent years, with the rapid development of the logistics warehousing industry, lean warehousing has put forward higher requirements for automation, digitization and intelligence. In order to reduce operating costs, intensive warehousing has emerged and been widely used. It has the characteristics of small floor area, large operation scale, many types of equipment, many numbers of equipment and task parallelism, etc. However, this also brings new challenges to the optimization and scheduling of automated warehousing operations. In the traditional task scheduling process of a warehousing system, based on a pre-programmed program, the equipment involved in the current task in the warehousing system is scheduled. If the task line is changed, the scheduling programs of the equipment involved in the changed task line need to be rewritten again, wasting labor costs and reducing the scheduling efficiency. Summary of the Invention

[0003] Aiming at the deficiencies of the prior art, the purpose of the present invention is to provide a method, device, equipment and storage medium for scheduling and controlling a warehousing system, so as to solve the problems of wasting labor costs and low scheduling efficiency in the prior art.

[0004] According to one aspect of the present application, a method for scheduling and controlling a warehousing system is disclosed. The method includes:

[0005] Receiving a task scheduling request, where the task scheduling request is used to request scheduling of a target device in the warehousing system to execute a corresponding device instruction. Wherein, each target device corresponds to at least one device instruction, each device instruction corresponds to an execution step, and the task scheduling request includes a template identifier;

[0006] In response to the task scheduling request, searching whether there is a matching task template in the task template database that matches the template identifier;

[0007] When there is no matching task template in the task template database that matches the template identifier, obtaining a substitute task template, where the substitute task template includes at least one device marker, and one device marker is used to identify one target device;

[0008] Based on the device instruction, the task execution steps in the substitute task template, and the task instruction corresponding to the task execution step, updating the substitute task template to obtain a target task template, where the target task template includes target execution information;

[0009] Send a task scheduling instruction carrying the target task template to the target device of the warehousing system to schedule the target device to execute the corresponding device instruction based on the target execution information in the target task template.

[0010] In some embodiments, after updating the backup task template based on the device instruction, the task execution steps in the backup task template, and the task instructions corresponding to the task execution steps to obtain the target task template, the method further includes:

[0011] After configuring a target template identifier for the target task template, update the task template database based on the target task template and the target template identifier.

[0012] In some embodiments, when there is a matching task template in the task template database that matches the template identifier, the method further includes sending a task scheduling instruction carrying the matching task template to the target device of the warehousing system to schedule the target device to execute the corresponding device instruction based on the execution information in the matching task template, including:

[0013] Obtain the total number of schedules and the scheduling execution steps in the matching task template, where the total number of schedules is used to represent the total number of times the task scheduling instruction schedules the target device in the warehousing system;

[0014] Based on the scheduling execution steps, sequentially schedule the target device to execute the corresponding target instructions;

[0015] Determine whether the current scheduling number corresponding to the scheduling execution step is less than the total number of schedules, where one scheduling execution step corresponds to one schedule;

[0016] When the current scheduling number is less than the total number of schedules, schedule the target device corresponding to the current execution step to execute its corresponding device instruction;

[0017] Control the scheduling execution step to increment by 1.

[0018] In some embodiments, when there is no matching task template in the task template database that matches the template identifier, obtaining the backup task template includes:

[0019] Search for the device task template with the device mark in the task template database;

[0020] Obtain the task instruction corresponding to the device mark in the device task template;

[0021] Determine the matching degree between the task instruction and the device instruction;

[0022] When the matching degree between the task instruction and the device instruction meets a preset condition, use the device task template as the substitute task template.

[0023] In some embodiments, when the matching degree between the device task instruction and the device instruction meets a preset condition, using the device task template as the substitute task template includes:

[0024] Obtain the comparison task instructions corresponding to the target device markers in the device task template, where the target device markers are one of the device markers, and each target device marker corresponds to at least one of the comparison task instructions, and the comparison task instructions are at least one of the device task instructions;

[0025] Obtain the matching task instructions in the comparison task instructions that have a corresponding relationship with the device instructions of the target device corresponding to the target device marker under the task scheduling instruction;

[0026] Obtain the number of matching items of the matching task instructions;

[0027] Traverse all the target device markers to obtain the total number of task matches in the device task template;

[0028] When the total number of task matches is greater than a preset number, use the device task template as the substitute task template.

[0029] In some embodiments, the method further includes:

[0030] Obtain the comparison task templates in the device task template, where the comparison task templates are all templates with the total number of task matches greater than a preset number;

[0031] Compare the numerical values of the total number of task matches corresponding to multiple comparison task templates;

[0032] Use the comparison task template with the largest numerical value of the total number of task matches as the substitute task template.

[0033] In some embodiments, updating the substitute task template based on the device instruction, the task execution steps in the substitute task template, and the task instructions corresponding to the task execution steps to obtain the target task template includes:

[0034] Obtain the mutually repeated device instructions and task instructions corresponding to the target device marker;

[0035] Determine the primary device instructions based on the mutually repeated device instructions and task instructions;

[0036] Obtain missing device markers, redundant device markers, device missing instructions corresponding to the missing device markers, and device redundant instructions corresponding to the redundant device markers;

[0037] Update the instruction list in the replacement task template based on the device primary instruction, the device missing instruction, and the device redundant instruction;

[0038] Obtain the task execution logic, primary execution steps corresponding to the device primary instruction, missing execution steps corresponding to the device missing instruction, and redundant execution steps corresponding to the device redundant instruction;

[0039] Based on the task execution logic, perform editing processing on the primary execution steps, the missing execution steps, and the redundant execution steps to obtain target execution steps;

[0040] Update the step execution list in the replacement task template based on the target execution steps.

[0041] According to another aspect of the present application, a warehousing system scheduling control device is also disclosed. The device includes:

[0042] A task scheduling request acceptance module, configured to receive a task scheduling request, where the task scheduling request is used to request scheduling of a target device in the warehousing system to execute a corresponding device instruction. Each of the target devices corresponds to at least one device instruction, and each device instruction corresponds to an execution step;

[0043] A matching task template search module, configured to, in response to the task scheduling request, search whether there is a matching task template in the task template database that matches the template identifier;

[0044] A replacement task template acquisition module, configured to obtain a replacement task template when there is no matching task template in the task template database that matches the template identifier. The replacement task template includes at least one device marker, and one device marker is used to identify one of the target devices;

[0045] A replacement task template update module, configured to update the replacement task template based on the device instruction, the task execution steps in the replacement task template, and the task instructions corresponding to the task execution steps to obtain a target task template, where the target task template includes target execution information;

[0046] A scheduling module, configured to send a task scheduling instruction carrying the target task template to the target device of the warehousing system to schedule the target device to execute the corresponding device instruction based on the target execution information in the target task template.

[0047] According to another aspect of the present application, an electronic device is further disclosed. The electronic device includes a memory and at least one processor, and instructions are stored in the memory; the at least one processor invokes the instructions in the memory to cause the electronic device to execute each step of the warehousing system scheduling control method described in any one of the above.

[0048] According to another aspect of the present application, a computer-readable storage medium is further disclosed. Instructions are stored on the computer-readable storage medium, and characterized in that when the instructions are executed by a processor, each step of the warehousing system scheduling control method described in any one of the above is implemented.

[0049] The present invention includes, but is not limited to, the following beneficial effects: (1) Through receiving a task scheduling instruction carrying a template identifier, the technical solution of the present invention enables the system to quickly find the devices related to the task and the corresponding device instructions, thereby improving the scheduling efficiency; (2) In the present invention, when there is no task template matching the template identifier in the task template database, the system can obtain a substitute task template and obtain the target task template by updating the substitute task template, without the need to rewrite the program code, saving human resources, improving the calling efficiency, further increasing the scheduling flexibility and adaptability of the warehousing system, and enabling the warehousing system to handle various complex and changing tasks; (3) By configuring a target template identifier for the target task template and updating the task template database based on the target task template and the target template identifier, the task templates can be managed and tracked more effectively, improving the data management efficiency. Moreover, by updating the task templates in the database, it can be ensured that all relevant tasks are carried out according to the latest templates, enhancing the data consistency and further improving the scalability of the task template database; (4) In this solution, by recording and controlling the steps and times of the scheduling, the operator can clearly understand the scheduling operation status and progress, thereby enhancing the transparency of the scheduling process. When a situation occurs in the single scheduling, it is convenient to conduct fault troubleshooting and system maintenance; (5) In the present invention, when there is no matching task template matching the template identifier in the task template database, the system can search for the device task templates with device markings in the task template database, and further determine the matching degree between the task instructions and the device instructions according to the task instructions corresponding to the device markings in the device task templates. Then, when the matching degree between the task instructions and the device instructions meets the preset conditions, the device task template is used as the substitute task template. This method can find the task templates similar to the templates required by the task scheduling instruction, thereby reducing the data that needs to be updated and improving the update efficiency of the substitute task template; (6) In the present invention, by comparing the comparison task instructions of the same target device marking in the device task template with the device instructions under the task scheduling instruction to obtain the total number of task matches corresponding to each other, and based on the comparison between the total number of task matches and the preset number, the substitute task template is screened out. Thus, the task templates similar to the templates required by the task scheduling instruction can be screened out based on this method, reducing the data that needs to be updated and improving the update efficiency of the substitute task template; (7) In the present invention, the primary execution steps, missing execution steps, and redundant execution steps can be edited in combination with the task execution logic, so that the update of the substitute task template that matches the execution logic can be achieved only by reorganizing and deleting some instructions, improving the update efficiency of the substitute task template, without changing the programming program, saving costs, and improving the system scheduling efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art:

[0051] Figure 1 It is a flowchart of a method for scheduling and controlling a warehousing system according to an embodiment of the present application;

[0052] Figure 2 It is another flowchart of a method for scheduling and controlling a warehousing system according to an embodiment of the present application;

[0053] Figure 3 It is another flowchart of a method for scheduling and controlling a warehousing system according to an embodiment of the present application;

[0054] Figure 4 It is another flowchart of a method for scheduling and controlling a warehousing system according to an embodiment of the present application;

[0055] Figure 5 It is another flowchart of a method for scheduling and controlling a warehousing system according to an embodiment of the present application;

[0056] Figure 6 It is another flowchart of a method for scheduling and controlling a warehousing system according to an embodiment of the present application;

[0057] Figure 7 It is a structural block diagram of a device for scheduling and controlling a warehousing system according to an embodiment of the present application;

[0058] Figure 8 It is a schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners

[0059] An embodiment of the present invention provides a method, device, equipment and storage medium for scheduling and controlling a warehousing system. The method includes receiving a task scheduling instruction carrying a template identifier, where the task scheduling instruction is used to schedule a target device in the warehousing system to execute a corresponding device instruction. Each target device corresponds to at least one device instruction, and each device instruction corresponds to an execution step; in response to the task scheduling instruction, check whether there is a matching task template in the task template database that matches the template identifier; when there is no matching task template in the task template database that matches the template identifier, obtain a substitute task template, where the substitute task template includes at least one device marker, and one device marker is used to identify one target device; based on the device instruction, the task execution steps in the substitute task template, and the task instructions corresponding to the task execution steps, update the substitute task template to obtain a target task template, where the target task template includes target execution steps; based on the target execution steps, sequentially schedule the target devices to execute the corresponding target instructions. The technical solution of the present application only needs to call the corresponding template or update the substitute task template based on the instruction when the task execution logic changes, without having to rewrite the program code, saving human resources and improving the calling efficiency.

[0060] The terms "first", "second", "third", "fourth", etc. (if any) in the specification, claims and drawings of the present invention are used to distinguish similar objects and do not necessarily describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "include" or "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or equipment that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or equipment.

[0061] Specifically, Figure 1 is a flowchart of a method for scheduling and controlling a warehousing system of the present application. Specifically, the scheduling of the warehousing system of the present application is based on the scheduling and execution of a central controller in the control system. Refer to Figure 1 , the steps of the method for scheduling and controlling a warehousing system include:

[0062] S100. Receive a task scheduling request.

[0063] Specifically, the task scheduling request is used to request scheduling a target device in the warehousing system to execute a corresponding device instruction. Each target device corresponds to at least one device instruction, each device instruction corresponds to an execution step, and the task scheduling request includes a template identifier.

[0064] Specifically, the central controller receives a task scheduling request, which can be triggered by a user pressing a target button. Here, the target button can be a target trigger area on the display screen of the control system or a physical trigger button on the control system.

[0065] S102. In response to the task scheduling request, check whether there is a matching task template in the task template database that matches the template identifier.

[0066] S104. When there is no matching task template in the task template database that matches the template identifier, obtain a substitute task template.

[0067] Among them, the task template database stores multiple task templates. Each task template can include, but is not limited to, fields such as "template number", "total number of schedules", "scheduling execution steps", "device label", "device instruction", etc. In one example, these fields are arranged horizontally in the task template. As shown in Table 1.

[0068] Table 1

[0069]

[0070] Furthermore, when the total number of schedules of the same task template is greater than 1, based on the total number of schedules, fill in the vertical information of the task template, and there is a one-to-one correspondence between each schedule number and the scheduling execution steps, device label, and device instruction. Specifically, as shown in Table 2.

[0071] Table 2

[0072]

[0073] It can be understood that in the task template database, each task template corresponds to a template identifier. When searching for a task template, there may or may not be a matching task template in the task template database that matches the template identifier. In one example, if there is no matching task template in the task template database that matches the template identifier, obtain a substitute task template. It can be understood that in order to make the obtained substitute task template closer to the required matching task template, the obtained substitute task template needs to include at least one device label requested for scheduling in the task scheduling request. It can be understood that one device label is used to represent a target device, and the device labels of the same target device are the same.

[0074] In one example, such as Figure 2As shown, another flowchart of the warehousing system scheduling control method is shown. This method is used to exemplarily illustrate step S104, "When there is no matching task template in the task template database that matches the template identifier, obtain a substitute task template". Specifically, referring to Figure 2 , it includes the following steps:

[0075] S200. Search for device task templates with device markings in the task template database.

[0076] Specifically, search for all task templates in the task template database, and use the task template with the device marking corresponding to the target device requested to be scheduled in the task scheduling request in the template as the device task template.

[0077] S202. Obtain the task instructions corresponding to the device marking in the device task template.

[0078] Specifically, in the device task template, the device markings are arranged vertically based on the total number of scheduling times, and each column of device markings corresponds to a task instruction. In one example, obtaining the task instructions corresponding to the device marking in the device task template can be based on the vertical list information in the device task template, and sequentially obtain the task instructions corresponding to each column of device markings, or obtain all the task instructions corresponding to the same device marking.

[0079] S204. Determine the matching degree between the task instructions and the device instructions.

[0080] S206. When the matching degree between the task instructions and the device instructions meets the preset conditions, use the device task template as the substitute task template.

[0081] Specifically, the matching degree between the task instructions and the device instructions can refer to the consistency degree between the task instructions corresponding to the same device marking in the device task template and the device instructions that the target device corresponding to the device marking needs to schedule and execute under the task scheduling request. When the number of consistent task instructions and device instructions corresponding to the same device marking is more than 3 / 4, it can be considered that the matching degree between the task instructions and the device instructions is relatively high. At this time, it can be considered that the matching degree between the task instructions and the device instructions meets the preset conditions, and then use this device task template as the substitute task template. It can be understood that the preset condition of 3 / 4 is only a preferred solution. In other feasible solutions, the preset condition can also be other contents. For example, the task instructions corresponding to the same device marking in the device task template are strictly in one-to-one correspondence with the device instructions that the target device corresponding to the device marking needs to schedule and execute under the task scheduling request.

[0082] It can be understood that when there is no matching task template in the task template database that matches the template identifier, the system can search for a device task template with a device marker in the task template database, and further determine the matching degree between the task instruction and the device instruction according to the task instruction corresponding to the device marker in the device task template. Then, when the matching degree between the task instruction and the device instruction meets the preset condition, the device task template is used as a substitute task template. This method can find a task template similar to the template required by the task scheduling instruction, thereby reducing the data that needs to be updated and improving the update efficiency of the substitute task template.

[0083] Further, in another implementation Figure 3 Another flowchart of the scheduling control method for the warehousing system is given. This method is used to exemplarily illustrate step S206 "When the matching degree between the task instruction and the device instruction meets the preset condition, use the device task template as the substitute task template". Specifically, referring to Figure 3 , it includes the following steps:

[0084] S300. Obtain the comparison task instruction corresponding to the target device marker in the device task template.

[0085] Among them, the target device marker is one of the device markers, and each target device marker corresponds to at least one comparison task instruction, and the comparison task instruction is at least one of the device task instructions. Specifically, the comparison task instruction can be the task instruction corresponding to the target device marker in the device task template.

[0086] S302. Obtain the matching task instruction in the comparison task instruction that has a corresponding relationship with the device instruction of the target device corresponding to the target device marker under the task scheduling instruction.

[0087] Specifically, the corresponding relationship in this step may refer to whether the task instruction corresponding to the target device marker in the device task template matches the device instruction that needs to be scheduled under the task scheduling request, that is, whether it is the same instruction. For example, when the target device marker is "four-way vehicle", if the comparison task instruction is "travel to the picking position" and the device instruction is also "travel to the picking position", then the comparison task instruction is considered a matching task instruction.

[0088] S304. Obtain the number of matching items of the matching task instruction.

[0089] S306. Traverse all target device markers to obtain the total number of task matches in the device task template.

[0090] It is understandable that there may be multiple target device tags in the device task template. Furthermore, it is necessary to traverse all the target device tags to obtain the total number of task matches in the device task template.

[0091] S308. When the total number of task matches is greater than the preset number, use the device task template as the backup task template.

[0092] It is understandable that in this embodiment, by comparing the comparison task instructions of the same target device tag in the device task template with the device instructions under the task scheduling instruction, the total number of task matches with corresponding instructions is obtained. Based on the comparison between the total number of task matches and the preset number, the backup task template is screened out. Thus, a task template similar to the one required by the task scheduling instruction can be screened out in this way, which can reduce the data to be updated and improve the update efficiency of the backup task template.

[0093] Furthermore, in another feasible solution, obtaining the backup task template can also be achieved based on Figure 4 the steps shown. Specifically, refer to Figure 4 , which includes the following steps:

[0094] S400. Obtain the comparison task templates in the device task template, and the comparison task templates are all templates with the total number of task matches greater than the preset number.

[0095] S402. Compare the values of the total number of task matches corresponding to the multiple comparison task templates.

[0096] S404. Use the comparison task template with the largest value of the total number of task matches as the backup task template.

[0097] It is understandable that in this implementation, by selecting the comparison task template with the largest value of the total number of task matches as the backup task template, the backup task template closest to the matching task template can be selected, which can reduce the data to be updated and improve the update efficiency of the backup task template.

[0098] S106. Update the backup task template based on the device instruction, the task execution steps in the backup task template, and the task instructions corresponding to the task execution steps to obtain the target task template, and the target task template includes target execution information.

[0099] S108. Send a task scheduling instruction carrying the target task template to the target device of the warehousing system to schedule the target device to execute the corresponding device instruction based on the target execution information in the target task template.

[0100] It can be understood that through receiving a task scheduling instruction carrying a template identifier, the system can quickly find the devices related to the task and the corresponding device instructions, thereby improving the scheduling efficiency. Further, when there is no task template matching the template identifier in the task template database, the system can obtain a substitute task template and obtain the target task template by updating the substitute task template, without having to rewrite the program code, saving human resources, improving the calling efficiency, and further increasing the scheduling flexibility and adaptability of the warehousing system, enabling the warehousing system to handle various complex and changing tasks.

[0101] Specifically, in one example, Figure 5 shows another flowchart of the scheduling control method for the warehousing system. This method gives an exemplary introduction to step S106. Specifically, referring to Figure 5 , the steps are as follows:

[0102] S500. Obtain the mutually repeated device instructions and task instructions corresponding to the target device label.

[0103] S502. Determine the primary device instruction based on the mutually repeated device instructions and task instructions.

[0104] Specifically, a task instruction corresponds to a target device label in the substitute task template, and a device instruction corresponds to it under the task scheduling instruction. If the task instruction and the device instruction are the same, it is considered that the task instruction and the device instruction are repeated. At this time, the primary device instruction can be determined based on the mutually repeated device instructions and task instructions, that is, the primary device instruction of the target device label is determined based on the mutually repeated device instructions and task instructions. Exemplarily, the task instruction can be used as the primary device instruction of the target device label, or the device instruction can be used as the primary device instruction of the target device label. Actually, the instructions are the same. In this example, in order to reduce the update of the substitute task template, the task instruction already stored in the substitute task template is directly used as the primary device instruction.

[0105] S504. Obtain the missing device label, the redundant device label, the device missing instruction corresponding to the missing device label, and the device redundant instruction corresponding to the redundant device label.

[0106] It can be understood that for the target devices required to be scheduled by the task scheduling instruction, there may be no device label in the substitute task template, and for the devices corresponding to the device labels existing in the substitute task template, they may not need to be called. Therefore, it is necessary to obtain the missing device label, that is, the device label that needs to be scheduled but does not exist in the substitute task template, and obtain the redundant device label, that is, the device label that does not need to be scheduled but exists in the substitute task template. Further, obtain the device missing instruction corresponding to the missing device label and the device redundant instruction corresponding to the redundant device label.

[0107] S506. Update the instruction list in the substitute task template based on the device primary instruction, device missing instruction, and device redundant instruction.

[0108] Specifically, the update of the instruction list can be to retain the device primary instruction in the substitute task template, supplement the device missing instruction, and delete the device redundant instruction.

[0109] S508. Obtain the task execution logic, the primary execution steps corresponding to the device primary instruction, the missing execution steps corresponding to the device missing instruction, and the redundant execution steps corresponding to the device redundant instruction.

[0110] S510. Based on the task execution logic, perform editing processing on the primary execution steps, missing execution steps, and redundant execution steps to obtain the target execution steps.

[0111] It can be understood that the task execution logic can refer to the scheduling task logic that needs to be completed. For example, for the target device of the four-way vehicle, the scheduling logic can be to walk to the picking position - pick up the goods - walk to the goods placement position - place the goods. If the device primary instructions are "walk to the picking position" and "pick up the goods", the primary execution steps corresponding to the device primary instructions are 1 and 2, the device missing instructions are "walk to the goods placement position" and "place the goods", the missing execution steps corresponding to the device missing instructions are "to be determined", "to be determined", the device redundant instruction is "return to the origin position", and the redundant execution step corresponding to the device redundant instruction is 5. Then, at this time, based on the scheduling logic, the missing execution steps for the device missing instructions can be edited as 3 and 4, and the device redundant instruction and the redundant execution step can be deleted, and the primary execution steps and the device missing steps can be arranged in order to obtain the target execution steps 1 - 2 - 3 - 4.

[0112] S512. Update the step execution list in the substitute task template based on the target execution steps.

[0113] It can be understood that the solution of this embodiment can combine the task execution logic to perform editing processing on the primary execution steps, missing execution steps, and redundant execution steps, so that only by reorganizing and deleting some instructions, the update of the substitute task template that matches the execution logic can be realized, improving the update efficiency of the substitute task template, without changing the programming program, saving costs, and improving the system scheduling efficiency.

[0114] Further, in another feasible solution, after updating the replacement task template based on the device instruction, the task execution steps in the replacement task template, and the task instructions corresponding to the task execution steps to obtain the target task template, a target template identifier can be configured for the target task template, and then the task template database can be updated based on the target task template and the target template identifier. By configuring a target template identifier for the target task template and updating the task template database based on the target task template and the target template identifier, the task template can be managed and tracked more effectively, improving the data management efficiency. Moreover, by updating the task template in the database, it can be ensured that all related tasks are carried out according to the latest template, enhancing the data consistency and further improving the scalability of the task template database.

[0115] Further, in another feasible solution, Figure 6 Fig. shows another flowchart of the warehousing system scheduling control method. This step is executed when there is a matching task template in the task template database that matches the template identifier, and is used to send a task scheduling instruction carrying the matching task template to the target device of the warehousing system, so as to schedule the target device to execute the corresponding device instruction based on the execution information in the matching task template. Refer to Figure 6 , and may include the following steps:

[0116] S600. Obtain the total number of schedules and the scheduling execution steps in the matching task template. The total number of schedules is used to represent the total number of times the task scheduling instruction schedules the target device in the warehousing system.

[0117] S602. Sequentially schedule the target device to execute the corresponding target instructions based on the scheduling execution steps.

[0118] S604. Determine whether the current number of schedules corresponding to the scheduling execution step is less than the total number of schedules, where one scheduling execution step corresponds to one schedule.

[0119] S606. When the current number of schedules is less than the total number of schedules, schedule the target device corresponding to the current execution step to execute its corresponding device instruction.

[0120] S608. Control the scheduling execution step to increment by 1.

[0121] Exemplarily, when the matching task template is the template shown in Table 2, first execute the scheduling execution step 1, and schedule the four-way vehicle to execute the device instruction to walk to the picking position. When this scheduling is completed, determine whether the scheduling times of this scheduling execution step are less than the total scheduling times. Based on Table 2, the total scheduling times are 4, and the current scheduling times are 1. Therefore, the condition is met. At this time, execute step S606 and step S608. After executing step S608, the current scheduling times are 2. At this time, the scheduling execution step is 2. Return to step S602, and loop the steps of S602-S608 until the current scheduling times are not less than the total scheduling times, and then stop executing the scheduling operation. It can be understood that through the embodiment scheme, by recording and controlling the steps and times of scheduling, the operator can clearly understand the scheduling operation status and progress, thereby enhancing the transparency of the scheduling process. When a single scheduling fails, it is convenient to perform fault troubleshooting and system maintenance.

[0122] According to another aspect of the present application, a warehousing system scheduling control device is also disclosed. As Figure 7 shown, the device includes:

[0123] A task scheduling request receiving module, configured to receive a task scheduling request, where the task scheduling request is used to request scheduling a target device in the warehousing system to execute a corresponding device instruction. Among them, each target device corresponds to at least one device instruction, and each device instruction corresponds to an execution step;

[0124] A matching task template searching module, configured to, in response to the task scheduling request, search whether there is a matching task template in the task template database that matches the template identifier;

[0125] A substitute task template obtaining module, configured to obtain a substitute task template when there is no matching task template in the task template database that matches the template identifier. Among them, the substitute task template includes at least one device mark, and one device mark is used to identify one target device;

[0126] A substitute task template updating module, configured to update the substitute task template based on the device instruction, the task execution steps in the substitute task template, and the task instructions corresponding to the task execution steps, to obtain a target task template, where the target task template includes target execution information;

[0127] A scheduling module, configured to send a task scheduling instruction carrying the target task template to the target device of the warehousing system, so as to schedule the target device to execute the corresponding device instruction based on the target execution information in the target task template.

[0128] For the application introduction of the relevant modules of the device in this example, reference can be made to the relevant introduction of the above method principle, which will not be elaborated here.

[0129] According to another aspect of the present application, an electronic device is also disclosed. The electronic device includes a memory and at least one processor. Instructions are stored in the memory; the at least one processor invokes the instructions in the memory to cause the electronic device to execute each step of the warehousing system scheduling control method as described above.

[0130] above Figure 7 The warehousing system scheduling control device in the embodiments of the present invention will be described in detail from the perspective of modular functional entities. Next, the electronic device in the embodiments of the present invention will be described in detail from the perspective of hardware processing.

[0131] Figure 8 FIG. is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. The electronic device 800 may vary greatly due to different configurations or performances, and may include one or more processors (central processing units, CPUs) 810 (for example, one or more processors) and a memory 820, and one or more storage media 830 for storing application programs 833 or data 832 (for example, one or more mass storage devices). Among them, the memory 820 and the storage media 830 may be transient storage or persistent storage. The program stored in the storage media 830 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the electronic device 800. Further, the processor 810 may be configured to communicate with the storage media 830 and execute a series of instruction operations in the storage media 830 on the electronic device 800.

[0132] The electronic device 800 may further include one or more power supplies 840, one or more wired or wireless network interfaces 850, one or more input / output interfaces 860, and / or one or more operating systems 831, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, and so on. Those skilled in the art can understand that Figure 8 the shown structure of the electronic device does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0133] The present invention also provides a computer-readable storage medium. The computer-readable storage medium may be a non-volatile computer-readable storage medium, or may also be a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions run on a computer, the computer is caused to execute the steps of the warehousing system scheduling control method.

[0134] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, or units described above can refer to the corresponding processes in the foregoing method embodiments, and will not be elaborated herein.

[0135] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods in various embodiments of the present invention. The foregoing storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks, or optical discs.

[0136] The above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features. These modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of various embodiments of the present invention.

Claims

1. A storage system scheduling control method, characterized in that: The method comprises: Receive a task scheduling request, the task scheduling request is used to request scheduling the target device in the storage system to execute the corresponding device instruction, wherein each of the target devices corresponds to at least one device instruction, each of the device instructions corresponds to an execution step, and the task scheduling request includes a template identifier; In response to the task scheduling request, searching a task template database to see whether there is a matching task template matching the template identifier; When there is no matching task template matching the template identifier in the task template database, obtaining a substitute task template, wherein the substitute task template includes at least one device tag, and one device tag is used to identify one target device; Based on the device instruction, the task execution steps in the substitute task template and the task instructions corresponding to the task execution steps, the substitute task template is updated to obtain a target task template, wherein the target task template includes target execution information; Sending a task scheduling instruction carrying the target task template to the target device of the warehousing system to schedule the target device to execute a corresponding device instruction based on the target execution information in the target task template; Wherein, updating the substitute task template based on the device instruction, the task execution steps in the substitute task template, and the task instruction corresponding to the task execution steps to obtain the target task template includes: Acquire mutually repeated device instructions and task instructions corresponding to the target device tag; Based on the mutually repeated device instructions and task instructions, determine a primary device instruction, wherein the primary device instruction is the device instruction or the task instruction; Obtain missing device marks, redundant device marks, device missing instructions corresponding to the missing device marks, and device redundant instructions corresponding to the redundant device marks, wherein the missing device marks are device marks that need to be scheduled but do not exist in the substitute task template, and the redundant device marks are device marks that do not need to be scheduled but exist in the substitute task template; updating the instruction list in the substitute task template based on the primary device instruction, the missing device instruction, and the redundant device instruction; Acquire the task execution logic, the primary execution steps corresponding to the primary instructions of the device, the missing execution steps corresponding to the missing instructions of the device, and the redundant execution steps corresponding to the redundant instructions of the device; Based on the task execution logic, the primary execution steps, the missing execution steps and the redundant execution steps are edited to obtain target execution steps; The step execution list in the substitute task template is updated based on the target execution step, and the target task template is obtained.

2. The warehousing system scheduling control method according to claim 1, characterized in that: After the substitute task template is updated based on the device instruction, the task execution steps in the substitute task template, and the task instructions corresponding to the task execution steps to obtain the target task template, the method further includes: After configuring the target template identifier for the target task template, the task template database is updated based on the target task template and the target template identifier.

3. The warehousing system scheduling control method according to claim 1, characterized in that: When there is a matching task template matching the template identifier in the task template database, the method further includes sending a task scheduling instruction carrying the matching task template to a target device in the warehousing system to schedule the target device to execute a corresponding device instruction based on execution information in the matching task template, including: Acquire the total number of scheduling and scheduling execution steps in the matching task template, wherein the total number of scheduling is used to represent the total number of times the task scheduling instruction schedules the target device in the storage system; Based on the scheduling execution step, sequentially scheduling the target devices to execute corresponding target instructions; Determine whether the current scheduling number corresponding to the scheduling execution step is less than the total scheduling number, wherein one scheduling execution step corresponds to one scheduling; When the current scheduling number is less than the total scheduling number, scheduling the target device corresponding to the current execution step to execute its corresponding device instruction; Control the scheduling execution step to add 1.

4. The warehousing system scheduling control method according to claim 1, characterized in that: When there is no matching task template matching the template identifier in the task template database, obtaining a substitute task template includes: Searching the task template database for a device task template containing the device mark; Obtaining the task instruction corresponding to the device mark in the device task template; Determining a degree of match between the task instruction and the device instruction; When the matching degree between the task instruction and the device instruction meets a preset condition, the device task template is used as the substitute task template.

5. The warehousing system scheduling control method according to claim 4, characterized in that: When the matching degree between the device task instruction and the device instruction meets a preset condition, using the device task template as the substitute task template includes: Obtaining a comparison task instruction corresponding to a target device tag in the device task template, wherein the target device tag is one of the device tags, each of the target device tags corresponds to at least one comparison task instruction, and the comparison task instruction is at least one of the device task instructions; Acquire a matching task instruction in the comparison task instruction, in which a target device corresponding to the target device tag has a corresponding relationship with a device instruction under the task scheduling instruction; Obtaining the number of matches of the matching task instruction; Traversing all the target device tags to obtain the total number of task matches in the device task template; When the total number of task matches is greater than a preset number, the device task template is used as the substitute task template.

6. The warehousing system scheduling control method according to claim 5, characterized in that: The method further comprises: Obtaining a comparison task template in the device task template, wherein the comparison task template is a template whose total number of task matches is greater than a preset number; Comparing the values ​​of the total number of task matches corresponding to each of the plurality of comparison task templates; The comparison task template with the largest total number of task matches is used as the substitute task template.

7. A storage system scheduling control device, characterized in that: The device comprises: A task scheduling request receiving module, used for receiving a task scheduling request, wherein the task scheduling request is used for requesting to schedule a target device in the storage system to execute a corresponding device instruction, wherein each target device corresponds to at least one device instruction, each device instruction corresponds to an execution step, and the task scheduling request includes a template identifier; A matching task template search module, used to search a task template database for a matching task template that matches the template identifier in response to the task scheduling request; A substitute task template acquisition module, used for acquiring a substitute task template when there is no matching task template matching the template identifier in the task template database, wherein the substitute task template includes at least one device tag, and one device tag is used to identify one target device; A substitute task template updating module, used to update the substitute task template based on the device instruction, the task execution steps in the substitute task template and the task instructions corresponding to the task execution steps, to obtain a target task template, wherein the target task template includes target execution information; A scheduling module, used for sending a task scheduling instruction carrying the target task template to the target device of the storage system, so as to schedule the target device to execute a corresponding device instruction based on the target execution information in the target task template; Wherein, the substitute task template update module is specifically used for: Acquire mutually repeated device instructions and task instructions corresponding to the target device tag; Based on the mutually repeated device instructions and task instructions, determine a primary device instruction, wherein the primary device instruction is the device instruction or the task instruction; Obtain missing device marks, redundant device marks, device missing instructions corresponding to the missing device marks, and device redundant instructions corresponding to the redundant device marks, wherein the missing device marks are device marks that need to be scheduled but do not exist in the substitute task template, and the redundant device marks are device marks that do not need to be scheduled but exist in the substitute task template; updating the instruction list in the substitute task template based on the primary device instruction, the missing device instruction, and the redundant device instruction; Acquire the task execution logic, the primary execution steps corresponding to the primary instructions of the device, the missing execution steps corresponding to the missing instructions of the device, and the redundant execution steps corresponding to the redundant instructions of the device; Based on the task execution logic, the primary execution steps, the missing execution steps and the redundant execution steps are edited to obtain target execution steps; The step execution list in the substitute task template is updated based on the target execution step to obtain the target task template.

8. An electronic device, characterized in that: The electronic device includes a memory and at least one processor, wherein instructions are stored in the memory; the at least one processor calls the instructions in the memory so that the electronic device executes each step of the warehouse system scheduling control method as described in any one of claims 1-6.

9. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the various steps of the warehouse system scheduling control method as described in any one of claims 1-6 are implemented.

Citation Information

Patent Citations

  • Scheduling method and system, server and computer readable storage medium

    CN115437757A

  • Method for calling equipment, instruction management center and equipment calling system

    CN117785271A

  • Task scheduling method and device, equipment and storage medium

    CN117891575A

  • Service information management method and device, equipment and medium

    CN118261134A

  • Scheduling method, apparatus, system, control device, and readable storage medium

    WO2023125076A1