A robot scheduling method, device, equipment and medium

By obtaining the robot operation data and judging the deadlock status, and using the avoidance mechanism to release the deadlock when specific conditions are met, the problem of low deadlock processing efficiency in the existing technology is solved, and the efficiency of mobile robot task execution is improved.

CN112650226BActive Publication Date: 2024-09-06JINGXIN INTELLIGENT TECH (GUANGZHOU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011458903.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-11
Publication Date
2024-09-06
Estimated Expiration
2040-12-11

AI Technical Summary

Technical Problem

When existing mobile robot traffic control systems deal with deadlocks, the efficiency of task execution may be reduced or the deadlock cannot be released. Especially when deadlocks exist on special paths, existing technology is difficult to effectively solve them.

Method used

By obtaining the robot operating data, it is determined whether there is a deadlock state, and when the alternate planned path and the preset deadlock path length are determined to meet the avoidance conditions, the target robot is controlled to perform avoidance operations to release the deadlock state, and an avoidance mechanism is used to release the deadlock. , to avoid wasting time caused by waiting.

Benefits of technology

It improves the efficiency of deadlock unlocking, avoids the waste of time caused by waiting in the existing technology, and improves the efficiency of robot task execution. Especially when a suitable alternative planning path cannot be found, the deadlock can be released in time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112650226B
    Figure CN112650226B
Patent Text Reader

Abstract

The disclosed embodiments relate to a robot scheduling method, device, equipment and medium, wherein the method comprises: obtaining robot operation data; if a deadlock state is determined to occur based on the robot operation data, then determining a target robot in a deadlock state, wherein the number of target robots is at least two; when the avoidance condition is determined to be satisfied based on the backup planning path of the target robot and the preset deadlock path length, then controlling the target robot to perform an avoidance operation to release the deadlock state. By adopting the above technical solution, in the process of scheduling robots, when a deadlock state inevitably occurs, and the robot in the deadlock state does not have a suitable backup planning path based on the deadlock path length, then the avoidance mechanism can be used to release the deadlock, thereby avoiding the problem of wasting time caused by continuing to wait in the prior art and improving the efficiency of deadlock unlocking.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of robot control technology, and in particular to a robot scheduling method, device, equipment and medium. Background Art

[0002] With the continuous improvement of automation and intelligence in domestic factories, the application of mobile robots is becoming more and more extensive, the application scale of mobile robots is gradually increasing, and the application environment of mobile robots is becoming more and more complex. With the increase in the number of robots and the increase in the complexity of the working environment, it is particularly important to ensure that the mobile robot system can perform tasks in an orderly and efficient manner.

[0003] Although the existing mobile robot traffic control system solves the traffic control problem of robot encounters and avoids collisions between mobile robots, deadlocks and other situations still occur on some special paths, so deadlock detection algorithms and unlocking are very necessary. When solving the deadlock problem of robot traffic control, the existing technology generally adopts the method of replanning the path for the deadlocked robot, but the deadlock may still not be resolved or the robot's task execution efficiency may be reduced. Summary of the invention

[0004] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a robot scheduling method, device, equipment and medium.

[0005] The present disclosure provides a robot scheduling method, the method comprising:

[0006] Get robot operation data;

[0007] If a deadlock state is determined to occur based on the robot operation data, determining a target robot in the deadlock state, wherein the number of the target robots is at least two;

[0008] When it is determined that the avoidance condition is met based on the backup planned path of the target robot and the preset deadlock path length, the target robot is controlled to perform an avoidance operation to release the deadlock state.

[0009] Optionally, the robot operation data includes an occupancy status of a to-be-operated site of each operating robot in an operating state, wherein the occupancy status includes an occupied state and an unoccupied state, and the number of the operating robots is at least two.

[0010] Optionally, determining that a deadlock state occurs based on the robot operation data includes:

[0011] If the occupancy status of the to-be-run sites of at least two of the running robots are both in the occupied state, and they occupy each other's to-be-run sites, it is determined that a deadlock state occurs.

[0012] Optionally, the determining whether the avoidance condition is satisfied based on the backup planned path of the target robot and a preset deadlock path length includes:

[0013] If none of the target robots has a backup planned path, or if at least one of the target robots has a backup planned path and the lengths of the backup planned paths are greater than the deadlock path length, it is determined that the avoidance condition is met.

[0014] Optionally, controlling the target robot to perform an avoidance operation to release the deadlock state includes:

[0015] Determining an avoidance robot and a target avoidance site, wherein the avoidance robot is one of the target robots;

[0016] The avoidance robot is controlled to run to the target avoidance site to release the deadlock state.

[0017] Optionally, the determining the avoidance robot and the target avoidance site of the avoidance robot includes:

[0018] Determining an initial avoidance site for each of the target robots;

[0019] A target robot having the shortest path between the initial avoidance site and the current site is determined as the avoidance robot, and the initial avoidance site of the avoidance robot is determined as the target avoidance site.

[0020] Optionally, if a deadlock state is determined to occur based on the robot operation data, after determining the target robot in the deadlock state, the method further includes:

[0021] If at least one of the target robots has a target planned path, it is determined that the avoidance condition is not met, and the corresponding target robot is controlled to operate based on the target planned path to release the deadlock state, wherein the target planned path is a backup planned path that is less than or equal to the length of the deadlock path.

[0022] The present disclosure also provides a robot scheduling device, the device comprising:

[0023] Data acquisition module, used to obtain robot operation data;

[0024] A state judgment module, configured to determine a target robot in the deadlock state if a deadlock state is determined to occur based on the robot operation data, wherein the number of the target robots is at least two;

[0025] The unlocking module is used to control the target robot to perform an avoidance operation to release the deadlock state when it is determined that the avoidance condition is met based on the backup planned path of the target robot and the preset deadlock path length.

[0026] Optionally, the robot operation data includes an occupancy status of a to-be-operated site of each operating robot in an operating state, wherein the occupancy status includes an occupied state and an unoccupied state, and the number of the operating robots is at least two.

[0027] Optionally, the state judgment module includes a deadlock determination unit, which is specifically used to:

[0028] If the occupancy status of the to-be-run sites of at least two of the running robots are both in the occupied state, and they occupy each other's to-be-run sites, it is determined that a deadlock state occurs.

[0029] Optionally, the state judgment module includes an avoidance determination unit, which is specifically used to:

[0030] If none of the target robots has a backup planned path, or if at least one of the target robots has a backup planned path and the lengths of the backup planned paths are greater than the deadlock path length, it is determined that the avoidance condition is met.

[0031] Optionally, the unlocking module is specifically used for:

[0032] Determining an avoidance robot and a target avoidance site, wherein the avoidance robot is one of the target robots;

[0033] The avoidance robot is controlled to run to the target avoidance site to release the deadlock state.

[0034] Optionally, the unlocking module is specifically used for:

[0035] Determining an initial avoidance site for each of the target robots;

[0036] A target robot having the shortest path between the initial avoidance site and the current site is determined as the avoidance robot, and the initial avoidance site of the avoidance robot is determined as the target avoidance site.

[0037] Optionally, the device further comprises a planning unlocking module, which is used to: if a deadlock state is determined based on the robot operation data, after determining that the target robot is in the deadlock state,

[0038] If at least one of the target robots has a target planned path, it is determined that the avoidance condition is not met, and the corresponding target robot is controlled to operate based on the target planned path to release the deadlock state, wherein the target planned path is a backup planned path that is less than or equal to the length of the deadlock path.

[0039] An embodiment of the present disclosure also provides an electronic device, which includes: a processor; a memory for storing executable instructions of the processor; the processor is used to read the executable instructions from the memory and execute the instructions to implement the robot scheduling method provided by the embodiment of the present disclosure.

[0040] The embodiment of the present disclosure also provides a computer-readable storage medium, which stores a computer program, and the computer program is used to execute the robot scheduling method provided by the embodiment of the present disclosure.

[0041] The technical solution provided by the embodiment of the present disclosure has the following advantages over the prior art: the scheduling solution for the robot provided by the embodiment of the present disclosure obtains the robot operation data; if a deadlock state is determined to occur based on the robot operation data, the target robot in the deadlock state is determined; when the avoidance condition is determined to be met based on the backup planning path of the target robot and the preset deadlock path length, the target robot is controlled to perform an avoidance operation to release the deadlock state. By adopting the above technical solution, in the process of scheduling the robot, when a deadlock state inevitably occurs, and the robot in the deadlock state does not have a suitable backup planning path based on the deadlock path length, the avoidance mechanism can be used to release the deadlock, avoiding the problem of wasting time caused by continuing to wait in the prior art, and improving the efficiency of deadlock unlocking. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0044] Figure 1 A schematic diagram of a flow chart of a robot scheduling method provided in an embodiment of the present disclosure;

