Task processing method and device for multiple robots, and robot
A dual communication system with WIFI and LORA modules ensures continuous task processing for robots by relaying information through alternative robots when primary connections fail, addressing instability in conventional WIFI networks.
Patent Information
- Application Number
- JP2024515480
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-09-10
- Filing Date
- 2022-07-07
- Publication Date
- 2024-08-29
- Estimated Expiration
- 2042-07-07
AI Technical Summary
Conventional WIFI networks in robot systems are unstable, leading to discontinuous task processing and low success rates when robots lose communication, making it impossible for consoles to send task information effectively.
Implementing a dual communication system with a first communication module (e.g., WIFI) for bidirectional communication between robots and a task processing device, and a second communication module (e.g., long-range LORA) for two-way communication among robots, allowing for the identification and utilization of alternative robots to relay task information when connections are lost, ensuring continuity and improving success rates.
Ensures continuous task processing and enhances the success rate by enabling task information relay through alternative robots using a dual communication system, even when primary connections fail.
Smart Images

Figure 2024531648000001_ABST
Abstract
Description
[Technical field]
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application is based on and claims the benefit of priority to Chinese Patent Application No. 202111061331.2, filed on September 10, 2021, the entire contents of which are incorporated herein by reference.
[0002] The present disclosure relates to the field of computer technology, and in particular to task processing methods, devices and systems for multiple robots, robots, and computer storage media. [Background technology]
[0003] A robot is a mechanical device that automatically performs a series of complex actions or functions by receiving instructions according to a pre-set program. Logistics robots are robots that are applied to actions such as transporting and handling goods in situations such as warehouses, sorting centers, and goods in transit. Logistics robots are also gradually regarded as important intelligent infrastructure for logistics and supply chain related enterprises in the process of digitalization and automation.
[0004] In the related technology, the robot periodically reports the robot's location to the console through a WIFI network to maintain a heartbeat connection with the console, and the console transmits task information of the current task corresponding to each robot to each robot through the WIFI network. Summary of the Invention [Means for solving the problem]
[0005] According to a first aspect of the present disclosure, a task processing method for a plurality of robots is provided. The method is executed by a task processing device, and the task processing device and the plurality of robots are both deployed with a first communication module configured to perform two-way communication between the plurality of robots and the task processing device, and the plurality of robots further include a second communication module configured to perform two-way communication between the plurality of robots, and the task processing method includes the steps of: identifying at least one robot as a cutting robot when a heartbeat connection between at least one robot and the task processing device is detected to be lost; acquiring a past position of the cutting robot and a current position of a connecting robot among the plurality of robots, where the connecting robot is a robot that maintains a heartbeat connection with the task processing device; for the cutting robot, determining a target transmission robot corresponding to the cutting robot among the plurality of robots according to the past position of the cutting robot and the current position of the connecting robot, where the target transmission robot includes the connecting robot; and transmitting task information of a current task of the cutting robot to the cutting robot through the target transmission robot.
[0006] In some embodiments, the step of determining a target transmitting robot corresponding to the cutting robot from the multiple robots includes the steps of: obtaining a past position of a cutting robot other than the cutting robot when each of the distances between the current position of the connecting robot and the past position of the cutting robot is greater than a distance threshold; determining another cutting robot whose past position is at a distance equal to or less than the distance threshold from the past position of the cutting robot as a candidate cutting robot according to the past positions of the other robot; determining a connecting robot whose current position is at a distance equal to or less than the distance threshold from the past position of the candidate cutting robot as a candidate connecting robot according to the past positions of the candidate cutting robot and the current position of the connecting robot; and determining a target connecting robot corresponding to the target cutting robot and the cutting robot from the candidate cutting robots and the candidate connecting robots, respectively, as the target transmitting robot.
[0007] In some embodiments, transmitting task information of the cutting robot's current task to the cutting robot through the target transmission robot includes sequentially transmitting the task information of the current task to the cutting robot through the target connection robot and the target cutting robot.
[0008] In some embodiments, the task processing method further includes transmitting task information of the current task of the target-cutting robot to the target-cutting robot through the target-connecting robot.
[0009] In some embodiments, the task processing method further includes a step of determining a target receiving robot corresponding to the cutting robot from among the plurality of robots, the target receiving robot being configured to receive a result of the execution of the current task transmitted from the cutting robot through the second communication module, and a step of receiving a result of the execution of the current task through the target receiving robot, the target receiving robot including the connecting robot.
[0010] In some embodiments, receiving the result of the execution of the current task by the target receiving robot includes, if the target receiving robot includes only a connecting robot, receiving the result of the execution of the current task transmitted from the target receiving robot, and, if the target receiving robot includes a disconnecting robot and a connecting robot, sequentially receiving the result of the execution of the current task through the disconnecting robot of the target receiving robot and the connecting robot of the target receiving robot.
[0011] In some embodiments, the target receiving robot and the target sending robot are completely identical, partially identical, or completely different.
[0012] In some embodiments, determining a target sending robot from the plurality of robots that corresponds to the cutting robot includes determining a target sending robot from the at least one connecting robot that corresponds to the cutting robot if a distance between a current position of the at least one connecting robot and a past position of the cutting robot is less than or equal to a distance threshold.
[0013] In some embodiments, the step of determining a target transmitting robot corresponding to the disconnecting robot from the at least one connecting robot includes a step of determining a connecting robot whose current position is the shortest distance from the at least one connecting robot to a past position of the disconnecting robot as the target transmitting robot corresponding to the disconnecting robot.
[0014] In some embodiments, the difference between the wireless propagation distance of the second communication module and the wireless propagation distance of the first communication module is greater than a difference threshold under the same power consumption, and the difference and the difference threshold are positive integers.
[0015] In some embodiments, the current task is a following task, and the second communication module is further configured to exchange real-time motion parameters, positions, and road condition information between the multiple robots performing the following task.
[0016] In some embodiments, the motion parameters include at least one of velocity, acceleration, or direction.
[0017] In some embodiments, the first communication module is a WIFI module and the second communication module is a long range wireless LORA module.
[0018] According to a second aspect of the present disclosure, a task processing device for a plurality of robots is provided, the task processing device and the plurality of robots are both deployed with a first communication module configured to perform two-way communication between the plurality of robots and the task processing device, the plurality of robots further including a second communication module configured to perform two-way communication between the plurality of robots, the task processing device including: an identification module configured to identify at least one robot of the plurality of robots as a cutting robot when it is detected that a heartbeat connection between at least one robot and the task processing device is lost; an acquisition module configured to acquire a past position of the cutting robot and a current position of a connecting robot of the plurality of robots, where the connecting robot is a robot that maintains a heartbeat connection with the task processing device; a determination module configured for the cutting robot to determine a target transmitting robot corresponding to the cutting robot among the plurality of robots according to the past position of the cutting robot and the current position of the connecting robot, where the target transmitting robot includes the connecting robot; and a transmission module configured to transmit task information of a current task of the cutting robot to the cutting robot through the target transmitting robot.
[0019] According to a third aspect of the present disclosure, a task processing method for a plurality of robots is provided, the method including a first communication module and a second communication module, the first communication module being configured to perform bidirectional communication between the plurality of robots and a first communication module of a task processing device, the second communication module being configured to perform bidirectional communication between the plurality of robots, the task processing method being executed by one robot of the plurality of robots, the task processing method including the steps of receiving task information of a current task of the cutting robot transmitted from the task processing device through the first communication module, and if a heartbeat connection between the robot and the task processing device has not been lost and the robot is determined as a target transmitting robot corresponding to the cutting robot, transmitting the task information of the current task of the cutting robot to the cutting robot through the second communication module, the cutting robot receiving the task information of the current task of the cutting robot from the task processing device, the task processing method including the steps of: the robot is a robot that has lost its heartbeat connection with the task processing device; if the heartbeat connection between the robot and the task processing device is lost, receiving task information of the robot's current task transmitted through a second communication module from a target transmitting robot corresponding to the robot, where the target transmitting robot includes a connecting robot; if the heartbeat connection between the robot and the task processing device is lost and the robot is determined as a target transmitting robot corresponding to another cutting robot, receiving task information of the current task of another cutting robot transmitted from another target transmitting robot through the second communication module and transmitting the task information of the current task of the other cutting robot to the other cutting robot, where the other target transmitting robot includes a connecting robot.
[0020] In some embodiments, the target transmitting robot includes at least one robot that is at a distance less than or equal to the distance threshold from a corresponding cutting robot, and when multiple target transmitting robots are present, the serial path formed by the multiple target transmitting robots includes a serial path in which the distance between any two adjacent target transmitting robots is less than or equal to the distance threshold.
[0021] According to a fourth aspect of the present disclosure, a robot is provided. The robot includes a first communication module configured to perform two-way communication with a first communication module of a task processing device, and a second communication module configured to perform two-way communication with a second communication module of another robot, and when task information of a current task of the cutting robot transmitted from the task processing device through the first communication module is received, and a heartbeat connection between the robot and the task processing device is not lost and the robot is determined as a target sending robot corresponding to the cutting robot, the task information of the current task of the cutting robot is transmitted to the cutting robot through the second communication module, and the cutting robot determines whether or not the robot that has lost the heartbeat connection with the task processing device has been lost. and a target transmitting robot including a connecting robot, wherein task information of a current task of the robot transmitted from a target transmitting robot corresponding to the robot is received through a second communication module, and the target transmitting robot includes a connecting robot, and when a heartbeat connection between the robot and the task processing device is lost and the robot is determined as a target transmitting robot corresponding to another cutting robot, task information of a current task of another cutting robot transmitted from another target transmitting robot through the second communication module is received, and the task information of the current task of the other cutting robot is transmitted to the other cutting robot, and the other target transmitting robot includes a connecting robot.
[0022] In some embodiments, the target transmitting robot includes at least one robot that is at a distance less than or equal to the distance threshold from a corresponding cutting robot, and when multiple target transmitting robots are present, the serial path formed by the multiple target transmitting robots includes a serial path in which the distance between any two adjacent target transmitting robots is less than or equal to the distance threshold.
[0023] According to a fifth aspect of the present disclosure, there is provided an electronic device, the device including: a memory; and a processor coupled to the memory, the processor configured to execute, based on instructions stored in the memory, a task processing method according to any of the above-mentioned embodiments.
[0024] According to a sixth aspect of the present disclosure, there is provided a task processing system for a plurality of robots, the system including a task processing device according to any of the above-mentioned embodiments.
[0025] In some embodiments, the task processing system further includes a target sending robot configured to receive task information of a current task of the cutting robot from the task processing device through the first communication module, and to send task information of the current task to the cutting robot through the second communication module.
[0026] According to a seventh aspect of the present disclosure, there is provided a computer-readable medium having stored thereon computer program instructions which, when executed by a processor, implements a task processing method according to any of the above-mentioned embodiments.
[0027] The accompanying drawings, which constitute a part of this specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the disclosure.
[0028] The present disclosure may be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings, in which: [Brief description of the drawings]
[0029] [Figure 1] 1 is a flowchart illustrating a task processing method for multiple robots according to some embodiments of the present disclosure. [Diagram 2] 13 is a flowchart illustrating the determination of a target sending robot according to some embodiments of the present disclosure. [Diagram 3]1 is a schematic diagram illustrating multiple robot positions according to some embodiments of the present disclosure. [Figure 4] FIG. 13 is a schematic diagram showing multiple robot positions according to another embodiment of the present disclosure. [Diagram 5] FIG. 1 is a block diagram illustrating a task processing device for multiple robots according to some embodiments of the present disclosure. [Figure 6] 1 is a schematic diagram illustrating the structure of a robot, according to some embodiments of the present disclosure. [Figure 7] FIG. 1 is a block diagram illustrating an electronic device according to some embodiments of the present disclosure. [Figure 8] FIG. 1 is a block diagram illustrating a task processing system for multiple robots according to some embodiments of the present disclosure. [Figure 9] FIG. 1 is a block diagram illustrating a computer system for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0030] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, formulas and numerical values described in these examples do not limit the scope of the present disclosure unless otherwise specified.
[0031] At the same time, it should be understood that for ease of explanation, the dimensions of the various parts shown in the accompanying drawings have not been drawn to scale.
[0032] The following description of at least one exemplary embodiment, which is merely exemplary in nature, is in no way intended to limit the disclosure and its application or uses.
[0033] Techniques, methods, and devices known to a person of ordinary skill in the relevant art may not be described in detail, but, where appropriate, the techniques, methods, and devices should be considered as part of the description.
[0034] Of all the examples shown and described herein, any particular values are to be construed as merely illustrative and not limiting, and thus other examples in an example embodiment may have different values.
[0035] It should be noted that in the following accompanying drawings, like reference numbers and letters indicate like items, and therefore, once an item is defined in one accompanying drawing, the same needs to be further discussed in the subsequent accompanying drawing.
[0036] In the prior art, the WIFI network is unstable, and once the robot loses communication, the console is unable to transmit the task information of the current task to the robot through the WIFI network, resulting in discontinuity in the task processing process of the robot and a low success rate of task processing.
[0037] In response to the above technical problems, the present disclosure provides a task processing method, which may ensure the continuity of task processing by a robot and improve the success rate of task processing.
[0038] FIG. 1 is a flowchart illustrating a task processing method for multiple robots according to some embodiments of the present disclosure. The task processing method is executed by a task processing device. The task processing device and the multiple robots are all deployed with a first communication module for two-way communication between the robots and the task processing device. The multiple robots also include a second communication module for two-way communication between the robots. For example, the task processing device is a console. For example, the robot is a logistics robot or a logistics trolley.
[0039] As shown in FIG. 1, the task processing method based on multiple robots includes steps S10 to S40.
[0040] In step S10, if it is detected that the heartbeat connection between the at least one robot and the task processing device is lost, the at least one robot is marked as a disconnected robot. Any heartbeat connection in the present disclosure is based on the first communication module. In some embodiments, if the task processing device does not receive a heartbeat message of the robot for a predetermined period of time, it is determined that the heartbeat connection between the robot and the task processing device is lost. For example, the predetermined period is 500 milliseconds.
[0041] In step S20, a past position of the disconnected robot and a current position of a connected robot among the multiple robots are obtained. The connected robot is a robot that maintains a heartbeat connection with the task processing device. For example, the task processing device obtains from a database the past position of the disconnected robot that was last reported before the connection was lost. In some embodiments, the real-time position of the connected robot is obtained as the current position based on the heartbeat message. For example, the task processing device receives the heartbeat message through the first communication module.
[0042] In step S30, for the cutting robot, a target sending robot corresponding to the cutting robot is determined among the multiple robots according to the past position of the cutting robot and the current position of the connecting robot. The target sending robot includes the connecting robot.
[0043] In some embodiments, the above step S30 may be realized by the steps shown in FIG.
[0044] FIG. 2 is a flow chart illustrating the determination of a target sending robot according to some embodiments of the present disclosure.
[0045] As shown in FIG. 2, the determination of the target transmitting robot includes steps S31 to S34.
[0046] In step S31, if each of the distances between the current position of the connecting robot and the past positions of the cutting robot is greater than a distance threshold, the past position of another cutting robot is obtained. In some embodiments, the past position of another cutting robot, last reported based on a heartbeat message, is obtained from a database.
[0047] In step S32, according to the past positions of the other cutting robots, the other cutting robots whose past positions are at a distance equal to or less than a distance threshold from the past position of the cutting robot are determined as candidate cutting robots.
[0048] In step S33, according to the past position of the candidate cutting robot and the current position of the connecting robot, the connecting robot whose current position is at a distance equal to or less than the distance threshold from the past position of the candidate cutting robot is determined as the candidate connecting robot.
[0049] In step S34, from the candidate cutting robots and the candidate connecting robots, a target cutting robot and a target connecting robot corresponding to the cutting robot are determined as a target sending robot, respectively. In some embodiments, all the candidate cutting robots and the candidate connecting robots may be determined as a target cutting robot and a target connecting robot, respectively. In other embodiments, the candidate cutting robot closest to the cutting robot may also function as a target cutting robot, and the candidate connecting robot closest to the target cutting robot may function as a target connecting robot.
[0050] In the above-mentioned embodiments, if broadcast rescue cannot be performed by a single connected robot, the current task may be transferred by combining disconnected robots to achieve task continuity and improve the success rate of task processing.
[0051] A particular embodiment where the distance between the current position of the connecting robot and the past position of the disconnecting robot is greater than the distance threshold is described in more detail below with reference to FIG.
[0052] FIG. 3 is a schematic diagram illustrating multiple robot positions according to some embodiments of the present disclosure.
[0053] As shown in Figure 3, at a certain moment, robots "0", "a", and "b" that are no longer in contact become disconnected robots. Robots "A", "B", and "C" are all connected robots. For robot "0", the distances from robots "a" and "b" to robot "0" are all below the distance threshold, while the distances from robots "A", "B", and "C" to robot "0" are all above the distance threshold. The distances from robots "a" and "b" to robot "A" are below the distance threshold, while the distances from robots "a" and "b" to robots B and C are above the distance threshold. In this case, robots "a" and "b" are selected as candidate disconnected robots, and robot "A" is selected as the candidate connected robot.
[0054] For example, among robots "a" and "b," robot "a" that is closest to robot "0" may be considered the target-disconnecting robot. Robot "A" acts as the target-connecting robot. Robot "a" and robot "A" act as target-sending robots.
[0055] In some embodiments, if the distance between the current position of the at least one connecting robot and the past position of the cutting robot is equal to or less than a distance threshold, a target sending robot corresponding to the cutting robot is determined from the at least one connecting robot. For example, among the at least one connecting robot, a connecting robot whose current position is the shortest distance from the past position of the cutting robot is determined as the target sending robot corresponding to the cutting robot.
[0056] A particular embodiment where the distance between the current position of at least one connecting robot and the past position of the disconnecting robot is less than or equal to a distance threshold is described in more detail below with reference to FIG.
[0057] FIG. 4 is a schematic diagram showing multiple robot positions according to another embodiment of the present disclosure.
[0058] As shown in Figure 4, at a certain moment, robot “0” becomes unreachable and robots D, E, and F all become connected robots. For robot “0”, the distances from robots D and E to robot “0” are less than or equal to the distance threshold, but the distance between robot F and robot “0” is greater than the distance threshold.
[0059] For example, between robots D and E, robot D is closer to robot "0", so robot D is determined as the target sending robot.
[0060] Returning to Figure 1, in step S40, task information of the current task of the cutting robot is sent by the target sending robot to the cutting robot. In some embodiments, the task information includes an identifier of the robot performing the current task and task content.
[0061] In some embodiments, when the target transmission robot includes a cutting robot and a connecting robot, task information of the current task is sequentially transmitted to the cutting robot through the target connecting robot and the target cutting robot.
[0062] Taking FIG. 3 as an example, the task processing device transmits task information of the current task of robot "0" to robot "A" through the first communication module. After receiving the task information of the current task through the first communication module, robot "A" confirms that the robot identifier in the task information of the current task does not belong to robot A, and then transmits the task information of the current task to robot "a" through the second communication module. Similarly, after receiving the task information of the current task through the second communication module, robot "a" confirms that the robot identifier in the task information of the current task does not belong to robot a, and then transmits the task information of the current task to robot "0" through the second communication module. Up to now, the task processing device transmits the task information of the current task of robot "0" to robot "0", robot "A", and robot "a" sequentially.
[0063] In some embodiments, if the target transmission robots include only connecting robots, task information of the current task is transmitted directly to the disconnecting robot through the connecting robots among the target transmission robots.
[0064] Taking Fig. 4 as an example, the task processing device sends task information of the current task of robot "0" to robot D through the first communication module. After receiving the task information of the current task through the first communication module, robot D confirms that the robot identifier in the task information of the current task does not belong to robot D, and then sends the task information of the current task to robot "0" through the second communication module.
[0065] In some embodiments, when the target transmission robot includes a cutting robot and a connecting robot, the task processing device also transmits task information of the current task of the target cutting robot to the target cutting robot through the target connecting robot. For example, the target processing device transmits task information of the current task of the target cutting robot to the target connecting robot through the first communication module, and then the target connecting robot transmits task information of the current task of the target cutting robot to the target cutting robot through the second communication module. In this way, the current tasks of multiple cutting robots are transmitted to the corresponding cutting robots, thereby improving the efficiency of task handover by the task processing device and further improving the continuity of task processing.
[0066] In some embodiments, under the same power consumption, the difference between the wireless propagation distance of the second communication module and the wireless propagation distance of the first communication module is greater than a difference threshold, and the difference and the difference threshold are positive integers. That is, the wireless propagation distance of the second communication module is longer than the wireless propagation distance of the first communication module. For example, the first communication module is a WIFI module and the second communication module is a LORA (Long Range Radio) module.
[0067] In some embodiments, when the current task is a following task, the second communication module is also configured to exchange real-time motion parameters, position, and road condition information between the robots performing the following task. For example, the motion parameters include at least one of speed, acceleration, or motion direction. The second communication module with a longer wireless transmission range performs data transmission of the following task, so that the success rate of the following task is improved and safe driving between the robots is ensured.
[0068] In some embodiments, after task information of the current task of the cutting robot is transmitted to the cutting robot, a target receiving robot corresponding to the cutting robot is determined among the multiple robots within a specified time. An execution result of the current task is received through the target receiving robot. The target receiving robot includes a connecting robot. The target receiving robot is configured to receive the execution result of the current task transmitted from the cutting robot through the second communication module. For example, the specified time is an average time that the cutting robot performs a task similar to the current task within a past time period.
[0069] In some embodiments, determining the target receiving robot corresponding to the cutting robot from among the multiple robots is similar to determining the target sending robot, and will not be described in detail here. In particular, once the target receiving robot is determined, the current position of the connecting robot and the past position of the cutting robot at that time are obtained again.
[0070] In some embodiments, when the target receiving robots are all connecting robots, the execution result of the current task sent from the target receiving robot is received. When the target receiving robots include a cutting robot and a connecting robot, the execution result of the current task is sequentially received through the cutting robot in the target receiving robot and the connecting robot in the target receiving robot.
[0071] That is, the cutting robot transmits the execution result of the current task to the second communication module of the cutting robot in the target receiving robot through the second communication module, then the cutting robot in the target receiving robot transmits it to the second communication module of the connecting robot in the target receiving robot through the second communication module, and then the connecting robot in the target receiving robot transmits it to the task processing device through the first communication module.
[0072] For example, the target receiving robot may also transfer the cutting robot's heartbeat information, current location information, motion parameter information, etc., in addition to transferring the execution results of the current task.
[0073] In some embodiments, the target receiving robots and the target sending robots are completely the same, partially the same, or completely different. For example, the target sending robots can be robots 1, 2, and 3, and the target receiving robots can be robots 1, 2, and 3, robots 2, 3, and 4, and robots 4, 5, and 6.
[0074] In some embodiments, the task processing device also periodically monitors whether the heartbeat connection of the disconnected robot is resumed, and if the heartbeat connection of the disconnected robot is resumed, the disconnected robot is again identified as a connected robot and task information is sent to the robot through the first communication module.
[0075] In the above embodiment, the robot is deployed with a first communication module for two-way communication with the task processing device, and is also deployed with a second communication module for two-way communication with other robots. When the task processing device cannot transmit task information of the current task because the first communication module is unavailable, the connected robot can act as an intermediary device for transmitting task information of the current task to the corresponding disconnected robot. This can ensure the continuity of the task processing by the robot and improve the success rate of the task processing.
[0076] 5 is a block diagram illustrating a task processing device for multiple robots according to some embodiments of the present disclosure. The task processing device and the multiple robots are all deployed with a first communication module for two-way communication between the robots and the task processing device. The multiple robots also include a second communication module for two-way communication between the robots.
[0077] As shown in FIG. 5 , the task processing device 51 for multiple robots includes an identifier module 511, an acquisition module 512, a determination module 513, and a transmission module 514.
[0078] The identification module 511 is configured to identify the at least one robot as a disconnected robot when it is detected that a heartbeat connection between the at least one robot and the task processing device is lost. For example, step S10 is performed as shown in FIG.
[0079] The acquisition module 512 is configured to acquire the past position of the disconnected robot and the current position of the connected robot among the multiple robots. For example, step S20 is performed as shown in Figure 1. The connected robot is a robot that maintains a heartbeat connection with the task processing device.
[0080] The determining module 513 is configured to determine a target sending robot corresponding to the cutting robot among the multiple robots according to the past position of the cutting robot and the current position of the connecting robot. For example, step S30 is performed as shown in Fig. 1. The target sending robot includes a connecting robot.
[0081] The sending module 514 is configured to send task information of the current task of the cutting robot to the cutting robot through the target sending robot. For example, step S40 is performed as shown in FIG.
[0082] In some embodiments, the present disclosure also provides a task processing method for a plurality of robots executed by a robot. The plurality of robots includes a first communication module and a second communication module. The first communication module is configured to perform two-way communication between the plurality of robots and the first communication module of the task processing device. The second communication module is configured to perform two-way communication between the plurality of robots. For example, the first communication module is a WIFI module and the second communication module is a LORA module.
[0083] When the heartbeat connection between the robot and the task processing device is not lost and the robot is determined as a target sending robot corresponding to the cutting robot, task information of the current task of the cutting robot sent from the task processing device is received through the first communication module, and the received task information is sent to the cutting robot through the second communication module. The cutting robot is a robot that has lost the heartbeat connection with the task processing device.
[0084] When the heartbeat connection between the robot and the task processing device is lost, task information of the robot's current task transmitted from a target transmitting robot corresponding to the robot is received through the second communication module. The target transmitting robot includes a connecting robot.
[0085] When the heartbeat connection between the robot and the task processing device is lost and the robot is determined as one of the target transmission robots corresponding to another cutting robot other than the robot, the second communication module receives task information of the current task of the other cutting robot transmitted from the other target transmission robot, and transmits the received task information to the other cutting robot, the other target transmission robot including the connecting robot.
[0086] In some embodiments, if the heartbeat connection between the robot and the task processing device is not lost and the robot is not determined as a target sending robot corresponding to the disconnected robot, task information of the robot's current task transmitted from the task processing device is received through the first communication module. In some embodiments, the robot also executes its own received current task.
[0087] In some embodiments, the target transmit robot includes at least one robot that is at a distance less than or equal to the distance threshold from the corresponding cut robot. When there are multiple target transmit robots, the serial path formed by the multiple target transmit robots includes a serial path in which the distance between any two adjacent target transmit robots is less than or equal to the distance threshold. When calculating the distance between the robots, the cut robot uses its past position and the connect robot uses its current position. The serial path refers to the serial path in which the robot is located.
[0088] In the above embodiment, the robot is deployed with a first communication module for two-way communication with the task processing device, and is also deployed with a second communication module for two-way communication with other robots, so that the robot can receive task information in different states. In particular, when the first communication module is unavailable due to the robot being unable to communicate, the task processing device cannot transmit the task information of the current task to the cutting robot, and the robot can function as a target transmission robot for the cutting robot and transfer the task information of the current task to the corresponding cutting robot. This can ensure the continuity of the task processing by the robot and improve the success rate of the task processing. The logic of the target reception robot is similar to that of the target transmission robot.
[0089] FIG. 6 is a schematic diagram illustrating the structure of a robot according to some embodiments of the present disclosure.
[0090] As shown in FIG. 6, the robot 62 includes a first communication module 621 and a second communication module 622.
[0091] The first communication module 621 is configured to perform bidirectional communication with a first communication module of a task processing device, for example, the task processing device is a console or a controller.
[0092] The second communication module 622 is configured to perform two-way communication with second communication modules of other robots.
[0093] When the heartbeat connection between the robot and the task processing device is not lost and the robot is determined as a target sending robot corresponding to the cutting robot, task information of the current task of the cutting robot sent from the task processing device is received through the first communication module, and the received task information is sent to the cutting robot through the second communication module. The cutting robot is a robot that has lost the heartbeat connection with the task processing device.
[0094] When the heartbeat connection between the robot and the task processing device is lost, task information of the robot's current task transmitted from a target transmitting robot corresponding to the robot is received through the second communication module. The target transmitting robot includes a connecting robot.
[0095] When the heartbeat connection between the robot and the task processing device is lost and the robot is determined as one of the target transmission robots corresponding to another cutting robot other than the robot, the second communication module receives task information of the current task of the other cutting robot transmitted from the other target transmission robot and transmits the current task of the other cutting robot to the other cutting robot. The other target transmission robot includes a connection robot.
[0096] In some embodiments, if the heartbeat connection between the robot and the task processing device is not lost and the robot is not determined as a target sending robot corresponding to the disconnected robot, task information of the robot's current task transmitted from the task processing device is received through the first communication module. In some embodiments, the robot also executes its own received current task.
[0097] In some embodiments, the target transmit robot includes at least one robot that is at a distance less than or equal to the distance threshold from a corresponding cut robot. When multiple target transmit robots are present, the serial paths formed by the multiple target transmit robots include a serial path in which the distance between any two adjacent target transmit robots is less than or equal to the distance threshold. When calculating the distance between robots, the cut robot uses a past position and the connect robot uses a current position.
[0098] In the above embodiment, the robot is deployed with a first communication module for two-way communication with the task processing device, and is also deployed with a second communication module for two-way communication with other robots, so that the robot can receive task information in different states. In particular, when the first communication module is unavailable due to the robot being unable to communicate, the task processing device cannot transmit the task information of the current task to the cutting robot, and the robot serves as a target transmission robot for the cutting robot and transfers the task information of the current task to the corresponding cutting robot. This can ensure the continuity of the task processing by the robot and improve the success rate of the task processing.
[0099] FIG. 7 is a block diagram illustrating an electronic device according to some embodiments of the disclosure.
[0100] 7, the electronic device 71 includes a memory 711 and a processor 712 coupled to the memory 711. The memory 711 is configured to store instructions for executing a corresponding embodiment of a task processing method for multiple robots. The processor 712 is configured to execute the task processing method for multiple robots according to any embodiment of the present disclosure based on the instructions stored in the memory 711.
[0101] FIG. 8 is a block diagram illustrating a task processing system for multiple robots according to some embodiments of the present disclosure.
[0102] 8, the task processing system 8 includes a task processing device 81. The task processing device 81 is, for example, the task processing device 51.
[0103] In some embodiments, the task processing system 8 further includes a target transmission robot 82. The target transmission robot 82 is configured to receive task information of a current task of the cutting robot from the task processing device through a first communication module and transmit task information of the current task to the cutting robot through a second communication module. For example, the target transmission robot 82 includes one or more robots.
[0104] In some embodiments, the task processing system 8 further includes a target receiving robot 83. The target receiving robot 83 is configured to receive the execution result of the current task transmitted from the cutting robot through the second communication module, and transmit the execution result of the current task to the task processing device 81 through the first communication module. For example, the target receiving robot 83 includes one or more robots.
[0105] FIG. 9 is a block diagram illustrating a computer system for implementing some embodiments of the present disclosure.
[0106] 9, a computer system 90 may be implemented in the form of a general-purpose computing device. The computer system 90 includes a memory 910, a processor 920, and a bus 900 connecting different system components.
[0107] The memory 910 may include, for example, a system memory, a non-volatile storage medium, etc. The system memory stores, for example, an operation system, applications, a boot loader, and other programs. The system memory may include a volatile storage medium, for example, a random access memory (RAM) and / or a cache memory. The non-volatile storage medium stores, for example, instructions for executing a corresponding embodiment of at least one task processing method for a plurality of robots. The non-volatile storage medium includes, but is not limited to, a disk memory, an optical memory, a flash memory, etc.
[0108] The processor 920 may be implemented as individual hardware components, such as a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic device, and individual gates or transistors. Similarly, each module, such as the judgment module and the decision module, may be realized by a central processing unit (CPU) that executes instructions in a memory to perform the corresponding steps, or by application-specific circuitry to perform the corresponding steps.
[0109] Bus 900 may use any of a number of bus structures, including, but not limited to, an Industry Standard Architecture (ISA) bus, a MicroChannel Architecture (MCA) bus, and a Peripheral Component Interconnect (PCI) bus.
[0110] The computer system 90 may further include an I / O interface 930, a network interface 940, a storage interface 950, etc. These interfaces 930, 940, 950, and the memory 910 and the processor 920 therebetween may be connected through a bus 900. The I / O interface 930 may provide a connection interface for input / output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 940 provides a connection interface for various network-connected devices. The storage interface 950 provides a connection interface with external storage devices such as a floppy disk, a USB flash disk, and an SD card.
[0111] Various aspects of the present disclosure will now be described in conjunction with flowcharts and / or block diagrams of methods, apparatus, and computer program products according to embodiments of the present disclosure. It will be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks, can be implemented by computer-readable program instructions.
[0112] These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable device to create a machine, such that the instructions can be executed by the processor to create a device that implements the functions specified in one or more blocks in the flowcharts and / or block diagrams.
[0113] These computer readable program instructions may also be stored in a computer readable memory that causes a computer to function in a particular manner to produce a product that includes instructions that implement the functions specified in one or more blocks in the flowcharts and / or block diagrams.
[0114] The present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects.
[0115] The task processing method, device and system for multiple robots, robot and computer-readable medium in the above-described embodiments make it possible to ensure continuity of task processing by the robot and improve the success rate of task processing.
[0116] Above, the task processing method, device and system for multiple robots, the robot, and the computer storage medium according to the present disclosure have been described in detail. In order to avoid obscuring the concept of the present disclosure, some details well known in the art will not be described. According to the above description, a person skilled in the art will fully understand how to implement the technical solutions disclosed herein. [Explanation of symbols]
[0117] 8 Task Processing System 51 Task Processing Device 62 Robot 71 Electronic Devices 81 Task Processing Device 82 Target Sending Robot 83 Target Receiving Robot 90 Computer Systems 511 Identifier Module 512 Acquisition Module 513 Decision Module 514 Transmitting Module 621 First communication module 622 Second communication module 711 Memory 712 processor 900 Bus 910 Memory 920 Processor 930 I / O Interface 940 Network Interface 950 Storage Interface
Claims
1. 1. A task processing method for a plurality of robots executed by a task processing device, the task processing device and the plurality of robots both being deployed with a first communication module configured to perform bidirectional communication between the plurality of robots and the task processing device, the plurality of robots further including a second communication module configured to perform bidirectional communication among the plurality of robots; identifying at least one robot of the plurality of robots as a disconnected robot if a loss of heartbeat connection between the at least one robot and the task processing device is detected; Obtaining a past position of the disconnection robot and a current position of a connecting robot of the plurality of robots, the connecting robot being a robot that maintains a heartbeat connection with the task processing device; For the cutting robot, determining a target transmission robot corresponding to the cutting robot from among the plurality of robots according to the past position of the cutting robot and the current position of the connecting robot, wherein the target transmission robot includes the connecting robot; sending task information of a current task of the cutting robot to the cutting robot through the target sending robot; A method for processing a task.
2. The step of determining the target sending robot corresponding to the cutting robot from the plurality of robots includes: When each of the distances between the current position of the connecting robot and the past positions of the cutting robot is greater than a distance threshold, acquiring a past position of a cutting robot other than the cutting robot; According to the past positions of the other cutting robots, determining the other cutting robots whose past positions are at a distance less than or equal to the distance threshold from the past positions of the cutting robots as candidate cutting robots; According to the past position of the candidate cutting robot and the current position of the connecting robot, determining the connecting robot whose current position is at a distance equal to or less than the distance threshold from the past position of the candidate cutting robot as a candidate connecting robot; determining a target cutting robot and a target connecting robot corresponding to the cutting robot as the target transmitting robot from the candidate cutting robots and the candidate connecting robots, respectively; The task processing method according to claim 1 , comprising:
3. the step of transmitting the task information of the current task of the cutting robot to the cutting robot through the target transmission robot, The task processing method according to claim 2 , comprising the step of sequentially transmitting the task information of the current task of the cutting robot to the cutting robot through the target connecting robot and the target cutting robot.
4. The task processing method according to claim 2 or 3, further comprising the step of transmitting task information of a current task of the target-cutting robot to the target-cutting robot through the target-connecting robot.
5. determining a target receiving robot corresponding to the cutting robot from among the plurality of robots, the target receiving robot being configured to receive a result of execution of a current task transmitted from the cutting robot through the second communication module; receiving the result of the execution of the current task through the target receiving robot, the target receiving robot including the connecting robot; The task processing method of claim 1 , further comprising:
6. The step of receiving the result of the execution of the current task by the target receiving robot comprises: receiving the result of the execution of the current task sent from the target receiving robot if the target receiving robot includes only the connecting robot; if the target receiving robot includes the cutting robot and the connecting robot, the target receiving robot sequentially receives the result of the execution of the current task through the cutting robot and the connecting robot of the target receiving robot; The task processing method according to claim 5 , comprising:
7. 6. The task processing method according to claim 5, wherein the target receiving robot and the target sending robot are completely the same, partially the same, or completely different.
8. The step of determining the target sending robot corresponding to the cutting robot from the plurality of robots includes: The task processing method of claim 1, further comprising: determining the target sending robot corresponding to the cutting robot from at least one connecting robot when the distance between the current position of the at least one connecting robot and the past position of the cutting robot is less than or equal to the distance threshold.
9. The step of determining the target sending robot corresponding to the disconnecting robot from the at least one connecting robot includes: The task processing method according to claim 8, further comprising a step of determining the connecting robot whose current position is the shortest distance from the at least one connecting robot to the past position of the disconnecting robot as the target transmitting robot corresponding to the disconnecting robot.
10. 2. The task processing method of claim 1, wherein a difference between the wireless propagation distance of the second communication module and the wireless propagation distance of the first communication module is greater than a difference threshold under the same power consumption, and the difference and the difference threshold are positive integers.
11. 11. The task processing method of claim 10, wherein a current task is a following task, and the second communication module is further configured to exchange real-time motion parameters, positions, and road condition information between the multiple robots performing the following task.
12. The method of claim 11 , wherein the motion parameters include at least one of a velocity, an acceleration, or a direction.
13. 13. The task processing method according to claim 1, wherein the first communication module is a WIFI module and the second communication module is a long range wireless LORA module.
14. A task processing device for a plurality of robots, the task processing device and the plurality of robots both deployed with a first communication module configured to perform two-way communication between the plurality of robots and the task processing device, the plurality of robots further including a second communication module configured to perform two-way communication between the plurality of robots; an identification module configured to identify at least one robot of the plurality of robots as a disconnected robot when a loss of a heartbeat connection between the at least one robot and the task processing device is detected; an acquisition module configured to acquire a past position of the cutting robot and a current position of a connecting robot of the plurality of robots, the connecting robot being a robot that maintains a heartbeat connection with the task processing device; A determination module configured to determine, for the cutting robot, a target transmission robot corresponding to the cutting robot among the plurality of robots according to the past position of the cutting robot and the current position of the connecting robot, where the target transmission robot includes the connecting robot; and a sending module configured to send task information of a current task of the cutting robot to the cutting robot through the target sending robot; A task processing device including:
15. A task processing method for a plurality of robots including a first communication module and a second communication module, the first communication module being configured to perform two-way communication between the plurality of robots and a first communication module of a task processing device, and the second communication module being configured to perform two-way communication between the plurality of robots, the task processing method being performed by one robot of the plurality of robots; receiving task information of a current task of the cutting robot transmitted from the task processing device through the first communication module, and if a heartbeat connection between the robot and the task processing device has not been lost and the robot is determined as a target sending robot corresponding to the cutting robot, transmitting the task information of the current task of the cutting robot to the cutting robot through the second communication module, wherein the cutting robot is a robot that has lost a heartbeat connection with the task processing device; receiving task information of a current task of the robot transmitted from the target transmission robot corresponding to the robot through the second communication module when a heartbeat connection between the robot and the task processing device is lost, the target transmission robot including a connection robot; receiving task information of a current task of another cutting robot transmitted from another target transmitting robot through the second communication module and transmitting the task information of the current task of the other cutting robot to the other cutting robot when a heartbeat connection between the robot and the task processing device is lost and the robot is determined as a target transmitting robot corresponding to another cutting robot, wherein the other target transmitting robot includes the connecting robot; A method for processing a task.
16. 16. The task processing method of claim 15, wherein the target transmission robot includes at least one robot that is at a distance less than or equal to a distance threshold from a corresponding cutting robot, and when multiple target transmission robots are present, the serial paths formed by the multiple target transmission robots include a serial path in which the distance between any two adjacent target transmission robots is less than or equal to the distance threshold.
17. a first communication module configured to perform bidirectional communication with a first communication module of a task processing device; a second communication module configured to perform two-way communication with a second communication module of another robot; Including, When task information of a current task of the cutting robot transmitted from the task processing device through the first communication module is received, and a heartbeat connection between the robot and the task processing device is not lost and the robot is determined as a target sending robot corresponding to the cutting robot, the task information of the current task of the cutting robot is transmitted to the cutting robot through the second communication module, and the cutting robot is a robot that has lost a heartbeat connection with the task processing device; Task information of a current task of the robot transmitted from a target transmission robot corresponding to the robot is received through the second communication module, and the target transmission robot includes a connection robot when a heartbeat connection between the robot and the task processing device is lost; When a heartbeat connection between the robot and the task processing device is lost and the robot is determined as a target sending robot corresponding to another cutting robot, task information of a current task of the other cutting robot sent from the other target sending robot through the second communication module is received, and the task information of the current task of the other cutting robot is sent to the other cutting robot, and the other target sending robot includes the connecting robot, the robot.
18. 18. The robot of claim 17, wherein the target transmitting robot includes at least one robot that is at a distance less than or equal to a distance threshold from a corresponding cutting robot, and when multiple target transmitting robots are present, a serial path formed by the multiple target transmitting robots includes a serial path in which the distance between any two adjacent target transmitting robots is less than or equal to the distance threshold.
19. Memory, a processor coupled to the memory; 17. An electronic device comprising: a processor configured to execute the task processing method according to any one of claims 1 to 13 and 15 to 16 based on instructions stored in the memory.
20. A task processing system for multiple robots, comprising the task processing device according to claim 14.
21. 21. The task processing system of claim 20, further comprising a target transmission robot configured to receive the task information of a current task of the cutting robot from the task processing device through a first communication module and transmit the task information of the current task to the cutting robot through the second communication module.
22. A computer readable medium having stored thereon computer program instructions which, when executed by a processor, implements the task processing method of any one of claims 1 to 13 and 15 to 16.
23. A computer program comprising instructions which, when executed by a processor, cause the processor to perform the task processing method according to any one of claims 1 to 13 and 15 to 16.
Citation Information
Patent Citations
Robot communication transmission system and method for disaster relief site
CN111491031A
Rescue robot system, rescue method, and rescue robot
JP2010003240A
Travel management system for autonomous mobile type robot
JP2018116359A
