Path decision method, device, equipment and storage medium for inspection robot

By gridding the inspection area and calculating the risk fluctuation coefficient, the candidate inspection points with the highest inspection willingness are determined and the paths are optimized, which solves the problem of slow response speed of the existing inspection robots and improves the rapid response to dangerous situations. Responsiveness and system security.

CN115454042BActive Publication Date: 2024-09-06CHINA MOBILE QUANTONG SYST INTEGRATION CO LTD +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110553101.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-20
Publication Date
2024-09-06
Estimated Expiration
2041-05-20

AI Technical Summary

Technical Problem

Existing inspection robots respond slowly when dangerous situations occur and cannot effectively respond to scenarios where dangerous situations are prone to occur or have a large negative impact.

Method used

By rasterizing the target inspection area, the difficulty and risk fluctuation coefficient of each candidate inspection point are calculated. Combined with the first time, the preset formula is used to calculate the inspection willingness and determine the candidate with the highest inspection willingness. The inspection point is used as the target inspection point, and the A* algorithm is used to determine the path with the lowest degree of difficulty to improve the inspection robot's rapid response to dangerous situations.

Benefits of technology

The inspection robot's response speed to dangerous situations and system safety are improved, ensuring that it can respond quickly and optimize the inspection path in dangerous situations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115454042B
    Figure CN115454042B
Patent Text Reader

Abstract

The present invention provides a path decision method, device, electronic device and storage medium for an inspection robot, wherein the method comprises: rasterizing a target inspection area to obtain multiple grids, determining the grids where multiple candidate inspection points are located from all grids; determining the grid where the inspection robot is currently located; calculating the difficulty of the inspection robot reaching the grid where the multiple candidate inspection points are located from the current grid, calculating the risk fluctuation coefficient of the multiple candidate inspection points, and obtaining the first time corresponding to the multiple candidate inspection points; determining the inspection willingness of the multiple candidate inspection points according to the difficulty, risk fluctuation coefficient and the first time, and taking the candidate inspection point with the highest inspection willingness as the target inspection point. The present invention comprehensively considers the inspection efficiency, the possibility of occurrence of dangerous situations and the inspection status, and can improve the response speed of the inspection process to dangerous situations and improve the safety of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a path decision method, device, equipment and storage medium for an inspection robot. Background Art

[0002] Compared with manual inspections, intelligent robot inspections can achieve information-based, digital, high-frequency, and 24-hour continuous inspections without omissions, and have strong technical advantages. With the development of informatization, inspection robots have become more and more widely used.

[0003] Existing inspection robots basically use a method of repeatedly traversing in sequence to check each inspection point, and realize inspection of all inspection points within a certain period of time.

[0004] The existing inspection method is suitable for conventional scenarios. The characteristics of conventional scenarios are that the objective environmental conditions in the scenario do not change much, and the probability of abnormal situations occurring at each inspection point is basically the same. The existing inspection method has the problem of slow response to dangerous situations and is not suitable for scenarios where dangerous situations are prone to occur or have a large negative impact. Summary of the invention

[0005] The present invention provides a path decision method, device, electronic equipment and storage medium for an inspection robot, which are used to solve the defect of slow response to dangerous situations in the inspection process in the prior art and achieve rapid response to dangerous situations.

[0006] The present invention provides a path decision method for an inspection robot, comprising:

[0007] The target inspection area is rasterized to obtain a plurality of grids, wherein one grid corresponds to one inspection point, and the grids where the plurality of candidate inspection points are located are determined from all the grids;

[0008] Obtain the latest inspection time of the inspection point corresponding to each grid, and determine the grid where the inspection robot is currently located based on the latest inspection time;

[0009] Calculate the difficulty of the inspection robot reaching the grid where the multiple candidate inspection points are located from the current grid, calculate the risk fluctuation coefficient of the multiple candidate inspection points, and obtain the first time corresponding to the multiple candidate inspection points, where the first time is obtained by subtracting the current time from the latest inspection time of the multiple candidate inspection points;

[0010] According to the difficulty, the risk fluctuation coefficient and the first time, the inspection willingness of the multiple candidate inspection points is determined, and the candidate inspection point with the highest inspection willingness is used as the target inspection point.

[0011] According to the path decision method for the inspection robot provided by the present invention, the calculation of the difficulty of the inspection robot reaching the grids where the multiple candidate inspection points are located from the current grid includes:

[0012] Determine the difficulty of passing all the grids according to the congestion situation;

[0013] According to the A* algorithm and the passing difficulty of all the grids, determine the path with the lowest passing difficulty from the grid where the inspection robot is currently located to the grid where each candidate inspection point is located as the inspection path corresponding to each candidate inspection point;

[0014] The difficulty of passing the inspection path is used as the difficulty of the inspection robot reaching the grid where each candidate inspection point is located from the current grid.

[0015] According to the path decision method of the inspection robot provided by the present invention, the calculation of the risk fluctuation coefficients of the plurality of candidate inspection points includes:

