Robot inspection method and system, computer equipment and readable storage medium
Through the inspection robot, the data transmission problem in harsh environments is solved, data integrity and transmission speed are ensured, and the quality and integrity of inspection tasks are ensured.
Patent Information
- Application Number
- CN202411239364.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-05
- Publication Date
- 2024-12-13
AI Technical Summary
In harsh, remote or extreme environments, inspection robots find it difficult to effectively transmit data, resulting in data loss or slow transmission speed, affecting the quality and integrity of inspection tasks.
The inspection robot transmits data to the background server in real time, and retransmits abnormal data to the server after completing the task, monitoring the transmission status through the local database to ensure data integrity and transmission speed.
It effectively avoids data loss, improves data transmission speed, and ensures the normal progress and quality integrity of inspection tasks.
Smart Images

Figure CN119135767A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data transmission, and in particular to a robot inspection method, system, computer equipment and readable storage medium. Background Art
[0002] With the rapid development of science and technology, industrial inspection robots, as a new type of intelligent equipment, are gradually becoming an indispensable and important role in industrial safety production. First, it can perform inspection tasks in dangerous environments, such as high temperature, high pressure, toxic and harmful scenes. Secondly, intelligent inspection robots can perform inspection tasks around the clock and continuously, without being restricted by time and environment. Therefore, in the prior art, inspection robots are usually used to replace manual inspection tasks in various environments for data collection.
[0003] However, the research found that when the inspection robot is performing inspection tasks, the inspection environment is usually harsh, remote, closed or extreme. In such an inspection environment, due to the influence of extreme environment, house structure, building materials, etc., there will often be no signal, signal interruption or weak signal. As a result, the inspection robot cannot transmit data to the outside world when performing inspection tasks, or the speed of transmitting inspection data is very slow, or the transmitted data is lost, which leads to the failure of the inspection task and the inability to produce inspection results, affecting the quality and integrity of the inspection. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide a robot inspection method, system, computer equipment and readable storage medium to increase the speed of transmitting inspection data, ensure the integrity of inspection data, avoid the loss of inspection data, further ensure the normal progress of inspection tasks, and ensure the quality and integrity of inspections.
[0005] In a first aspect, an embodiment of the present application provides a robot inspection method, which is applied to a robot inspection system, wherein the system includes an inspection robot and a background server, and the method includes:
[0006] When the inspection robot executes the inspection task issued by the backend server, it transmits the collected inspection point data to the backend server in real time;
[0007] The inspection robot obtains the transmission status of each inspection point data, and saves each abnormal inspection point data to a local database, wherein the abnormal inspection point data is the inspection point data whose transmission status is failed;
[0008] After completing the inspection task, the inspection robot retransmits the data of each abnormal inspection point to the background server;
[0009] The backend server displays the inspection point data it receives.
[0010] Optionally, before the inspection robot obtains the transmission status of data at each inspection point, the method further includes:
[0011] For each inspection point data, the inspection robot determines whether it has received the data processing result returned by the background server for the inspection point data within a preset time;
[0012] If the data processing result returned by the background server for the inspection point data is not received within the preset time, the inspection robot determines the transmission status of the inspection point data as failure;
[0013] If the data processing result returned by the background server for the inspection point data is received within a preset time, the inspection robot determines the transmission status of the inspection point data as successful.
[0014] Optionally, the method further comprises:
[0015] The inspection robot configures an inspection result status code for each inspection point data according to the transmission status of each inspection point data;
[0016] The inspection robot configures the inspection result status code of each inspection point data and sends it to the background server;
[0017] The background server displays the inspection status corresponding to the inspection result status code of each inspection point data.
[0018] Optionally, the abnormal inspection point data includes transmission failure data and feedback failure data, and configuring the inspection result status code for each inspection point data according to the transmission status of each inspection point data includes:
[0019] Set the inspection result status code of each failed data transmission to 1;
[0020] Set the inspection result status code of each feedback failure data to 2;
[0021] The inspection result status code of each normal inspection point data is configured as 3.
[0022] Optionally, displaying the inspection status corresponding to the inspection result status code of each inspection point data includes:
[0023] When the inspection result status code is 1 or 2, the inspection status of the inspection point data is displayed as data not arrived;
[0024] When the inspection result status code is 3, the inspection status of the inspection point data is displayed as data has arrived.
[0025] Optionally, the retransmitting the data of each abnormal inspection point to the background server includes:
[0026] Query the local database to determine whether there is abnormal inspection point data in the local database;
[0027] If there is no abnormal inspection point data in the local database, stop transmitting the abnormal inspection point data to the background server;
[0028] If there is abnormal inspection point data in the local database, each abnormal inspection point data in the local database is transmitted to the backend server in sequence;
[0029] The transmission status of each abnormal inspection point data is obtained, and each retransmitted successfully inspection point data with a transmission status of success is deleted from the local database until there is no abnormal inspection point data in the local database.
[0030] Optionally, the method further comprises:
[0031] The background server displays each successfully retransmitted inspection point data it has received and the transmission status of each successfully retransmitted inspection point data.
[0032] In a second aspect, an embodiment of the present application provides a robot inspection system, the system comprising an inspection robot and a background server:
[0033] The inspection robot is used to transmit the collected inspection point data to the backend server in real time when executing the inspection task issued by the backend server;
[0034] The inspection robot is used to obtain the transmission status of each inspection point data and save each abnormal inspection point data to a local database, wherein the abnormal inspection point data is the inspection point data whose transmission status is failed;
[0035] The inspection robot is used to retransmit the data of each abnormal inspection point to the background server after completing the inspection task;
[0036] The background server is used to display the inspection point data it receives.
[0037] Optionally, the inspection robot is used to determine, for each inspection point data, whether a data processing result returned by the background server for the inspection point data is received within a preset time before obtaining the transmission status of the inspection point data;
[0038] The inspection robot is configured to determine the transmission status of the inspection point data as failed if the data processing result returned by the background server for the inspection point data is not received within a preset time;
[0039] The inspection robot is used to determine the transmission status of the inspection point data as successful if the data processing result returned by the background server for the inspection point data is received within a preset time.
[0040] Optionally, the inspection robot is used to configure an inspection result status code for each inspection point data according to the transmission status of each inspection point data;
[0041] The inspection robot is used to send the inspection result status code of each inspection point data configuration to the background server;
[0042] The background server is used to display the inspection status corresponding to the inspection result status code of each inspection point data.
[0043] Optionally, the abnormal inspection point data includes transmission failure data and feedback failure data, and configuring the inspection result status code for each inspection point data according to the transmission status of each inspection point data includes:
[0044] Set the inspection result status code of each failed data transmission to 1;
[0045] Set the inspection result status code of each feedback failure data to 2;
[0046] The inspection result status code of each normal inspection point data is configured as 3.
[0047] Optionally, displaying the inspection status corresponding to the inspection result status code of each inspection point data includes:
[0048] When the inspection result status code is 1 or 2, the inspection status of the inspection point data is displayed as data not arrived;
[0049] When the inspection result status code is 3, the inspection status of the inspection point data is displayed as data has arrived.
[0050] Optionally, the retransmitting the data of each abnormal inspection point to the background server includes:
[0051] Query the local database to determine whether there is abnormal inspection point data in the local database;
[0052] If there is no abnormal inspection point data in the local database, stop transmitting the abnormal inspection point data to the background server;
[0053] If there is abnormal inspection point data in the local database, each abnormal inspection point data in the local database is transmitted to the backend server in sequence;
[0054] The transmission status of each abnormal inspection point data is obtained, and each retransmitted successfully inspection point data with a transmission status of success is deleted from the local database until there is no abnormal inspection point data in the local database.
[0055] Optionally, the background server is used to display each successfully retransmitted checkpoint data received and the transmission status of each successfully retransmitted checkpoint data.
[0056] In a third aspect, an embodiment of the present application provides a computer device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the steps of the robot inspection method described in any optional implementation manner of the first aspect are performed.
[0057] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the robot inspection method described in any optional implementation manner in the above-mentioned first aspect are executed.
[0058] The technical solution provided by this application includes but is not limited to the following beneficial effects:
[0059] The present application enables the inspection robot to transmit the collected inspection point data to the background server in real time when executing the inspection task issued by the background server, and can transmit the inspection point data to the outside world in real time; then the inspection robot obtains the transmission status of each inspection point data, and saves each abnormal inspection point data to the local database, wherein the abnormal inspection point data is the inspection point data with a failed transmission status, and can monitor in real time whether each inspection point data is successfully transmitted, and locally store the data that cannot be transmitted to the server to avoid the loss of inspection data; after completing the inspection task, the inspection robot retransmits the abnormal inspection point data to the background server, and can retransmit the locally stored data that cannot be transmitted to the server to the server in areas with good signals, thereby ensuring the integrity of the inspection data and improving the speed of transmitting the inspection data; finally, the background server displays the inspection point data it has received, which can ensure the normal progress of the inspection task and ensure the quality and integrity of the inspection.
[0060] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0062] Figure 1 A flowchart of a robot inspection method provided by Embodiment 1 of the present invention is shown;
[0063] Figure 2 A flow chart of a transmission status determination method provided by Embodiment 1 of the present invention is shown;
[0064] Figure 3 A flow chart of a method for displaying inspection status provided by the first embodiment of the present invention is shown;
[0065] Figure 4 A flow chart of a method for retransmitting inspection point data provided by the first embodiment of the present invention is shown;
[0066] Figure 5 A schematic diagram of a robot inspection scene provided by the first embodiment of the present invention is shown;
[0067] Figure 6 A flowchart of a robot inspection method in a robot inspection scenario provided by the first embodiment of the present invention is shown;
[0068] Figure 7 A schematic diagram of the structure of a robot inspection system provided by Embodiment 2 of the present invention is shown;
[0069] Figure 8 A schematic diagram of the structure of a computer device provided in Embodiment 3 of the present invention is shown. DETAILED DESCRIPTION
[0070] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present invention.
[0071] Embodiment 1
[0072] To facilitate understanding of this application, Figure 1 The flowchart of a robot inspection method provided by the first embodiment of the present invention is shown to describe the contents of the first embodiment of the present application in detail.
[0073] See also Figure 1 As shown, Figure 1 A flowchart of a robot inspection method provided by Embodiment 1 of the present invention is shown, wherein the method is applied to a robot inspection system, the system includes an inspection robot and a background server, and the method includes steps S101 to S104:
[0074] S101: When the inspection robot executes the inspection task issued by the background server, it transmits the collected data of each inspection point to the background server in real time.
[0075] Specifically, the inspection tasks are issued by the background server. The platform tasks can be periodic tasks or single temporary tasks. Each task can inspect multiple inspection points. After receiving the inspection tasks issued by the background server, the inspection robot walks to each inspection point along the established route to collect data to obtain inspection point data, such as pictures, videos, temperature, sound, etc. For each inspection point, after the inspection robot collects data, it immediately transmits the inspection point data of the inspection point to the background server. The background service analyzes the data and returns the analysis results to the inspection robot.
[0076] S102: The inspection robot obtains the transmission status of each inspection point data, and saves each abnormal inspection point data to a local database, wherein the abnormal inspection point data is the inspection point data whose transmission status is failed.
[0077] Specifically, the data transmission between the inspection robot and the background server is through wireless network communication. Once the signal is poor, the data transmission will fail. Therefore, for each inspection point data, the inspection robot determines the data transmission status of the inspection point data, and saves the inspection point data with failed transmission status to the local database for subsequent retransmission. At the same time, the inspection robot sends the transmission status of each inspection point data as the inspection result to the background server.
[0078] When the inspection robot saves the inspection point data to the local database, it stores one inspection point data as a message, and the message fields are set as follows: id: primary key, storing the unique identifier of the data; timestamp: the timestamp of data storage; task_info: Json string, storing the inspection point task related information; server_info: Json string, storing the relevant information for communication with the server, server IP, user name; message: data collected by the inspection point; ext: extended field.
[0079] S103: After completing the inspection task, the inspection robot retransmits the data of each abnormal inspection point to the background server.
[0080] Specifically, when all inspection points are inspected, the inspection robot completes the inspection task, and then the inspection robot automatically returns to the designated area (such as the charging room) to prepare for subsequent inspection tasks. At this time, the inspection data retransmission service is started to retransmit the abnormal inspection point data to the background server. The designated area is an area with strong network signal coverage. The robot will transmit the inspection point data to the background server in the designated area, which can improve the transmission success rate and transmission efficiency of the inspection point data.
[0081] S104: The background server displays the inspection point data it has received.
[0082] Specifically, the background server displays the inspection point data it receives, and the inspection robot displays the transmission status of the data at each inspection point.
[0083] In an alternative embodiment, see Figure 2 As shown, Figure 2 A flow chart of a transmission status determination method provided by the first embodiment of the present invention is shown, wherein before the inspection robot obtains the transmission status of each inspection point data, the method further includes steps S201 to S203:
[0084] S201: For each inspection point data, the inspection robot determines whether it has received the data processing result returned by the background server for the inspection point data within a preset time.
[0085] Specifically, after receiving the inspection point data sent by the inspection robot, the background server processes the inspection point data and returns the data processing result to the inspection point data.
[0086] S202: If the data processing result returned by the background server for the inspection point data is not received within a preset time, the inspection robot determines the transmission status of the inspection point data as failure.
[0087] Specifically, if the data processing result returned by the background server for the inspection point data is not received within the preset time, it means that the inspection point data is not successfully transmitted to the background server, or the data processing result is not successfully returned to the inspection robot, both of which indicate that the communication between the inspection robot and the background server is interrupted. At this time, the transmission status of the inspection point data is determined to be failure.
[0088] S203: If the data processing result returned by the background server for the inspection point data is received within a preset time, the inspection robot determines the transmission status of the inspection point data as successful.
[0089] Specifically, if the data processing result returned by the background server for the inspection point data is received within the preset time, it means that the inspection point data is successfully transmitted to the background server, and the data processing result is successfully returned to the inspection robot, and the communication between the inspection robot and the background server is normal. At this time, the transmission status of the inspection point data is determined to be successful.
[0090] In an alternative embodiment, see Figure 3 As shown, Figure 3 A flowchart of a method for displaying inspection status provided by the first embodiment of the present invention is shown, wherein the method further includes steps S301 to S303:
[0091] S301: The inspection robot configures an inspection result status code for each inspection point data according to the transmission status of each inspection point data.
[0092] S302: The inspection robot configures the inspection result status code of each inspection point data and sends it to the background server.
[0093] S303: The background server displays the inspection status corresponding to the inspection result status code of each inspection point data.
[0094] Specifically, different inspection result status codes are configured for inspection point data of different transmission states, and further, different inspection result status codes can be configured for inspection point data of the same transmission state but different state reasons.
[0095] In an optional implementation scheme, the abnormal inspection point data includes transmission failure data and feedback failure data, and configuring the inspection result status code for each inspection point data according to the transmission status of each inspection point data includes:
[0096] The inspection result status code of each failed sending data is configured as 1; the inspection result status code of each failed feedback data is configured as 2; and the inspection result status code of each normal inspection point data is configured as 3.
[0097] Specifically, different inspection result status codes are defined to mark the following transmission statuses. When the inspection result status code is 1, it indicates that the data transmission failed, that is, the inspection robot failed to send the inspection point data to the server; when the inspection result status code is 2, it indicates that the feedback failed, that is, the inspection robot successfully sent the data, but did not receive a response from the background server within a period of time; when the inspection result status code is 3, it indicates that the inspection robot received the result returned by the background server within a certain period of time. Status 1 and status 2 indicate network transmission problems, indicating that the inspection result of the current inspection point has not been obtained; status 3 indicates that the inspection result of the current inspection point has been successfully obtained.
[0098] In an optional implementation scheme, displaying the inspection status corresponding to the inspection result status code of each inspection point data includes:
[0099] When the inspection result status code is 1 or 2, the inspection status of the inspection point data is displayed as data not arrived; when the inspection result status code is 3, the inspection status of the inspection point data is displayed as data arrived.
[0100] Specifically, the inspection robot sends the inspection result status code of the current inspection point to the background server. The inspection result status code is displayed in a report based on the results of the inspection point. If the inspection result status code is 1 or 2, the report displays "data has not arrived"; if the inspection result is status 3, the inspection result and "data has arrived" are displayed normally.
[0101] In an alternative embodiment, see Figure 4 As shown, Figure 4 A flowchart of a method for retransmitting inspection point data provided by the first embodiment of the present invention is shown, wherein the retransmission of each abnormal inspection point data to the background server comprises steps S401 to S404:
[0102] S401: Query the local database to determine whether there is abnormal inspection point data in the local database.
[0103] S402: If there is no abnormal inspection point data in the local database, stop transmitting the abnormal inspection point data to the background server.
[0104] S403: If there is abnormal inspection point data in the local database, each abnormal inspection point data in the local database is transmitted to the background server in sequence.
[0105] S404: Acquire the transmission status of each abnormal inspection point data, and delete each retransmitted successfully inspection point data with a successful transmission status from the local database until there is no abnormal inspection point data in the local database.
[0106] Specifically, the retransmission service queries the local database to see if there is any inspection point data. If there is no inspection point data stored, the retransmission service exits; if there is stored data, it enters to obtain the minimum and maximum IDs of the messages stored in the local database, and obtains the inspection point data in order from small to large IDs. After the retransmission service obtains each inspection point data, it parses the current inspection point data and sends the stored inspection point data to the background server according to the stored server_info information.
[0107] The retransmission service performs different processing according to the inspection result status code of the inspection point data: if the inspection result status code is 3, indicating that the inspection point data has been obtained normally, the inspection point data will be deleted from the local database, and the inspection status corresponding to the inspection result status code will be sent to the background server; if the data transmission is status 1 and status 2, indicating that the data retransmission is unsuccessful, the message will not be deleted to wait for the next polling retransmission.
[0108] In an optional embodiment, the method further comprises:
[0109] The background server displays each successfully retransmitted inspection point data it has received and the transmission status of each successfully retransmitted inspection point data.
[0110] Specifically, after receiving the inspection status, the background server updates the inspection status of the current inspection point from "data not arrived" to the inspection point data just received.
[0111] During the data retransmission process, if the robot receives a task from the background server again, it indicates that a new task has started, and the retransmission service clears the data and exits. The following situations cause the retransmission service to exit: no inspection point data is stored, all stored inspection point data is successfully retransmitted, or a new task is received from the platform.
[0112] Here, the robot inspection method is described by taking the robot inspection scene as the charging room as an example. Figure 5 As shown, Figure 5A schematic diagram of a robot inspection scenario provided by the first embodiment of the present invention is shown, wherein the charging room is located in an area with strong network signal coverage. According to the inspection tasks issued by the server, the robot arrives at each inspection point in turn to collect data and send the data to the server in real time, judges and defines the state of data transmission, and sends the results to the management platform (communication between the robot and the management platform, if it fails, it will continue to resend). For the failure of transmission and collection of data due to network transmission problems, the robot stores the inspection data locally. After the robot completes the inspection, the inspection ends and returns to the charging room for charging. At this time, the data retransmission mechanism is started, and the data is continuously polled for retransmission. For the successfully retransmitted data, the robot transmits the inspection results back to the management platform and deletes the locally stored data; for the data that fails to be sent, it continues to resend until the next task starts. When the robot receives a new inspection task, it stops retransmitting and clears the stored data. For the inspection points where real-time transmission fails, the platform displays "data not arrived" in the report, and after the retransmission is successful, the report is updated to the inspection result data.
[0113] For details, see Figure 6 As shown, Figure 6 A flowchart of a robot inspection method in a robot inspection scenario provided by a first embodiment of the present invention is shown, wherein the robot inspection method in the robot inspection scenario includes the following steps: a background server sends an inspection task through a platform, and after the platform sends the inspection task to the robot, the robot walks to the inspection point to collect data, and the robot transmits the collected data to the server to determine the data transmission result; if the server returns a result, the robot sets the result code mark of the inspection point to complete the inspection, and the robot returns the inspection result to the platform; if the data sending fails or the server does not return within a certain period of time, the robot sets the result code mark of the inspection point to data transmission failure, and stores the data locally, and returns the inspection result to the platform; after the robot returns the inspection result to the platform, if the result code marks "data transmission failure", the platform displays "data not arrived" for the next inspection point, and performs data transmission for the next inspection point Data collection is performed until the data of all inspection points are collected. At this time, the inspection is completed, the robot returns to the charging room, starts the data retransmission service, and queries whether there is data message storage; if there is a message storage, poll all message data, obtain a single message (polling in order from old to new according to the message storage time), and then send the current message to the server to determine the data transmission result; if the server returns the result, it returns the inspection result to the platform and deletes the currently sent message. The platform updates the report for this inspection point, updating it from "data not arrived" to the inspection result; if the data sending fails or the server does not return within a certain period of time, the next message is obtained to determine whether it is successfully obtained; if it is successfully obtained, the current message is sent to the server; if this polling is completed, it returns to query whether there is data message storage; if there is no message storage, the message retransmission service exits, cleans up all stored messages, and waits for the platform to issue the next inspection task.
[0114] The above method proposed in this application can be used to inspect sites with poor network signals and no network. First, build the robot charging room in an area with good network signals to ensure that the tasks can be successfully sent to the robot from the management platform, and at the same time ensure good communication between the robot and the server. After receiving the inspection task, the robot starts walking in the inspection area (the robot does not need a network to walk) and collects data at each inspection point. After the data collection at each inspection point is completed, try to send the data to the server in real time. If the transmission fails, store the data locally in the robot. After all inspection points have been collected, walk to the vicinity of the charging room (where the network signal is good) and start to continuously retransmit the locally stored inspection data to the server until the next task is issued. After the robot receives a new task, it clears the stored data and stops retransmitting.
[0115] Embodiment 2
[0116] See also Figure 7 As shown, Figure 7 The schematic diagram of the structure of a robot inspection system provided by the second embodiment of the present invention is shown, wherein the system includes an inspection robot 701 and a background server 702:
[0117] The inspection robot is used to transmit the collected inspection point data to the backend server in real time when executing the inspection task issued by the backend server;
[0118] The inspection robot is used to obtain the transmission status of each inspection point data and save each abnormal inspection point data to a local database, wherein the abnormal inspection point data is the inspection point data whose transmission status is failed;
[0119] The inspection robot is used to retransmit the data of each abnormal inspection point to the background server after completing the inspection task;
[0120] The background server is used to display the inspection point data it receives.
[0121] In an optional implementation scheme, the inspection robot is used to determine whether the data processing result returned by the background server for the inspection point data is received within a preset time for each inspection point data before obtaining the transmission status of the inspection point data;
[0122] The inspection robot is configured to determine the transmission status of the inspection point data as failed if the data processing result returned by the background server for the inspection point data is not received within a preset time;
[0123] The inspection robot is used to determine the transmission status of the inspection point data as successful if the data processing result returned by the background server for the inspection point data is received within a preset time.
[0124] In an optional implementation, the inspection robot is used to configure an inspection result status code for each inspection point data according to the transmission status of each inspection point data;
[0125] The inspection robot is used to send the inspection result status code of each inspection point data configuration to the background server;
[0126] The background server is used to display the inspection status corresponding to the inspection result status code of each inspection point data.
[0127] In an optional implementation scheme, the abnormal inspection point data includes transmission failure data and feedback failure data, and configuring the inspection result status code for each inspection point data according to the transmission status of each inspection point data includes:
[0128] Set the inspection result status code of each failed data transmission to 1;
[0129] Set the inspection result status code of each feedback failure data to 2;
[0130] The inspection result status code of each normal inspection point data is configured as 3.
[0131] In an optional implementation scheme, displaying the inspection status corresponding to the inspection result status code of each inspection point data includes:
[0132] When the inspection result status code is 1 or 2, the inspection status of the inspection point data is displayed as data not arrived;
[0133] When the inspection result status code is 3, the inspection status of the inspection point data is displayed as data has arrived.
[0134] In an optional implementation scheme, the retransmitting the abnormal inspection point data to the background server includes:
[0135] Query the local database to determine whether there is abnormal inspection point data in the local database;
[0136] If there is no abnormal inspection point data in the local database, stop transmitting the abnormal inspection point data to the background server;
[0137] If there is abnormal inspection point data in the local database, each abnormal inspection point data in the local database is transmitted to the backend server in sequence;
[0138] The transmission status of each abnormal inspection point data is obtained, and each retransmitted successfully inspection point data with a transmission status of success is deleted from the local database until there is no abnormal inspection point data in the local database.
[0139] In an optional implementation manner, the background server is used to display each successfully retransmitted checkpoint data received and the transmission status of each successfully retransmitted checkpoint data.
[0140] Embodiment 3
[0141] Based on the same application concept, see Figure 8 As shown, Figure 8 FIG. 4 shows a schematic diagram of the structure of a computer device provided by Embodiment 3 of the present invention, wherein: Figure 8 As shown, a computer device 800 provided in Embodiment 3 of the present application includes:
[0142] A processor 801, a memory 802 and a bus 803, wherein the memory 802 stores machine-readable instructions executable by the processor 801. When the computer device 800 is running, the processor 801 communicates with the memory 802 via the bus 803. When the processor 801 is running, the machine-readable instructions execute the steps of the robot inspection method shown in the above-mentioned embodiment 1.
[0143] Embodiment 4
[0144] Based on the same application concept, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the robot inspection method described in any one of the above embodiments are executed.
[0145] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0146] The computer program product for performing robot inspection provided in an embodiment of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the previous method embodiments. The specific implementation can be found in the method embodiments and will not be repeated here.
[0147] The robot inspection system provided in the embodiment of the present invention can be specific hardware on the device or software or firmware installed on the device. The system provided in the embodiment of the present invention has the same implementation principle and technical effects as the aforementioned method embodiment. For the sake of brief description, the parts not mentioned in the system embodiment can refer to the corresponding contents in the aforementioned method embodiment. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can all refer to the corresponding processes in the aforementioned method embodiment, and will not be repeated here.
[0148] In the embodiments provided by the present invention, it should be understood that the disclosed systems and methods can be implemented in other ways. The system embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some communication interface, device or unit, which can be electrical, mechanical or other forms.
[0149] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0150] In addition, each functional unit in the embodiment provided by the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0151] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, 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. The computer software product is stored in a storage medium, including several 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 methods 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, etc., which can store program codes.
[0152] It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description and are not to be understood as indicating or implying relative importance.
[0153] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, those skilled in the art should understand that any person skilled in the art can still modify the technical solutions described in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or perform equivalent replacements on some of the technical features thereof; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention. They should all be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A robot inspection method, characterized in that: Applied to a robot inspection system, the system includes an inspection robot and a background server, and the method includes: When the inspection robot executes the inspection task issued by the backend server, it transmits the collected inspection point data to the backend server in real time; The inspection robot obtains the transmission status of each inspection point data, and saves each abnormal inspection point data to a local database, wherein the abnormal inspection point data is the inspection point data whose transmission status is failed; After completing the inspection task, the inspection robot retransmits the data of each abnormal inspection point to the background server; The backend server displays the inspection point data it receives.
2. The method according to claim 1, characterized in that Before the inspection robot obtains the transmission status of data at each inspection point, the method further includes: For each inspection point data, the inspection robot determines whether it has received the data processing result returned by the background server for the inspection point data within a preset time; If the data processing result returned by the background server for the inspection point data is not received within the preset time, the inspection robot determines the transmission status of the inspection point data as failure; If the data processing result returned by the background server for the inspection point data is received within a preset time, the inspection robot determines the transmission status of the inspection point data as successful.
3. The method according to claim 2, characterized in that The method further comprises: The inspection robot configures an inspection result status code for each inspection point data according to the transmission status of each inspection point data; The inspection robot configures the inspection result status code of each inspection point data and sends it to the background server; The background server displays the inspection status corresponding to the inspection result status code of each inspection point data.
4. The method according to claim 3, characterized in that The abnormal inspection point data includes transmission failure data and feedback failure data, and configuring the inspection result status code for each inspection point data according to the transmission status of each inspection point data includes: Set the inspection result status code of each failed data transmission to 1; Set the inspection result status code of each feedback failure data to 2; The inspection result status code of each normal inspection point data is configured as 3.
5. The method according to claim 4, characterized in that The inspection status corresponding to the inspection result status code of each inspection point data is displayed, including: When the inspection result status code is 1 or 2, the inspection status of the inspection point data is displayed as data not arrived; When the inspection result status code is 3, the inspection status of the inspection point data is displayed as data has arrived.
6. The method according to claim 1, characterized in that The retransmitting the data of each abnormal inspection point to the background server includes: Query the local database to determine whether there is abnormal inspection point data in the local database; If there is no abnormal inspection point data in the local database, stop transmitting the abnormal inspection point data to the background server; If there is abnormal inspection point data in the local database, each abnormal inspection point data in the local database is transmitted to the backend server in sequence; The transmission status of each abnormal inspection point data is obtained, and each retransmitted successfully inspection point data with a transmission status of success is deleted from the local database until there is no abnormal inspection point data in the local database.
7. The method according to claim 6, characterized in that The method further comprises: The background server displays each successfully retransmitted inspection point data it has received and the transmission status of each successfully retransmitted inspection point data.
8. A robot inspection system, characterized in that: The system includes an inspection robot and a backend server: The inspection robot is used to transmit the collected inspection point data to the backend server in real time when executing the inspection task issued by the backend server; The inspection robot is used to obtain the transmission status of each inspection point data and save each abnormal inspection point data to a local database, wherein the abnormal inspection point data is the inspection point data whose transmission status is failed; The inspection robot is used to retransmit the data of each abnormal inspection point to the background server after completing the inspection task; The background server is used to display the inspection point data it receives.
9. A computer device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the robot inspection method as described in any one of claims 1 to 7 are performed.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the robot inspection method according to any one of claims 1 to 7 are executed.
Citation Information
Patent Citations
Offline inspection system and method of transformer substation inspection robot
CN110850881A
Inspection system
CN116155985A
