Robot control method and device, computer equipment and readable storage medium

By detecting and processing the occupancy status on the robot path segment, obtaining avoidance areas and releasing access rights, the deadlock problem is solved, the efficiency and adaptability of robot scheduling are improved, changes to the control logic are reduced, and efficient resource management is achieved. .

CN118795886APending Publication Date: 2024-10-18SHENZHEN PUDU TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410865503.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

Existing robot scheduling methods are difficult to effectively deal with the deadlock problem, resulting in reduced scheduling efficiency and accuracy, and require significant changes in the control logic of the robot and central control system, increasing the complexity of the work.

Method used

By detecting the robot's occupancy on the moving path segment, the avoidance area is obtained and the access rights are released to ensure that high-priority robots can pass, while low-priority robots regenerate the global path to avoid conflicts and reduce the extent of changes to the control logic.

Benefits of technology

It improves the efficiency and adaptability of robot scheduling, reduces work complexity, avoids resource conflicts, and enhances overall operating efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118795886A_ABST
    Figure CN118795886A_ABST
Patent Text Reader

Abstract

The invention relates to a robot control method and device, computer equipment, a computer readable storage medium and a computer program product. The method comprises the steps that a first robot obtains a first global path and passes through a moving path section corresponding to the first global path; and if it is detected that the first robot occupies the target moving path section of the second robot when passing through the current moving path section, the first robot obtains an avoiding area corresponding to the current moving path section, moves to the avoiding area and releases the passing permission corresponding to the current moving path section. The second robot receives the passing permission corresponding to the current moving path section and passes in the current moving path section; and the first robot obtains a second global path, moves to the second global path from the avoidance area, and passes through a moving path section corresponding to the second global path. By adopting the method, the efficiency and adaptability of robot scheduling can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of robotics technology, and in particular to a robot control method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Art

[0002] In the field of robotics, different types of robots are involved in working together in the same scenario. When the moving paths corresponding to different types of robots conflict, congestion will occur and the robots need to be scheduled.

[0003] In the current method of scheduling robots, robots are scheduled only based on communication data or road condition perception data, which makes it difficult to deal with complex scenarios such as deadlock problems, thereby reducing the efficiency and accuracy of robot scheduling; while in another method of scheduling robots, it is necessary to make drastic changes to the control logic of various types of robots and the central control system connected to the robots to deal with complex scenarios such as deadlock problems, thereby increasing the complexity of robot scheduling and reducing the efficiency of robot scheduling. Summary of the invention

[0004] Based on this, it is necessary to provide a robot control method, device, computer equipment, computer-readable storage medium and computer program product that can improve the efficiency of robot scheduling and reduce the complexity of robot scheduling work in response to the above technical problems.

[0005] In a first aspect, the present application provides a robot control method, comprising:

[0006] Acquire a first global path, and travel in a moving path segment corresponding to the first global path;

[0007] If it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment, the avoidance area corresponding to the current moving path segment is obtained, and the robot moves to the avoidance area, and releases the passage authority corresponding to the current moving path segment, so that the second robot receives the passage authority corresponding to the current moving path segment and passes through the current moving path segment; the priority of the second robot is higher than that of the first robot, and the avoidance area is an area that does not conflict with the target moving path segment of the second robot;

[0008] A second global path is acquired, and the vehicle moves from the avoidance area to the second global path, and travels in a moving path segment corresponding to the second global path.

[0009] In a second aspect, the present application also provides a robot control method, comprising:

[0010] When the first robot passes through the moving path segment corresponding to the first global path, if it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment, an avoidance request is sent to the first robot, so that the first robot obtains the avoidance area corresponding to the current moving path segment, moves to the avoidance area, and releases the passage authority corresponding to the current moving path segment; the priority of the second robot is higher than that of the first robot, and the avoidance area is an area that does not conflict with the target moving path segment of the second robot;

[0011] Sending the access permission corresponding to the current moving path segment to the second robot, so that the second robot receives the access permission corresponding to the current moving path segment and passes through the current moving path segment;

[0012] After the second robot passes the current moving path segment, it receives a passing request from the first robot and sends the passing permission corresponding to the passing request to the first robot, so that the first robot passes in the moving path segment corresponding to the second global path.

[0013] In a third aspect, the present application further provides a robot control device, comprising:

[0014] A first acquisition module, used to acquire a first global path, and travel in a moving path segment corresponding to the first global path;

[0015] an avoidance module, for obtaining an avoidance area corresponding to the current moving path segment, moving to the avoidance area, and releasing the passage authority corresponding to the current moving path segment, if it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment, so that the second robot receives the passage authority corresponding to the current moving path segment and passes through the current moving path segment; the priority of the second robot is higher than that of the first robot, and the avoidance area is an area that does not conflict with the target moving path segment of the second robot;

[0016] The second acquisition module is used to acquire a second global path, move from the avoidance area to the second global path, and pass through a moving path segment corresponding to the second global path.

[0017] In a fourth aspect, the present application further provides a robot control device, comprising:

[0018] A first sending module is used for sending an avoidance request to the first robot when the first robot passes through the moving path segment corresponding to the first global path, if it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment, so that the first robot obtains the avoidance area corresponding to the current moving path segment, moves to the avoidance area, and releases the passage authority corresponding to the current moving path segment; the priority of the second robot is higher than that of the first robot, and the avoidance area is an area that does not conflict with the target moving path segment of the second robot;

[0019] A second sending module, configured to send the passage authority corresponding to the current moving path segment to the second robot, so that the second robot receives the passage authority corresponding to the current moving path segment and passes through the current moving path segment;

[0020] The third sending module is used to receive a passage request from the first robot after the second robot passes the current moving path segment, and send the passage permission corresponding to the passage request to the first robot, so that the first robot can pass through the moving path segment corresponding to the second global path.

[0021] In a fifth aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the above steps when executing the computer program.

[0022] In a sixth aspect, the present application also provides a computer-readable storage medium having a computer program stored thereon, and the above steps are implemented when the computer program is executed by a processor.

[0023] In a seventh aspect, the present application also provides a computer program product, including a computer program, which implements the above steps when executed by a processor.

[0024] In the above-mentioned robot control method, device, computer equipment, computer-readable storage medium and computer program product, when the first robot passes through the moving path segment corresponding to the original global path, if it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment, the first robot moves to the avoidance area corresponding to the current moving path segment to allow the second robot with a high priority to pass through the current moving path segment. Furthermore, the first robot obtains the updated global path in the avoidance area to move from the avoidance area to the moving path segment corresponding to the updated global path. Based on this, when different types of robots conflict during movement, it is only necessary to use the low-priority robot to avoid the high-priority robot and regenerate a new global path for the low-priority robot, thereby reducing the extent of changes to the control logic of the robot and the server and reducing the complexity of the robot scheduling work, thereby improving the efficiency and adaptability of the robot scheduling, and improving the overall operating efficiency, and avoiding resource conflicts. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0026] Figure 1 A schematic diagram of a flow chart of a robot control method in one embodiment;

[0027] Figure 2 is a schematic diagram of a robot movement path in one embodiment;

[0028] Figure 3 is a schematic diagram of a robot moving path in another embodiment;

[0029] Figure 4 is a schematic diagram of a robot moving path in another embodiment;

[0030] Figure 5 A schematic flow chart of a robot control method in another embodiment;

[0031] Figure 6 A schematic diagram of a flow chart of a robot control method in one embodiment;

[0032] Figure 7 is a structural block diagram of a robot control device in one embodiment;

[0033] Figure 8 is a structural block diagram of a robot control device in another embodiment;