[0016] Determine the amount of water accumulation and facility distribution in the grid where each candidate inspection point is located;

[0017] The risk fluctuation coefficient of each candidate inspection point is determined based on the amount of accumulated water and the distribution of facilities.

[0018] According to the path decision method of the inspection robot provided by the present invention, the step of determining the inspection willingness of the plurality of candidate inspection points according to the difficulty, the risk fluctuation coefficient and the first time comprises:

[0019] Calculate the inspection willingness of the plurality of candidate inspection points using a preset formula according to the difficulty, risk fluctuation coefficient and first time;

[0020] Wherein, the preset formula is:

[0021] will(dif,w,t)=-c1*dif+c2*w+c3*t

[0022] Wherein, dif is the difficulty, w is the risk fluctuation coefficient, t is the first time, c1, c2 and c3 are preset reference weights of each attribute, and the values ​​of c1, c2 and c3 are all greater than 0;

[0023] or,

[0024]

[0025] Wherein, dif is the difficulty, w is the risk fluctuation coefficient, t is the first time, c4, c5 and c6 are preset reference weights of each attribute, and the values ​​of c4, c5 and c6 are all greater than 0;

[0026] or,

[0027]

[0028] Among them, dif is the difficulty, w is the risk fluctuation coefficient, t is the first time, k is the preset reference weight, and the value of k is greater than 0.

[0029] The path decision method of the inspection robot provided by the present invention also includes:

[0030] Sending an inspection instruction to the inspection robot, wherein the inspection instruction includes an inspection signal and a docking instruction;

[0031] The sending of the inspection instruction to the inspection robot comprises:

[0032] Generate an inspection signal according to the target inspection point and the inspection path corresponding to the target inspection point;

[0033] Sending the inspection signal to the inspection robot;

[0034] If an inspection completion signal sent by the inspection robot is received, the latest inspection time of the target inspection point is updated according to the inspection completion signal;

[0035] Generate a docking instruction and send the docking instruction to the inspection robot.

[0036] The present invention also provides a path decision device for an inspection robot, comprising:

[0037] A gridding module is used to grid the target inspection area to obtain multiple grids, wherein one grid corresponds to one inspection point, and to determine the grids where multiple candidate inspection points are located from all the grids;

[0038] The inspection robot position determination module is used to obtain the latest inspection time of the inspection point corresponding to each grid, and determine the grid where the inspection robot is currently located based on the latest inspection time;

[0039] A calculation module, used to calculate the difficulty of the inspection robot to reach the grid where the multiple candidate inspection points are located from the current grid, calculate the risk fluctuation coefficient of the multiple candidate inspection points, and obtain the first time corresponding to the multiple candidate inspection points, where the first time is obtained by subtracting the current time from the latest inspection time of the multiple candidate inspection points;

[0040] The target inspection point determination module is used to determine the inspection willingness of the multiple inspection points according to the difficulty, the risk fluctuation coefficient and the first time, and take the inspection point with the highest inspection willingness as the target inspection point.

[0041] According to the path decision device of the inspection robot provided by the present invention, the calculation module is used for:

[0042] Determine the difficulty of passing all the grids according to the congestion situation;

[0043] According to the A* algorithm and the difficulty of passing all the grids, determine the path with the lowest passing difficulty from the grid where the inspection robot is currently located to the grid where each candidate inspection point is located as the inspection path corresponding to the candidate inspection point;

[0044] The difficulty level of the inspection path is used as the difficulty level of the candidate inspection point.

[0045] According to the path decision device of the inspection robot provided by the present invention, the calculation module is used to

[0046] Determine the amount of accumulated water and the distribution of facilities in the grid where the candidate inspection point is located;

[0047] The risk fluctuation coefficient of the candidate inspection point is determined according to the water accumulation amount and the distribution of facilities.

[0048] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the path decision method of the inspection robot when executing the program.

[0049] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the path decision method of the inspection robot.

[0050] The path decision method, device, electronic device and storage medium of the inspection robot provided by the present invention determine the inspection willingness of the multiple candidate inspection points according to the difficulty, the risk fluctuation coefficient and the time from the last inspection to the present, and use the inspection point with the highest inspection willingness as the target inspection point. A macro inspection point determination method is adopted, which comprehensively considers the inspection efficiency, the possibility of dangerous situations and the inspection status, thereby improving the response speed of the inspection process to dangerous situations and improving the safety of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0052] Figure 1 This is one of the flow charts of the path decision method of the inspection robot provided by the present invention;

[0053] Figure 2 is a flow chart of calculating the difficulty of the inspection robot from the current grid to the grids where the multiple candidate inspection points are located, provided by the present invention;

[0054] Figure 3 is a schematic diagram of a flow chart of calculating the risk fluctuation coefficients of the plurality of candidate inspection points provided by the present invention;

[0055] Figure 4 It is a schematic diagram of a process of sending an inspection instruction to an inspection robot provided by the present invention;

[0056] Figure 5 This is the second flow chart of the path decision method of the inspection robot provided by the present invention;