[0045] Figure 2 A schematic diagram of the structure of a robot scheduling system provided by an embodiment of the present disclosure;

[0046] Figure 3 A schematic diagram of a flow chart of another robot scheduling method provided by an embodiment of the present disclosure;

[0047] Figure 4 A schematic diagram of a deadlock state of a robot provided by an embodiment of the present disclosure;

[0048] Figure 5 A schematic diagram of a robot deadlock avoidance method provided by an embodiment of the present disclosure;

[0049] Figure 6 A schematic diagram of a robot deadlock unlocking method provided by an embodiment of the present disclosure;

[0050] Figure 7 A schematic diagram of the structure of a robot scheduling device provided in an embodiment of the present disclosure;

[0051] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0052] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0053] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0054] In the prior art, when solving the deadlock problem of robot traffic control, the method of replanning the path for the deadlocked robot is generally adopted. However, under some extreme conditions, such as special roads, replanning the path still cannot solve the deadlock, or the replanned path may cause the robot to perform tasks at a slower rate. In order to solve the above problems, the embodiments of the present disclosure provide a robot scheduling method.

[0055] Figure 1 The present invention provides a flow chart of a robot scheduling method provided in an embodiment of the present invention. The method can be executed by a robot scheduling device, wherein the device can be implemented by software and / or hardware and can generally be integrated in an electronic device. Figure 1 As shown, the method includes:

[0056] Step 101: Obtain robot operation data.

[0057] The robot may be a mobile robot that can run based on a planned path to complete a certain task. The specific type of the robot is not limited in the embodiments of the present disclosure. Robot operation data refers to relevant data of a robot in operation. In the embodiments of the present disclosure, the robot operation data includes the occupancy status of the to-be-operated sites of each operating robot in operation, wherein the occupancy status includes an occupied state and an unoccupied state, and the number of operating robots is at least two. The to-be-operated site refers to the next site that is about to be reached in the planned path of the operating robot. The occupancy status can indicate the ownership of the occupation right of the path. The occupied state indicates that the site in the path has been occupied by the robot, and the unoccupied state indicates that the site in the path is not occupied by the robot.

[0058] In the embodiments of the present disclosure, the robot path planning and scheduling control can be implemented by the robot scheduling system. For example, Figure 2 A structural schematic diagram of a robot scheduling system provided for an embodiment of the present disclosure, the robot scheduling system may include a path planning module and a traffic control module, the path planning module is used to plan the robot's walking path based on the issued tasks to obtain the robot's planned path, the traffic control module is used to track and adjust the robot's walking path and the occupancy status of the path in real time according to the planned path, so as to achieve the purpose of orderly scheduling the robot's work, and the method of the embodiment of the present disclosure can be executed by the traffic control module.

[0059] Step 102: If a deadlock state is determined based on the robot operation data, a target robot in the deadlock state is determined, wherein the number of the target robots is at least two.