[0034] Fig. 9 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0035] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0036] In an exemplary embodiment, Figure 1 As shown, a robot control method is provided. This embodiment takes the method applied to a terminal as an example. It can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. The robot control method of this embodiment is used for scheduling control between different types of robots. The different types of robots include a first robot and a second robot, wherein the first robot and the second robot are robots distinguished by specification type, functional design or execution task content, and in the same application scenario, the priority of the second robot is higher than that of the first robot. In this embodiment, the method is applied to the first robot, that is, the method takes the first robot as the execution subject, and includes the following steps S102 to S106, wherein:

[0037] Step S102: acquiring a first global path, and traveling in a moving path segment corresponding to the first global path.

[0038] The global path represents the total moving path of the first robot, that is, the overall route obtained by the first robot through global path planning according to the starting point and the end point; the first global path represents the global path obtained by the first robot in the first calculation.

[0039] Exemplarily, the first global path includes multiple moving path segments. Before the first robot passes through a certain moving path segment, it needs to request the server to obtain the access permission corresponding to the moving path segment. Only after receiving the access permission can it pass through the moving path segment; if the first robot does not receive the access permission from the server, it can repeatedly request the server until it receives the access permission; after passing through the moving path segment, the first robot releases the access permission corresponding to the moving path segment.

[0040] Step S104: If it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment, the avoidance area corresponding to the current moving path segment is obtained, and the first robot moves to the avoidance area, and releases the access permission corresponding to the current moving path segment, so that the second robot receives the access permission corresponding to the current moving path segment and passes through the current moving path segment; the priority of the second robot is higher than that of the first robot, and the avoidance area is an area that does not conflict with the target moving path segment of the second robot.

[0041] Exemplarily, when the first robot passes through the current moving path segment, it occupies the target moving path segment of the second robot, which can be expressed as, the current moving path segment of the first robot is the moving path segment to be passed by the second robot, or it can be expressed as, there is an overlapping part between the current moving path segment of the first robot and the moving path segment to be passed by the second robot; wherein, the moving path segment to be passed by the second robot can represent the next moving path segment to be passed by the second robot, or it can be expressed as the next group of moving path segments to be passed by the second robot, and a group of moving path segments includes a preset number of moving path segments.

[0042] For example, the avoidance area refers to an area provided for the first robot to avoid the second robot when the first robot and the second robot collide during movement, so as to avoid congestion or collision. The selection of spatial information such as the length, width, area, shape, etc. of the avoidance area can refer to the specification size of the corresponding moving path segment, the robot's traffic flow, the actual environment and site, etc.

[0043] Optionally, the avoidance area corresponding to the current moving path segment may be represented as an area not involved in the target moving path segment of the second robot, or may be represented as an area not involved in any moving path segment of the second robot.

[0044] Optionally, avoidance points are set in the avoidance area, and a moving path segment of the first robot may correspond to at least one avoidance point, so that the first robot moves to the avoidance point in the corresponding avoidance area and stays.

[0045] Optionally, the avoidance area may include multiple avoidance points, and multiple first robots in the same moving path segment may respectively move to different avoidance points in the corresponding avoidance area; wherein, the number of first robots allowed to pass simultaneously in a moving path segment may refer to the number of avoidance points in the corresponding avoidance area; for example, if n first robots are allowed to pass simultaneously in a moving path segment, the number of avoidance points in the corresponding avoidance area must be greater than or equal to n.

[0046] Optionally, the inherent non-conflict points of the first robot in the factory area can be used as avoidance points; the non-conflict points can be dynamically determined according to the real-time moving paths of the first robot and the second robot as avoidance points; and the non-conflict points sensed, observed and calculated by the first robot on site can also be used as avoidance points. Among them, the non-conflict points can be points where the first robot will not interfere with or collide with the second robot when moving and performing tasks.

[0047] Optionally, the priority may reflect the corresponding function or design purpose of the robot. For example, in a transportation scenario, a robot dedicated to transportation is given a higher priority; the priority may reflect the urgency of the task performed by the robot. For example, a robot performing a more urgent task is given a higher priority; the priority may reflect the working status of the robot. For example, a robot whose battery power is below a certain warning level is given a higher priority to ensure that it can act and complete the task.

[0048] Optionally, the priority level of the robot can be dynamically configured according to the actual working conditions: for example, according to the urgency of the current task assigned to the robot, the priority level of the robot can be increased for tasks with high urgency; for another example, according to the resource consumption status of the task performed by the robot, the priority level of the robot can be increased for tasks that consume less resources or have not yet overloaded resources.

[0049] Optionally, in a material handling scenario, the first robot includes an AMR (Autonomous Mobile Robot) robot, and the second robot includes an AGV (Automated Guided Vehicle) robot; wherein the AGV robot is a type of robot for large material handling, and the AMR robot is a type of robot for light material handling, and the priority of the AGV robot is higher than that of the AMR robot. Based on this, when a conflict occurs between the AGV robot and the AMR robot during movement, the AMR robot with higher flexibility and stronger autonomous mobility is moved to the avoidance area without affecting the normal operation of the AGV robot with a slower speed and a larger carrying capacity, thereby adaptively and specifically scheduling the AGV robot and the AMR robot while reducing the complexity of robot scheduling.

[0050] Alternatively, if Figure 2As shown in (a), robot M is in the moving path segment AB and is expected to reach C through the moving path segment BC; robot N is in the moving path segment BC and is expected to reach A through the moving path segment AB; robot M requests to obtain the access permission corresponding to the moving path segment BC, and robot N requests to obtain the access permission corresponding to the moving path segment AB, but the access permissions of the moving path segment BC and the moving path segment AB are locked by robot N and robot M respectively, that is, the resources requested by both parties are occupied by the other party respectively, and a deadlock problem occurs. At this time, one of the robots M and N needs to move to the avoidance area to allow the other party to pass normally. Furthermore, if robot N is used as the first robot in this embodiment and robot M is used as the second robot in this embodiment, the first robot (i.e., robot N) occupies the target moving path segment (i.e., moving path segment BC) of the second robot (i.e., robot M) when passing the current moving path segment (i.e., moving path segment BC). Robot N needs to avoid robot M and release the access permission of the moving path segment BC so that robot M can pass the moving path segment BC, thereby solving the deadlock problem.

[0051] Alternatively, if Figure 2 As shown in (b), robot X is in the moving path segment DE and is expected to reach G through the moving path segment EF and the moving path segment FG in sequence; robot Y is in the moving path segment FG and is expected to reach D through the moving path segment EF and the moving path segment DE in sequence; robot X and robot Y request to obtain the access permission corresponding to the moving path segment EF respectively. If one of robot X and robot Y passes through the moving path segment EF after receiving the access permission, Figure 2 (a) is the deadlock problem. Therefore, Figure 2 In the case of (b), the server may request one of the robots X and Y to move to the avoidance area in advance so that the other can pass normally; or one of the robots X and Y may move to the avoidance area in advance according to the resource status of each moving path segment broadcasted in real time by the server so that the other can pass normally. Furthermore, if robot Y is used as the first robot in this embodiment and robot X is used as the second robot in this embodiment, when the first robot (i.e., robot Y) occupies the target moving path segment (i.e., the combination of moving path segment FG and moving path segment EF) of the second robot (i.e., robot X) while passing the current moving path segment (i.e., the combination of moving path segment FG and moving path segment EF), robot Y needs to avoid robot X, release the passing authority of moving path segment FG, and stop requesting the passing authority of moving path segment EF, so that robot X can pass moving path segment EF and moving path segment FG, thereby preventing the deadlock problem.

[0052] Step S106, obtaining a second global path, moving from the avoidance area to the second global path, and passing through a moving path segment corresponding to the second global path.

[0053] The second global path represents the global path calculated by the first robot for the second time, that is, the global path recalculated before leaving the avoidance area.