[0057] Figure 6 It is a structural schematic diagram of a path decision device of an inspection robot provided by the present invention;

[0058] Figure 7 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0059] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0060] Figure 1 A schematic diagram of a flow chart of a path decision method for an inspection robot provided by an embodiment of the present invention, such as Figure 1 As shown, the following steps are included:

[0061] Step 100: grid the target inspection area to obtain a plurality of grids, wherein one grid corresponds to one inspection point, and determine the grids where a plurality of candidate inspection points are located from all the grids.

[0062] Specifically, the entire environment can be divided into multiple large areas, each of which is inspected by a patrol robot. In the multiple large areas, a target patrol area can be determined. The target patrol area is discretized using a grid method, and the target patrol area is divided into multiple grids during the discretization process, where each grid corresponds to a patrol point. Important patrols are selected from the multiple patrol points as candidate patrol points, and the grids where the candidate patrol points are located are marked.

[0063] Step 101: Obtain the latest inspection time of the inspection point corresponding to each grid, and determine the grid where the inspection robot is currently located based on the latest inspection time.

[0064] Specifically, a time array is established to store the latest inspection time of each inspection point. After the inspection is completed, the inspection robot will stop at the specified position corresponding to the inspection point. Therefore, based on the latest inspection time of each inspection point, the inspection point of the inspection operation closest to the current time can be determined, and based on the position of the inspection point, the grid where the inspection robot is currently located can be determined.

[0065] Step 102: calculate the difficulty of the inspection robot reaching the grid where the multiple candidate inspection points are located from the current grid, calculate the risk fluctuation coefficient of the multiple candidate inspection points, and obtain the first time corresponding to the multiple candidate inspection points, which is obtained by subtracting the current time from the latest inspection time of the multiple candidate inspection points.

[0066] Specifically, there are multiple paths from the current grid where the inspection robot is located determined in step 101 to the grid where each candidate inspection point is located determined in step 100. A path with the lowest difficulty is determined among the multiple paths. The difficulty corresponding to the path with the lowest difficulty is used as the difficulty of the candidate inspection point, indicating the difficulty of the robot reaching the candidate inspection point. The higher the difficulty, the lower the inspection willingness.

[0067] According to the amount of water accumulation and the distribution of facilities in the grid where each candidate inspection point is located, the dangerous fluctuation coefficient of the grid can be determined. In the process of determining the inspection point, the dangerous fluctuation coefficient is used as a reference value to improve the response speed to dangerous situations during the inspection process. The larger the dangerous fluctuation coefficient, the greater the willingness to inspect.

[0068] Determine the latest inspection time of each candidate inspection point, and subtract it from the current time to get the time from the last inspection of each candidate inspection point as the first time. The larger the first time, the longer the time from the last inspection, and the greater the inspection willingness.

[0069] Step 103: Determine the inspection willingness of the plurality of candidate inspection points according to the difficulty, the risk fluctuation coefficient and the first time, and select the candidate inspection point with the highest inspection willingness as the target inspection point.

[0070] According to the difficulty, risk fluctuation coefficient and first time determined in step 102, the inspection willingness of each candidate inspection point can be determined. Among them, the inspection willingness is negatively correlated with the difficulty, and positively correlated with the risk fluctuation coefficient and the first time. The calculation method of the inspection willingness is not specifically limited here. The inspection point with the highest inspection willingness is selected as the target inspection point.

[0071] The embodiment of the present invention determines the inspection willingness of the multiple candidate inspection points based on the difficulty, the risk fluctuation coefficient and the time since the last inspection, and takes the inspection point with the highest inspection willingness as the target inspection point. It adopts a macro inspection point determination method, comprehensively considers the inspection efficiency, the possibility of dangerous situations and the inspection status, improves the response speed of the inspection process to dangerous situations, and improves the safety of the system.

[0072] Figure 2 A flow chart of calculating the difficulty of the inspection robot from the current grid to the grids where the multiple candidate inspection points are located is provided in an embodiment of the present application, such as Figure 2 As shown, in one embodiment, calculating the difficulty of the inspection robot from the current grid to the grids where the multiple candidate inspection points are located includes the following sub-steps:

[0073] Step 200: Determine the difficulty of passing all grids according to the congestion situation.

[0074] Specifically, all grids can be divided into passable grids and non-passable grids. The passable grid can then calculate the difficulty of passing a grid according to the congestion situation, and mark the difficulty of passing the grid for subsequent calculation of the path weight. The congestion situation is determined by measuring the terrain, measuring the road induction coil, and processing the camera image.

[0075] Step 201: According to the A* algorithm and the passing difficulty of all the grids, determine the path with the lowest passing difficulty from the grid where the inspection robot is currently located to the grid where each candidate inspection point is located as the inspection path corresponding to each candidate inspection point.

[0076] Among them, the A* algorithm is an improvement on the Dijkstra algorithm and is widely used to solve the shortest path problem. In the search process, the known heuristic information of the state space itself is added, and the cost size is evaluated by defining a suitable cost function, so as to dynamically adjust the search strategy to calculate the best solution. The cost function of the A* algorithm is:

[0077] f * (j) = g(j) + h * (j)

[0078] Where j represents the target node to be solved; g(j) is the actual cost from the starting point along the generated path to the target node j, and its value is determined according to the metric selected by the road network. This paper calibrates it based on the two indicators of shortest driving path / time and parking difficulty; h * (j) is the estimated cost from the current node j to the end point.

[0079] Specifically, according to the A* algorithm and the difficulty of passing all grids determined in step 200, the path with the lowest passing difficulty from the grid where the inspection robot is currently located to the grid where each candidate inspection point is located is determined as the inspection path corresponding to the candidate inspection point. The inspection path is the optimal path from the grid where the inspection robot is located to each candidate inspection point, and the inspection path corresponding to each candidate point is stored. The storage method is not specifically limited here.

[0080] Step 202: The difficulty level of the inspection path is used as the difficulty level for the inspection robot to reach the grid where each candidate inspection point is located from the current grid.

[0081] Specifically, the difficulty of passing the inspection path corresponding to the candidate inspection point determined in step 201 is used as the difficulty of the inspection robot reaching the grid where each candidate inspection point is located from the current grid. This difficulty is the minimum difficulty from the grid where the inspection robot is located to each candidate inspection point.

[0082] In an embodiment of the present invention, the difficulty of passing a grid is determined according to the congestion situation, and the A* algorithm is used to determine the difficulty of each target inspection point. The inspection willingness of the multiple candidate inspection points is determined according to the difficulty, the risk fluctuation coefficient and the time from the last inspection to the present. The inspection point with the highest inspection willingness is selected as the target inspection point. A macro inspection point determination method is adopted, which improves the reaction speed of the inspection process to dangerous situations and improves the safety of the system.

[0083] Figure 3 A schematic diagram of a flow chart for calculating the risk fluctuation coefficients of the plurality of candidate inspection points provided in an embodiment of the present application, such as Figure 3 As shown, in one embodiment, calculating the risk fluctuation coefficients of the plurality of candidate inspection points includes the following sub-steps:

[0084] Step 300: Determine the amount of water accumulation and facility distribution in the grid where each candidate inspection point is located.

[0085] Specifically, the low latency characteristics of 5G technology can be used to ensure the real-time determination of the amount of water accumulation and the distribution of facilities in the grid where the candidate inspection point is located. The amount of water accumulation and the distribution of facilities in the grid where the candidate inspection point is located are related to the possibility of the occurrence of dangerous situations.

[0086] Step 301: Determine the risk fluctuation coefficient of each candidate inspection point according to the water volume and facility distribution.

[0087] Specifically, the risk fluctuation coefficient of each candidate inspection point is determined according to the amount of accumulated water and the distribution of facilities, and the risk fluctuation coefficient represents the possibility of occurrence of a dangerous situation at each candidate inspection point.

[0088] In the embodiment of the present invention, the hazard fluctuation coefficient of the candidate inspection point is determined according to the water accumulation amount and the distribution of facilities, the inspection willingness of the multiple candidate inspection points is determined according to the difficulty, the hazard fluctuation coefficient and the time from the last inspection to the present, and the inspection point with the highest inspection willingness is selected as the target inspection point. A macro inspection point determination method is adopted, which improves the response speed of the inspection process to dangerous situations and improves the safety of the system.

[0089] In one embodiment, determining the inspection willingness of the plurality of candidate inspection points according to the difficulty, the risk fluctuation coefficient and the first time includes:

[0090] According to the difficulty, risk fluctuation coefficient and first time, the inspection willingness of the plurality of candidate inspection points is calculated using a preset formula.

[0091] Wherein, the preset formula is:

[0092] will(dif,w,t)=-c1*dif+c2*w+c3*t

[0093] Wherein, dif is the difficulty, w is the risk fluctuation coefficient, t is the first time, c1, c2 and c3 are preset reference weights of each attribute, and the values ​​of c1, c2 and c3 are all greater than 0;

[0094] or,

[0095]

[0096] Wherein, dif is the difficulty, w is the risk fluctuation coefficient, t is the first time, c4, c5 and c6 are preset reference weights of each attribute, and the values ​​of c4, c5 and c6 are all greater than 0;

[0097] or,

[0098]

[0099] Among them, dif is the difficulty, w is the risk fluctuation coefficient, t is the first time, k is the preset reference weight, and the value of k is greater than 0.

[0100] The embodiment of the present invention calculates the inspection willingness of multiple candidate inspection points using a preset formula according to the difficulty, the risk fluctuation coefficient and the time since the last inspection, thereby improving the accuracy of the inspection willingness calculation, taking the inspection point with the highest inspection willingness as the target inspection point, and adopting a macro inspection point determination method, which comprehensively considers the inspection efficiency, the possibility of dangerous situations and the inspection status, thereby improving the reaction speed of the inspection process to dangerous situations and improving the safety of the system.