[0060] The deadlock state can be understood as a phenomenon in which two or more robots are blocked due to resource competition or communication during operation. Without external force, they will not be able to move forward. At this time, the system is said to be in a deadlock state or the system has a deadlock. These processes that are always waiting for each other are called deadlock processes. That is, when two or more robots are waiting for each other to release path resources during operation and cannot continue to move, a deadlock state is determined.

[0061] In the disclosed embodiment, determining the occurrence of a deadlock state based on the robot operation data may include: if the occupation status of the sites to be operated of at least two running robots are both occupied, and they occupy each other's sites to be operated, then it is determined that a deadlock state has occurred. If the sites to be operated of two or more running robots are occupied, and they have occupied each other's sites to be operated to form a closed loop, it means that no robot can move, and it is determined that a deadlock state has occurred. For example, when the running robots include A, B and C, if A occupies B's site to be operated, B occupies C's site to be operated, and C occupies A's site to be operated, then an occupation closed loop is formed, and it is determined that a deadlock state has occurred, and A, B and C are the target robots in a deadlock state. For another example, when the running robots are robots D and E running in opposite directions, if D occupies E's site to be operated and E occupies D's site to be operated, then it is determined that a deadlock state has occurred, and D and E are the target robots in a deadlock state.

[0062] Step 103: When it is determined that the avoidance condition is met based on the backup planned path of the target robot and the preset deadlock path length, the target robot is controlled to perform an avoidance operation to release the deadlock state.

[0063] Among them, the backup planned path refers to another different planned path that can reach the end point except the currently running planned path value of the robot. A robot can set multiple backup planned paths, and the specific number is not limited. The deadlock path length can be a pre-set path length that does not affect the robot's travel efficiency, that is, the limited deadlock recalculation path length. When the robot's planned path is greater than the deadlock path length, it may affect the robot's travel efficiency, and it is necessary to re-determine the avoidance site for avoidance. The specific value of the deadlock path length is not limited in the embodiment of the present disclosure, and it can be set according to actual conditions. Optionally, the deadlock path length can be determined based on the total timeliness requirement for executing tasks in the map where the current robot is located, or it can be determined based on the interactive resource limit consumed by the robot's operation.

[0064] In the disclosed embodiment, determining whether the avoidance condition is satisfied based on the backup planned paths of the target robots and the preset deadlock path length may include: if there is no backup planned path for each target robot, or if there is a backup planned path for at least one target robot and the backup planned paths are all greater than the deadlock path length, then determining that the avoidance condition is satisfied. Wherein, the avoidance condition is a condition for unlocking by avoidance when a deadlock state occurs to the user and there is no suitable backup planned path to unlock. When there is no backup planned path for all target robots, it can be determined that the avoidance condition is satisfied, or when there is a backup planned path for a target robot, but the backup planned paths are all greater than the predetermined deadlock path length, it can also be determined that the avoidance condition is satisfied.

[0065] In the disclosed embodiment, controlling the target robot to perform an avoidance operation to release the deadlock state may include: determining an avoidance robot and a target avoidance site, wherein the avoidance robot is one of the target robots; and controlling the avoidance robot to run to the target avoidance site to release the deadlock state. Specifically, any target robot in a deadlock state is determined as an avoidance robot, and based on the current position, target position, current planned path of the avoidance robot, and the planned paths of other target robots other than the avoidance robot in the deadlock state, bypassing the path resources waiting for each other, determining the corresponding target avoidance site, and controlling the avoidance robot to run to the target avoidance site. When other robots in the deadlock state can pass, the deadlock state is released. Among them, the setting factors of the avoidance site may include at least one of the following: avoiding the current planned path of the avoidance robot, the principle of proximity, and occupying fewer resources, etc., wherein when the site includes an automatic door or an elevator, more resources are occupied.

[0066] Optionally, determining an avoidance robot and a target avoidance site of the avoidance robot includes: determining an initial avoidance site of each of the target robots; determining the target robot with the shortest path between the initial avoidance site and the current site as the avoidance robot, and determining the initial avoidance site of the avoidance robot as the target avoidance site. The initial avoidance site can be understood as an avoidance site pre-set for each target robot. In the disclosed embodiment, the initial avoidance site of each target robot can also be obtained first, the avoidance path between the current site of each target robot and the corresponding initial avoidance site can be determined, the target robot with the shortest avoidance path can be determined as the avoidance robot, and the initial avoidance site of the avoidance robot can be determined as the target avoidance site.