[0054] Exemplarily, the second global path includes multiple moving path segments. Before the first robot enters a certain moving path segment from the avoidance area, it needs to request the server to obtain the access permission corresponding to the moving path segment. Only after receiving the access permission can it pass through the moving path segment; if the first robot does not receive the access permission from the server, it can repeatedly request the server until it receives the access permission; after passing through the moving path segment, the first robot releases the access permission corresponding to the moving path segment.

[0055] Optionally, the second global path includes multiple movement path segments, the first movement path segment of the second global path can be represented as the movement path segment corresponding to the avoidance area, and the last movement path segment of the second global path can be represented as the last movement path segment in the first global path.

[0056] Optionally, the calculation of the avoidance point and the global path may be implemented by the first robot or by the server.

[0057] In the above robot control method, when the first robot passes through the moving path segment corresponding to the original global path, if it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment, the first robot moves to the avoidance area corresponding to the current moving path segment to allow the high-priority second robot to pass through the current moving path segment. Furthermore, the first robot obtains the updated global path in the avoidance area to move from the avoidance area to the moving path segment corresponding to the updated global path. Based on this, when different types of robots conflict during movement, it is only necessary to use the low-priority robot to avoid the high-priority robot and regenerate a new global path for the low-priority robot, thereby reducing the extent of changes to the control logic of the robot and the server and reducing the complexity of the robot scheduling work, thereby improving the efficiency and adaptability of the robot scheduling, as well as improving the overall operating efficiency and avoiding resource conflicts.

[0058] In an exemplary embodiment, the moving path segment corresponding to the first global path includes the first moving path segment, and traveling in the moving path segment corresponding to the first global path includes steps S202 to S206, wherein:

[0059] Step S202: before the first robot enters and passes through the first moving path segment from a preset moving direction, the first robot sends a passing request corresponding to the first moving path segment to the server.

[0060] The first moving path segment may be represented as any moving path segment in the first global path.

[0061] The passage request corresponding to the first moving path segment is used to request the passage authority corresponding to the first moving path segment.

[0062] Exemplarily, in the passage request sent to the server, the passage request may include the robot's identity, a designated moving path segment, an entrance to the moving path segment, an exit to the moving path segment, and a moving direction of the passage.

[0063] Optionally, a robot traveling in a moving path segment may correspond to at least two different moving directions. For example, a moving path segment arranged in an east-west direction may include a direction from east to west and a direction from west to east, and may also include a direction first from east to west and then from west to east.

[0064] Optionally, the moving direction corresponding to the moving path segment can be expressed as the direction of travel in the moving path segment, or as the moving direction when entering the moving path segment, or the moving direction when leaving the moving path segment, or a combination of the moving directions when entering and leaving the moving path segment.

[0065] Step S204: if the current pass state of the first moving path segment in the preset moving direction meets the corresponding pass condition, receive the pass permission corresponding to the first moving path segment from the server, and pass in the first moving path segment according to the pass permission corresponding to the first moving path segment.

[0066] Exemplarily, in each round, in a moving path segment, robots with different moving directions pass alternately according to a preset number. For example, in one round, a preset number of robots in one direction pass first, and then a preset number of robots in another direction pass. The current passing state of the moving path segment in the preset moving direction can be represented by the number of robots passing in the moving path segment in the current round in the preset moving direction; the passing condition can be represented by the threshold value of the number of robots passing in the moving path segment in the preset moving direction in the current round.

[0067] Optionally, the current passage state of the moving path segment in the preset moving direction satisfies the corresponding passage condition, which can be expressed as, in the current round, the number of robots passing the moving path segment in the preset moving direction has not reached the quantity threshold, or it can be expressed as, in the current round, the number of robots passing the moving path segment in the opposite direction has reached the quantity threshold.

[0068] Optionally, in each preset time period, in a moving path segment, robots with different moving directions pass alternately according to a preset number, for example, in a preset time period, a preset number of robots in one direction pass first, and then a preset number of robots in another direction pass. The current passing state of the moving path segment in the preset moving direction can be expressed as the corresponding number of robots passing in the moving path segment in the preset moving direction in the preset time period; the passing condition can be expressed as the corresponding number threshold of robots passing in the moving path segment in the preset moving direction in the preset time period.

[0069] Optionally, in a moving path segment, robots with different moving directions pass according to corresponding preset time periods, for example, robots in one direction pass in one preset time period, and robots in another direction pass in the next preset time period. The current passing state of a moving path segment in a preset moving direction can be represented as a time period in the moving path segment for robots to pass in the preset moving direction; the passing condition can be represented as a time threshold for robots to pass in the preset moving direction in the moving path segment.

[0070] Step S206, if the current traffic state of the first moving path segment in the preset moving direction does not meet the corresponding traffic condition, stay at the current position or move to the avoidance area corresponding to the current position until the current traffic state of the first moving path segment in the preset moving direction meets the corresponding traffic condition.

[0071] Optionally, the current passage state of the moving path segment in the preset moving direction does not meet the corresponding passage condition, which can be expressed as, in the current round, the number of robots passing the moving path segment in the preset moving direction has reached a quantity threshold, or it can be expressed as, in the current round, the number of robots passing the moving path segment in the opposite direction has not reached a quantity threshold.

[0072] Optionally, when the first robot stays at the current position or moves to the avoidance area corresponding to the current position, it can repeatedly request the server to obtain the access permission of the first moving path segment. Alternatively, when the current access state of the first moving path segment in the preset moving direction meets the corresponding access conditions, the server can directly send the access permission of the first moving path segment to the first robot.

[0073] Optionally, if it is detected that the first robot occupies the target moving path segment of the second robot when passing the current moving path segment, the first robot moves to the avoidance area to allow the second robot to pass the current moving path segment; at this time, if the first robot needs to return from the avoidance area to the current moving path segment, it can be determined whether the current passing state of the current moving path segment in the moving direction of the first robot meets the corresponding passing conditions, thereby determining whether the passage permission corresponding to the current moving path segment can be sent to the first robot.

[0074] For example, Figure 3 As shown in (a), multiple robots M are in the moving path segment AB, and are expected to reach D through the moving path segment BE and the moving path segment ED in sequence; multiple robots N are in the moving path segment EF, and are expected to reach C through the moving path segment BE and the moving path segment BC in sequence. Robots M and N simultaneously request the server to obtain the access permission of the moving path segment BE. If the current access status of the moving path segment BE in the moving direction from B to E meets the corresponding access condition, the access permission is sent to robot M, so that multiple robots M pass through the moving path segment BE in sequence, and then pass through the moving path segment ED in sequence to reach D; if the current access status of the moving path segment BE in the moving direction from E to B meets the corresponding access condition, the access permission is sent to robot N, so that multiple robots N pass through the moving path segment BE in sequence, and then pass through the moving path segment BC in sequence to reach C.

[0075] For example, Figure 3 As shown in (b), multiple robots X are in the moving path segment GH, and are expected to reach J through the moving path segment HJ in sequence; multiple robots Y are in the moving path segment HI, and are expected to reach J through the moving path segment HJ in sequence. Robot X and robot Y simultaneously request the server to obtain the access permission of the moving path segment HJ. If the current access status of the moving path segment HJ in the moving direction from G to H meets the corresponding access condition, the access permission is sent to robot X, so that multiple robots X can reach J through the moving path segment HJ in sequence; if the current access status of the moving path segment HJ in the moving direction from I to H meets the corresponding access condition, the access permission is sent to robot Y, so that multiple robots Y can reach J through the moving path segment HJ in sequence. Alternatively, when the robot X and the robot Y simultaneously request the server to obtain the access authority of the moving path segment HJ, if the current access state of the moving path segment HJ in the moving direction from G to H satisfies the corresponding access condition, the access authority is sent to the robot X, so that the robot X in the front row reaches J through the moving path segment HJ, and then, if the current access state of the moving path segment HJ in the moving direction from I to H satisfies the corresponding access condition, the access authority is sent to the robot Y, so that the robot Y in the front row reaches J through the moving path segment HJ, and in this way, the robot X and the robot Y alternately reach J through the moving path segment HJ until all the robots X and Y reach J through the moving path segment HJ.