[0101] In one embodiment, the method further includes sending an inspection instruction to the inspection robot, wherein the inspection instruction includes an inspection signal and a docking instruction. Figure 4 A schematic diagram of a flow chart for calculating the risk fluctuation coefficients of the plurality of candidate inspection points provided in an embodiment of the present application, such as Figure 4 As shown, sending an inspection instruction to the inspection robot includes the following sub-steps:

[0102] Step 400: Generate an inspection signal according to the target inspection point and the inspection path corresponding to the target inspection point.

[0103] Specifically, in step 201, the path with the lowest passing difficulty from the grid where the inspection robot is currently located to the grid where each candidate inspection point is located is determined as the inspection path corresponding to each candidate inspection point. Since the target inspection point is one of the candidate inspection points, the inspection path corresponding to the candidate inspection points stored in step 201 includes the inspection path corresponding to the target inspection point. According to the target inspection point and the inspection corresponding to the target inspection point, an inspection instruction can be generated.

[0104] Step 401: Send the inspection signal to the inspection robot.

[0105] Specifically, the inspection instruction generated in step 400 is sent to the inspection robot. After receiving the inspection instruction, the inspection robot can reach the target inspection point through the inspection path corresponding to the target inspection point according to the instruction to perform inspection work.

[0106] Step 402: If an inspection completion signal sent by the inspection robot is received, the latest inspection time of the target inspection point is updated according to the inspection completion signal.

[0107] Specifically, after the inspection robot completes the inspection work at the target inspection point, it will generate an inspection completion signal. After receiving the inspection completion signal, it will determine the latest inspection time of the target inspection point based on the time when the inspection completion signal is received, or the time when the inspection completion signal is received minus the preset signal transmission time difference, and update the latest inspection time of the target inspection point.

[0108] Step 403: Generate a docking instruction, and send the docking instruction to the inspection robot.

[0109] Specifically, a docking instruction is generated and sent to the inspection robot. After receiving the docking instruction, the inspection robot docks at a designated position corresponding to the target inspection point.

[0110] The embodiment of the present invention determines the inspection willingness of multiple candidate inspection points according to the difficulty, risk fluctuation coefficient and the time from the last inspection to the present, adopts a macro inspection point determination method, comprehensively considers the inspection efficiency, the possibility of dangerous situations and the inspection status, improves the response speed of the inspection process to dangerous situations, and improves the safety of the system. Send an inspection instruction to the inspection robot, and according to the inspection completion signal sent by the inspection robot, according to the latest inspection time of the target inspection point, ensure the accuracy of the determination of the next target inspection point.

[0111] Figure 5 The second flow chart of the path decision method of the inspection robot provided by the embodiment of the present invention is as follows: Figure 5 As shown, the following steps are included:

[0112] Step 500: grid the target inspection area to obtain a plurality of grids, wherein one grid corresponds to one inspection point, and determine the grids where a plurality of candidate inspection points are located from all the grids.

[0113] Specifically, the target inspection area is discretized using a grid method, and the target inspection area is divided into multiple grids during the discretization process, where each grid corresponds to a inspection point. N important inspections are selected from the multiple inspection points as candidate inspection points, and the N grids where the N candidate inspection points are located are marked.

[0114] Step 501: Obtain the latest inspection time of the inspection point corresponding to each grid, and determine the grid where the inspection robot is currently located based on the latest inspection time.

[0115] Specifically, a time array is established to store the latest inspection time of each inspection point. After the inspection is completed, the inspection robot will stop at the specified position corresponding to the inspection point. Therefore, based on the latest inspection time of each inspection point, the inspection point of the inspection operation closest to the current time can be determined, and based on the position of the inspection point, the grid where the inspection robot is currently located can be determined.

[0116] Step 502 , mark the difficulty of passing all grids, initialize the maximum inspection willingness willMAX to 0, initialize the target inspection point target to 0, initialize the path pathT, and initialize the value of i to 1.

[0117] Specifically, each grid corresponds to a difficulty level, and the difficulty levels of all grids are marked to prepare for the determination of the path. The maximum inspection willingness willMAX, the target inspection point target, the path pathT and i are all variables. Before determining the target inspection point, the variables are initialized to prepare for the loop process.

[0118] Step 503, calculate the difficulty dif(i) of the i-th target inspection point, and store the path path(i) with the lowest difficulty to reach the i-th inspection point, calculate the risk fluctuation coefficient w(i) of the i-th target inspection point, determine the time t from the i-th inspection point to the last inspection, and calculate the inspection willingness will(i) of the i-th inspection point.

[0119] Among them, the willingness to inspect is negatively correlated with the difficulty, and positively correlated with the risk fluctuation coefficient and the first time. The calculation method of the willingness to inspect is not specifically limited here.

[0120] Step 504: determine whether will(i) is greater than willMAX. If so, set the value of willMAX to will(i), set target to i, and set pathT to path(i).