[0067] In the disclosed embodiment, if a deadlock state is determined to occur based on the robot operation data, after determining the target robot in the deadlock state, it may also include: if at least one target robot has a target planning path, it is determined that the avoidance condition is not met, and the corresponding target robot is controlled to run based on the target planning path to release the deadlock state, wherein the target planning path is a spare planning path less than or equal to the length of the deadlock path. Among them, the number of target planning paths can be at least one. If at least one target robot has a spare planning path less than or equal to the length of the deadlock path, that is, the target planning path, it is determined that the avoidance condition is not met, and the corresponding target robot is controlled to run based on the target planning path to release the deadlock state.

[0068] The robot scheduling scheme provided by the embodiment of the present disclosure obtains the robot operation data; if a deadlock state is determined to occur based on the robot operation data, the target robot in the deadlock state is determined, wherein the number of target robots is at least two; when the avoidance condition is determined to be satisfied based on the backup planned path of the target robot and the preset deadlock path length, the target robot is controlled to perform an avoidance operation to release the deadlock state. By adopting the above technical scheme, in the process of scheduling robots, when a deadlock state inevitably occurs, and the robot in the deadlock state does not have a suitable backup planned path based on the deadlock path length, the avoidance mechanism can be used to release the deadlock, thereby avoiding the problem of wasting time caused by continuing to wait in the prior art and improving the efficiency of deadlock unlocking.

[0069] Figure 3 This is a flow chart of another robot scheduling method provided by an embodiment of the present disclosure. This embodiment further optimizes the robot scheduling method based on the above embodiment. Figure 3 As shown, the method includes:

[0070] Step 201: Obtain robot operation data.

[0071] The robot operation data includes the occupancy status of the to-be-operated sites of each operating robot in the operating state, wherein the occupancy status includes an occupied state and an unoccupied state, and the number of the operating robots is at least two.

[0072] Step 202: determine whether a deadlock state occurs based on the robot operation data. If so, execute step 203; otherwise, return to execute step 201.

[0073] Specifically, determining that a deadlock state occurs based on the robot operation data may include: if the occupancy status of the to-be-operated sites of at least two operating robots are both in an occupied state, and they occupy each other's to-be-operated sites, then determining that a deadlock state occurs.

[0074] Step 203 , determining whether there is no backup planning path for the target robot, if so, executing step 205 ; otherwise, executing step 204 .

[0075] Step 204 , determine whether all backup planned paths are greater than the deadlock path length, if so, execute step 205 ; otherwise, execute step 206 .

[0076] Step 205: Determine that the avoidance condition is met, and control the target robot to perform an avoidance operation to release the deadlock state.

[0077] If none of the target robots has an alternative planned path, or if at least one target robot has an alternative planned path and the alternative planned paths are all greater than the deadlock path length, it is determined that the avoidance condition is met, and the target robot is controlled to perform an avoidance operation to release the deadlock state.

[0078] In the disclosed embodiment, controlling the target robot to perform an avoidance operation to release the deadlock state may include: determining an avoidance robot and a target avoidance site, wherein the avoidance robot is one of the target robots; and controlling the avoidance robot to run to the target avoidance site to release the deadlock state. Optionally, determining the avoidance robot and the target avoidance site of the avoidance robot includes: determining the initial avoidance site of each of the target robots; determining the target robot with the shortest path between the initial avoidance site and the current site as the avoidance robot, and determining the initial avoidance site of the avoidance robot as the target avoidance site.

[0079] Step 206 : Determine that the avoidance condition is not met, and control the corresponding target robot to run based on the target planning path to release the deadlock state.

[0080] The target planning path is a backup planning path whose length is less than or equal to the deadlock path.

