Inspection task execution method and apparatus, electronic device, and storage medium
Patent Information
- Application Number
- PCT/IB2025/050393
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-02-07
- Filing Date
- 2025-01-14
- Publication Date
- 2025-10-02
AI Technical Summary
In the prior art, robots have a large number of redundant actions in facility inspection, resulting in low patrol efficiency, unable to complete the computer room inspection requirements within the specified time, and consume a lot of power, which often leads to power loss.
By reordering the inspection sequence based on the configuration parameters of each point in the inspection task, the status differences between robot components between adjacent points are reduced, and only target components with inconsistent status are adjusted and data collection are collected.
It improves patrol efficiency, reduces the operation time and power consumption of patrol tasks, and meets the requirements of facility inspection.
Smart Images

Figure IB2025050393_02102025_PF_FP_ABST
Abstract
Description
[0001]This disclosure claims priority to a Chinese patent application filed with the Patent Office of the People's Republic of China on February 7, 2024, with application number 202410176104.1 and titled "A Method, Apparatus, Electronic Device, and Storage Medium for Executing an Inspection Task," the entire contents of which are incorporated herein by reference. Technical Field: This disclosure relates to the field of computer technology, and more specifically, to a method, apparatus, electronic device, and storage medium for executing an inspection task. Background: Currently, robots are commonly used to complete inspection tasks in the field of facility inspection. In particular, a data center may have numerous computer rooms, each housing thousands of devices. Periodic inspections of the devices within each room are required. By assigning inspection tasks to robots, which automatically complete the inspections of each room, significant labor costs can be saved. However, currently, robots often experience a significant amount of redundant component movement during inspection tasks, resulting in low inspection efficiency and an inability to meet computer room inspection requirements, such as completing the required number of inspections within a specified timeframe. Furthermore, these redundant component movements also lead to excessive power consumption, causing the robots to frequently run out of power and be unable to complete inspection tasks. SUMMARY OF THE INVENTION The present disclosure addresses the shortcomings of the prior art by providing a method, device, electronic device, and storage medium for performing inspection tasks. This objective is achieved through the following technical solutions. A first aspect of the present disclosure provides a method for executing an inspection task, the method comprising: updating an inspection order for each point in the inspection task based on configuration parameters of each point in the inspection task, wherein the configuration parameters represent the status of each component on a robot; during inspection of each point according to the updated inspection order, determining, based on the configuration parameters of the previous point and the configuration parameters of the current point to be inspected, a target component whose status is inconsistent between the previous point and the current point to be inspected; adjusting the target component using the configuration parameters corresponding to the target component at the current point to be inspected, and collecting data for the current point to be inspected.A second aspect of the present disclosure provides a device for executing an inspection task. The device comprises: a sequence adjustment module for updating the inspection order of each point in the inspection task based on configuration parameters of each point in the inspection task, wherein the configuration parameters represent the status of each component on a robot; a component determination module for determining, during the inspection of each point in accordance with the updated inspection order, target components whose status is inconsistent between the previous point and the current point to be inspected based on the configuration parameters of the previous point and the configuration parameters of the current point to be inspected; and an inspection module for adjusting the target component using the corresponding configuration parameters of the target component at the current point to be inspected, and collecting data from the current point to be inspected. A third aspect of the present disclosure provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor executes the program to implement the method according to the first aspect. A fourth aspect of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein the program is executed by the processor to implement the method according to the first aspect. A fifth aspect of the present disclosure provides a computer program that, when executed on a computer, causes the computer to execute the method described in the first aspect. Based on the inspection task execution methods and apparatus described in the first and second aspects, the present disclosure has at least the following beneficial effects or advantages: By readjusting the inspection order of the inspection task according to the configuration parameters of the points, the differences in robot component states between adjacent points in the updated inspection order are reduced. Consequently, when switching from the previous point to the current point to be inspected, the actions of components with consistent states are reduced. Only target components with inconsistent states are adjusted and data collected according to the configuration parameters corresponding to the current point to be inspected. This improves inspection efficiency, reduces inspection task execution time, and reduces robot power consumption, thereby achieving the goal of meeting the inspection requirements of the scenario. The above description is only an overview of the technical solution of the present disclosure. To provide a clearer understanding of the technical means of the present disclosure, implementation can be carried out in accordance with the contents of this specification. To further enhance the understanding of the above and other purposes, features, and advantages of the present disclosure, the following specific embodiments of the present disclosure are provided. BRIEF DESCRIPTION OF THE DRAWINGS The drawings described herein are used to provide a further understanding of the present disclosure and constitute a part of the present disclosure. The illustrative embodiments of the present disclosure and their descriptions are used to explain the present disclosure and do not constitute an improper limitation on the present disclosure.In the accompanying drawings: Figure 1 is a schematic diagram of an existing robot inspection process; Figure 2 is a flowchart of an embodiment of a method for executing an inspection task according to an exemplary embodiment; Figure 3 is a schematic diagram of sorting points in a set with identical chassis position parameters according to an exemplary embodiment; Figure 4 is a schematic diagram of the overall architecture of executing an inspection task according to an exemplary embodiment; Figure 5 is a schematic diagram of the structure of an inspection task execution device according to an exemplary embodiment; Figure 6 is a schematic diagram of the hardware structure of an electronic device according to an exemplary embodiment; and Figure 7 is a schematic diagram of the structure of a storage medium according to an exemplary embodiment. DETAILED DESCRIPTION OF THE EMBODIMENTS The exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different drawings represent identical or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims. The terminology used in this disclosure is for the purpose of describing specific embodiments only and is not intended to be limiting of the present disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and / or," as used herein, refers to and encompasses any and all possible combinations of one or more of the associated listed items. It should be understood that while this disclosure may employ terms such as "first," "second," and "third" to describe various types of information, such information should not be limited to these terms. These terms are merely used to distinguish information of the same type from one another. For example, first information could be referred to as second information, and similarly, second information could be referred to as first information, without departing from the scope of this disclosure. Depending on the context, the term "if," as used herein, could be interpreted as meaning "at the time of," "when," or "in response to a determination." Figure 1 illustrates an existing robot inspection process. During each inspection point, various components on the robot must be adjusted according to the configuration requirements of the point. After data collection, the components are reset to ensure the robot safely moves to the next point.As shown in the inspection process in Figure 1, while the robot inspects various points, the positions of two adjacent points may remain unchanged. However, the robot still needs to reset the pan / tilt height and angle after completing data collection at each point. Furthermore, even if the requirements for pan / tilt height or angle at two adjacent points have changed, the robot still needs to adjust the pan / tilt height and angle sequentially according to the requirements of the current point. This demonstrates that the robot performs a large number of redundant actions during inspections, resulting in relatively low inspection efficiency. To address the aforementioned technical issues, the present disclosure proposes a method for executing inspection tasks. After receiving a user-programmed inspection task, the robot reorders the inspection order according to the configuration parameters of the points. This minimizes the differences in robot component states between adjacent points in the updated inspection order. Consequently, when the robot switches from the previous point to the current point to be inspected, the robot reduces the actions of components with consistent states and only adjusts and collects data for target components with inconsistent states according to the configuration parameters corresponding to the current point to be inspected. This reduces inspection task execution time, robot power consumption, and inspection efficiency, thereby meeting the inspection requirements of the scenario. The following detailed description of the technical solutions of the present disclosure and how they address the aforementioned technical issues is provided through specific embodiments. The enumerated embodiments may be combined with one another, and identical or similar concepts or processes may not be described in detail in some embodiments. The following detailed description of the embodiments of the present disclosure is provided in conjunction with the accompanying drawings. Figure 2 is a flowchart illustrating an exemplary embodiment of a method for executing an inspection task. In this embodiment, the components involved in a robot performing an inspection task may include a chassis, a lift, and a pan / tilt head. The chassis controls robot movement, and its status can be represented by position coordinates and orientation angles. The lift controls the height of a pan / tilt head camera, and its status can be represented by the pan / tilt head height. The pan / tilt head controls the camera angle, and its status is represented by the pan / tilt head angle. As shown in Figure 2, the inspection task execution method includes the following steps: Step 201: Based on the configuration parameters of each point in the inspection task, the inspection order of each point in the inspection task is updated. Step 202: While inspecting each point in the updated inspection order, the target components whose status is inconsistent between the previous point and the current point to be inspected are determined based on the configuration parameters of the previous point and the configuration parameters of the current point to be inspected. Step 203: Adjust the target component using the configuration parameters corresponding to the target component at the current inspection point, and collect data for the current inspection point.In this embodiment, an inspection task is the task that the robot currently needs to complete. An inspection task includes a list of points and the configuration parameters for each point in the list. The order in which the points are arranged in the list defines the inspection order, which indicates the order in which the robot inspects each point. For example, the various configuration parameters may include chassis position parameters, pan / tilt height parameters, pan / tilt angle parameters, and data collection modes. These parameters represent the status of various robot components. When the status of the robot components meets the configuration parameter requirements, the robot collects data at the current point according to the specified data collection mode. For example, the chassis position parameter represents the status of the robot chassis, the pan / tilt height parameter represents the status of the robot's lift mast, and the pan / tilt angle parameter represents the status of the robot's pan / tilt. The target component is a robot component whose status is inconsistent between two adjacent points in the inspection sequence. For example, point 2 is adjacent to point 3. The configuration parameters for point 2 include chassis position A, gimbal height D, and gimbal angle E, while the configuration parameters for point 3 include chassis position A, gimbal height D, and gimbal angle F. Comparison confirms that the target component with the inconsistent status is the gimbal. By adjusting the target component, the status of each component on the robot meets the configuration parameter requirements of the currently targeted point, facilitating data collection. Specifically, data is collected according to the data collection mode indicated in the configuration parameters of the currently targeted point, such as photo mode or video mode. At this point, the inspection task execution process shown in FIG. 2 is completed. By reordering the inspection order of the inspection task according to the configuration parameters of the points, the differences in robot component states between adjacent points in the updated inspection order are minimized. Consequently, when the robot switches from the previous point to the current point to be inspected, the robot reduces the actions of components with consistent states and only adjusts and collects data for target components with inconsistent states according to the configuration parameters corresponding to the current point to be inspected. This reduces inspection task execution time, robot power consumption, and inspection efficiency, thereby meeting the inspection requirements of the scenario. In some embodiments of the present disclosure, the process of updating the inspection order of each point in the inspection task based on the configuration parameters of each point in the task is performed by obtaining a preset sorting order of various parameters in the configuration parameters and then updating the position of each point in the inspection order based on the preset sorting order and various parameters.In this embodiment, the preset sorting order represents the inspection order adjustment strategy. As previously mentioned, the configuration parameters include chassis position parameters, pan / tilt height parameters, pan / tilt angle parameters, and data collection mode. Considering the varying importance of chassis position, pan / tilt height, and pan / tilt angle for safety inspections, the robot's driving environment must be flat, open, and obstacle-free when it reaches the corresponding chassis position. Chassis position is of paramount importance for safety inspections. Pan / tilt height controls the raising and lowering of the lift mast, ensuring a clear space in the robot's height direction. Pan / tilt angle controls the rotation of the pan / tilt camera, ensuring a clear space in the direction of the camera's rotation. Based on this, the sorting order of the various parameters can be chassis position parameters, pan / tilt height parameters, and pan / tilt angle parameters. Specifically, the points are sorted first by chassis position parameters, then by pan / tilt height parameters, and finally by pan / tilt angle parameters. As can be seen, updating the inspection order using a preset sorting order not only minimizes differences in robot component status between adjacent points, reducing component duplication, but also ensures safe robot inspections. In some embodiments of the present disclosure, when updating the position of each point in the inspection order based on the preset sorting order and various parameters, points with the same chassis position parameters can be grouped into the same set, resulting in multiple sets. The points in each set are then sorted based on the pan / tilt height and pan / tilt angle parameters to obtain a sorting result for the points in each set. The sets are then sorted using the chassis position parameters of the points in each set to obtain a sorting result for each set. Based on the sorting results of each set and the sorting results of the points in each set, a sorting result for each point in the inspection task is obtained, and the inspection order is updated using the obtained sorting results. Among them, by dividing the points with the same chassis location parameters into a set, it is equivalent to clustering the points according to the chassis location parameters, so that the points in the set can be further sorted based on the pan-tilt height parameter and pan-tilt angle parameter. Therefore, the sorting result of the points in the set is the sorting of points with the same chassis location parameters. The sorting result of each set is the sorting between sets with different chassis location parameters. The sorting result of each set and the sorting result of the points in each set can be used to obtain the sorting result of all points in the inspection task.In one optional implementation, the process of sorting points in each set based on the gimbal height parameter and the gimbal angle parameter is as follows: for each set, points with the same gimbal height parameter are grouped into the same subset. For each resulting subset, the points in the subset are sorted in order of gimbal angle parameter, and each subset is sorted in order of gimbal height parameter, thereby obtaining a sorting result for each subset. Finally, based on the sorting results of each subset and the sorting results of the points in each subset, a sorting result for the points in the set is obtained. In this implementation, grouping points with the same gimbal height parameter into a subset is equivalent to clustering the points in the set according to the gimbal height parameter, facilitating further sorting of the points in the subset according to the gimbal angle parameter. Points within a subset are sorted in order of gimbal angle parameter, while points within the subsets are sorted in order of gimbal height parameter. This reduces the magnitude of the robot's gimbal height and angle adjustments. The above order of size can be understood as either large to small or small to large. For example, as shown in Figure 3, there are four points in a set, all with the same chassis position A. Among these four points, there are two types: gimbal height A and gimbal height B. Therefore, the set can be divided into two subsets: subset 1 and subset 2. Subset 1 contains two points: points 3 and 4, and subset 2 contains two points: points 7 and 10. For subset 1, the points are sorted in ascending order of gimbal angle parameters. Since gimbal angle A < gimbal angle B, the points in subset 1 are sorted as: point 4 > point 3. For subset 2, the points are sorted in ascending order of gimbal angle parameters. Since gimbal angle A < gimbal angle B, the points in subset 2 are sorted as: point 7 > point 10. Since the gimbal height A is less than the gimbal height B, the order of the two subsets is: subset 1 T subset 2. OBy sorting the two subsets and sorting the points in each subset, the resulting sorting result for the points in the entire set is: Point 4, Point 3, Point 7, Point 10. In an optional implementation, the process of sorting the sets using the chassis position parameters of the points in each set to obtain the sorting results for each set is to obtain the current robot position, calculate the distance between the chassis position parameters of the points in each set and the robot position, and then sort the sets in ascending order of distance to obtain the sorting results for each set, thereby completing the sorting between the sets. In this implementation, by sorting the sets from near to far based on the robot position, the robot's inspection distance can be reduced, thereby improving inspection efficiency. It is worth noting that the distance between the chassis position parameter and the robot position can be understood as the path length from the robot position planned according to the scene map to the position indicated by the corresponding chassis position parameter. In some embodiments of the present disclosure, when there are multiple target components, the process of adjusting the target component using the configuration parameters corresponding to the target component at the currently inspected point can obtain environmental information corresponding to the area to which the currently inspected point belongs. If the obtained environmental information meets a preset parallelization condition, the target component can be adjusted in parallel using the configuration parameters of the currently inspected point. If the obtained environmental information does not meet the preset parallelization condition, the target component is adjusted using the configuration parameters of the currently inspected point in a preset serial order. The environmental information may include information about whether there are obstacles in the corresponding area and whether the ground is flat. In a data center scenario, the environmental information may include information about whether there are obstacles in the computer room to which the currently inspected point belongs and whether the ground is flat. Based on this, the preset parallelization conditions are no obstacles and a flat ground. Parallel adjustment involves simultaneous adjustments to various components. For example, if the target components include the chassis, lift, and pan / tilt platform, while the robot adjusts the chassis according to the chassis position parameters, it also adjusts the lift according to the pan / tilt platform height parameters and the pan / tilt platform angle parameters. This allows the robot to reach the position specified by the chassis position parameters, with the pan / tilt platform height and angle already adjusted. This parallel adjustment method can significantly improve inspection efficiency. The aforementioned preset serial order can be the chassis, lift, and pan / tilt platform adjustment sequence: First, the robot moves to the position specified by the chassis position parameters, then adjusts the lift, and finally adjusts the pan / tilt platform. If the environmental information does not meet the preset parallel conditions, it indicates that the robot's environment has obstacles or the ground is uneven. Adjusting the target components in the preset serial order ensures the safe execution of each component's actions.In another embodiment of the present disclosure, during the parallel adjustment of target components, the robot's driving smoothness can be monitored. If the driving smoothness does not meet preset smoothness conditions, adjustments to target components other than the chassis can be stopped, and all target components except the chassis can be reset. Driving smoothness can be represented by detection results from various sensors on the robot, such as radar and gyroscopes, and / or the robot's turning angle. For example, the robot's operating smoothness can be detected based on data from various sensors, or the robot's turning angle reaches a certain threshold when making a wide turn. These results and corresponding weights can be combined to calculate the driving smoothness. By monitoring the robot's driving smoothness in real time, the safe execution of various robot component movements can be further ensured, and by resetting the components to safe positions, damage to the components can be prevented. In another embodiment of the present disclosure, after data is collected at the current inspection point, the data identifier of the collected data can be added to a preset data queue. When a preset timed task arrives, the data identifier at the head of the queue is removed from the queue, and the data corresponding to the removed data identifier is uploaded to the cloud, thereby achieving asynchronous data push. Based on the above embodiments, FIG4 is a schematic diagram of the overall architecture of inspection task execution according to an exemplary embodiment. First, the robot receives a list of points to be executed from the cloud, reorders the list of points according to configuration parameters, and places the reordered list of points into a task queue. The robot then sequentially pushes out the points in the task queue to inspect the pushed-out points. Then, the robot obtains the configuration parameters of the pushed-out point and, based on the data collection mode of the pushed-out point, obtains a component execution list for the area to which the pushed-out point belongs. The robot determines the target component to be executed in the component execution list and determines whether the environmental information of the area to which the robot belongs meets the preset parallel conditions. The robot triggers the execution of the target component based on the determination result and obtains the robot posture adjustment result based on the component execution result. If the posture adjustment result is successful, the robot collects data from the point and adds the identifier of the collected data to a reporting queue. The data in the reporting queue is asynchronously reported to the cloud via a scheduled task. The triggering and execution of the target component can be controlled by calling the corresponding component interface to improve component control stability. Component interfaces include component reset interface, component status interface, component execution result feedback interface, component execution action interface, and component execution cancellation interface. Components in the component execution list can include chassis, lifts, pan / tilt heads, sensors, and more.Furthermore, the robot maintains various safety daemon threads throughout the entire inspection process, including the following: Safety Motion Thread: This thread monitors the robot's driving stability in real time. If it detects that the driving stability does not meet preset stability requirements, it stops the movement of all components except the chassis and resets them. Collision Handling Thread: This thread cancels the current task and issues an alarm when a collision is detected. Emergency Stop Thread: This thread cancels the current task upon receiving an emergency stop command. Fault Handling Thread: This thread issues an alarm and can output a preset fault handling process when a fault is detected. It should be noted that all user information (including but not limited to user device information and personal information) and data (including but not limited to data used for analysis, storage, and display) referred to in this disclosure are authorized by the user or fully authorized by all parties. The collection, use, and processing of this data must comply with the relevant laws, regulations, and standards of the relevant countries and regions, and corresponding entry points are provided for users to authorize or deny access. Corresponding to the aforementioned embodiments of the inspection task execution method, the present disclosure also provides embodiments of an inspection task execution device. Figure 5 is a schematic structural diagram of an inspection task execution device, according to an exemplary embodiment. This device is used to execute the inspection task execution method provided in any of the aforementioned embodiments. As shown in Figure 5, the inspection task execution device includes: a sequence adjustment module 510 for updating the inspection sequence of each point in the inspection task based on the configuration parameters of each point in the inspection task, where the configuration parameters represent the status of each component on the robot; a component determination module 520 for determining, during the inspection of each point in accordance with the updated inspection sequence, target components whose status is inconsistent between the previous point and the current point to be inspected based on the configuration parameters of the previous point and the configuration parameters of the current point to be inspected; and an inspection module 530 for adjusting the target components using the corresponding configuration parameters of the target components at the current point to be inspected, thereby collecting data for the current point to be inspected. In an optional implementation, the sequence adjustment module 510 is specifically configured to obtain a preset sorting order of various parameters in the configuration parameters; and update a position of each point in the inspection sequence according to the preset sorting order and the various parameters.In an optional implementation, the configuration parameters include chassis position parameters, pan-tilt height parameters, and pan-tilt angle parameters, and the preset sorting order is chassis position parameters, pan-tilt height parameters, and pan-tilt angle parameters in sequence; the order adjustment module 510 is specifically configured to, in the process of updating the position of each point in the inspection sequence according to the preset sorting order and the various parameters, divide the points with the same chassis position parameters among the points into the same set to obtain multiple sets; sort the points in each set based on the pan-tilt height parameter and the pan-tilt angle parameter to obtain sorting results of the points in each set; sort the sets using the chassis position parameters of the points in each set to obtain sorting results of each set; obtain sorting results of each point in the inspection task based on the sorting results of each set and the sorting results of the points in each set; and update the inspection sequence using the sorting results. In an optional implementation, the order adjustment module 510 is specifically configured to, during the process of sorting the points in each set based on the pan-tilt height parameter and the pan-tilt angle parameter, group the points in each set with the same pan-tilt height parameter into the same subset; sort the points in each subset obtained by the sorting in order of the pan-tilt angle parameter; sort each subset in order of the pan-tilt height parameter to obtain a sorting result for each subset; and obtain a sorting result for the points in each subset based on the sorting result for each subset and the sorting result for the points in each subset. In an optional implementation, the order adjustment module 510 is specifically configured to, during the process of sorting the sets using the chassis position parameters of the points in each set to obtain the sorting result for each set, obtain the current robot position; calculate the distance between the chassis position parameters of the points in each set and the robot position; and sort the sets in ascending order of the distances to obtain the sorting result for each set. In an optional implementation, the target component includes multiple components; the inspection module 530 is specifically configured to obtain environmental information corresponding to the area to which the current inspection point belongs during the process of adjusting the target component using the configuration parameters corresponding to the target component in the current inspection point; if the environmental information meets a preset parallel condition, the target component is adjusted in parallel using the configuration parameters of the current inspection point; if the environmental information does not meet the preset parallel condition, the target component is adjusted using the configuration parameters of the current inspection point and a preset serial order.In an optional implementation (not shown in FIG5 ), the apparatus further includes a safety guard module configured to detect the robot's driving smoothness during the parallel adjustment of the target components; if the driving smoothness does not meet a preset smoothness condition, the module stops adjusting the target components other than the chassis and resets all target components other than the chassis. The implementation of the functions and effects of each unit in the apparatus is described in detail in the implementation of the corresponding steps in the method described above and will not be repeated here. Since the apparatus embodiments generally correspond to the method embodiments, reference will be made to the description of the method embodiments for relevant details. The apparatus embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of these modules may be selected to achieve the objectives of the disclosed solution according to actual needs. Persons of ordinary skill in the art will be able to understand and implement the disclosed solution without inventive effort. The disclosed embodiments also provide an electronic device corresponding to the inspection task execution method provided in the aforementioned embodiments, for executing the aforementioned inspection task execution method. Figure 6 is a hardware structure diagram of an electronic device according to an exemplary embodiment. The electronic device includes a communication interface 601, a processor 602, a memory 603, and a bus 604. The communication interface 601, processor 602, and memory 603 communicate with each other via bus 604. The processor 602 executes the inspection task execution method described above by reading and executing machine-executable instructions corresponding to the control logic of the inspection task execution method in memory 603. The details of this method are described in the above embodiments and are not repeated here. The memory 603 referred to in this disclosure can be any electronic, magnetic, optical, or other physical storage device and can contain stored information, such as executable instructions, data, and the like. Specifically, the memory 603 can be RAM (Random Access Memory), flash memory, a storage drive (such as a hard drive), any type of storage disk (such as an optical disk, DVD, etc.), or similar storage media, or a combination thereof. The communication connection between the system network element and at least one other network element is achieved through at least one communication interface 601 (which may be wired or wireless), and the Internet, a wide area network, a local area network, a metropolitan area network, etc. may be used. The bus 604 may be an ISA bus, a PCI bus, or an EISA bus, etc.The bus can be divided into an address bus, a data bus, a control bus, etc. The memory 603 is used to store programs, and the processor 602 executes the programs after receiving execution instructions. The processor 602 may be an integrated circuit chip with signal processing capabilities. During implementation, the steps of the above method can be completed by hardware integrated logic circuits in the processor 602 or by software instructions. The processor 602 may be a general-purpose processor, including a network processor (NP), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of this disclosure. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in conjunction with the embodiments of this disclosure can be directly executed by a hardware decoding processor or by a combination of hardware and software modules in the decoding processor. The electronic device provided in the embodiments of the present disclosure and the inspection task execution method provided in the embodiments of the present disclosure are based on the same inventive concept and have the same beneficial effects as the methods employed, executed, or implemented therein. The embodiments of the present disclosure also provide a computer-readable storage medium corresponding to the inspection task execution method provided in the aforementioned embodiments. Referring to FIG. 7 , the computer-readable storage medium shown is an optical disc 30 storing a computer program (i.e., a program product). When executed by a processor, the computer program executes the inspection task execution method provided in any of the aforementioned embodiments. It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory, or other optical or magnetic storage media, and these are not described in detail here. The computer-readable storage medium provided in the aforementioned embodiments of the present disclosure and the inspection task execution method provided in the embodiments of the present disclosure are based on the same inventive concept and have the same beneficial effects as the methods employed, executed, or implemented therein by the application program stored therein. The embodiments of the present disclosure further provide a computer program. When the computer program is executed in a computer, it causes the computer to execute the inspection task execution method provided in any of the aforementioned embodiments.Those skilled in the art will readily envision other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only; the true scope and spirit of the present disclosure are indicated by the following claims. It should also be noted that the terms "comprise," "comprising," or any other variations thereof are intended to encompass a non-exclusive inclusion, such that a process, method, article, or apparatus comprising a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Without further limitation, the phrase "comprising an element..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element. The above description is merely a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present disclosure shall be included in the scope of protection of the present disclosure.
Claims
Claims 1. A method for executing an inspection task, the method comprising: updating the inspection order of each point in the inspection task based on configuration parameters of each point in the inspection task, wherein the configuration parameters represent the status of each component on the robot; and determining, during the inspection of each point according to the updated inspection order, target components whose status is inconsistent between the previous point and the current point to be inspected based on the configuration parameters of the previous point and the configuration parameters of the current point to be inspected; The target component is adjusted using the configuration parameters corresponding to the target component at the current inspection point, and data is collected for the current inspection point.
2. The method according to claim 1, wherein the updating of the inspection order of each point in the inspection task based on the configuration parameters of each point in the inspection task comprises: Obtaining a preset sorting order of various parameters in the configuration parameters; According to the preset sorting order and the various parameters, the position of each point in the inspection sequence is updated.
3. The method according to claim 2, wherein the configuration parameters include chassis position parameters, pan / tilt height parameters, and pan / tilt angle parameters, and the preset sorting order is chassis position parameters, pan / tilt height parameters, and pan / tilt angle parameters; and updating the position of each point in the inspection sequence according to the preset sorting order and the various parameters comprises: Divide the points with the same chassis position parameters among the points into the same set to obtain multiple sets; Based on the pan / tilt height parameter and the pan / tilt angle parameter, the points in each set are sorted respectively to obtain a sorting result of the points in each set; the sets are sorted using the chassis position parameters of the points in each set to obtain a sorting result of each set; based on the sorting results of each set and the sorting results of the points in each set, a sorting result of each point in the inspection task is obtained; and the inspection order is updated using the sorting results.
4. The method according to claim 3, wherein the sorting of the points in each set based on the pan / tilt height parameter and the pan / tilt angle parameter comprises: For each set, points with the same gimbal height parameter in the set are divided into the same sub-set; For each subset obtained by the division, the points in the subset are sorted in order of the size of the gimbal angle parameter; each subset is sorted in order of the size of the gimbal height parameter to obtain a sorting result for each subset; and a sorting result for the points in the set is obtained based on the sorting results of each subset and the sorting results of the points in each subset.
5. The method according to claim 3 or 4, wherein the step of sorting the sets using the chassis position parameters of the midpoints of the sets to obtain sorting results of the sets comprises: Get the current robot position; Calculate the distance between the chassis position parameters of the points in each set and the robot position respectively; The sets are sorted in ascending order of the distances to obtain sorting results for the sets.
6. The method according to any one of claims 1 to 5, wherein the target component comprises a plurality of components; and adjusting the target component using configuration parameters corresponding to the target component at the current inspection point comprises: Obtain the environmental information corresponding to the area where the current inspection point belongs; When the environmental information satisfies a preset parallel condition, the target component is adjusted in parallel using the configuration parameters of the current inspection point; 9 In the case that the environmental information does not meet the preset parallel conditions, the target component is adjusted using the configuration parameters of the current inspection point and the preset serial order.
7. The method according to claim 6, further comprising: During the parallel adjustment of the target component, detecting the driving stability of the robot; When the driving smoothness does not meet the preset smoothness condition, the adjustment of the target components except the chassis is stopped, and all the target components except the chassis are reset.
8. A patrol inspection task execution device, comprising: a sequence adjustment module for updating the inspection order of each point in the inspection task based on configuration parameters of each point in the inspection task, wherein the configuration parameters represent the status of each component on the robot; and a component determination module for determining, during the process of inspecting each point in accordance with the updated inspection order, target components whose status is inconsistent between the previous point and the current point to be inspected based on the configuration parameters of the previous point and the configuration parameters of the current point to be inspected; The inspection module is used to adjust the target component by using the configuration parameters corresponding to the target component at the current inspection point, and collect data from the current inspection point.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, wherein the program is executed by a processor to implement the method according to any one of claims 1 to 7.
11. A computer program, which, when executed in a computer, causes the computer to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Machine room inspection method and device and robot
CN111882694A
Inspection path generation device and inspection path generation method
CN116569026A
Lifting holder type inspection robot
CN116857524A
Inspecting components using mobile robotic inspection systems
US20160195390A1