[0076] Optionally, the first moving path segment in the first global path in this embodiment may be applicable to the moving path segment corresponding to the second global path and the moving path segment corresponding to any updated global path.

[0077] In this embodiment, by judging whether the current traffic status corresponding to the moving path segments in different moving directions meets the corresponding traffic conditions, the flow control and flow optimization of the robot passing the moving path segments in different moving directions are accurately and adaptively performed.

[0078] In an exemplary embodiment, obtaining the first global path includes steps S302 to S304, wherein:

[0079] Step S302, obtaining the task to be executed corresponding to the first robot, determining the candidate moving path segments based on the route starting point and route end point corresponding to the task to be executed, and obtaining the weights corresponding to the respective candidate moving path segments; the weights are used to characterize the probability of a conflict between the first robot and the second robot in the corresponding candidate moving path segments.

[0080] The task to be executed represents a material delivery task assigned to the first robot, and the material delivery task corresponds to a material delivery route including a route starting point and a route end point.

[0081] The candidate moving path segments may be represented as all moving path segments in the factory area, or may be represented as moving path segments in a plurality of candidate material distribution routes preliminarily determined according to the route starting points and route ending points corresponding to the material distribution routes.

[0082] Among them, the weights corresponding to the moving path segments can be expressed as the probability that the first robot occupies the target moving path of the second robot in the moving path segment, or can be expressed as the probability that the first robot and the second robot simultaneously request access to the moving path segment.

[0083] Optionally, a smaller weight may be set for the moving path segment exclusively occupied by the first robot, and a larger weight may be set for the moving path segment shared by the first robot and the second robot; furthermore, in the moving path segment shared by the first robot and the second robot, a smaller weight may be set for the moving path segment corresponding to the same moving direction of the first robot and the second robot, and a larger weight may be set for the moving path segment corresponding to different moving directions of the first robot and the second robot. For example, the weight corresponding to the moving path segment exclusively occupied by the first robot is set to 1, the weight corresponding to the moving path segment of the first robot and the second robot in the same moving direction is set to 3, and the weight corresponding to the moving path segment of the first robot and the second robot in different moving directions is set to 5.

[0084] Optionally, in the moving path segment shared by the first robot and the second robot, the weight setting of the moving path segment, in addition to referring to the above-mentioned moving direction factors, may also refer to factors such as the route distance between the first robot and the moving path segment, whether the access permission corresponding to the moving path segment is locked, and the number of first robots allowed to pass through the moving path segment at the same time. The corresponding sub-weights of each factor are fused to comprehensively obtain the weight of the moving path segment.

[0085] Optionally, in a moving path segment shared by the first robot and the second robot, the first robot and the second robot have the same moving direction, and the sub-weight is set to 3; when the route distance between the first robot and the moving path segment is less than 20 meters, and the access authority corresponding to the moving path segment is locked, the sub-weight is set to 2; based on this, if a moving path segment meets the above two conditions, the sub-weights corresponding to the above two conditions are multiplied and fused, and the weight corresponding to the moving path segment is 6.

[0086] Step S304: obtaining filtered moving path segments from each candidate moving path segment according to the weights corresponding to each candidate moving path segment, and fusing the filtered moving path segments to obtain a first global path.

[0087] Exemplarily, multiple candidate global paths may be preliminarily determined based on the route start point and route end point corresponding to the task to be executed, and the multiple candidate global paths all correspond to the same route start point and the same route end point. The weights corresponding to the various moving path segments in each candidate global path are fused to obtain the weight of the candidate global path; for example, in a candidate global path, the weights of the corresponding moving path segments are cumulatively fused to obtain the weight corresponding to the candidate global path. Among the candidate global paths, the candidate global path with the smallest weight is used as the first global path.

[0088] Optionally, based on the weights corresponding to each candidate moving path segment, and with the goal of minimizing the weight corresponding to the final global path, all the moving path segments of the factory can be screened directly according to the route starting point and route end point corresponding to the task to be executed, and the screened moving path segments can be combined to obtain the first global path.

[0089] Optionally, when the first robot is at the avoidance point of the avoidance area, the avoidance point of the avoidance area can be used as the route starting point corresponding to the updated global path, and the route end point of the original first global path can be used as the route end point corresponding to the updated global path. Based on the new route starting point and route end point, the global path of the first robot is updated on the basis of weight minimization, and the updated global path is used as the second global path.

[0090] In this embodiment, according to the material delivery task corresponding to the first robot, a corresponding weight is set for each candidate moving path segment, so that each candidate moving path segment is screened according to the corresponding weight, so as to efficiently and adaptively obtain the global path corresponding to the material delivery task.

[0091] In an exemplary embodiment, if it is detected that the first robot occupies the target moving path segment of the second robot when passing the current moving path segment, before obtaining the avoidance area corresponding to the current moving path segment, the method further includes one of steps S402 to S406, wherein:

[0092] Step S402, if an avoidance request is received from the server, it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment; the avoidance request is used to request the first robot to avoid the second robot passing through the target moving path segment.

[0093] Exemplarily, the server may monitor the access permissions corresponding to each moving path segment. If it is detected that the access permission corresponding to the current moving path segment is locked by the first robot and the second robot requests to obtain the access permission corresponding to the current moving path segment, an avoidance request is sent to the first robot.

[0094] Optionally, the data monitored by the server include: whether the access permission of a certain moving path segment is locked, the identity of the robot that locks a certain access permission, the identity of the robot that requests a certain access permission, and the corresponding status information of the robot.

[0095] Optionally, the server provides a communication interface for the robot so that the robot establishes a communication connection with the server through the communication interface; based on the established communication connection, the robot can access corresponding monitoring data from the server, for example, query whether the access permission of a certain moving path segment is locked, query the identity of the robot that locks a certain access permission, query the identity of the robot that requests a certain access permission, and query the status information of a certain robot.

[0096] Optionally, according to the established communication connection, the robot may also request the server to obtain a certain access permission and release a certain access permission.

[0097] Optionally, the robot's status information may include location information, such as the robot's location coordinates, the robot's corresponding moving path, etc.; the robot's status information may include work performance information, such as the robot's current power level, current moving speed, current load condition, whether a fault has occurred, etc.; the robot's status information may include communication performance information with the server, such as the time delay from sending to receiving, the data transmission rate, the integrity and security of the data transmission, etc.

[0098] Step S404: If the passage permission corresponding to the next moving path segment is not received from the server within the preset time period, it is detected that the first robot occupies the target moving path segment of the second robot when passing the current moving path segment.

[0099] Exemplarily, the first robot in the current moving path segment requests the server to obtain the access permission for the next moving path segment. If the corresponding access permission is not received within the preset time period, it means that a deadlock problem occurs between the first robot and the second robot. The first robot occupies the target moving path segment of the second robot when passing the current moving path segment. The first robot cannot enter the next moving path from the current moving path segment, and the second robot cannot enter the target moving path segment.

[0100] Step S406, sending a query request to the server, the query request is used to query the status of the access permission corresponding to the current moving path segment. If the query results in that the second robot requests to obtain the access permission corresponding to the current moving path segment, it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment.

[0101] The status of the access authority may be represented by whether the access authority is locked, whether the access authority is requested, the identity of the robot that locked the access authority, and the identity of the robot that requested the access authority.

