Robot scheduling method and device, computer equipment and readable storage medium
By receiving robot maintenance alarm information, calculating the number difference or quantity comparison, and determining the temporary robot, the problem of low robot scheduling efficiency in the existing technology is solved, and fast and efficient sharing of robot scheduling and inspection work is achieved, and the overall efficiency.
Patent Information
- Application Number
- CN202411028326.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2044-07-30
AI Technical Summary
The prior art is difficult to quickly schedule other robots to replace the damaged robots when multiple robots are damaged, resulting in low scheduling efficiency.
By receiving the robot maintenance alarm information sent by the robot to be repaired, calculate the number difference between the number of robots to be repaired or the comparison result of the number of spare robots to be repaired and the number of robots to be repaired, determine the temporary robot, and schedule the temporary robot to be replaced. Inspection of the maintenance robot until the maintenance robot returns to work.
It realizes fast and efficient scheduling of robots, improves scheduling efficiency, avoids excessive computational pressure of complex algorithms affecting response speed, and shares patrol work when there are too many robots to be inspected, ensuring the optimization of robot costs and calculation pressure.
Smart Images

Figure CN118963350A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a robot scheduling method, apparatus, computer equipment and readable storage medium. Background Art
[0002] With the development of computer technology, robots are being used in more and more fields, such as power grid inspection. When multiple robots are running in an application scenario and they are damaged and need to be repaired, other robots need to be dispatched to take over the work of the damaged robots.
[0003] However, the existing robot dispatching technology makes it difficult to quickly dispatch other robots to take over the work of the damaged robots when multiple robots are damaged, resulting in low efficiency in dispatching robots. Summary of the invention
[0004] Based on this, it is necessary to provide a robot scheduling method, device, computer equipment, computer-readable storage medium and computer program product that can quickly and efficiently schedule robots in response to the above-mentioned technical problems.
[0005] In a first aspect, the present application provides a robot scheduling method, comprising:
[0006] Receiving robot maintenance alarm information sent by the robot to be maintained, where the robot maintenance alarm information includes the number of the robot to be maintained;
[0007] If the number of robots to be repaired is equal to a first preset value, the difference between the numbers of the robots to be repaired is calculated, and based on the difference in numbers, a temporary replacement robot for the robot to be repaired is determined from other robots with adjacent corresponding numbers of the robots to be repaired;
[0008] If the number of robots to be repaired is greater than a first preset value, determining a temporary replacement robot for the robot to be repaired based on a comparison result of the number of standby robots and the number of robots to be repaired;
[0009] Dispatch a temporary replacement robot to take over the inspection work of the robot to be repaired until the robot to be repaired returns to work.
[0010] In one of the embodiments, if the number of robots to be repaired is less than a first preset value, the distance between the robot to be repaired and other robots is calculated, and the other robot closest to the robot to be repaired is used as a temporary substitute robot for the robot to be repaired.
[0011] In one embodiment, based on the number difference, determining a temporary replacement robot for the robot to be repaired from other robots with adjacent numbers corresponding to the robot to be repaired includes:
[0012] If the number difference is greater than a preset fixed value, other robots corresponding to the first preset side of the number of the robot to be repaired are used as temporary replacement robots for the robot to be repaired;
[0013] If the number difference is less than or equal to a preset fixed value, the other robots corresponding to the second preset side of the robot to be repaired will be used as temporary replacement robots for the robot to be repaired; the first preset side and the second preset side are opposite sides to each other.
[0014] In one embodiment, based on the comparison result of the number of spare robots and the number of robots to be repaired, determining a temporary replacement robot for the robot to be repaired includes:
[0015] If the number of spare robots is greater than or equal to the number of robots to be repaired, the spare robots will be used as temporary replacement robots for the robots to be repaired;
[0016] If the number of spare robots is less than the number of robots to be repaired, the spare robots will be used as temporary substitute robots for the same number of robots to be repaired; if the number of remaining robots to be repaired is an even number, the number difference between the robot numbers to be repaired corresponding to each pair of robots to be repaired will be calculated, and based on the number difference, the temporary substitute robot for the robot to be repaired will be determined from other robots with adjacent corresponding numbers of the robot to be repaired.
[0017] In one of the embodiments, when the control robot is performing inspection work, if it recognizes a road construction sign, it will detour based on the route prompt information recognized from the road construction sign until it detoured to the section of the original planned route corresponding to the inspection work, and continue to perform the inspection work based on the original planned route.
[0018] In one of the embodiments, when the robot is controlled to perform inspection work, if an obstacle is identified, the running speed, running trajectory and height of the obstacle are identified; if the running speed of the obstacle represents static, the running trajectory of the obstacle intersects with the original planned route, and the height of the obstacle is greater than or equal to a preset multiple of the diameter of the robot's moving wheels, the robot will bypass the obstacle based on the contour of the obstacle until it reaches the section of the original planned route, and continue to perform the inspection work based on the original planned route.
[0019] In one of the embodiments, when the control robot recognizes that the running speed of the obstacle represents the dynamics, and the running trajectory of the obstacle intersects with the original planned route, the first time corresponding to the movement of the robot to the intersection is calculated; the second time corresponding to the movement of the obstacle to the intersection is calculated; based on the time difference between the first time and the second time, and the comparison result with the preset time difference, the running route of the robot is adjusted.
[0020] In a second aspect, the present application also provides a robot scheduling device, comprising:
[0021] A receiving module, used for receiving robot maintenance alarm information sent by the robot to be maintained, where the robot maintenance alarm information includes the number of the robot to be maintained;
[0022] A first determination module is used to calculate the number difference between the numbers of the robots to be repaired if the number of the robots to be repaired is equal to a first preset value, and determine a temporary replacement robot for the robot to be repaired from other robots with adjacent corresponding numbers of the robots to be repaired based on the number difference;
[0023] A second determination module is used to determine a temporary replacement robot for the robot to be repaired based on a comparison between the number of spare robots and the number of robots to be repaired if the number of robots to be repaired is greater than a first preset value;
[0024] The scheduling module is used to schedule a temporary replacement robot to take over the inspection work of the robot to be repaired until the robot to be repaired returns to work.
[0025] In a third 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 is implemented when executing the computer program.
[0026] In a fourth aspect, the present application also provides a computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor.
[0027] In a fifth aspect, the present application also provides a computer program product, including a computer program, which is implemented when executed by a processor.
[0028] The robot scheduling method, device, computer equipment, computer-readable storage medium and computer program product receive robot maintenance alarm information sent by the robot to be repaired, wherein the robot maintenance alarm information includes the number of the robot to be repaired; if the number of robots to be repaired is equal to a first preset value, the number difference between the numbers of the robots to be repaired is calculated, and based on the number difference, a temporary robot for the robot to be repaired is determined from other robots with adjacent corresponding numbers of the robots to be repaired; if the number of robots to be repaired is greater than the first preset value, a temporary robot for the robot to be repaired is determined based on a comparison result between the number of spare robots and the number of robots to be repaired; and the temporary robot is dispatched to take over the inspection work of the robot to be repaired until the robot to be repaired returns to work. Therefore, while ensuring the cost of the robot, different methods are used to determine the temporary replacement robot for the robot to be repaired. The temporary replacement robot is determined nearby by the number difference, which is beneficial to avoid the situation where the robot's response speed is affected by excessive calculation pressure of complex algorithms, and the backup robot is enabled after a certain number of robots to be repaired is reached. It also avoids the situation where too many robots to be repaired cause excessive calculation pressure, and is beneficial to sharing the inspection work of the robot to be repaired with other robots. Different methods can better improve the efficiency of determining the temporary replacement robot for the robot to be repaired, so that the temporary replacement robot can be quickly dispatched to take over the inspection work of the robot to be repaired until the robot to be repaired returns to work, thereby realizing the automatic dispatch of the robot and improving the efficiency of dispatching the robot. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] 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.
[0030] FIG1 is a diagram of an application environment of a robot scheduling method according to an embodiment;
[0031] Figure 2 A schematic diagram of a flow chart of a robot scheduling method in one embodiment;
[0032] Figure 3 A schematic diagram of a robot inspection in one embodiment;
[0033] Figure 4 A schematic diagram of a process of obstacle identification in one embodiment;
[0034] Figure 5 is a structural block diagram of a robot scheduling device in one embodiment;
[0035] FIG6 is a diagram showing the internal structure of a computer device in one embodiment;
[0036] FIG. 7 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0037] 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.
[0038] The robot scheduling method provided in the embodiment of the present application can be applied in the application environment shown in Figure 1. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The head-mounted device can be a virtual reality (VR) device, an augmented reality (AR) device, smart glasses, etc. The server 104 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services.
[0039] In an exemplary embodiment, Figure 2 As shown, a robot scheduling method is provided, which is described by taking the method applied to the server in FIG. 1 as an example, and includes the following steps 200 to 206. Among them:
[0040] Step S200, receiving robot maintenance alarm information sent by the robot to be maintained, where the robot maintenance alarm information includes the number of the robot to be maintained.
[0041] Among them, robots to be repaired refer to robots that need to be repaired, and robots include but are not limited to operation and maintenance inspection robots.
[0042] Exemplarily, each robot can be controlled to perform inspection work on specified sections of road. If a robot itself fails during the inspection and needs maintenance, the robot that needs maintenance will be used as a robot to be repaired. The robot to be repaired can send robot maintenance alarm information including the number of the robot to be repaired to the server of the operation and maintenance inspection system. The server can receive the robot maintenance alarm information and perform subsequent steps of dispatching the robot based on the robot maintenance alarm information. In addition, the server can receive the operating status of each robot in real time and monitor the operating status of each robot. If the server monitors that the operating status of a robot is abnormal, it can also automatically generate a corresponding robot maintenance alarm information.
[0043] Step S202: If the number of robots to be repaired is equal to a first preset value, the number difference between the numbers of the robots to be repaired is calculated, and based on the number difference, a temporary replacement robot for the robot to be repaired is determined from other robots with adjacent corresponding numbers of the robot to be repaired.
[0044] The first preset value refers to the threshold used to define the robot to be repaired and determine the replacement robot by different scheduling methods. Other robots refer to robots that do not have faults and do not need to be repaired. The temporary replacement robot refers to the robot that takes over the inspection work of the robot to be repaired during the maintenance phase.
[0045] Exemplarily, the replacement robot for each robot to be repaired can be determined based on the number of the robot to be repaired. The server can calculate the total number of robots to be repaired. When the total number is equal to the first preset value, two different robots to be repaired are divided into a group to be repaired, wherein, if the first preset value is an even number, the number of groups to be repaired may be one or more groups; for each group to be repaired, the difference between the numbers of the robots to be repaired of the two robots to be repaired in the group to be repaired is calculated, and based on the number difference corresponding to each group to be repaired, the temporary replacement robot for each robot to be repaired is determined from other robots with adjacent numbers to each robot to be repaired in each group to be repaired. It should be noted that there is no limitation on the way to divide the robots to be repaired into groups, which can be, but is not limited to, random grouping.
[0046] In one embodiment, in the group to be repaired corresponding to a number difference greater than 2, the other robots whose numbers are most adjacent to each other on the inner side of the two robots to be repaired can be used as the corresponding temporary replacement robots; in the group to be repaired corresponding to a number difference less than or equal to 2, the other robots whose numbers are most adjacent to each other on the outer side of the two robots to be repaired can be used as the corresponding temporary replacement robots.
[0047] For example, the robots to be repaired in a maintenance group are A1 and A4, and the number difference corresponding to the maintenance group is 4-1=3, 3 is greater than 2, so the temporary robot can be determined from other robots adjacent to A1 and A4, and other robots adjacent to A1 and A4 are A2 and A3, A2 is the closest robot to A1, so A2 is the temporary robot of A1, A3 is the closest robot to A4, so A3 is the temporary robot of A4.
[0048] For another example, if the robots to be repaired in a maintenance group are A2 and A3, the number difference corresponding to the maintenance group is 3-2=1, and 1 is less than 2. Therefore, the temporary replacement robot can be determined from the other robots closest to A2 and A3 on the outside. The other robots closest to A2 and A3 on the outside are A1 and A4, so A1 is the temporary replacement robot closest to A2 on the outside, and A4 is the temporary replacement robot closest to A3 on the outside.
[0049] Step S204: If the number of robots to be repaired is greater than a first preset value, a temporary replacement robot for the robot to be repaired is determined based on a comparison result between the number of standby robots and the number of robots to be repaired.
[0050] Exemplarily, in order to save costs and further speed up the scheduling of robots, when the number of robots to be repaired is greater than a first preset value, a spare robot can be started as a temporary substitute robot for some or all of the robots to be repaired. As to whether the spare robot is used as a temporary substitute robot for all robots to be repaired or as a temporary substitute robot for some of the robots to be repaired, it needs to be determined based on the comparison result of the number of spare robots and the number of robots to be repaired. If the number of spare robots is greater than or equal to the number of robots to be repaired, a temporary substitute robot for each robot to be repaired can be randomly selected from the spare robots; if the number of spare robots is less than the number of robots to be repaired, the spare robots can be used as temporary substitute robots for some of the robots to be repaired, and the remaining robots to be repaired can be selected from other running robots, and the other selected robots can be used as temporary substitute robots for the robots to be repaired.
[0051] Step S206, dispatching a temporary replacement robot to take over the inspection work of the robot to be repaired until the robot to be repaired returns to work.
[0052] Among them, the inspection work may be power grid operation and maintenance inspection work.
[0053] For example, during the period when the robot to be repaired suspends the corresponding inspection work, a substitute robot can be dispatched to replace the inspection work of the robot to be repaired. If the substitute robot is not a backup robot, the substitute robot needs to handle its own inspection work and the inspection work of the robot to be repaired until the robot to be repaired is repaired and returns to work. The robot to be repaired after returning to work can be used as the returning robot; after the returning robot returns to work, the substitute robot can be controlled to wirelessly transmit the updated inspection work information of the returning robot's corresponding inspection work to the returning robot, so that the returning robot can continue the unfinished inspection work according to the updated inspection work information, and the substitute robot will also delete the inspection work information related to the returning robot. The inspection work information includes but is not limited to the robot's important information log and the regional information of the inspection planning route; the important information log includes abnormal information, maintenance plan, etc., and the important information log is automatically updated after each item is completed.
[0054] The above-mentioned robot scheduling method receives robot maintenance alarm information sent by the robot to be repaired, and the robot maintenance alarm information includes the number of the robot to be repaired; if the number of robots to be repaired is equal to a first preset value, the number difference between the numbers of the robots to be repaired is calculated, and based on the number difference, a temporary robot for the robot to be repaired is determined from other robots with adjacent corresponding numbers of the robots to be repaired; if the number of robots to be repaired is greater than the first preset value, the temporary robot for the robot to be repaired is determined based on the comparison result of the number of spare robots and the number of robots to be repaired; the temporary robot is scheduled to take over the inspection work of the robot to be repaired until the robot to be repaired returns to work, thereby ensuring the cost of the robot. In this case, different methods are used to determine the temporary replacement robot for the robot to be repaired. The temporary replacement robot is determined nearby by the difference in number, which is beneficial to avoid the situation where the robot's response speed is affected by excessive calculation pressure of complex algorithms, and the backup robot is enabled after a certain number of robots to be repaired are reached. This also avoids the situation where too many robots to be repaired cause excessive calculation pressure, and is beneficial to sharing the inspection work of the robot to be repaired with other robots. Different methods can improve the efficiency of determining the temporary replacement robot for the robot to be repaired, so that the temporary replacement robot can be quickly dispatched to take over the inspection work of the robot to be repaired until the robot to be repaired returns to work, thereby realizing the automatic dispatch of the robot and improving the efficiency of dispatching the robot.
[0055] In some embodiments, if the number of robots to be repaired is less than a first preset value, the distance between the robot to be repaired and other robots is calculated, and the other robot closest to the robot to be repaired is used as a temporary substitute robot for the robot to be repaired.
[0056] Exemplarily, to reduce the computing power for calculating distances and improve the efficiency of determining the substitute robot, when the number of robots to be repaired is less than the first preset value, the distances between the robots to be repaired and each other robot can be calculated, and the other robot with the closest distance can be used as the substitute robot for the robot to be repaired.
[0057] In one embodiment, to further improve the efficiency of determining the substitute robot, when the number of robots to be repaired is less than the first preset value, the distances between the two other robots with the closest numbers to the robot to be repaired and the robot to be repaired can be calculated respectively, and the other robot with the closest distance can be used as the substitute robot for the robot to be repaired; among them, the distances between the two other robots with the closest numbers to the robot to be repaired and the robot to be repaired can be used as d1 and d2, and the closest distance can be determined based on the min(d1, d2) function.
[0058] For example, the first preset value is 2, the number of robots to be repaired is 1, the robot to be repaired is A1, and the other robots with the closest numbers to the robot to be repaired are A0 and A2. Calculate the distance d1 between A1 and A0, calculate the distance d2 between A1 and A2. If d1 < d2, then A0 is used as the substitute robot for A1, otherwise, A2 is used as the substitute robot for A1.
[0059] In one embodiment, if the robot with the closest number to the robot to be repaired is also a robot to be repaired, a spare robot can be started as the substitute robot for the robot to be repaired. For the two robots to be repaired with the closest numbers to the robot to be repaired, the other robot with the closest number can be used as the substitute robot. For example, if A1, A2, and A3 are all robots to be repaired, then A0 is used as the substitute robot for A1, A4 is used as the substitute robot for A3, and one of the spare robots is used as the substitute robot for A2, thereby reducing the computing power for determining the substitute robot in such cases and improving the efficiency of determining the substitute robot.
[0060] In the above embodiments, by calculating the distances between the robots to be repaired and other robots when the number of robots to be repaired is less than the first preset value, and using the other robot with the closest distance as the substitute robot for the robot to be repaired, when there are few robots to be repaired and the corresponding workload of the substitute robot for patrol inspection is small, the substitute robot is determined according to the distance between the robot to be repaired and other robots, realizing the automatic confirmation of the substitute robot, which is beneficial to improving the efficiency of scheduling robots to a certain extent.
[0061] In some embodiments, based on the number difference, determining the substitute robot for the robot to be repaired from the other robots corresponding to the adjacent numbers of the robot to be repaired includes:
[0062] Step S300: If the number difference is greater than a preset fixed value, other robots that are adjacent to the first preset side of the number of the robot to be repaired are used as temporary replacement robots for the robot to be repaired.
[0063] Step S302, if the number difference is less than or equal to a preset fixed value, then use other robots adjacent to the second preset side of the robot to be repaired as temporary replacement robots for the robot to be repaired; the first preset side and the second preset side are opposite sides to each other.
[0064] The preset fixed value refers to the setting of which side of the two adjacent sides of the robot number to be repaired is used to determine the value of the temporary replacement robot, and the preset fixed value can be 2. The first preset side adjacent refers to the inner sides of the two robot numbers to be repaired corresponding to the calculated number difference being the most adjacent, such as the inner sides of the numbers between the robot number A1 to be repaired and the robot number A4 to be repaired being the most adjacent respectively A2 and A3. The second preset side adjacent refers to the outer sides of the two robot numbers to be repaired corresponding to the calculated number difference being the most adjacent, such as the outer sides of the numbers between the robot number A2 to be repaired and the robot number A3 to be repaired being the most adjacent respectively A1 and A4.
[0065] Exemplarily, if the number of robots to be repaired is equal to a first preset value, and the first preset value is an even number, the robots to be repaired are divided into repair groups, each repair group includes two robots to be repaired, and the robots to be repaired in each repair group are different, and the number difference between the robot numbers to be repaired corresponding to the two robots to be repaired in each repair group is calculated; for each repair group, if the number difference is greater than 2, the other robots that are most adjacent to the robot numbers to be repaired of the two robots to be repaired in the repair group are used as corresponding temporary robots; if the number difference is less than or equal to 2, the other robots that are most adjacent to the robot numbers to be repaired of the two robots to be repaired in the repair group are used as corresponding temporary robots.
[0066] For example, if the robots to be repaired in a certain maintenance group are A1 and A4, then the number difference corresponding to the maintenance group is 4-1=3, and the number difference 3 is greater than the preset fixed value 2. The other robot closest to A1 on the inner side of numbers 1~4 is A2, and the other robot closest to A4 on the inner side of numbers 1~4 is A3. Therefore, A2 can be used as a temporary substitute robot for A1, and A3 can be used as a temporary substitute robot for A4. For another example, if the robots to be repaired in a certain maintenance group are A2 and A3, then the number difference corresponding to the maintenance group is 3-2=1, and 1 is less than 2. The other robot closest to A2 on the outer side of numbers 2~3 is A1, and the other robot closest to A3 on the outer side of numbers 2~3 is A4. Therefore, A1 can be used as a temporary substitute robot for A2, and A4 can be used as a temporary substitute robot for A3.
[0067] In one embodiment, if the first preset value is an odd number, one of the robots to be repaired can be selected as the selected robot to be repaired, and the unselected robots to be repaired can be divided into groups of two robots to be repaired; for the selected robot to be repaired, the distances between the selected robot to be repaired and the two other robots with the closest robot numbers to be repaired of the selected robot to be repaired can be calculated, and the other robot with the shortest distance can be used as the temporary replacement robot for the selected robot to be repaired; for each group of robots to be repaired, the number difference between the robot numbers of the two robots to be repaired in each group of robots to be repaired can be calculated, and based on the number difference, the temporary replacement robot of the robot to be repaired can be determined from the other robots corresponding to the adjacent robot numbers of the two robots to be repaired in the group of robots to be repaired.
[0068] For example, if the robots to be repaired are A2, A5, and A8, A8 can be selected as the robot to be repaired, and A2 and A5 form a group of robots to be repaired; the other robots closest to A8 are A7 and A9. The distances d1 and d2 between A8 and A7 and A9 are calculated respectively. If d1 < d2, then A7 is used as the temporary replacement robot for A8. If d2 ≤ d1, then A9 is used as the temporary replacement robot for A8; the number difference between A2 and A5 in the group of robots to be repaired is 5 - 2 = 3. The number difference 3 is greater than the preset fixed value 2. The other robot closest to A2 within the numbers 2 to 5 is A3, and the other robot closest to A5 within the numbers 2 to 5 is A4. Therefore, A3 can be used as the temporary replacement robot for A2, and A4 can be used as the temporary replacement robot for A5.
[0069] In the above embodiment, based on the comparison relationship between the number difference and the preset fixed value, it is determined whether to determine the temporary replacement robot from the other robots corresponding to the first preset side adjacent or the second preset side adjacent to the two robot numbers corresponding to the number difference. This helps to avoid the situation where the determination efficiency of the temporary replacement robot is low due to problems such as high calculation pressure when calculating the distances between all robots to be repaired and other robots as the basis for determining the temporary replacement robot, thereby better improving the determination efficiency of the temporary replacement robot and further improving the efficiency of scheduling robots.
[0070] In some embodiments, based on the comparison result of the number of spare robots and the number of robots to be repaired, the temporary replacement robot of the robot to be repaired is determined, including:
[0071] Step S400, if the number of spare robots is greater than or equal to the number of robots to be repaired, then the spare robots are used as the temporary replacement robots of the robots to be repaired.
[0072] Step S402: If the number of spare robots is less than the number of robots to be repaired, the spare robots will be used as temporary substitute robots for the same number of robots to be repaired. If the number of remaining robots to be repaired is an even number, the number difference between the robot numbers to be repaired corresponding to each pair of robots to be repaired will be calculated, and based on the number difference, the temporary substitute robot for the robot to be repaired will be determined from other robots with adjacent corresponding numbers of the robot to be repaired.
[0073] Exemplarily, in order to ensure that the cost is within expectations and to further improve the efficiency of determining the temporary substitute robot, when the number of robots to be repaired is greater than a first preset value and the number of spare robots is greater than or equal to the number of robots to be repaired, the spare robots can be used as temporary substitute robots for the robots to be repaired. At this time, a spare robot serves as a temporary substitute robot for a robot to be repaired, that is, a spare robot only takes over the inspection work of a robot to be repaired.
[0074] In addition, when the number of robots to be repaired is greater than a first preset value and the number of spare robots is less than the number of robots to be repaired, the spare robots can be used as temporary substitute robots for the same number of robots to be repaired as the spare robots, that is, the spare robots are assigned one by one as temporary substitute robots for some of the robots to be repaired, taking over the inspection work of an assigned robot to be repaired; for the remaining robots to be repaired, if the number of the remaining robots to be repaired is an even number, the remaining robots to be repaired are divided into one or more groups to be repaired including two robots to be repaired, and for each group to be repaired, the difference in numbers between the robot numbers to be repaired of the two robots to be repaired in the group to be repaired is calculated, and based on the difference in numbers, the temporary substitute robot of the robot to be repaired is determined from other robots with adjacent numbers of the two robots to be repaired in the group to be repaired.
[0075] Furthermore, if the number of remaining robots to be repaired is an odd number, one robot to be repaired is selected from the remaining robots to be repaired as the selected robot to be repaired, and the unselected robots to be repaired are divided into a repair group including two robots to be repaired; for the selected robot to be repaired, the distance between the selected robot to be repaired and the two other robots with the most adjacent robot numbers to be repaired of the selected robot to be repaired can be calculated, and the other robots with the closest distance can be used as temporary substitute robots for the selected robot to be repaired; for each group of repair groups, based on the difference in numbers between the robot numbers to be repaired of the two robots to be repaired in each group to be repaired, based on the difference in numbers, the temporary substitute robot for the robot to be repaired is determined from other robots with adjacent corresponding robot numbers to be repaired of the two robots to be repaired in the repair group.
[0076] For example, if there are 2 spare robots (a1 and a2) and 5 robots to be repaired (A1, A3, A4, A5, A8), then a1 can be used as the temporary replacement robot for A4, and a2 can be used as the temporary replacement robot for A1. For the remaining 3 robots to be repaired, namely A3, A5, and A8, A8 can be selected as the robot to be repaired, and A3 and A5 can form a group to be repaired. Calculate the distances d1 and d2 between A8 and its adjacent robots A7 and A9. If d1 < d2, then A7 is used as the temporary replacement robot for A8; otherwise, A9 is used as the temporary replacement robot for A8. The difference in numbers between A3 and A5 is 5 - 3 = 2, and this difference of 2 is equal to the preset fixed value of 2. The robot closest to A3 outside the range of numbers 3 - 5 is A2, and the robot closest to A5 outside the range of numbers 3 - 5 is A4. Therefore, A2 can be used as the temporary replacement robot for A3, and A4 can be used as the temporary replacement robot for A5.
[0077] In one embodiment, regardless of whether the number of spare robots is greater than or equal to the number of robots to be repaired, the inspection work of all robots to be repaired can also be divided and the divided work can be assigned to different spare robots. Thus, only the inspection work of the robots to be repaired is assigned to the spare robots to take over, without distributing the inspection work of the robots to be repaired to other robots, reducing the execution pressure on other robots. That is, the same spare robot may be the temporary replacement robot for different robots to be inspected, and the spare robot only takes over part of the inspection work of different robots to be repaired.
[0078] In the above embodiment, based on the comparison relationship between the number of spare robots and the number of robots to be repaired, it is determined whether all the temporary replacement robots of the robots to be repaired are spare robots, or whether the temporary replacement robots of some robots to be repaired are some spare robots. If the temporary replacement robots of some robots to be repaired are spare robots, then the temporary replacement robots of some robots to be repaired are determined from other robots. This is beneficial to reducing the computing power for determining the temporary replacement robots from other robots while ensuring that the cost is within the expected range, improving the scheduling efficiency of the robots, and subsequently the inspection work of the robots to be repaired can be distributed to the spare robots for execution, reducing the execution pressure on other robots.
[0079] In some embodiments, the robot scheduling method further includes:
[0080] When controlling the robot to perform inspection work, if a road construction sign is recognized, it detours based on the route prompt information recognized from the road construction sign until it detours to the section of the original planned route corresponding to the inspection work, and then continues to perform the inspection work based on the original planned route.
[0081] Among them, the route prompt information refers to the detour prompt information stated in the road construction sign. The original planned route refers to the original route set for the robot to perform inspection work.
[0082] For example, the server can control the robot (including the temporary robot) to detour based on the route prompt information identified from the road repair sign when performing inspection work, until it detours to the original planned route corresponding to the inspection work again, and then performs the inspection work based on the original planned route; for example, Figure 3 As shown in the "Road Repair Sign" situation, Figure 3 When A5 encounters a road repair sign while inspecting the B5 route area, it can return to the original planned route B5 area according to the route prompt information on the road repair sign: "Turn right y1 degrees and go straight for L1 meters, then turn left y2 and go straight for L2 meters" to continue the inspection. It should be noted that if the road repair sign is recognized, the robot does not need to change the original driving speed.
[0083] In the above embodiment, when the robot is controlled to recognize a road construction sign, it detours based on the route prompt information recognized from the road construction sign until it detours to the original planned route, and then continues to perform inspection work based on the original planned route. This allows the robot to automatically recognize road construction signs during operation and maintenance inspections along the planned route, and detour based on the prompts on the road construction signs. There is no need to implement obstacle avoidance operations based on complex algorithms, which reduces computing pressure, increases response speed, and improves the robot's inspection efficiency.
[0084] In some embodiments, the robot scheduling method further includes:
[0085] When the robot is controlled to perform inspection work, if an obstacle is identified, the running speed, running trajectory and height of the obstacle are identified; if the running speed of the obstacle represents static, the running trajectory of the obstacle intersects with the original planned route, and the height of the obstacle is greater than or equal to a preset multiple of the diameter of the robot's moving wheels, the robot will bypass the obstacle based on its contour until it reaches the section of the original planned route, and continue to perform inspection work based on the original planned route.
[0086] Exemplarily, the robot can be controlled to identify the running speed, running trajectory and height of the obstacle when performing inspection work, and judge the running state of the obstacle according to the running speed of the obstacle. If the running speed of the obstacle is 0, the obstacle is static, and if the running speed of the obstacle is not 0, the obstacle is dynamic; the preset multiple can be one tenth. If the obstacle is static and the height of the obstacle is less than one tenth of the diameter of the robot's moving wheels, then regardless of whether the running trajectory of the obstacle and the original planned route have any intersection, the inspection work will continue to be performed based on the original planned route; if the obstacle is static, the height of the obstacle is greater than or equal to one tenth of the diameter of the robot's moving wheels, and the running trajectory of the obstacle has an intersection with the original planned route of the robot, the robot will be controlled to bypass according to the outline of the obstacle until it bypasses to the front section of the original planned route, so that the robot continues to move forward according to the original planned route to perform inspection work.
[0087] In the above embodiment, when the robot is controlled to identify an obstacle during inspection, if the obstacle is identified as static and the height of the obstacle is less than a preset multiple of the diameter of the robot's moving wheels, the robot is controlled to continue to perform inspection work based on the original planned route, thereby enabling the robot to analyze the obstacle situation without changing the original planned path, thereby improving the efficiency of the robot's inspection.
[0088] In some embodiments, the robot scheduling method further includes:
[0089] When the control robot recognizes the dynamics of the running speed representation of the obstacle and the running trajectory of the obstacle intersects with the original planned route, the first time corresponding to the movement of the robot to the intersection is calculated; the second time corresponding to the movement of the obstacle to the intersection is calculated; based on the time difference between the first time and the second time, and the comparison result with the preset time difference, the running route of the robot is adjusted.
[0090] The first time refers to the time when the robot moves to the intersection of the original planned route corresponding to the robot and the motion trajectory of the obstacle. The second time refers to the time when the obstacle moves to the intersection of the original planned route corresponding to the robot and the motion trajectory of the obstacle. The preset time difference refers to the time difference used to measure the time difference when the robot and the obstacle run to the intersection of the route without collision.
[0091] Exemplarily, the server can control the robot. If it recognizes that the obstacle is dynamic and the obstacle's running trajectory intersects with the original planned route, it can further determine the time it takes for the robot and the obstacle to reach the intersection of the routes. It can calculate the first time corresponding to the robot's movement to the intersection point, and calculate the second time corresponding to the obstacle's movement to the intersection point. If the time difference between the first time and the second time is greater than the preset time difference, it means that the time difference between the robot and the obstacle arriving at the intersection point of the routes is relatively large, and the probability of a collision is small. The robot can continue to move forward and perform inspections based on the original planned route.
[0092] Furthermore, if the time difference between the first time and the second time is less than or equal to the preset time difference, it means that the robot is likely to collide with the obstacle. The robot can be controlled to decelerate so that the time difference between the time when the decelerated robot reaches the route intersection point and the time when the obstacle reaches the route intersection point is greater than the preset time difference. After the robot passes the route intersection point at the decelerated speed, it performs inspection work based on the original planned route according to the original running speed.
[0093] In addition, if the obstacle is dynamic and the obstacle's running track does not intersect with the robot's original planned route, the robot is controlled to move forward directly based on the original planned route for inspection. This can better avoid the collision between the dynamic obstacle and the robot, and realize the automatic change of the path and speed of the robot when encountering an obstacle.
[0094] In the above embodiment, by controlling the robot to identify a dynamic obstacle and when the obstacle's running trajectory intersects with the robot's original planned route, the robot's running speed is automatically controlled to change according to the time difference between the robot and the obstacle reaching the intersection point, so as to avoid a collision between the robot and the obstacle, thereby realizing automatic avoidance of dynamic obstacles by the robot and improving the robot's inspection efficiency.
[0095] In some embodiments, the robot can independently identify information about road construction signs and obstacles, and can independently process route prompt information identified by road construction signs and related information about obstacles, and independently determine whether to change the route or speed. The robot can feed back the processed data information to the server and communicate with the service in real time.
[0096] In some embodiments, a robot is used to perform power grid operation and maintenance inspection as an example for description, and the operation and maintenance inspection robot that needs to be inspected is used as the robot to be inspected, and the server of the power grid operation and maintenance system is used as the server of the execution subject of this application. Figure 3 and Figure 4When the operation and maintenance inspection robot needs to inspect during the inspection process, how to dispatch the robot to take over its own inspection work. When the operation and maintenance inspection robot fails during the inspection process, the robot maintenance alarm information containing the number of the robot to be inspected can be sent to the server. The server receives the robot maintenance alarm information sent by the robot to be inspected and calculates the number of robots to be inspected; if the number of robots to be inspected is equal to 1, the distance between the robot to be inspected and two other robots with adjacent numbers to the robot to be inspected is calculated, and the other robot with the closest distance is used as a temporary replacement robot for the robot to be inspected.
[0097] If the number of robots to be repaired is equal to 2 (i.e., the first preset value), the number difference between the two robots to be repaired is calculated. If the number difference is greater than 2 (i.e., the preset fixed value), the other robots that are most adjacent to the robot numbers of the two robots to be repaired inside are used as the corresponding temporary replacement robots; if the number difference is less than 2, the other robots that are most adjacent to the robot numbers of the two robots to be repaired outside are used as the corresponding temporary replacement robots.
[0098] If the number of robots to be repaired is greater than 2, then when the number of spare robots is greater than or equal to the number of robots to be repaired, each spare robot will be used as a temporary substitute robot for each robot to be repaired; when the number of spare robots is less than the number of robots to be repaired, all spare robots will be first assigned as temporary substitute robots for some of the robots to be repaired; if the number of remaining robots to be repaired is an even number, the robots to be repaired will be divided into repair groups, each repair group including two robots to be repaired, and the robots to be repaired in each repair group are different, and the number difference between the robot numbers to be repaired corresponding to the two robots to be repaired in each repair group is calculated; for each repair group, if the number difference is greater than 2, the other robots that are most adjacent to the inner side of the robot numbers to be repaired of the two robots to be repaired in the repair group will be used as the corresponding temporary substitute robots; if the number difference is less than or equal to 2, the other robots that are most adjacent to the outer side of the robot numbers to be repaired of the two robots to be repaired in the repair group will be used as the corresponding temporary substitute robots.
[0099] If the remaining robots to be repaired are an odd number, one robot to be repaired can be selected from the robots to be repaired as the selected robot to be repaired, and the robots to be repaired that are not selected can be divided into a repair group including two robots to be repaired; for the selected robot to be repaired, the distance between the selected robot to be repaired and the two other robots whose robot numbers are most adjacent to the selected robot to be repaired can be calculated, and the other robots with the closest distance can be used as temporary substitute robots for the selected robot to be repaired; for each group to be repaired, the difference in numbers between the robot numbers to be repaired of the two robots to be repaired in each group to be repaired is calculated; if the difference in numbers is greater than 2, the other robots that are most adjacent to the inner side of the robot numbers to be repaired of the two robots to be repaired in the group to be repaired are used as the corresponding temporary substitute robots; if the difference in numbers is less than or equal to 2, the other robots that are most adjacent to the outer side of the robot numbers to be repaired of the two robots to be repaired in the group to be repaired are used as the corresponding temporary substitute robots.
[0100] Then, a temporary robot is dispatched to take over the inspection work of the robot to be repaired, wherein the temporary robot takes over the inspection work of the robot to be repaired including: the robot to be repaired will wirelessly transmit the inspection work information including the inspection planning route (i.e. the original planned route of the robot) to the temporary robot, so that the temporary robot can temporarily handle the inspection work of the robot to be repaired based on the inspection work information of the robot to be repaired, and generate updated inspection work information, and the temporary robot also needs to handle its own inspection work; the robot to be repaired that is returning to work can be used as a returning robot. If the server receives a returning signal sent by the returning robot, it can notify the temporary robot corresponding to the returning robot, and wirelessly transmit the corresponding updated inspection work information of the returning robot to the returning robot, and the temporary robot itself deletes the inspection work information related to the returning robot, so that the returning robot can continue to handle the remaining inspection work based on the updated inspection work information.
[0101] During the inspection process, if the robot recognizes a road repair sign, it can take a detour based on the route prompt information recognized from the road repair sign (such as Figure 3 The vehicle will then detour to the original planned route and continue to conduct inspections based on the original planned route. Figure 3 AX represents the robot, and BX represents the robot's inspection route. In addition, if the robot encounters an obstacle (such as Figure 3 "Obstacle encountered"), can be combined with Figure 4The robot can identify the speed, trajectory and height of the obstacle if the obstacle's speed is 0 (i.e. static), the obstacle's trajectory intersects with the robot's original planned route, and the obstacle's height is greater than or equal to 0.1 times the robot's moving wheel diameter (i.e. Figure 4 If the obstacle height is less than 0.1h), the robot is controlled to bypass the obstacle based on its outline until it reaches the original planned route. If the obstacle's running speed is 0 and the obstacle's running trajectory does not intersect the robot's original planned route, the robot directly maintains the original planned route and speed to carry out inspections.
[0102] If the speed of the obstacle is not equal to 0, and the obstacle's running track does not intersect with the robot's original planned route, the robot will directly maintain the original planned route and speed to carry out inspection work. If the speed of the obstacle is not equal to 0, and the obstacle's running track intersects with the robot's original planned route, the first time the robot reaches the intersection of the route and the second time the obstacle reaches the intersection of the route are calculated. If the time difference between the first time and the second time is greater than the preset time difference (such as Figure 4 If |t1-t2|>20s), it means that the robot is unlikely to collide with obstacles, and the robot can directly maintain the original planned route and speed to carry out inspection work.
[0103] If the time difference between the first time and the second time is less than or equal to the preset time difference, the robot is controlled to decelerate so that the time difference between the time when the robot reaches the intersection of the route after deceleration and the time when the obstacle reaches the intersection of the route is greater than the preset time difference, so that the robot can avoid collision with the obstacle without changing the running path of the robot, and the robot can wait until the robot decelerates and passes the intersection of the route, and then resume the original running speed to carry out inspection work. Therefore, under the condition of ensuring the cost of the robot, different methods are adopted to determine the temporary robot of the robot to be repaired, and different methods can better improve the efficiency of the robot to be repaired in determining the temporary robot, and dispatch the temporary robot to take over the inspection work of the robot to be repaired until the robot to be repaired returns to work, realizing the automatic dispatch of the robot and improving the efficiency of dispatching the robot; in addition, when the robot is inspecting, according to different situations, the robot is analyzed for the road repair signs and obstacles encountered by the robot, the running path of the robot is optimized and the running speed of the robot is appropriately changed, and the optimization of the path and the change of the running speed also avoid the recalculation of complex algorithms, which is conducive to better reducing the calculation pressure and complexity and speeding up the response speed of the robot.
[0104] 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.
[0105] Based on the same inventive concept, the embodiment of the present application also provides a robot scheduling device for implementing the robot scheduling 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 scheduling device embodiments provided below can refer to the limitations of the robot scheduling method above, and will not be repeated here.
[0106] In an exemplary embodiment, Figure 5 As shown, a robot scheduling device is provided, including: a receiving module 500, a first determining module 502, a second determining module 504 and a scheduling module 506, wherein:
[0107] The receiving module 500 is used to receive robot maintenance alarm information sent by the robot to be maintained, and the robot maintenance alarm information includes the number of the robot to be maintained.
[0108] The first determination module 502 is used to calculate the number difference between the numbers of the robots to be repaired if the number of the robots to be repaired is equal to a first preset value, and based on the number difference, determine a temporary replacement robot for the robot to be repaired from other robots with adjacent corresponding numbers of the robots to be repaired.
[0109] The second determination module 504 is used to determine a temporary replacement robot for the robot to be repaired based on a comparison between the number of spare robots and the number of robots to be repaired if the number of robots to be repaired is greater than a first preset value.
[0110] The scheduling module 506 is used to schedule a temporary replacement robot to take over the inspection work of the robot to be repaired until the robot to be repaired returns to work.
[0111] In some embodiments, if the number of robots to be repaired is less than a first preset value, the first determination module 502 is also used to calculate the distance between the robot to be repaired and other robots with adjacent corresponding robot numbers to be repaired, and use the other robot closest to it as a temporary substitute robot for the robot to be repaired.
[0112] In some embodiments, the first determination module 502 is also used to use other robots corresponding to the first preset side of the number of the robot to be repaired as temporary substitute robots for the robot to be repaired if the number difference is greater than a preset fixed value; if the number difference is less than or equal to the preset fixed value, use other robots corresponding to the second preset side of the number of the robot to be repaired as temporary substitute robots for the robot to be repaired; the first preset side and the second preset side are opposite sides to each other.
[0113] In some embodiments, the second determination module 504 is also used to use the spare robots as temporary substitute robots for the robots to be repaired if the number of spare robots is greater than or equal to the number of robots to be repaired; if the number of spare robots is less than the number of robots to be repaired, use the spare robots as temporary substitute robots for the same number of robots to be repaired; if the number of remaining robots to be repaired is an even number, calculate the number difference between the robot numbers to be repaired corresponding to each pair of robots to be repaired, and based on the number difference, determine the temporary substitute robot for the robot to be repaired from other robots with adjacent corresponding numbers of the robot to be repaired.
[0114] In some embodiments, the robot scheduling device also includes an identification module 508, which is used to control the robot to detour based on the route prompt information identified from the road construction sign when performing inspection work, until it detoured to the section of the original planned route corresponding to the inspection work, and continued to perform inspection work based on the original planned route.
[0115] In some embodiments, the identification module 508 is also used to control the robot to identify the running speed, running trajectory and height of the obstacle when performing inspection work; if the running speed of the obstacle represents static, the running trajectory of the obstacle intersects with the original planned route, and the height of the obstacle is greater than or equal to a preset multiple of the diameter of the robot's moving wheels, then the robot will bypass the outline of the obstacle until it reaches the section of the original planned route, and continue to perform the inspection work based on the original planned route.
[0116] In some embodiments, the recognition module 508 is also used to control the robot to recognize the dynamics of the running speed representation of the obstacle, and when the running trajectory of the obstacle intersects with the original planned route, calculate the first time corresponding to the movement of the robot to the intersection point; calculate the second time corresponding to the movement of the obstacle to the intersection point; based on the time difference between the first time and the second time, and the comparison result with the preset time difference, adjust the running route of the robot.
[0117] Each module in the above robot scheduling 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.
[0118] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG6. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via 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, 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 related to robot scheduling. 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 via a network connection. When the computer program is executed by the processor, a robot scheduling method is implemented.
[0119] In an exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in FIG7. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via 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 may be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a robot scheduling method is implemented. The display unit of the computer device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0120] Those skilled in the art will understand that the structure shown in FIG. 6 or FIG. 7 is merely a block diagram of a partial 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 shown in the figure, or combine certain components, or have a different arrangement of components.
[0121] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0122] In one embodiment, a computer-readable storage medium is provided, storing a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0123] In one embodiment, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0124] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0125] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods 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.
[0126] 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.
[0127] The above 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 scheduling method, characterized in that: The method comprises: Receiving robot maintenance alarm information sent by the robot to be maintained, wherein the robot maintenance alarm information includes the number of the robot to be maintained; If the number of the robots to be repaired is equal to a first preset value, the difference between the numbers of the robots to be repaired is calculated, and based on the difference in numbers, a temporary replacement robot for the robot to be repaired is determined from other robots with adjacent corresponding numbers of the robots to be repaired; If the number of the robots to be repaired is greater than the first preset value, determining a temporary replacement robot for the robots to be repaired based on a comparison result between the number of spare robots and the number of the robots to be repaired; The temporary replacement robot is dispatched to take over the inspection work of the robot to be repaired until the robot to be repaired returns to work.
2. The method according to claim 1, characterized in that: The method further comprises: If the number of the robots to be repaired is less than the first preset value, the distance between the robot to be repaired and other robots is calculated, and the other robot closest to the robot to be repaired is used as a temporary replacement robot for the robot to be repaired.
3. The method according to claim 1, characterized in that The step of determining a temporary replacement robot for the robot to be repaired from other robots with adjacent corresponding numbers to the robot to be repaired based on the number difference comprises: If the number difference is greater than a preset fixed value, other robots corresponding to the first preset side of the number of the robot to be repaired are used as temporary replacement robots for the robot to be repaired; If the number difference is less than or equal to the preset fixed value, the other robots corresponding to the second preset side of the robot to be repaired will be used as temporary replacement robots for the robot to be repaired; the first preset side and the second preset side are opposite sides to each other.
4. The method according to claim 1, characterized in that: The step of determining a temporary replacement robot for the robot to be repaired based on a comparison result of the number of spare robots and the number of the robots to be repaired comprises: If the number of the backup robots is greater than or equal to the number of the robots to be repaired, the backup robots are used as temporary replacement robots for the robots to be repaired; If the number of the spare robots is less than the number of the robots to be repaired, the spare robots will be used as temporary substitute robots for the same number of robots to be repaired; if the number of the remaining robots to be repaired is an even number, the number difference between the robot numbers to be repaired corresponding to each pair of robots to be repaired will be calculated, and based on the number difference, the temporary substitute robot for the robot to be repaired will be determined from other robots with adjacent corresponding numbers of the robots to be repaired.
5. The method according to claim 1, characterized in that The method also includes: When the control robot is performing inspection work, if a road construction sign is identified, it will detour based on the route prompt information identified from the road construction sign until it detours to the section of the original planned route corresponding to the inspection work, and continue to perform the inspection work based on the original planned route.
6. The method according to claim 5, characterized in that The method further comprises: When the robot is controlled to perform inspection work, if an obstacle is identified, the running speed, running trajectory and height of the obstacle are identified; if the running speed of the obstacle represents static state, the running trajectory of the obstacle intersects with the original planned route, and the height of the obstacle is greater than or equal to a preset multiple of the diameter of the moving wheels of the robot, then the robot detours based on the outline of the obstacle until it detours to the section of the original planned route, and continues to perform the inspection work based on the original planned route.
7. The method according to claim 6, characterized in that The method further comprises: When the robot is controlled to recognize the running speed characterization dynamics of the obstacle and the running trajectory of the obstacle intersects with the original planned route, a first time corresponding to the movement of the robot to the intersection is calculated; a second time corresponding to the movement of the obstacle to the intersection is calculated; and based on the time difference between the first time and the second time, and the comparison result with the preset time difference, the running route of the robot is adjusted.
8. A robot scheduling device, characterized in that: The device comprises: A receiving module, used to receive robot maintenance alarm information sent by the robot to be maintained, wherein the robot maintenance alarm information includes the number of the robot to be maintained; A first determination module is configured to calculate a number difference between the numbers of the robots to be repaired if the number of the robots to be repaired is equal to a first preset value, and determine a temporary replacement robot for the robot to be repaired from other robots with adjacent corresponding numbers of the robots to be repaired based on the number difference; A second determination module, configured to determine a temporary replacement robot for the robot to be repaired based on a comparison between the number of spare robots and the number of the robots to be repaired if the number of the robots to be repaired is greater than the first preset value; The scheduling module is used to schedule the temporary replacement robot to take over the inspection work of the robot to be repaired until the robot to be repaired returns to work.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Robot scheduling method, device, controller, system and storage medium
CN114578812A
Rail-mounted inspection robot scheduling method and related assembly
CN114625142A
AGV task exchange method, device and system and medium
CN115933565A
Fault processing method and device for robot formation
CN116627134A
Scheduling control method and apparatus, and electronic device
WO2024017209A1