[0081] If at least one target robot has a target planned path, it is determined that the avoidance condition is not met, and the corresponding target robot is controlled to run based on the target planned path to release the deadlock state, wherein the target planned path is a backup planned path that is less than or equal to the length of the deadlock path.

[0082] Next, the scheduling scheme of the robot in the embodiment of the present disclosure is specifically described by using a specific example. Figure 4 , Figure 5 and Figure 6 .

[0083] Figure 4 A schematic diagram of a robot deadlock state provided in an embodiment of the present disclosure, robot No. 1 performs a task from the current position L3 to A3, and the planned path is L3-L6-L7-L8-L9-A3, and robot No. 2 performs a task from the current position A3 to A1, and the planned path is A3-L9-L8-L7-L6-L3-L3-L4-L5-A1. It can be seen from the planned path that robot No. 1 and robot No. 2 are both in each other's walking path, and a deadlock state occurs; it can be seen from the path planning module that there are no backup planned paths for robot No. 1 and robot No. 2, and it is determined that the avoidance condition is met, triggering the avoidance mechanism.

[0084] Figure 5 A schematic diagram of a robot deadlock avoidance method provided by an embodiment of the present disclosure is shown in FIG. Figure 5As shown, the walking path of robot No. 1 is in the walking path of path No. 2. Robot No. 1 can be set as an avoidance robot, and the appropriate avoidance site is selected as A2; the path L3-L6-A2 of robot No. 1 is replanned, and the traffic control module dispatches robot No. 1 to walk to A2 and waits for robot No. 2 to pass at point A2; due to the change of the walking path of robot No. 1, robot No. 2 obtains the path resource A3-L9-L8-L7-L6-L3, and the traffic control module dispatches robot No. 2 to walk to L3.

[0085] Figure 6 A schematic diagram of a robot deadlock unlocking method provided by an embodiment of the present disclosure is shown in FIG. Figure 6 As shown, after Robot No. 2 drives to L3, its driving path no longer overlaps with that of Robot No. 1; Robot No. 1 re-plans the path A2-L6-L7-L8-L9-A3, and the traffic control module dispatches Robot No. 1 to A3 and continues to dispatch Robot No. 2 to A1. The deadlock state is released, and Robot No. 1 and Robot No. 2 complete the task.

[0086] In the disclosed embodiment, when deadlock occurs, the length of the deadlock recalculated path is limited based on the replanning of the path for the robot. When the replanned path cannot meet the conditions or there is no other path to be planned, the present invention adopts a method of allowing the robot to walk to the nearest point to avoid it, thereby resolving the traffic control deadlock problem, further improving the efficiency of the mobile robot in performing tasks, and maximizing benefits for users.

[0087] Compared with the existing robot traffic control deadlock unlocking method, when the alternative planned path is too long and affects the efficiency of the robot in executing the task, an avoidance mechanism is adopted to improve the efficiency of the robot unlocking; and, when the robots in the deadlock state are unable to plan the alternative planned path to pass, the existing technology adopts the method of continuing to wait, while the present invention adopts the avoidance mechanism to bypass the path resources where the robots are waiting for each other, and promptly release the traffic control deadlock, which greatly improves the performance of the traffic control module and avoids manual intervention for manual unlocking.

[0088] The robot scheduling scheme provided by the embodiment of the present disclosure obtains the robot operation data; if it is determined that a deadlock state occurs based on the robot operation data, the target robot in the deadlock state is determined; when the avoidance condition is determined to be met based on the backup planning path of the target robot and the preset deadlock path length, the target robot is controlled to perform an avoidance operation to release the deadlock state; when the non-avoidance condition is determined to be met based on the backup planning path of the target robot and the preset deadlock path length, the corresponding target robot is controlled to run based on the target planning path to release the deadlock state, wherein the target planning path is a backup planning path that is less than or equal to the deadlock path length. By adopting the above technical scheme, in the process of scheduling robots, when a deadlock state inevitably occurs, and the robot in the deadlock state does not have a suitable backup planning path based on the deadlock path length, the avoidance mechanism can be used to release the deadlock, thereby avoiding the problem of wasting time by continuing to wait in the prior art and improving the efficiency of deadlock unlocking.