[0121] Specifically, if will(i) is greater than willMAX, then will(i) is the inspection point with the highest option willingness among the candidate inspection points that have been traversed so far. Therefore, record the i, will(i) and path(i) corresponding to the inspection point. The recording method is to set the value of willMAX to will(i), target to i, and pathT to path(i).

[0122] Step 505: determine whether the value of i is greater than or equal to N. If the value of i is less than N, add 1 to the value of the variable i and repeat steps 503 and 504.

[0123] Specifically, if it is determined that the value of i is less than N, the traversal is not completed, and the value of the variable i needs to be increased by one, and steps 503 and 504 are repeated to calculate the inspection willingness of the next candidate inspection point.

[0124] Step 506: If the value of i is greater than or equal to N, a patrol signal is generated according to pathT and target, sent to the patrol robot, the latest patrol time of the target patrol point is updated, and a stop patrol signal is sent to the patrol robot.

[0125] Specifically, if the value of i is greater than or equal to N, it proves that the candidate inspection points have been traversed. At this time, the loop ends, the target inspection point is stored in the variable target, and the inspection path corresponding to the target inspection point is stored in the variable pathT. According to pathT and target, an inspection signal is generated and sent to the inspection robot. The inspection robot performs inspection operations according to the received inspection signal.

[0126] The embodiment of the present invention determines the inspection willingness of the multiple candidate inspection points based on the difficulty, the risk fluctuation coefficient and the time since the last inspection, and takes the inspection point with the highest inspection willingness as the target inspection point. It adopts a macro inspection point determination method, comprehensively considers the inspection efficiency, the possibility of dangerous situations and the inspection status, improves the response speed of the inspection process to dangerous situations, and improves the safety of the system.

[0127] The path decision device of the inspection robot provided by the present invention is described below. The path decision device of the inspection robot described below and the path decision method of the inspection robot described above can be referred to each other.

[0128] Another embodiment of the present invention provides a path decision device for an inspection robot, such as Figure 6 As shown, it includes: a rasterization module 610, an inspection robot position determination module 620, a calculation module 630 and a target inspection point determination module 640, wherein:

[0129] A gridding module 610 is used to grid the target inspection area to obtain multiple grids, wherein one grid corresponds to one inspection point, and to determine the grids where multiple candidate inspection points are located from all the grids;

[0130] The inspection robot position determination module 620 is used to obtain the latest inspection time of the inspection point corresponding to each grid, and determine the grid where the inspection robot is currently located based on the latest inspection time;

[0131] A calculation module 630 is used to calculate the difficulty of the inspection robot to reach the grid where the multiple candidate inspection points are located from the current grid, calculate the risk fluctuation coefficient of the multiple candidate inspection points, and obtain the first time corresponding to the multiple candidate inspection points, where the first time is obtained by subtracting the current time from the latest inspection time of the multiple candidate inspection points;

[0132] The target inspection point determination module 640 is used to determine the inspection willingness of the multiple inspection points according to the difficulty, the risk fluctuation coefficient and the first time, and take the inspection point with the highest inspection willingness as the target inspection point.

[0133] Optionally, the calculation module includes a difficulty calculation submodule, a risk fluctuation coefficient calculation submodule and a first time calculation submodule, and the difficulty determination submodule is specifically used to:

[0134] Determine the difficulty of passing all the grids according to the congestion situation;

[0135] According to the A* algorithm and the difficulty of passing all the grids, determine the path with the lowest passing difficulty from the grid where the inspection robot is currently located to the grid where each candidate inspection point is located as the inspection path corresponding to the candidate inspection point;

[0136] The difficulty level of the inspection path is used as the difficulty level of the candidate inspection point.

[0137] Optionally, the risk fluctuation coefficient calculation submodule 720 is specifically used for:

[0138] Determine the amount of water accumulation and facility distribution in the grid where each candidate inspection point is located;

[0139] The risk fluctuation coefficient of each candidate inspection point is determined based on the amount of accumulated water and the distribution of facilities.

[0140] Optionally, the target inspection point determination module 640 is used to:

[0141] Calculate the inspection willingness of the plurality of candidate inspection points using a preset formula according to the difficulty, risk fluctuation coefficient and first time;

[0142] Wherein, the preset formula is:

[0143] will(dif,w,t)=-c1*dif+c2*w+c3*t

[0144] Wherein, dif is the difficulty, w is the risk fluctuation coefficient, t is the first time, c1, c2 and c3 are preset reference weights of each attribute, and the values ​​of c1, c2 and c3 are all greater than 0;

[0145] or,

[0146]

[0147] Wherein, dif is the difficulty, w is the risk fluctuation coefficient, t is the first time, c4, c5 and c6 are preset reference weights of each attribute, and the values ​​of c4, c5 and c6 are all greater than 0;

[0148] or,

[0149]

[0150] Among them, dif is the difficulty, w is the risk fluctuation coefficient, t is the first time, k is the preset reference weight, and the value of k is greater than 0.

[0151] Optionally, the path decision device of the inspection robot further includes an instruction sending module 650, and the instruction sending module 650 is used to:

[0152] Sending an inspection instruction to the inspection robot, wherein the inspection instruction includes an inspection signal and a docking instruction;

[0153] The sending of the inspection instruction to the inspection robot comprises:

[0154] Generate an inspection signal according to the target inspection point and the inspection path corresponding to the target inspection point;

[0155] Sending the inspection signal to the inspection robot;

[0156] If an inspection completion signal sent by the inspection robot is received, the latest inspection time of the target inspection point is updated according to the inspection completion signal;

[0157] Generate a docking instruction and send the docking instruction to the inspection robot.

[0158] The path decision device of the inspection robot provided by the present invention can realize Figures 1 to 5 The various processes implemented by the method embodiment and achieving the same technical effect are not described here to avoid repetition.

[0159] Figure 7 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 7 As shown, the electronic device may include: a processor 710, a communication interface 720, a memory 730 and a communication bus 740, wherein the processor 710, the communication interface 720 and the memory 730 communicate with each other through the communication bus 740. The processor 710 may call the logic instructions in the memory 730 to execute the path decision method of the inspection robot, the method comprising: rasterizing the target inspection area to obtain a plurality of grids, wherein a grid corresponds to a inspection point, and determining the grids where the plurality of candidate inspection points are located from all the grids;

[0160] Obtain the latest inspection time of the inspection point corresponding to each grid, and determine the grid where the inspection robot is currently located based on the latest inspection time;

[0161] Calculate the difficulty of the inspection robot reaching the grid where the multiple candidate inspection points are located from the current grid, calculate the risk fluctuation coefficient of the multiple candidate inspection points, and obtain the first time corresponding to the multiple candidate inspection points, where the first time is obtained by subtracting the current time from the latest inspection time of the multiple candidate inspection points;

[0162] According to the difficulty, the risk fluctuation coefficient and the first time, the inspection willingness of the multiple candidate inspection points is determined, and the candidate inspection point with the highest inspection willingness is used as the target inspection point.

[0163] In addition, the logic instructions in the above-mentioned memory 730 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0164] On the other hand, the present invention further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, the computer can execute the path decision method of the inspection robot provided by the above methods, the method comprising: rasterizing the target inspection area to obtain a plurality of grids, wherein one grid corresponds to one inspection point, and determining the grids where the plurality of candidate inspection points are located from all the grids;

[0165] Obtain the latest inspection time of the inspection point corresponding to each grid, and determine the grid where the inspection robot is currently located based on the latest inspection time;

[0166] Calculate the difficulty of the inspection robot reaching the grid where the multiple candidate inspection points are located from the current grid, calculate the risk fluctuation coefficient of the multiple candidate inspection points, and obtain the first time corresponding to the multiple candidate inspection points, where the first time is obtained by subtracting the current time from the latest inspection time of the multiple candidate inspection points;

[0167] According to the difficulty, the risk fluctuation coefficient and the first time, the inspection willingness of the multiple candidate inspection points is determined, and the candidate inspection point with the highest inspection willingness is used as the target inspection point.

[0168] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to execute the path decision method of the inspection robot provided above, the method comprising: rasterizing the target inspection area to obtain a plurality of grids, wherein one grid corresponds to one inspection point, and determining the grids where the plurality of candidate inspection points are located from all the grids;

[0169] Obtain the latest inspection time of the inspection point corresponding to each grid, and determine the grid where the inspection robot is currently located based on the latest inspection time;

[0170] Calculate the difficulty of the inspection robot reaching the grid where the multiple candidate inspection points are located from the current grid, calculate the risk fluctuation coefficient of the multiple candidate inspection points, and obtain the first time corresponding to the multiple candidate inspection points, where the first time is obtained by subtracting the current time from the latest inspection time of the multiple candidate inspection points;

[0171] According to the difficulty, the risk fluctuation coefficient and the first time, the inspection willingness of the multiple candidate inspection points is determined, and the candidate inspection point with the highest inspection willingness is used as the target inspection point.

[0172] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0173] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0174] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A path decision method for an inspection robot, characterized in that: include: The target inspection area is rasterized to obtain a plurality of grids, wherein one grid corresponds to one inspection point, and the grids where the plurality of candidate inspection points are located are determined from all the grids; Obtain the latest inspection time of the inspection point corresponding to each grid, and determine the grid where the inspection robot is currently located based on the latest inspection time; Calculate the difficulty of the inspection robot reaching the grid where the multiple candidate inspection points are located from the current grid, calculate the risk fluctuation coefficient of the multiple candidate inspection points, and obtain the first time corresponding to the multiple candidate inspection points, where the first time is obtained by subtracting the current time from the latest inspection time of the multiple candidate inspection points; Determine the inspection willingness of the plurality of candidate inspection points according to the difficulty, the risk fluctuation coefficient and the first time, and select the candidate inspection point with the highest inspection willingness as the target inspection point; The determining, according to the difficulty, the risk fluctuation coefficient and the first time, the inspection willingness of the plurality of candidate inspection points comprises: Calculate the inspection willingness of the plurality of candidate inspection points using a preset formula according to the difficulty, risk fluctuation coefficient and first time; Wherein, the preset formula is: will(dif,w,t)=-c1*dif+c2*w+c3*t Wherein, dif is the difficulty, w is the risk fluctuation coefficient, t is the first time, c1, c2 and c3 are preset reference weights of each attribute, and the values ​​of c1, c2 and c3 are all greater than 0; or, Wherein, dif is the difficulty, w is the risk fluctuation coefficient, t is the first time, c4, c5 and c6 are preset reference weights of each attribute, and the values ​​of c4, c5 and c6 are all greater than 0; or, Among them, dif is the difficulty, w is the risk fluctuation coefficient, t is the first time, k is the preset reference weight, and the value of k is greater than 0.