[0102] Optionally, when the first robot in the current moving path segment requests the server to obtain the access permission for the next moving path segment, the server may also be queried for the robot that requested the access permission corresponding to the current moving path segment, or the robot that requested or locked the access permission corresponding to the next moving path segment, so as to determine whether a deadlock problem occurs. In this embodiment, through the avoidance request sent by the server or through the autonomous detection of the first robot, it is efficiently and accurately determined whether the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment, and then the subsequent robot scheduling is efficiently performed.

[0103] In an exemplary embodiment, the moving path segment corresponding to the first global path includes the second moving path segment and the third moving path segment, and traveling in the moving path segment corresponding to the first global path includes steps S502 to S504, wherein:

[0104] Step S502: If the second moving path segment does not have a corresponding avoidance area, before entering the second moving path segment, a passage request from the second moving path segment to the third moving path segment is sent to the server; the third moving path segment is after the second moving path segment and has a corresponding avoidance area.

[0105] Step S504: After receiving the passage permission from the server for passing from the second moving path segment to the third moving path segment, pass from the second moving path segment to the third moving path segment.

[0106] The second moving path segment and the third moving path segment can be respectively represented as any moving path segment in the first global path; the second moving path segment does not have a corresponding avoidance area, and the third moving path segment has a corresponding avoidance area.

[0107] Exemplarily, among the movement path segments after the second movement path segment, the movement path segment having a corresponding avoidance area and having the smallest route distance with the second movement path segment is used as the third movement path segment.

[0108] Optionally, among the movement path segments after the second movement path segment, a movement path segment having a corresponding avoidance area and corresponding to a preset order is used as a third movement path segment.

[0109] Optionally, the second moving path segment and the third moving path segment in the first global path in this embodiment may be applicable to the moving path segment corresponding to the second global path and the moving path segment corresponding to any updated global path.

[0110] In this embodiment, when there is no corresponding avoidance area for the next moving path segment, a group of moving path segments to be passed is adaptively determined to simultaneously obtain the passage permissions corresponding to the group of moving path segments and pass through, so as to avoid the problem of being unable to avoid during the passage process.

[0111] In an exemplary embodiment, after obtaining the first global path, the method further includes step S602, wherein:

[0112] Step S602, obtaining the moving path of the second robot, and based on the comparison result of the first global path of the first robot and the moving path of the second robot, taking the moving path segment matching the moving path of the second robot in the first global path as the shared moving path segment, setting a corresponding avoidance area for each shared moving path segment, and taking the area that converges and connects multiple shared moving path segments as the intersection area.

[0113] The shared moving path segment refers to a moving path segment shared by the first robot and the second robot.

[0114] Exemplarily, if the robot needs to move from the current moving path segment through an intersection area to the next moving path segment, it requests access permission corresponding to the next moving path segment before entering the intersection area; after obtaining the access permission corresponding to the next moving path segment, it enters the intersection area, releases the access permission corresponding to the current moving path segment, and then enters the next moving path segment and passes through.

[0115] It can be understood that the shared mobile path segment and the intersection area connecting multiple shared mobile path segments optimize the flow of the first robot and the second robot performing tasks in parallel. For example, an intersection area connects four shared mobile path segments A, B, C, and D. Before the first robot moves from the shared mobile path segment A to the shared mobile path segment B through the intersection area, that is, before the first robot enters the intersection area, it needs to request in advance to obtain the access permission corresponding to the shared mobile path segment B, thereby defining the intersection area as a flow buffer area to avoid the first robot being blocked at the channel entrance of the shared mobile path segment B when it fails to obtain the access permission corresponding to the shared mobile path segment B, and while the first robot requests in advance to obtain the access permission corresponding to the shared mobile path segment B, the second robot can move between the shared mobile path segments A, C, and D through the interaction area.

[0116] It can be understood that the shared moving path segment and the avoidance area provide a solution to the task conflict between the first robot and the second robot. For example, if the first robot occupies the target shared moving path segment of the second robot when passing the current shared moving path segment, the first robot can move to the avoidance area corresponding to the current shared moving path segment to allow the second robot to pass the current shared moving path segment.

[0117] Optionally, a corresponding avoidance area can be set for the intersection area; the number of avoidance points in the avoidance area corresponding to the intersection area can refer to the number of shared moving path segments connected to the intersection area, and the number of first robots allowed to pass simultaneously in each shared moving path segment; for example, an intersection area is connected to 3 shared moving path segments, and each shared moving path segment allows 3 first robots to pass simultaneously, then 9 avoidance points can be set in the intersection area.

[0118] Optionally, the movement paths of the first robot and the second robot may be composed of discrete grid units. Figure 4As shown, the grid units shared by the first robot and the second robot are A, B, C, D, E, F, G, H, I, and J; wherein, the grid units A, B, and C form a moving path segment, and an avoidance area X is set for the moving path segment; the grid units D, E, and F form a moving path segment, and an avoidance area Y is set for the moving path segment; the grid units H, I, and J form a moving path segment, and an avoidance area Z is set for the moving path segment; the grid unit G that converges and connects the above three moving path segments is used as an intersection area.

[0119] Optionally, the grid unit G may be used as a reference to expand the scope of the intersection area. For example, the grid units G, C, E, and F may be used as the intersection area, thereby improving the scheduling effect of the intersection area during the robot scheduling process.

[0120] In this embodiment, based on the comparison results of the movement paths corresponding to the first robot and the second robot respectively, the common shared movement path segments, the avoidance areas corresponding to the shared movement path segments, and the intersection areas connecting multiple shared movement path segments are efficiently obtained, thereby improving the scheduling capability of the first robot and the second robot to perform tasks in parallel.

[0121] In an exemplary embodiment, Figure 5 As shown, a robot control method is provided. This embodiment uses the method applied to a server as an example for illustration. It can be understood that the method can also be applied to a terminal, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method is applied to a server, that is, the server is the execution subject, and the method includes the following steps S702 to S706, wherein:

[0122] Step S702, when the first robot passes through the moving path segment corresponding to the first global path, if it is detected that the first robot occupies the target moving path segment of the second robot when passing the current moving path segment, an avoidance request is sent to the first robot, so that the first robot obtains the avoidance area corresponding to the current moving path segment, and moves to the avoidance area to release the passage authority corresponding to the current moving path segment; the priority of the second robot is higher than that of the first robot, and the avoidance area is an area that does not conflict with the target moving path segment of the second robot.

[0123] Step S704: Send the passage authority corresponding to the current moving path segment to the second robot, so that the second robot receives the passage authority corresponding to the current moving path segment and passes through the current moving path segment.

[0124] Step S706, after the second robot passes the current moving path segment, receiving a passing request from the first robot, and sending the passing permission corresponding to the passing request to the first robot, so that the first robot passes in the moving path segment corresponding to the second global path.

[0125] Optionally, the locking and releasing of access rights can be implemented on the server, on the terminal corresponding to the robot, or on both the server and the terminal. The interaction steps between the server and the robot in this embodiment correspond to the interaction steps between the server and the robot in any of the above embodiments.

[0126] In this embodiment, when different types of robots conflict during movement, the server instructs the low-priority robot to avoid the high-priority robot, and causes the low-priority robot to regenerate a new global path, thereby reducing the extent of changes to the control logic of the robot and the server and reducing the complexity of the robot scheduling work, thereby improving the efficiency and adaptability of the robot scheduling, and improving the overall operating efficiency and avoiding resource conflicts.

[0127] In an exemplary embodiment, Figure 6 As shown, the first robot obtains the task to be executed, and calculates the global path according to the route starting point and route end point corresponding to the task to be executed; wherein, according to the weights corresponding to the respective candidate moving path segments, the screened candidate moving path segments are obtained, and the screened candidate moving path segments are combined into a global path, and the comprehensive weight corresponding to the global path is the smallest, that is, when the first robot passes through the global path, the probability of conflict with the second robot is the smallest.