[0089] Figure 7 This is a schematic diagram of the structure of a robot scheduling device provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware and can generally be integrated into an electronic device. Figure 7 As shown, the device comprises:

[0090] The data acquisition module 301 is used to acquire the robot operation data;

[0091] A state judgment module 302 is used to determine a target robot in the deadlock state if a deadlock state is determined based on the robot operation data, wherein the number of the target robots is at least two;

[0092] The unlocking module 303 is used to control the target robot to perform an avoidance operation to release the deadlock state when it is determined that the avoidance condition is met based on the backup planned path of the target robot and the preset deadlock path length.

[0093] The robot scheduling scheme provided by the embodiment of the present disclosure obtains the robot operation data; if a deadlock state is determined to occur based on the robot operation data, the target robot in the deadlock state is determined; when the avoidance condition is determined to be met based on the backup planning path of the target robot and the preset deadlock path length, the target robot is controlled to perform an avoidance operation to release the deadlock state. By adopting the above technical scheme, in the process of scheduling robots, when a deadlock state inevitably occurs, and the robot in the deadlock state does not have a suitable backup planning path based on the deadlock path length, the avoidance mechanism can be used to release the deadlock, avoiding the problem of wasting time by continuing to wait in the prior art, and improving the efficiency of deadlock unlocking.

[0094] Optionally, the robot operation data includes an occupancy status of a to-be-operated site of each operating robot in an operating state, wherein the occupancy status includes an occupied state and an unoccupied state, and the number of the operating robots is at least two.

[0095] Optionally, the state determination module 302 includes a deadlock determination unit, which is specifically configured to:

[0096] If the occupancy status of the to-be-run sites of at least two of the running robots are both in the occupied state, and they occupy each other's to-be-run sites, it is determined that a deadlock state occurs.

[0097] Optionally, the state judgment module 302 includes an avoidance determination unit, which is specifically used to:

[0098] If none of the target robots has a backup planned path, or if at least one of the target robots has a backup planned path and the backup planned paths are all longer than the deadlock path length, it is determined that the avoidance condition is met.

[0099] Optionally, the unlocking module 303 is specifically used for:

[0100] Determining an avoidance robot and a target avoidance site, wherein the avoidance robot is one of the target robots;

[0101] The avoidance robot is controlled to run to the target avoidance site to release the deadlock state.

[0102] Optionally, the unlocking module 303 is specifically used for:

[0103] Determining an initial avoidance site for each of the target robots;

[0104] A target robot having the shortest path between the initial avoidance site and the current site is determined as the avoidance robot, and the initial avoidance site of the avoidance robot is determined as the target avoidance site.

[0105] Optionally, the device further comprises a planning unlocking module, which is used to: if a deadlock state is determined based on the robot operation data, after determining that the target robot is in the deadlock state,

[0106] If at least one of the target robots has a target planned path, it is determined that the avoidance condition is not met, and the corresponding target robot is controlled to operate based on the target planned path to release the deadlock state, wherein the target planned path is a backup planned path that is less than or equal to the length of the deadlock path.

[0107] The robot scheduling device provided in the embodiments of the present disclosure can execute the robot scheduling method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0108] Figure 8 The structure diagram of an electronic device provided by the embodiment of the present disclosure is shown in FIG. Figure 8 As shown, the electronic device 400 includes one or more processors 401 and a memory 402 .

[0109] The processor 401 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 400 to perform desired functions.

[0110] The memory 402 may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 401 may run the program instructions to implement the robot scheduling method of the embodiment of the present disclosure described above and / or other desired functions. Various contents such as input signals, signal components, noise components, etc. may also be stored in the computer-readable storage medium.

[0111] In one example, the electronic device 400 may further include: an input device 403 and an output device 404, and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).