2. The path decision method of the inspection robot according to claim 1, characterized in that: The calculating the difficulty of the inspection robot reaching the grids where the multiple candidate inspection points are located from the current grid comprises: Determine the difficulty of passing all the grids according to the congestion situation; According to the A* algorithm and the passing difficulty of all the grids, determine the path with the lowest passing difficulty from the grid where the inspection robot is currently located to the grid where each candidate inspection point is located as the inspection path corresponding to each candidate inspection point; The difficulty of passing the inspection path is used as the difficulty of the inspection robot reaching the grid where each candidate inspection point is located from the current grid.

3. The path decision method of the inspection robot according to claim 1, characterized in that: The calculating of the risk fluctuation coefficients of the plurality of candidate inspection points comprises: Determine the amount of water accumulation and facility distribution in the grid where each candidate inspection point is located; The risk fluctuation coefficient of each candidate inspection point is determined based on the amount of accumulated water and the distribution of facilities.

4. The path decision method of the inspection robot according to claim 2, characterized in that: Also includes: Sending an inspection instruction to the inspection robot, wherein the inspection instruction includes an inspection signal and a docking instruction; The sending of the inspection instruction to the inspection robot comprises: Generate an inspection signal according to the target inspection point and the inspection path corresponding to the target inspection point; Sending the inspection signal to the inspection robot; If an inspection completion signal sent by the inspection robot is received, the latest inspection time of the target inspection point is updated according to the inspection completion signal; Generate a docking instruction and send the docking instruction to the inspection robot.

5. A path decision device for an inspection robot, characterized in that: include: A gridding module is used to grid the target inspection area to obtain multiple grids, wherein one grid corresponds to one inspection point, and to determine the grids where multiple candidate inspection points are located from all the grids; The inspection robot position determination module is used to obtain the latest inspection time of the inspection point corresponding to each grid, and determine the grid where the inspection robot is currently located based on the latest inspection time; A calculation module, used to calculate the difficulty of the inspection robot to reach the grid where the multiple candidate inspection points are located from the current grid, calculate the risk fluctuation coefficient of the multiple candidate inspection points, and obtain the first time corresponding to the multiple candidate inspection points, where the first time is obtained by subtracting the current time from the latest inspection time of the multiple candidate inspection points; A target inspection point determination module, used to determine the inspection willingness of the multiple inspection points according to the difficulty, the risk fluctuation coefficient and the first time, and take the inspection point with the highest inspection willingness as the target inspection point; The target inspection point determination module is further used to calculate the inspection willingness of the multiple candidate inspection points using a preset formula according to the difficulty, the risk fluctuation coefficient and the first time; Wherein, the preset formula is: will(dif,w,t)=-c1*dif+c2*w+c3*t Wherein, dif is the difficulty, w is the risk fluctuation coefficient, t is the first time, c1, c2 and c3 are preset reference weights of each attribute, and the values ​​of c1, c2 and c3 are all greater than 0; or, Wherein, dif is the difficulty, w is the risk fluctuation coefficient, t is the first time, c4, c5 and c6 are preset reference weights of each attribute, and the values ​​of c4, c5 and c6 are all greater than 0; or, Among them, dif is the difficulty, w is the risk fluctuation coefficient, t is the first time, k is the preset reference weight, and the value of k is greater than 0.

6. The path decision device of the inspection robot according to claim 5, characterized in that: The computing module is used for: Determine the difficulty of passing all the grids according to the congestion situation; According to the A* algorithm and the difficulty of passing all the grids, determine the path with the lowest passing difficulty from the grid where the inspection robot is currently located to the grid where each candidate inspection point is located as the inspection path corresponding to the candidate inspection point; The difficulty level of the inspection path is used as the difficulty level of the candidate inspection point.

7. The path decision device for the inspection robot according to claim 5, characterized in that: The computing module is used for: Determine the amount of accumulated water and the distribution of facilities in the grid where the candidate inspection point is located; The risk fluctuation coefficient of the candidate inspection point is determined according to the water accumulation amount and the distribution of facilities.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the path decision method of the inspection robot as described in any one of claims 1 to 4 are implemented.

9. A non-transitory 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 path decision method of the inspection robot as claimed in any one of claims 1 to 4 are implemented.