[0128] In each mobile path segment corresponding to the global path, determine in sequence whether there are any unfinished mobile path segments; if so, request the server to obtain the access permission corresponding to the first mobile path segment, that is, the access permission of the first robot in the next mobile path segment; if not, it means that all mobile path segments corresponding to the global path have been completed, and the to-be-executed tasks are updated to executed tasks.

[0129] When requesting the server to obtain the access permission corresponding to the moving path segment, if a deadlock problem is detected, such as not receiving the access permission within the preset time period, or receiving an avoidance request from the server, or querying the server to obtain the access permission corresponding to the current moving path segment, the first robot calculates the avoidance point corresponding to the current position and moves to the avoidance point.

[0130] The first robot at the avoidance point recalculates the global path, and in the recalculated global path, sequentially determines again whether there are any unfinished moving path segments, so as to repeat the above steps.

[0131] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0132] Based on the same inventive concept, the embodiment of the present application also provides a robot control device for implementing the robot control method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more robot control device embodiments provided below can refer to the limitations of the robot control method above, and will not be repeated here.

[0133] In an exemplary embodiment, Figure 7 As shown, a robot control device is provided, including: a first acquisition module 702, an avoidance module 704 and a second acquisition module 706, wherein:

[0134] A first acquisition module 702 is used to acquire a first global path and travel in a moving path segment corresponding to the first global path;

[0135] The avoidance module 704 is used to obtain the avoidance area corresponding to the current moving path segment, move to the avoidance area, release the passage authority corresponding to the current moving path segment, and allow the second robot to receive the passage authority corresponding to the current moving path segment and pass through the current moving path segment if it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment; the priority of the second robot is higher than that of the first robot, and the avoidance area is an area that does not conflict with the target moving path segment of the second robot;

[0136] The second acquisition module 706 is used to acquire a second global path, move from the avoidance area to the second global path, and pass through a moving path segment corresponding to the second global path.

[0137] In an exemplary embodiment, the first acquisition module 702 is also used to: before entering and passing the first moving path segment from a preset moving direction, send a passage request corresponding to the first moving path segment to the server; if the current passage state of the first moving path segment in the preset moving direction meets the corresponding passage condition, receive the passage permission corresponding to the first moving path segment from the server, and pass through the first moving path segment according to the passage permission corresponding to the first moving path segment; if the current passage state of the first moving path segment in the preset moving direction does not meet the corresponding passage condition, stay at the current position or move to the avoidance area corresponding to the current position until the current passage state of the first moving path segment in the preset moving direction meets the corresponding passage condition.

[0138] In an exemplary embodiment, the first acquisition module 702 is also used to: obtain the task to be performed corresponding to the first robot, determine the candidate moving path segments based on the route starting point and route end point corresponding to the task to be performed, and obtain the weights corresponding to each candidate moving path segment; the weights are used to characterize the probability of a conflict between the first robot and the second robot in the corresponding candidate moving path segment; according to the weights corresponding to each candidate moving path segment, screened moving path segments are obtained from each candidate moving path segment, and the screened moving path segments are merged to obtain the first global path.

[0139] In an exemplary embodiment, the avoidance module 704 is also used for: if an avoidance request is received from a server, it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment; the avoidance request is used to request the first robot to avoid the second robot passing through the target moving path segment; if the access permission corresponding to the next moving path segment is not received from the server within a preset time period, it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment; a query request is sent to the server, the query request is used to query the status of the access permission corresponding to the current moving path segment, if the query results in that the second robot requests to obtain the access permission corresponding to the current moving path segment, it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment.

[0140] In an exemplary embodiment, the first acquisition module 702 is also used for: if there is no corresponding avoidance area for the second moving path segment, then before entering the second moving path segment, a request for passage from the second moving path segment to the third moving path segment is simultaneously sent to the server; the third moving path segment is after the second moving path segment and there is a corresponding avoidance area; until the passage permission from the second moving path segment to the third moving path segment is received from the server, the passage from the second moving path segment to the third moving path segment is passed.

[0141] In an exemplary embodiment, the first acquisition module 702 is also used to: obtain the moving path of the second robot, and based on the comparison results of the first global path of the first robot and the moving path of the second robot, use the moving path segment that matches the moving path of the second robot in the first global path as a shared moving path segment, set a corresponding avoidance area for each shared moving path segment, and use the area that converges and connects multiple shared moving path segments as an intersection area.

[0142] In an exemplary embodiment, Figure 8 As shown, a robot control device is provided, including: a first sending module 802, a second sending module 804 and a third sending module 806, wherein:

[0143] The first sending module 802 is used for sending an avoidance request to the first robot when the first robot passes through the moving path segment corresponding to the first global path, if it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment, so that the first robot obtains the avoidance area corresponding to the current moving path segment, moves to the avoidance area, and releases the passage authority corresponding to the current moving path segment; the priority of the second robot is higher than that of the first robot, and the avoidance area is an area that does not conflict with the target moving path segment of the second robot;

[0144] A second sending module 804 is used to send the access permission corresponding to the current moving path segment to the second robot, so that the second robot receives the access permission corresponding to the current moving path segment and passes through the current moving path segment;

[0145] The third sending module 806 is used to receive a passage request from the first robot after the second robot passes the current moving path segment, and send the passage permission corresponding to the passage request to the first robot, so that the first robot can pass through the moving path segment corresponding to the second global path.

[0146] Each module in the above robot control device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0147] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Fig. 9As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data for controlling the robot. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a robot control method is implemented.

[0148] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig. 9 As shown. The computer device includes a processor, a memory, an input / output interface and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (Near Field Communication, NFC) or other technologies. When the computer program is executed by the processor, a robot control method is implemented.

[0149] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0150] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0151] Acquire a first global path, and travel in a moving path segment corresponding to the first global path;

[0152] If it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment, the avoidance area corresponding to the current moving path segment is obtained, and the robot moves to the avoidance area, and releases the passage authority corresponding to the current moving path segment, so that the second robot receives the passage authority corresponding to the current moving path segment and passes through the current moving path segment; the priority of the second robot is higher than that of the first robot, and the avoidance area is an area that does not conflict with the target moving path segment of the second robot;

[0153] A second global path is obtained, the vehicle moves from the avoidance area to the second global path, and passes through a moving path segment corresponding to the second global path.

[0154] In one embodiment, the processor further implements the following steps when executing the computer program: before entering and passing the first moving path segment from a preset moving direction, sending a passage request corresponding to the first moving path segment to a server; if the current passage state of the first moving path segment in the preset moving direction meets the corresponding passage condition, receiving the passage permission corresponding to the first moving path segment from the server, and passing through the first moving path segment according to the passage permission corresponding to the first moving path segment; if the current passage state of the first moving path segment in the preset moving direction does not meet the corresponding passage condition, staying at the current position or moving to the avoidance area corresponding to the current position until the current passage state of the first moving path segment in the preset moving direction meets the corresponding passage condition.

[0155] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining the task to be executed corresponding to the first robot, determining the candidate moving path segments based on the route starting point and route end point corresponding to the task to be executed, and obtaining the weights corresponding to each candidate moving path segment; the weights are used to characterize the probability of a conflict between the first robot and the second robot in the corresponding candidate moving path segment; according to the weights corresponding to each candidate moving path segment, screened moving path segments are obtained from each candidate moving path segment, and the screened moving path segments are merged to obtain the first global path.

[0156] In one embodiment, the processor further implements the following steps when executing the computer program: if an avoidance request is received from the server, it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment; the avoidance request is used to request the first robot to avoid the second robot passing through the target moving path segment; if the passage permission corresponding to the next moving path segment is not received from the server within a preset time period, it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment.