[0112] In addition, the input device 403 may also include, for example, a keyboard, a mouse, and the like.

[0113] The output device 404 can output various information to the outside, including the determined distance information, direction information, etc. The output device 404 can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, and the like.

[0114] Of course, to simplify, Figure 8 Only some of the components related to the present disclosure in the electronic device 400 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device 400 may also include any other appropriate components.

[0115] In addition to the above-mentioned method and device, the embodiment of the present disclosure may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the robot scheduling method provided by the embodiment of the present disclosure.

[0116] The computer program product may be written in any combination of one or more programming languages ​​to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0117] In addition, the embodiment of the present disclosure may also be a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes the robot scheduling method provided by the embodiment of the present disclosure.

[0118] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0119] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article 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, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0120] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A robot scheduling method, It is characterized in that include: Get robot operation data; If a deadlock state is determined to occur based on the robot operation data, determining a target robot in the deadlock state, wherein the number of the target robots is at least two; When it is determined that the avoidance condition is met based on the backup planned path of the target robot and the preset deadlock path length, the target robot is controlled to perform an avoidance operation to release the deadlock state; The deadlock state is when two or more robots are waiting for each other to release path resources during operation and cannot move further; The determining that the avoidance condition is satisfied based on the backup planned path of the target robot and the preset deadlock path length includes: If none of the target robots has a backup planned path, or if at least one of the target robots has a backup planned path and the lengths of the backup planned paths are greater than the deadlock path length, it is determined that the avoidance condition is met.

2. The method according to claim 1, It is characterized in that The robot operation data includes the occupancy status of the to-be-operated sites of each operating robot in the operating state, wherein the occupancy status includes an occupied state and an unoccupied state, and the number of the operating robots is at least two.

3. The method according to claim 2, It is characterized in that The determining the deadlock state based on the robot operation data includes: If the occupancy status of the to-be-run sites of at least two of the running robots are both in the occupied state, and they occupy each other's to-be-run sites, it is determined that a deadlock state occurs.

4. The method according to claim 1, It is characterized in that The controlling the target robot to perform an avoidance operation to release the deadlock state includes: Determining an avoidance robot and a target avoidance site, wherein the avoidance robot is one of the target robots; The avoidance robot is controlled to run to the target avoidance site to release the deadlock state.

5. The method according to claim 4, It is characterized in that The determining of the avoidance robot and the target avoidance site of the avoidance robot comprises: Determining an initial avoidance site for each of the target robots; A target robot having the shortest path between the initial avoidance site and the current site is determined as the avoidance robot, and the initial avoidance site of the avoidance robot is determined as the target avoidance site.

6. The method according to claim 1, It is characterized in that If a deadlock state is determined to occur based on the robot operation data, after determining the target robot in the deadlock state, the method further includes: If at least one of the target robots has a target planned path, it is determined that the avoidance condition is not met, and the corresponding target robot is controlled to operate based on the target planned path to release the deadlock state, wherein the target planned path is a backup planned path that is less than or equal to the length of the deadlock path.

7. A robot scheduling device, It is characterized in that include: Data acquisition module, used to obtain robot operation data; A state judgment module, configured to determine a target robot in the deadlock state if a deadlock state is determined to occur based on the robot operation data, wherein the number of the target robots is at least two; An unlocking module, configured to control the target robot to perform an avoidance operation to release the deadlock state when it is determined that an avoidance condition is met based on the backup planned path of the target robot and a preset deadlock path length; The deadlock state is when two or more robots are waiting for each other to release path resources during operation and cannot move further; The unlocking module includes an avoidance determination unit, which is used to determine that the avoidance condition is met if none of the target robots has a backup planned path, or if at least one of the target robots has a backup planned path and the backup planned paths are all greater than the deadlock path length.

8. An electronic device, It is characterized in that The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the robot scheduling method described in any one of claims 1-6 above.

9. A computer-readable storage medium, It is characterized in that The storage medium stores a computer program, and the computer program is used to execute the robot scheduling method described in any one of claims 1 to 6.