[0157] In one embodiment, the processor further implements the following steps when executing the computer program: if there is no corresponding avoidance area for the second moving path segment, then before entering the second moving path segment, a pass request from the second moving path segment to the third moving path segment is simultaneously sent to the server; the third moving path segment is after the second moving path segment and there is a corresponding avoidance area; until the pass permission from the second moving path segment to the third moving path segment is received from the server, the pass is passed from the second moving path segment to the third moving path segment; a query request is sent to the server, the query request is used to query the status of the pass permission corresponding to the current moving path segment, if the query results in that the second robot requests to obtain the pass permission corresponding to the current moving path segment, then it is detected that the first robot occupies the target moving path segment of the second robot when passing the current moving path segment.

[0158] In one embodiment, the processor further implements the following steps when executing the computer program: obtaining the moving path of the second robot, and based on the comparison result of the first global path of the first robot and the moving path of the second robot, using the moving path segment that matches the moving path of the second robot in the first global path as a shared moving path segment, setting a corresponding avoidance area for each shared moving path segment, and using the area that converges and connects multiple shared moving path segments as an intersection area.

[0159] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0160] When the first robot passes through the moving path segment corresponding to the first global path, if it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment, an avoidance request is sent to the first robot, so that the first robot obtains the avoidance area corresponding to the current moving path segment, moves to the avoidance area, and releases the passage authority corresponding to the current moving path segment; the priority of the second robot is higher than that of the first robot, and the avoidance area is an area that does not conflict with the target moving path segment of the second robot;

[0161] Sending the access permission corresponding to the current moving path segment to the second robot, so that the second robot receives the access permission corresponding to the current moving path segment and passes through the current moving path segment;

[0162] After the second robot passes the current moving path segment, it receives a passing request from the first robot and sends the passing permission corresponding to the passing request to the first robot, so that the first robot passes in the moving path segment corresponding to the second global path.

[0163] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0164] Acquire a first global path, and travel in a moving path segment corresponding to the first global path;

[0165] If it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment, the avoidance area corresponding to the current moving path segment is obtained, and the robot moves to the avoidance area, and releases the passage authority corresponding to the current moving path segment, so that the second robot receives the passage authority corresponding to the current moving path segment and passes through the current moving path segment; the priority of the second robot is higher than that of the first robot, and the avoidance area is an area that does not conflict with the target moving path segment of the second robot;

[0166] A second global path is obtained, the vehicle moves from the avoidance area to the second global path, and passes through a moving path segment corresponding to the second global path.

[0167] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: before entering and passing the first moving path segment from a preset moving direction, a passage request corresponding to the first moving path segment is sent to a server; if the current passage state of the first moving path segment in the preset moving direction meets the corresponding passage condition, receiving the passage permission corresponding to the first moving path segment from the server, and passing through the first moving path segment according to the passage permission corresponding to the first moving path segment; if the current passage state of the first moving path segment in the preset moving direction does not meet the corresponding passage condition, staying at the current position or moving to the avoidance area corresponding to the current position until the current passage state of the first moving path segment in the preset moving direction meets the corresponding passage condition.

[0168] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining the task to be executed corresponding to the first robot, determining the candidate moving path segments based on the route starting point and route end point corresponding to the task to be executed, and obtaining the weights corresponding to each candidate moving path segment; the weights are used to characterize the probability of a conflict between the first robot and the second robot in the corresponding candidate moving path segment; according to the weights corresponding to each candidate moving path segment, screened moving path segments are obtained from each candidate moving path segment, and the screened moving path segments are merged to obtain the first global path.

[0169] In one embodiment, the computer program further implements the following steps when executed by the processor: if an avoidance request is received from the server, it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment; the avoidance request is used to request the first robot to avoid the passage of the second robot in the target moving path segment; if the passage permission corresponding to the next moving path segment is not received from the server within a preset time period, it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment.

[0170] In one embodiment, the computer program further implements the following steps when executed by the processor: if there is no corresponding avoidance area for the second moving path segment, then before entering the second moving path segment, a pass request from the second moving path segment to the third moving path segment is simultaneously sent to the server; the third moving path segment is after the second moving path segment and there is a corresponding avoidance area; until the pass permission from the second moving path segment to the third moving path segment is received from the server, the pass is passed from the second moving path segment to the third moving path segment; a query request is sent to the server, the query request is used to query the status of the pass permission corresponding to the current moving path segment, and if the query results in that the second robot requests to obtain the pass permission corresponding to the current moving path segment, it is detected that the first robot occupies the target moving path segment of the second robot when passing the current moving path segment.

[0171] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining the moving path of the second robot, and based on the comparison results of the first global path of the first robot and the moving path of the second robot, using the moving path segment that matches the moving path of the second robot in the first global path as a shared moving path segment, setting a corresponding avoidance area for each shared moving path segment, and using the area that converges and connects multiple shared moving path segments as an intersection area.

[0172] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0173] When the first robot passes through the moving path segment corresponding to the first global path, if it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment, an avoidance request is sent to the first robot, so that the first robot obtains the avoidance area corresponding to the current moving path segment, moves to the avoidance area, and releases the passage authority corresponding to the current moving path segment; the priority of the second robot is higher than that of the first robot, and the avoidance area is an area that does not conflict with the target moving path segment of the second robot;

[0174] Sending the access permission corresponding to the current moving path segment to the second robot, so that the second robot receives the access permission corresponding to the current moving path segment and passes through the current moving path segment;

[0175] After the second robot passes the current moving path segment, it receives a passing request from the first robot and sends the passing permission corresponding to the passing request to the first robot, so that the first robot passes in the moving path segment corresponding to the second global path.

[0176] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0177] Acquire a first global path, and travel in a moving path segment corresponding to the first global path;

[0178] If it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment, the avoidance area corresponding to the current moving path segment is obtained, and the robot moves to the avoidance area, and releases the passage authority corresponding to the current moving path segment, so that the second robot receives the passage authority corresponding to the current moving path segment and passes through the current moving path segment; the priority of the second robot is higher than that of the first robot, and the avoidance area is an area that does not conflict with the target moving path segment of the second robot;

[0179] A second global path is obtained, the vehicle moves from the avoidance area to the second global path, and passes through a moving path segment corresponding to the second global path.

[0180] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: before entering and passing the first moving path segment from a preset moving direction, a passage request corresponding to the first moving path segment is sent to a server; if the current passage state of the first moving path segment in the preset moving direction meets the corresponding passage condition, receiving the passage permission corresponding to the first moving path segment from the server, and passing through the first moving path segment according to the passage permission corresponding to the first moving path segment; if the current passage state of the first moving path segment in the preset moving direction does not meet the corresponding passage condition, staying at the current position or moving to the avoidance area corresponding to the current position until the current passage state of the first moving path segment in the preset moving direction meets the corresponding passage condition.

[0181] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining the task to be executed corresponding to the first robot, determining the candidate moving path segments based on the route starting point and route end point corresponding to the task to be executed, and obtaining the weights corresponding to each candidate moving path segment; the weights are used to characterize the probability of a conflict between the first robot and the second robot in the corresponding candidate moving path segment; according to the weights corresponding to each candidate moving path segment, screened moving path segments are obtained from each candidate moving path segment, and the screened moving path segments are merged to obtain the first global path.

[0182] In one embodiment, the computer program further implements the following steps when executed by the processor: if an avoidance request is received from the server, it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment; the avoidance request is used to request the first robot to avoid the passage of the second robot in the target moving path segment; if the passage permission corresponding to the next moving path segment is not received from the server within a preset time period, it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment.

[0183] In one embodiment, the computer program further implements the following steps when executed by the processor: if there is no corresponding avoidance area for the second moving path segment, then before entering the second moving path segment, a pass request from the second moving path segment to the third moving path segment is simultaneously sent to the server; the third moving path segment is after the second moving path segment and there is a corresponding avoidance area; until the pass permission from the second moving path segment to the third moving path segment is received from the server, the pass is passed from the second moving path segment to the third moving path segment; a query request is sent to the server, the query request is used to query the status of the pass permission corresponding to the current moving path segment, and if the query results in that the second robot requests to obtain the pass permission corresponding to the current moving path segment, it is detected that the first robot occupies the target moving path segment of the second robot when passing the current moving path segment.

[0184] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining the moving path of the second robot, and based on the comparison results of the first global path of the first robot and the moving path of the second robot, using the moving path segment that matches the moving path of the second robot in the first global path as a shared moving path segment, setting a corresponding avoidance area for each shared moving path segment, and using the area that converges and connects multiple shared moving path segments as an intersection area.

[0185] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0186] When the first robot passes through the moving path segment corresponding to the first global path, if it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment, an avoidance request is sent to the first robot, so that the first robot obtains the avoidance area corresponding to the current moving path segment, moves to the avoidance area, and releases the passage authority corresponding to the current moving path segment; the priority of the second robot is higher than that of the first robot, and the avoidance area is an area that does not conflict with the target moving path segment of the second robot;

[0187] Sending the access permission corresponding to the current moving path segment to the second robot, so that the second robot receives the access permission corresponding to the current moving path segment and passes through the current moving path segment;

[0188] After the second robot passes the current moving path segment, it receives a passing request from the first robot and sends the passing permission corresponding to the passing request to the first robot, so that the first robot passes in the moving path segment corresponding to the second global path.

[0189] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0190] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0191] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A robot control method, characterized in that: Applied to a first robot, the method comprises: Acquire a first global path, and travel in a moving path segment corresponding to the first global path; If it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment, the avoidance area corresponding to the current moving path segment is obtained, and the robot moves to the avoidance area, and releases the passage authority corresponding to the current moving path segment, so that the second robot receives the passage authority corresponding to the current moving path segment and passes through the current moving path segment; the priority of the second robot is higher than that of the first robot, and the avoidance area is an area that does not conflict with the target moving path segment of the second robot; A second global path is acquired, and the vehicle moves from the avoidance area to the second global path, and travels in a moving path segment corresponding to the second global path.

2. The method according to claim 1, characterized in that The moving path segment corresponding to the first global path includes a first moving path segment, and the traveling in the moving path segment corresponding to the first global path includes: Before entering and passing the first moving path segment from a preset moving direction, sending a passing request corresponding to the first moving path segment to a server; If the current pass state of the first moving path segment in the preset moving direction meets the corresponding pass condition, receiving the pass permission corresponding to the first moving path segment from the server, and passing through the first moving path segment according to the pass permission corresponding to the first moving path segment; If the current traffic state of the first moving path segment in the preset moving direction does not meet the corresponding traffic condition, the vehicle stays at the current position or moves to the avoidance area corresponding to the current position until the current traffic state of the first moving path segment in the preset moving direction meets the corresponding traffic condition.

3. The method according to claim 1, characterized in that The obtaining of the first global path comprises: Obtaining a task to be performed corresponding to the first robot, determining candidate moving path segments based on a route starting point and a route end point corresponding to the task to be performed, and obtaining weights corresponding to each candidate moving path segment; the weights are used to represent the probability of a conflict between the first robot and the second robot in the corresponding candidate moving path segment; According to the weights corresponding to the candidate moving path segments, selected moving path segments are obtained from the candidate moving path segments, and the selected moving path segments are merged to obtain the first global path.

4. The method according to claim 1, characterized in that: If it is detected that the first robot occupies the target moving path segment of the second robot when passing the current moving path segment, before obtaining the avoidance area corresponding to the current moving path segment, one of the following three steps is also included: If a avoidance request is received from the server, it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment; the avoidance request is used to request the first robot to avoid the passage of the second robot in the target moving path segment; If the passage permission corresponding to the next moving path segment is not received from the server within the preset time period, it is detected that the first robot occupies the target moving path segment of the second robot when passing the current moving path segment; A query request is sent to the server, where the query request is used to query the status of the access permission corresponding to the current moving path segment. If the query results in that the second robot requests to obtain the access permission corresponding to the current moving path segment, it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment.

5. The method according to claim 1, characterized in that: The moving path segment corresponding to the first global path includes a second moving path segment and a third moving path segment, and the traveling in the moving path segment corresponding to the first global path includes: If the second moving path segment does not have a corresponding avoidance area, before entering the second moving path segment, simultaneously sending a passing request from the second moving path segment to the third moving path segment to the server; the third moving path segment is after the second moving path segment and has a corresponding avoidance area; After receiving the passage permission from the server to travel from the second moving path segment to the third moving path segment, the vehicle passes from the second moving path segment to the third moving path segment.

6. The method according to claim 1, characterized in that After obtaining the first global path, the method further includes: The moving path of the second robot is obtained, and based on the comparison result of the first global path of the first robot and the moving path of the second robot, the moving path segment that matches the moving path of the second robot in the first global path is used as a shared moving path segment, a corresponding avoidance area is set for each shared moving path segment, and the area that converges and connects multiple shared moving path segments is used as an intersection area.

7. The method according to claim 1, characterized in that Applied to the server, the method further comprises: When the first robot passes through the moving path segment corresponding to the first global path, if it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment, an avoidance request is sent to the first robot, so that the first robot obtains the avoidance area corresponding to the current moving path segment, moves to the avoidance area, and releases the passage authority corresponding to the current moving path segment; the priority of the second robot is higher than that of the first robot, and the avoidance area is an area that does not conflict with the target moving path segment of the second robot; Sending the access permission corresponding to the current moving path segment to the second robot, so that the second robot receives the access permission corresponding to the current moving path segment and passes through the current moving path segment; After the second robot passes the current moving path segment, it receives a passing request from the first robot and sends the passing permission corresponding to the passing request to the first robot, so that the first robot passes in the moving path segment corresponding to the second global path.

8. A robot control device, characterized in that: The device comprises: A first acquisition module, used to acquire a first global path, and travel in a moving path segment corresponding to the first global path; an avoidance module, for obtaining an avoidance area corresponding to the current moving path segment, moving to the avoidance area, and releasing the passage authority corresponding to the current moving path segment, if it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment, so that the second robot receives the passage authority corresponding to the current moving path segment and passes through the current moving path segment; the priority of the second robot is higher than that of the first robot, and the avoidance area is an area that does not conflict with the target moving path segment of the second robot; The second acquisition module is used to acquire a second global path, move from the avoidance area to the second global path, and pass through a moving path segment corresponding to the second global path.

9. A robot control device, characterized in that: The device comprises: A first sending module is used for sending an avoidance request to the first robot when the first robot passes through the moving path segment corresponding to the first global path, if it is detected that the first robot occupies the target moving path segment of the second robot when passing through the current moving path segment, so that the first robot obtains the avoidance area corresponding to the current moving path segment, moves to the avoidance area, and releases the passage authority corresponding to the current moving path segment; the priority of the second robot is higher than that of the first robot, and the avoidance area is an area that does not conflict with the target moving path segment of the second robot; A second sending module, configured to send the passage authority corresponding to the current moving path segment to the second robot, so that the second robot receives the passage authority corresponding to the current moving path segment and passes through the current moving path segment; The third sending module is used to receive a passage request from the first robot after the second robot passes the current moving path segment, and send the passage permission corresponding to the passage request to the first robot, so that the first robot can pass through the moving path segment corresponding to the second global path.

10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Dynamic capability grading traffic control method for heterogeneous robots

    CN120319035A

  • A dynamic capability-graded traffic control method for heterogeneous robots

    CN120319035B