Inspection data processing method, smart factory inspection system and related media program
By setting inspection test marks and dynamically adjusting inspection components in smart factories, the problem of invalid event records in inspection reports is solved, data processing efficiency and scientific analysis are improved, and the adaptability of inspection robots is enhanced.
Patent Information
- Application Number
- CN202311709420.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-12
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2043-10-12
AI Technical Summary
In smart factories, inspection reports generated by inspection robots contain a large number of invalid inspection event records, resulting in inefficient data processing and making scientific analysis and decision-making difficult.
By setting the inspection test mark on the inspection path, the inspection report processing server is used to effectively extract the inspection event records, filter out the invalid records, and only retain the valid event records corresponding to the test mark, and distribute them through the inspection component The server dynamically adjusts the inspection components to adapt to different scenarios.
It improves the screening efficiency of valid event records in inspection reports, provides a more scientific analysis basis, and enhances the scene adaptability and data processing efficiency of inspection robots.
Smart Images

Figure CN117708382B
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent manufacturing technology, and in particular to an inspection data processing method, a smart factory inspection system, and related media programs. Background Art
[0002] In the context of promoting new industrialization, more and more smart factories are being deployed. Smart factories strive to break down process barriers and use big data to achieve product production process quality information collection, quality design, quality monitoring, online quality judgment, process quality traceability and quality analysis improvement. It will even become a general trend to implement online monitoring and early warning of important process parameters that affect product quality. The basis of these works is to collect and digitize the production quality data scattered in various production lines and systems.
[0003] Inspection robots are increasingly being used in smart factories. During the inspection, the inspection robots will submit inspection reports. How to filter out the valid inspection event records in the inspection reports as much as possible is a technical topic that requires special research. Summary of the invention
[0004] The embodiments of the present application provide a robot inspection data processing method and a related system, which are conducive to screening out effective inspection event records in the inspection report as much as possible, thereby laying a good foundation for making more scientific analysis and decisions based on the inspection event records.
[0005] A first aspect of an embodiment of the present application provides a robot inspection data processing method, which is applied to a smart factory inspection system, wherein the smart factory inspection system includes an inspection report processing server, an inspection component distribution server, and an inspection robot cluster; each inspection robot in the inspection robot cluster is communicatively connected to the inspection component distribution server; each inspection robot in the inspection robot cluster is communicatively connected to the inspection report processing server; the inspection component distribution server is used to distribute inspection components for inspection to the inspection robots;
[0006] in,
[0007] The inspection robot cluster includes a first inspection robot and a second inspection robot, the smart factory includes multiple inspection ranges, and the first inspection robot and the second inspection robot perform inspections within a first inspection range among the multiple inspection ranges; wherein P0 inspection test marks are set within the first inspection range, and the distance between any two adjacent inspection test marks among the P0 inspection test marks does not exceed the distance threshold, wherein P0 is an integer greater than 2;
[0008] Wherein, the method comprises:
[0009] The first inspection robot performs inspections within a first inspection range along a first inspection path, and generates a first inspection report after traversing the first inspection path once, wherein the first inspection report includes A1 inspection event records arranged in chronological order, each inspection event record corresponding to an event type, event occurrence time, and event occurrence location of an alarm event discovered by the first inspection robot during the inspection process; the first inspection path passes through P inspection test marks out of P0 inspection test marks, and the distance between any two adjacent inspection test marks among the P inspection test marks does not exceed a distance threshold
[0010] After receiving the first inspection report from the first inspection robot, the inspection report processing server reads the A1 inspection event record contained in the first inspection report, performs a valid inspection event record extraction operation on the A1 inspection event record, and writes the extracted valid inspection event record into the second database;
[0011] The operation of extracting a valid inspection event record for the inspection event record A1 includes:
[0012] Read out P inspection test event feature groups corresponding one-to-one to the P inspection test marks in the first database; search whether the A1 inspection event record contains P inspection event records corresponding one-to-one to the P inspection test event feature groups; wherein, if it is found that the A1 inspection event record contains P inspection event records corresponding one-to-one to the P inspection test event feature groups, the P inspection event records contained in the A1 inspection event record are screened out to obtain A1-P inspection event records, and all of the A1-P inspection event records are used as extracted valid inspection event records.
[0013] In some possible implementations, performing a valid inspection event extraction operation on the A1 inspection event record further includes:
[0014] If it is found that the A1 inspection event record only contains P1 inspection event records that correspond one-to-one to P1 inspection test event feature groups, then execute steps S1-S10; the P1 inspection test event feature groups are part of the P inspection test event feature groups, and the order of the P inspection test event feature groups corresponds to the order in which the P inspection test marks appear in the first inspection path; wherein the P1 inspection test event feature group corresponds to the P1 inspection test mark among the P inspection test marks;
[0015] Step S1. Let i=1;
[0016] Step S2. Determine whether i is greater than P;
[0017] If not, proceed to step S3;
[0018] If yes, execute step S10;
[0019] Step S3. Searching in the A1 inspection event record whether there is an inspection event record rPi corresponding to the i-th inspection test event feature group in the P inspection test feature groups;
[0020] If not, set i=i+1 and return to step S2;
[0021] If yes, execute step S4;
[0022] Step S4. Let i=i+1.
[0023] Step S5. Determine whether i is greater than P;
[0024] If not, execute step S6;
[0025] If yes, execute step S10;
[0026] Step S6. Searching in the A1 inspection event record whether there is an inspection event record rPi corresponding to the i-th inspection test feature group among the P inspection test feature groups;
[0027] If not, set i=i+1 and return to step S2;
[0028] If yes, execute step S7;
[0029] Step S7. The inspection event record whose position in the inspection event record A1 is between the inspection event record rPi-1 and the inspection event record rPi is taken as the extracted valid inspection event record;
[0030] Step S8. Let i=i+1;
[0031] Step S9. Determine whether i is greater than P;
[0032] If not, execute step S6;
[0033] If yes, execute step S10;
[0034] Step S10: End the effective inspection event record extraction operation.
[0035] It can be understood that when the inspection event record corresponding to a certain inspection test mark is missing, it is very likely that the inspection accuracy of the position adjacent to this inspection test mark on the inspection path is likely to be questionable, and the related inspection event record may be an invalid inspection event record, so it is screened out, thereby laying a good foundation for making more scientific analysis and decisions based on the inspection event record.
[0036] In some possible implementations, the X1 extended inspection components and the N basic inspection components are activated in the first inspection robot; the X1 extended inspection components and the N basic inspection components are activated in the second inspection robot; wherein the activated X1 extended inspection components and the N basic inspection components are used to inspect the first inspection range;
[0037] Wherein, the method comprises:
[0038] The second inspection robot inspects the first inspection range along the second inspection path, and generates a second inspection report after traversing the second inspection path once, wherein the second inspection report includes A2 inspection event records arranged in chronological order, each inspection event record corresponding to an event type, event occurrence time, and event occurrence location of an alarm event found by the second inspection robot during the inspection process; wherein the first inspection path and the second inspection path are different;
[0039] After receiving the second inspection report from the second inspection robot, the inspection report processing server reads the A2 inspection event record contained in the second inspection report, performs a valid inspection event record extraction operation on the A2 inspection event record, and writes the extracted valid inspection event record into the second database.
[0040] In some possible implementations, the method further includes:
[0041] If it is found that the A1 inspection event record only contains P1 inspection event records corresponding to P1 inspection test event feature groups, the inspection report processing server determines whether the second inspection path passes through P2 inspection test marks, and the P2 inspection test marks are the remaining inspection test marks among the P inspection test marks except the P1 inspection test mark;
[0042] If the second inspection path does not pass through the P2 inspection test marks, the inspection report processing server sends a third inspection path validation command to the second inspection robot, wherein the third inspection path validation command is used to indicate the validation of the third inspection path, wherein the third inspection path passes through the P2 inspection test marks;
[0043] After receiving the third inspection path validation command, the second inspection robot performs inspection in the first inspection range according to the third inspection path, and generates a third inspection report after traversing the third inspection path once, wherein the third inspection report includes A3 inspection event records arranged in chronological order of inspection time, each inspection event record corresponding to an event type, event occurrence time, and event occurrence location of an alarm event found by the second inspection robot during the inspection process;
[0044] After receiving the third inspection report from the second inspection robot, the inspection report processing server reads the A3 inspection event records contained in the third inspection report, performs a valid inspection event record extraction operation on the A3 inspection event records, and writes the extracted valid inspection event records into the second database.
[0045] In some possible implementations, the method further includes:
[0046] If it is found that the A1 inspection event record only contains P1 inspection event records corresponding to P1 inspection test event feature groups, the inspection report processing server determines whether the second inspection path passes through P2 inspection test marks, and the P2 inspection test marks are the remaining inspection test marks among the P inspection test marks except the P1 inspection test mark;
[0047] If the second inspection path does not pass through the P2 inspection test marks, the inspection report processing server sends a third inspection path validation command to the inspection component distribution server, the third inspection path validation command is used to indicate the validation of the third inspection path, the third inspection path passes through the P2 inspection test marks;
[0048] The inspection component distribution server forwards a third inspection path validation command to a third inspection robot in an idle state of the inspection robot cluster;
[0049] After receiving the third inspection path validation command, the third inspection robot changes from an idle state to an inspection state, and inspects in the first inspection range according to the third inspection path, and generates a fourth inspection report after traversing the third inspection path once, wherein the fourth inspection report includes A4 inspection event records arranged in chronological order of inspection time, and each inspection event record corresponds to an event type, event occurrence time, and event occurrence location of an alarm event found by the third inspection robot during the inspection process;
[0050] After receiving the fourth inspection report from the third inspection robot, the inspection report processing server reads the A4 inspection event record contained in the fourth inspection report, performs a valid inspection event record extraction operation on the A4 inspection event record, and writes the extracted valid inspection event record into the second database.
[0051] A second aspect of an embodiment of the present application provides a smart factory inspection system, the smart factory inspection system comprising an inspection report processing server, an inspection component distribution server and an inspection robot cluster; each inspection robot in the inspection robot cluster is communicatively connected to the inspection component distribution server; each inspection robot in the inspection robot cluster is communicatively connected to the inspection report processing server; the inspection component distribution server is used to distribute inspection components for inspection to the inspection robots;
[0052] in,
[0053] The inspection robot cluster includes a first inspection robot and a second inspection robot, the smart factory includes multiple inspection ranges, and the first inspection robot and the second inspection robot perform inspections within a first inspection range among the multiple inspection ranges; wherein, P0 inspection test marks are set within the first inspection range, and the distance between any two adjacent inspection test marks among the P0 inspection test marks does not exceed the distance threshold, wherein, P0 is an integer greater than 2;
[0054] The first inspection robot is used to perform inspections in a first inspection range according to a first inspection path, and generate a first inspection report after traversing the first inspection path once, wherein the first inspection report includes A1 inspection event records arranged in chronological order of inspection time, and each inspection event record corresponds to an event type, event occurrence time, and event occurrence location of an alarm event found by the first inspection robot during the inspection process; wherein the first inspection path passes through P inspection test marks out of P0 inspection test marks, and the distance between any two adjacent inspection test marks out of the P inspection test marks does not exceed the distance threshold;
[0055] The inspection report processing server is used to, after receiving the first inspection report from the first inspection robot, read the A1 inspection event record contained in the first inspection report, perform a valid inspection event record extraction operation on the A1 inspection event record, and write the extracted valid inspection event record into the second database;
[0056] The operation of extracting a valid inspection event record for the inspection event record A1 includes:
[0057] Read out P inspection test event feature groups corresponding one-to-one to the P inspection test marks in the first database; search whether the A1 inspection event record contains P inspection event records corresponding one-to-one to the P inspection test event feature groups; wherein, if it is found that the A1 inspection event record contains P inspection event records corresponding one-to-one to the P inspection test event feature groups, the P inspection event records contained in the A1 inspection event record are screened out to obtain A1-P inspection event records, and all of the A1-P inspection event records are used as extracted valid inspection event records.
[0058] In some possible implementations, performing a valid inspection event extraction operation on the A1 inspection event record further includes:
[0059] If it is found that the A1 inspection event record only contains P1 inspection event records that correspond one-to-one to P1 inspection test event feature groups, then execute steps S1-S10; the P1 inspection test event feature groups are part of the P inspection test event feature groups, and the order of the P inspection test event feature groups corresponds to the order in which the P inspection test marks appear in the first inspection path; wherein the P1 inspection test event feature group corresponds to the P1 inspection test mark among the P inspection test marks;
[0060] Step S1. Let i=1;
[0061] Step S2. Determine whether i is greater than P;
[0062] If not, proceed to step S3;
[0063] If yes, execute step S10;
[0064] Step S3. Searching in the A1 inspection event record whether there is an inspection event record rPi corresponding to the i-th inspection test event feature group in the P inspection test feature groups;
[0065] If not, set i=i+1 and return to step S2;
[0066] If yes, execute step S4;
[0067] Step S4. Let i=i+1;
[0068] Step S5. Determine whether i is greater than P;
[0069] If not, execute step S6;
[0070] If yes, execute step S10;
[0071] Step S6. Searching in the A1 inspection event record whether there is an inspection event record rPi corresponding to the i-th inspection test feature group among the P inspection test feature groups;
[0072] If not, set i=i+1 and return to step S2;
[0073] If yes, execute step S7;
[0074] Step S7. The inspection event record whose position in the inspection event record A1 is between the inspection event record rPi-1 and the inspection event record rPi is taken as the extracted valid inspection event record;
[0075] Step S8. Let i=i+1;
[0076] Step S9. Determine whether i is greater than P;
[0077] If not, execute step S6;
[0078] If yes, execute step S10;
[0079] Step S10: End the effective inspection event record extraction operation.
[0080] In some possible implementations, the X1 extended inspection components and the N basic inspection components are activated in the first inspection robot; the X1 extended inspection components and the N basic inspection components are activated in the second inspection robot; wherein the activated X1 extended inspection components and the N basic inspection components are used to inspect the first inspection range;
[0081] The second inspection robot is used to inspect in the first inspection range according to the second inspection path, and generate a second inspection report after traversing the second inspection path once, wherein the second inspection report includes A2 inspection event records arranged in chronological order of inspection time, and each inspection event record corresponds to an event type, event occurrence time and event occurrence location of an alarm event found by the second inspection robot during the inspection process; wherein the first inspection path and the second inspection path are different;
[0082] The inspection report processing server is used to read the A2 inspection event record contained in the second inspection report after receiving the second inspection report from the second inspection robot, perform a valid inspection event record extraction operation on the A2 inspection event record, and write the extracted valid inspection event record into the second database.
[0083] In some possible implementations, the inspection report processing server is used to determine whether the second inspection path passes through P2 inspection test marks if it is found that the A1 inspection event record only contains P1 inspection event records that correspond one-to-one to P1 inspection test event feature groups, wherein the P2 inspection test marks are the remaining inspection test marks among the P inspection test marks except the P1 inspection test mark; if the second inspection path does not pass through the P2 inspection test mark, send a third inspection path validation command to the second inspection robot, wherein the third inspection path validation command is used to indicate the validation of the third inspection path, and the third inspection path passes through the P2 inspection test mark;
[0084] The second inspection robot is used to perform inspection in the first inspection range according to the third inspection path after receiving the third inspection path validation command, and generate a third inspection report after traversing the third inspection path once, wherein the third inspection report includes A3 inspection event records arranged in chronological order of inspection time, each inspection event record corresponding to an event type, event occurrence time and event occurrence location of an alarm event found by the second inspection robot during the inspection process;
[0085] The inspection report processing server is also used to, after receiving the third inspection report from the second inspection robot, read the A3 inspection event records contained in the third inspection report, perform a valid inspection event record extraction operation on the A3 inspection event records, and write the extracted valid inspection event records into the second database.
[0086] In some possible implementations, the inspection report processing server is used to, if it is found that the A1 inspection event record only contains P1 inspection event records corresponding to P1 inspection test event feature groups, determine whether the second inspection path passes through P2 inspection test marks, wherein the P2 inspection test marks are the remaining inspection test marks among the P inspection test marks except the P1 inspection test mark; if the second inspection path does not pass through the P2 inspection test mark, send a third inspection path validation command to the inspection component distribution server, wherein the third inspection path validation command is used to indicate the validation of the third inspection path, and the third inspection path passes through the P2 inspection test mark;
[0087] The inspection component distribution server is used to forward a third inspection path validation command to a third inspection robot in an idle state of the inspection robot cluster;
[0088] The third inspection robot is used to change from an idle state to an inspection state after receiving a command to take effect on the third inspection path, and to perform inspections in a first inspection range according to the third inspection path, and to generate a fourth inspection report after traversing the third inspection path once, wherein the fourth inspection report includes A4 inspection event records arranged in chronological order of inspection time, and each inspection event record corresponds to an event type, event occurrence time, and event occurrence location of an alarm event found by the third inspection robot during the inspection process;
[0089] The inspection report processing server is used to, after receiving the fourth inspection report from the third inspection robot, read the A4 inspection event record contained in the fourth inspection report, perform a valid inspection event record extraction operation on the A4 inspection event record, and write the extracted valid inspection event record into the second database.
[0090] A third aspect of an embodiment of the present application provides a computer storage medium storing a computer program, wherein when the computer program is deployed in a patrol robot, it enables the patrol robot to perform part or all of the operations of the first aspect that are performed by the first patrol robot or other patrol robots.
[0091] A fourth aspect of an embodiment of the present application provides a computer program, which, when deployed in a patrol robot, enables the patrol robot to perform part or all of the operations performed by the first patrol robot or other patrol robots in the first aspect.
[0092] It can be seen that in the embodiment of the present application, the first inspection robot performs inspections in the first inspection range along the first inspection path, and generates a first inspection report after traversing the first inspection path once, wherein the first inspection report includes A1 inspection event records arranged in chronological order according to the inspection time, and each inspection event record corresponds to the event type, event occurrence time, and event occurrence location of an alarm event discovered by the first inspection robot during the inspection process; after receiving the first inspection report from the first inspection robot, the inspection report processing server performs a valid inspection event record extraction operation on the A1 inspection event record, and writes the extracted valid inspection event record into the second data The invention relates to a method for extracting effective inspection event records from an inspection event record A1; wherein the extraction operation is performed on the inspection event record A1, including: reading out P inspection test event feature groups corresponding one-to-one to P inspection test marks in a first database; searching whether the inspection event record A1 contains P inspection event records corresponding one-to-one to the P inspection test event feature groups; if it is found that the inspection event record A1 contains P inspection event records corresponding one-to-one to the P inspection test event feature groups, then filtering out the P inspection event records contained in the inspection event record A1 to obtain A1-P inspection event records, and taking all of the A1-P inspection event records as extracted effective inspection event records. Among them, by setting inspection test marks on the inspection path, the inspection report processing server refers to the P inspection test event feature groups corresponding to the P inspection test marks when performing the effective inspection event record extraction operation on the inspection event records in the inspection report. This is conducive to screening out the effective inspection event records in the inspection report as much as possible, and thus can lay a good foundation for making more scientific analysis and decisions based on the inspection event records. BRIEF DESCRIPTION OF THE DRAWINGS
[0093] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0094] Figure 1 It is a schematic diagram of a smart factory inspection system provided as an example in an embodiment of the present application.
[0095] Figure 2 It is a flow chart of a method for processing robot inspection data provided as an example in an embodiment of the present application.
[0096] Figure 3 It is a flowchart of an effective inspection event record extraction operation provided as an example in an embodiment of the present application.
[0097] Figure 4A It is a schematic diagram of the correspondence between an inspection test target, an inspection test feature group and an inspection event record provided as an example in an embodiment of the present application.
[0098] Figure 4B It is a schematic diagram of the correspondence between another inspection test target, inspection test feature group and inspection event record provided as an example in an embodiment of the present application.
[0099] Figure 5 It is a structural schematic diagram of an inspection robot provided as an example in an embodiment of the present application. DETAILED DESCRIPTION
[0100] In order to make the technical personnel in the technical field better understand the scheme of the present invention, the technical scheme in the embodiment of the present invention will be clearly described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is an embodiment of a part of the present invention, not all embodiments. Based on some embodiments in the present invention, all other embodiments obtained by ordinary technicians in the field without making creative work should belong to the scope of protection of the present invention. The terms "first", "second" and "third" etc. appearing in the specification, claims and drawings of the present invention are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system or product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices.
[0101] See also Figure 1 , Figure 1 A schematic diagram of the network architecture of a smart factory inspection system provided in an embodiment of the present application is shown in FIG. Figure 1 As shown in the example, a smart factory inspection system 100 includes an inspection component distribution server 110, an inspection report processing server 120, and an inspection robot cluster, wherein the inspection robot cluster includes multiple inspection robots, wherein each inspection robot in the inspection robot cluster is communicatively connected to the inspection component distribution server 110. Each inspection robot in the inspection robot cluster is communicatively connected to the inspection report processing server 120. The inspection component distribution server is used to distribute inspection components for inspection to the inspection robot. When the inspection robot has multi-scenario application capabilities, the inspection robot can also be called a composite intelligent inspection robot.
[0102] In some possible implementations, each inspection robot in the inspection robot cluster may be pre-installed with an inspection component basic library, and the inspection component basic library includes N basic inspection components (the inspection component basic library pre-installed in each inspection robot in the inspection robot cluster may be completely identical, that is, the inspection component basic library pre-installed in each composite intelligent inspection robot in the inspection robot cluster includes N identical basic inspection components). The inspection component server stores an inspection component extension library, and the inspection component extension library includes M extended inspection components; M and N are positive integers; the inspection robot cluster includes a first inspection robot and a second inspection robot (the first inspection robot and the second inspection robot may be, for example, any two inspection robots in the inspection robot cluster). Of course, the inspection robot cluster may also include other inspection robots.
[0103] In some possible implementations, some or all of the inspection robots in the inspection robot cluster are connected to the same wireless local area network. For example, the first inspection robot and the second inspection robot can be connected to the same wireless local area network.
[0104] In some possible implementations, the smart factory includes multiple inspection ranges, and the first inspection robot and the second inspection robot perform inspections within a first inspection range among the multiple inspection ranges; P0 inspection test marks are set within the first inspection range, wherein the distance between any two adjacent inspection test marks among the P0 inspection test marks does not exceed a distance threshold; and P0 is an integer greater than 2.
[0105] See also Figure 2 , Figure 2 A schematic diagram of a process flow of a robot inspection data processing method provided in an embodiment of the present application. Figure 2 For example, the robot inspection data processing method of the embodiment of the present application can be applied to the smart factory inspection system 100, and the method may specifically include:
[0106] 201. The inspection component distribution server sends a first inspection path validation instruction to a first inspection robot in the inspection robot cluster.
[0107] The first inspection path validation instruction is used to indicate the validation of the first inspection path, the first inspection path passes through P inspection test marks among P0 inspection test marks, and the distance between any two adjacent inspection test marks among the P inspection test marks does not exceed the distance threshold. The P inspection test marks are part or all of the inspection test marks among the P0 inspection test marks.
[0108] 202. After receiving the first inspection path validation instruction, the first inspection robot performs inspection in the first inspection range according to the first inspection path, and may generate a first inspection report after traversing the first inspection path once, wherein the first inspection report includes A1 inspection event records arranged in chronological order, each inspection event record corresponding to the event type, event occurrence time and event occurrence location of an alarm event found by the first inspection robot during the inspection process. The first inspection robot sends the first inspection report to the inspection report processing server.
[0109] 203. After receiving the first inspection report from the first inspection robot, the inspection report processing server reads the A1 inspection event record contained in the first inspection report, performs a valid inspection event record extraction operation on the A1 inspection event record, and writes the extracted valid inspection event record into the second database.
[0110] The operation of extracting a valid inspection event record for the inspection event record A1 includes:
[0111] Read out P inspection test event feature groups corresponding one-to-one to the P inspection test marks in the first database; search whether the A1 inspection event record contains P inspection event records corresponding one-to-one to the P inspection test event feature groups; wherein, if it is found that the A1 inspection event record contains P inspection event records corresponding one-to-one to the P inspection test event feature groups, the P inspection event records contained in the A1 inspection event record are screened out to obtain A1-P inspection event records, and all of the A1-P inspection event records are used as extracted valid inspection event records.
[0112] In some possible implementations, see Figure 3 , performing the effective inspection event extraction operation on the inspection event record A1 may also include:
[0113] If it is found that the A1 inspection event record only contains P1 inspection event records that correspond one-to-one to P1 inspection test event feature groups, then execute steps S1-S10; the P1 inspection test event feature groups are part of the P inspection test event feature groups, and the order of the P inspection test event feature groups corresponds to the order in which the P inspection test marks appear in the first inspection path; wherein the P1 inspection test event feature group corresponds to the P1 inspection test mark among the P inspection test marks;
[0114] Step S1. Let i=1;
[0115] Step S2. Determine whether i is greater than P;
[0116] If not, proceed to step S3;
[0117] If yes, execute step S10;
[0118] Step S3. Searching in the A1 inspection event record whether there is an inspection event record rPi corresponding to the i-th inspection test event feature group in the P inspection test feature groups;
[0119] If not, set i=i+1 and return to step S2;
[0120] If yes, execute step S4;
[0121] Step S4. Let i=i+1;
[0122] Step S5. Determine whether i is greater than P;
[0123] If not, execute step S6;
[0124] If yes, execute step S10;
[0125] Step S6. Searching in the A1 inspection event record whether there is an inspection event record rPi corresponding to the i-th inspection test feature group among the P inspection test feature groups;
[0126] If not, set i=i+1 and return to step S2;
[0127] If yes, execute step S7;
[0128] Step S7. The inspection event record whose position in the inspection event record A1 is between the inspection event record rPi-1 and the inspection event record rPi is taken as the extracted valid inspection event record;
[0129] Step S8. Let i=i+1;
[0130] Step S9. Determine whether i is greater than P;
[0131] If not, execute step S6;
[0132] If yes, execute step S10;
[0133] Step S10: End the effective inspection event record extraction operation.
[0134] It can be understood that when the inspection event record corresponding to a certain inspection test mark is missing, it is very likely that the inspection accuracy of the position adjacent to this inspection test mark on the inspection path is likely to be questionable, and the related inspection event record may be an invalid inspection event record, so it is screened out, thereby laying a good foundation for making more scientific analysis and decisions based on the inspection event record.
[0135] See also Figure 4A and Figure 4B , Figure 4A and Figure 4B The following example shows the corresponding relationship between the inspection test mark, the inspection test feature group and the inspection event record. Figure 4A and Figure 4B As shown in the example, one inspection test mark corresponds to one inspection test feature group. If the inspection capability of the inspection component in the inspection robot is valid, then the inspection robot will inevitably generate an inspection test event corresponding to the relevant inspection test event feature group when passing through the inspection test mark. For example, if the inspection capability of the inspection component in the inspection robot is valid, then when the inspection robot passes through inspection test mark 1, an inspection test event corresponding to the relevant inspection test event feature 1 will be generated. When the inspection robot passes through inspection test mark 2, an inspection test event corresponding to the relevant inspection test event feature 2 will be generated, and so on.
[0136] Figure 4A In the example, A1 inspection event record contains P inspection event records corresponding to P inspection test event feature groups. Figure 4B An example is given in which A1 inspection event record contains inspection event records corresponding one-to-one to some inspection test event feature groups in P inspection test event feature groups.
[0137] In some possible implementations, the X1 extended inspection components and the N basic inspection components are activated in the first inspection robot; the X1 extended inspection components and the N basic inspection components are activated in the second inspection robot; wherein the activated X1 extended inspection components and the N basic inspection components are used to inspect the first inspection range.
[0138] Wherein, the method comprises:
[0139] The second inspection robot performs inspections within the first inspection range along the second inspection path, and generates a second inspection report after traversing the second inspection path once. The second inspection report includes A2 inspection event records arranged in chronological order of inspection time, and each inspection event record corresponds to the event type, event occurrence time and event occurrence location of an alarm event discovered by the second inspection robot during the inspection process; wherein the first inspection path and the second inspection path are different.
[0140] After receiving the second inspection report from the second inspection robot, the inspection report processing server reads the A2 inspection event record contained in the second inspection report, performs a valid inspection event record extraction operation on the A2 inspection event record, and writes the extracted valid inspection event record into the second database.
[0141] It can be understood that the specific manner in which the inspection report processing server performs the effective inspection event record extraction operation on the A2 inspection event record can refer to the specific manner in which the inspection report processing server performs the effective inspection event record extraction operation on the A1 inspection event record, and will not be described in detail here.
[0142] In some possible implementations, the method further includes:
[0143] If it is found that the A1 inspection event record only contains P1 inspection event records that correspond one-to-one to P1 inspection test event feature groups, the inspection report processing server determines whether the second inspection path passes through P2 inspection test marks, and the P2 inspection test marks are the remaining inspection test marks among the P inspection test marks except the P1 inspection test mark.
[0144] If the second inspection path does not pass through the P2 inspection test marks, the inspection report processing server sends a third inspection path effectiveness command to the second inspection robot, wherein the third inspection path effectiveness command is used to indicate the effectiveness of the third inspection path, wherein the third inspection path passes through the P2 inspection test marks.
[0145] After receiving the command to take effect of the third inspection path, the second inspection robot conducts inspection in the first inspection range along the third inspection path, and generates a third inspection report after traversing the third inspection path once. The third inspection report includes A3 inspection event records arranged in chronological order of inspection time, and each inspection event record corresponds to the event type, event occurrence time and event occurrence location of an alarm event discovered by the second inspection robot during the inspection process.
[0146] After receiving the third inspection report from the second inspection robot, the inspection report processing server reads the A3 inspection event records contained in the third inspection report, performs a valid inspection event record extraction operation on the A3 inspection event records, and writes the extracted valid inspection event records into the second database.
[0147] It can be understood that the specific manner in which the inspection report processing server performs the effective inspection event record extraction operation on the A3 inspection event record can refer to the effective inspection event record extraction operation on the A1 inspection event record, which will not be repeated here.
[0148] In some possible implementations, the method may further include:
[0149] If it is found that the A1 inspection event record only contains P1 inspection event records that correspond one-to-one to P1 inspection test event feature groups, the inspection report processing server determines whether the second inspection path passes through P2 inspection test marks, and the P2 inspection test marks are the remaining inspection test marks among the P inspection test marks except the P1 inspection test mark.
[0150] If the second inspection path does not pass through the P2 inspection test marks, the inspection report processing server sends a third inspection path validation command to the inspection component distribution server, and the third inspection path validation command is used to indicate the validation of the third inspection path, and the third inspection path passes through the P2 inspection test marks.
[0151] The inspection component distribution server forwards a third inspection path validation command to a third inspection robot in an idle state of the inspection robot cluster.
[0152] After receiving the command to take effect of the third inspection path, the third inspection robot changes from the idle state to the inspection state, and inspects the first inspection range according to the third inspection path, and generates a fourth inspection report after traversing the third inspection path once, wherein the fourth inspection report includes A4 inspection event records arranged in chronological order of inspection time, and each inspection event record corresponds to the event type, event occurrence time and event occurrence location of an alarm event discovered by the third inspection robot during the inspection process.
[0153] After receiving the fourth inspection report from the third inspection robot, the inspection report processing server reads the A4 inspection event record contained in the fourth inspection report, performs a valid inspection event record extraction operation on the A4 inspection event record, and writes the extracted valid inspection event record into the second database.
[0154] It can be understood that the specific manner in which the inspection report processing server performs the effective inspection event record extraction operation on the A4 inspection event record can refer to the specific manner in which the inspection report processing server performs the effective inspection event record extraction operation on the A1 inspection event record, which will not be described in detail here.
[0155] It can be seen that in the embodiment of the present application, the first inspection robot performs inspections within the first inspection range along the first inspection path, and generates a first inspection report after traversing the first inspection path once, wherein the first inspection report includes A1 inspection event records arranged in chronological order according to the inspection time, and each inspection event record corresponds to the event type, event occurrence time, and event occurrence location of an alarm event discovered by the first inspection robot during the inspection process; after receiving the first inspection report from the first inspection robot, the inspection report processing server performs a valid inspection event record extraction operation on the A1 inspection event record, and writes the extracted valid inspection event record into the second database ; performing a valid inspection event record extraction operation on A1 inspection event record includes: reading out P inspection test event feature groups corresponding one-to-one to P inspection test marks in a first database; searching whether the A1 inspection event record contains P inspection event records corresponding one-to-one to the P inspection test event feature groups; if it is found that the A1 inspection event record contains P inspection event records corresponding one-to-one to the P inspection test event feature groups, then filtering out the P inspection event records contained in the A1 inspection event record to obtain A1-P inspection event records, and taking all of the A1-P inspection event records as extracted valid inspection event records. Among them, by setting inspection test marks on the inspection path (wherein the inspection test marks are used to test the effectiveness of the inspection capabilities of the inspection components in the inspection robot, that is, if the inspection capabilities of the inspection components in the inspection robot are effective, then the inspection robot will inevitably generate inspection test events corresponding to the relevant inspection test event feature groups when passing through the inspection test marks), the inspection report processing server refers to the P inspection test event feature groups corresponding to the P inspection test marks when performing the effective inspection event record extraction operation on the inspection event records in the inspection report. This is conducive to screening out the effective inspection event records in the inspection report as much as possible, and thus can lay a good foundation for making more scientific analysis and decisions based on the inspection event records.
[0156] The following is an example of the relevant process of the inspection component distribution server distributing the inspection component to the inspection robot. The following is described by taking the process of distributing the inspection component to the first inspection robot as an example, and the process of distributing the inspection component to other inspection robots can be deduced by analogy.
[0157] In some possible implementations, the first inspection robot is used to use the industrial camera built into the first inspection robot to perform a first scan of a first inspection range in the smart factory to obtain a first scan video, perform a scene feature search in the first scan video through the built-in scene feature search firmware to obtain a first scene feature set, and send a first extended inspection component issuance request carrying the first scene feature set to the inspection component distribution server; receive a first extended inspection component issuance response fed back by the inspection component distribution server to respond to the first extended inspection component issuance request, the first extended inspection component issuance response carrying X1 extended inspection components, the X1 extended inspection components being a subset of the M extended inspection components, X1 being a positive integer, any one of the X1 extended inspection components being associated with at least one scene feature in the first scene feature set, and any one of the first scene feature set being associated with at least one of the X1 extended inspection components; wherein the first inspection range is the inspection range corresponding to the first inspection robot. The first inspection robot activates X1 extended inspection components and the N basic inspection components, and the activated X1 extended inspection components and the N basic inspection components are used to inspect the first inspection range in the smart factory.
[0158] In some possible implementations, when one inspection component (such as a basic inspection component or an extended inspection component) is activated in the inspection robot, a corresponding inspection process may be run in the inspection robot, and the running inspection process is used to perform relevant detection and analysis during the inspection process. That is, when the first inspection robot activates X1 extended inspection components and N basic inspection components, then X1+N inspection processes will be run in the inspection robot, and the X1+N inspection processes correspond one-to-one to the X1 extended inspection components and the N basic inspection components, and so on.
[0159] In some possible implementations, the scene feature search firmware has Y1 standard scene feature templates built in, and the first inspection robot is specifically used to use the built-in scene feature search firmware to use each of the Y1 standard scene feature templates to perform scene feature search in the first scanning video, and then combine the searched scene features to obtain a first scene feature set, and each scene feature in the first scene feature set matches at least one standard scene feature template among the Y1 standard scene feature templates.
[0160] In some possible implementations, the extended inspection component com1 in the inspection component extension library records at least one scene feature, and the at least one scene feature recorded in the extended inspection component com1 is associated with the extended inspection component com1. The extended inspection component com1 is any extended inspection component in the inspection component extension library.
[0161] In some possible implementations, each extended inspection component in the inspection component extension library records at least one scene feature associated with it. For example, when the extended inspection component com1 records the scene feature Scene-f1 associated with it, the scene feature Scene-f1 is a scene feature exclusive to the scene Scene1, and the extended inspection component com1 can be used to inspect the scene Scene1. Or when the extended inspection component com1 records the scene features Scene-f1 and Scene-f2 associated with it, the scene features Scene-f1 and Scene-f2 are scene features exclusive to the scene Scene1, and the extended inspection component com1 can be used to inspect the scene Scene1. Or when the extended inspection component com1 records the scene features Scene-f1 and Scene-f3 associated therewith, the scene feature Scene-f1 is a unique scene feature of scene Scene1, and the scene feature Scene-f2 is a unique scene feature of scene Scene2, the extended inspection component com1 can be used to inspect the scenes Scene1 and Scene2.
[0162] In some possible implementations, the fourth inspection robot in the inspection robot cluster can be used to broadcast an extended inspection component sharing request in its wireless local area network if it detects that it has not been configured with any extended inspection components after it is powered on, and start a sharing timer at the same time, and the extended inspection component sharing request carries the second inspection range of the fourth inspection robot.
[0163] The first inspection robot can also be used to, upon receiving an extended inspection component sharing request broadcasted in its wireless local area network, compare the first inspection range with the second inspection range carried in the extended inspection component sharing request; when a first overlap ratio of the second inspection range in the first inspection range (the first overlap ratio, i.e., the ratio of the area of the second inspection range that falls within the first inspection range to the total area of the second inspection range) exceeds a preset overlap threshold (the preset overlap threshold is, for example, greater than or equal to 80% or 90%), a first extended inspection component sharing request response can be sent to the fourth inspection robot; the first extended inspection component sharing request response can carry the first overlap ratio and X1 extended inspection components currently activated in the first inspection robot.
[0164] The fifth inspection robot in the inspection robot cluster can also be used to compare the third inspection range (the inspection range of the fifth inspection robot) with the second inspection range carried in the extended inspection component sharing request after receiving the extended inspection component sharing request broadcast in the wireless local area network where it is located. When the third overlap ratio of the second inspection range in the third inspection range (the third overlap ratio, i.e., the area of the second inspection range falling within the third inspection range, accounts for the proportion of the total area of the second inspection range) exceeds a preset overlap threshold (the preset overlap threshold is, for example, greater than or equal to 80% or 90%), a third extended inspection component sharing request response can be sent to the fourth inspection robot, wherein the third extended inspection component sharing request response can carry the third overlap ratio and the X4 extended inspection components currently activated in the fifth inspection robot.
[0165] The fourth inspection robot can be used to obtain X1 extended inspection components from the first extended inspection component sharing request response and activate the X1 extended inspection components and N basic inspection components if only the first extended inspection component sharing request response is received from the first inspection robot before the sharing timer arrives. The activated X1 extended inspection components and N basic inspection components are used to inspect the second inspection range in the smart factory.
[0166] In addition, the second inspection robot can also be used to compare the first overlap ratio and the third overlap ratio if it receives a first extended inspection component sharing request response from the first inspection robot and a third extended inspection component sharing request response from the third inspection robot before the sharing timer arrives. If the first overlap ratio is greater than the third overlap ratio, X1 extended inspection components are obtained from the first extended inspection component sharing request response, and the X1 extended inspection components and N basic inspection components are activated. The activated X1 extended inspection components and N basic inspection components are used to inspect the second inspection range in the smart factory. If the first overlap ratio is less than the third overlap ratio, X4 extended inspection components are obtained from the third extended inspection component sharing request response, and the X4 extended inspection components and N basic inspection components are activated. The activated X4 extended inspection components and N basic inspection components are used to inspect the second inspection range in the smart factory; if the first overlap ratio is equal to the third overlap ratio, X1 and X4 are compared. If X1 is greater than or equal to X4, X1 extended inspection components are obtained from the first extended inspection component sharing request response. Components, and activate the X1 extended inspection components and N basic inspection components, the activated X1 extended inspection components and the N basic inspection components are used to inspect the second inspection range in the smart factory; if X1 is less than X4, then obtain X4 extended inspection components from the third extended inspection component sharing request response, and activate the X4 extended inspection components and the N basic inspection components, the activated X4 extended inspection components and the N basic inspection components are used to inspect the second inspection range in the smart factory.
[0167] In addition, the second inspection robot can also be used to obtain the extended inspection component from the inspection component distribution server if it has not received a response to the extended inspection component sharing request from other inspection robots before the sharing timer arrives. The fourth inspection robot can refer to the first inspection robot for obtaining the extended inspection component from the inspection component distribution server, which will not be repeated here.
[0168] It can be seen that the mechanism of sharing extended inspection components among inspection robots within a local area network is conducive to improving the configuration efficiency of extended inspection components.
[0169] It can be seen that in the technical solution of the embodiment of the present application, since the inspection robot can obtain the corresponding extended inspection component from the inspection component distribution server according to the scene characteristics of the specific inspection range, this greatly increases the scene adaptability of the inspection robot. A patrol robot can flexibly adapt to the inspection needs of multiple application scenarios as needed.
[0170] An embodiment of the present application also provides a smart factory inspection system, which includes an inspection report processing server, an inspection component distribution server and an inspection robot cluster; each inspection robot in the inspection robot cluster is communicatively connected to the inspection component distribution server; each inspection robot in the inspection robot cluster is communicatively connected to the inspection report processing server; and the inspection component distribution server is used to distribute inspection components for inspection to the inspection robots.
[0171] in,
[0172] The inspection robot cluster includes a first inspection robot and a second inspection robot, the smart factory includes multiple inspection ranges, and the first inspection robot and the second inspection robot perform inspections within a first inspection range among the multiple inspection ranges; wherein, P0 inspection test marks are set within the first inspection range, and the distance between any two adjacent inspection test marks among the P0 inspection test marks does not exceed the distance threshold, wherein, P0 is an integer greater than 2;
[0173] The first inspection robot is used to perform inspections in a first inspection range according to a first inspection path, and generate a first inspection report after traversing the first inspection path once, wherein the first inspection report includes A1 inspection event records arranged in chronological order of inspection time, and each inspection event record corresponds to an event type, event occurrence time, and event occurrence location of an alarm event found by the first inspection robot during the inspection process; wherein the first inspection path passes through P inspection test marks out of P0 inspection test marks, and the distance between any two adjacent inspection test marks out of the P inspection test marks does not exceed the distance threshold;
[0174] The inspection report processing server is used to, after receiving the first inspection report from the first inspection robot, read the A1 inspection event record contained in the first inspection report, perform a valid inspection event record extraction operation on the A1 inspection event record, and write the extracted valid inspection event record into the second database;
[0175] The operation of extracting a valid inspection event record for the inspection event record A1 includes:
[0176] Read out P inspection test event feature groups corresponding one-to-one to the P inspection test marks in the first database; search whether the A1 inspection event record contains P inspection event records corresponding one-to-one to the P inspection test event feature groups; wherein, if it is found that the A1 inspection event record contains P inspection event records corresponding one-to-one to the P inspection test event feature groups, the P inspection event records contained in the A1 inspection event record are screened out to obtain A1-P inspection event records, and all of the A1-P inspection event records are used as extracted valid inspection event records.
[0177] In some possible implementations, performing a valid inspection event extraction operation on the A1 inspection event record further includes:
[0178] If it is found that the A1 inspection event record only contains P1 inspection event records that correspond one-to-one to P1 inspection test event feature groups, then execute steps S1-S10; the P1 inspection test event feature groups are part of the P inspection test event feature groups, and the order of the P inspection test event feature groups corresponds to the order in which the P inspection test marks appear in the first inspection path; wherein the P1 inspection test event feature group corresponds to the P1 inspection test mark among the P inspection test marks;
[0179] Step S1. Let i=1;
[0180] Step S2. Determine whether i is greater than P;
[0181] If not, proceed to step S3;
[0182] If yes, execute step S10;
[0183] Step S3. Searching in the A1 inspection event record whether there is an inspection event record rPi corresponding to the i-th inspection test event feature group in the P inspection test feature groups;
[0184] If not, set i=i+1 and return to step S2;
[0185] If yes, execute step S4;
[0186] Step S4. Let i=i+1;
[0187] Step S5. Determine whether i is greater than P;
[0188] If not, execute step S6;
[0189] If yes, execute step S10;
[0190] Step S6. Searching in the A1 inspection event record whether there is an inspection event record rPi corresponding to the i-th inspection test feature group among the P inspection test feature groups;
[0191] If not, set i=i+1 and return to step S2;
[0192] If yes, execute step S7;
[0193] Step S7. The inspection event record whose position in the inspection event record A1 is between the inspection event record rPi-1 and the inspection event record rPi is taken as the extracted valid inspection event record;
[0194] Step S8. Let i=i+1;
[0195] Step S9. Determine whether i is greater than P;
[0196] If not, execute step S6;
[0197] If yes, execute step S10;
[0198] Step S10: End the effective inspection event record extraction operation.
[0199] In some possible implementations, the X1 extended inspection components and the N basic inspection components are activated in the first inspection robot; the X1 extended inspection components and the N basic inspection components are activated in the second inspection robot; wherein the activated X1 extended inspection components and the N basic inspection components are used to inspect the first inspection range;
[0200] The second inspection robot is used to inspect in the first inspection range according to the second inspection path, and generate a second inspection report after traversing the second inspection path once, wherein the second inspection report includes A2 inspection event records arranged in chronological order of inspection time, and each inspection event record corresponds to an event type, event occurrence time and event occurrence location of an alarm event found by the second inspection robot during the inspection process; wherein the first inspection path and the second inspection path are different;
[0201] The inspection report processing server is used to read the A2 inspection event record contained in the second inspection report after receiving the second inspection report from the second inspection robot, perform a valid inspection event record extraction operation on the A2 inspection event record, and write the extracted valid inspection event record into the second database.
[0202] In some possible implementations, the inspection report processing server is used to determine whether the second inspection path passes through P2 inspection test marks if it is found that the A1 inspection event record only contains P1 inspection event records that correspond one-to-one to P1 inspection test event feature groups, wherein the P2 inspection test marks are the remaining inspection test marks among the P inspection test marks except the P1 inspection test mark; if the second inspection path does not pass through the P2 inspection test mark, send a third inspection path validation command to the second inspection robot, wherein the third inspection path validation command is used to indicate the validation of the third inspection path, and the third inspection path passes through the P2 inspection test mark;
[0203] The second inspection robot is used to perform inspection in the first inspection range according to the third inspection path after receiving the third inspection path validation command, and generate a third inspection report after traversing the third inspection path once, wherein the third inspection report includes A3 inspection event records arranged in chronological order of inspection time, each inspection event record corresponding to an event type, event occurrence time and event occurrence location of an alarm event found by the second inspection robot during the inspection process;
[0204] The inspection report processing server is also used to, after receiving the third inspection report from the second inspection robot, read the A3 inspection event records contained in the third inspection report, perform a valid inspection event record extraction operation on the A3 inspection event records, and write the extracted valid inspection event records into the second database.
[0205] In some possible implementations, the inspection report processing server is used to, if it is found that the A1 inspection event record only contains P1 inspection event records corresponding to P1 inspection test event feature groups, determine whether the second inspection path passes through P2 inspection test marks, wherein the P2 inspection test marks are the remaining inspection test marks among the P inspection test marks except the P1 inspection test mark; if the second inspection path does not pass through the P2 inspection test mark, send a third inspection path validation command to the inspection component distribution server, wherein the third inspection path validation command is used to indicate the validation of the third inspection path, and the third inspection path passes through the P2 inspection test mark;
[0206] The inspection component distribution server is used to forward a third inspection path validation command to a third inspection robot in an idle state of the inspection robot cluster;
[0207] The third inspection robot is used to change from an idle state to an inspection state after receiving a command to take effect on the third inspection path, and to perform inspections in a first inspection range according to the third inspection path, and to generate a fourth inspection report after traversing the third inspection path once, wherein the fourth inspection report includes A4 inspection event records arranged in chronological order of inspection time, and each inspection event record corresponds to an event type, event occurrence time, and event occurrence location of an alarm event found by the third inspection robot during the inspection process;
[0208] The inspection report processing server is used to, after receiving the fourth inspection report from the third inspection robot, read the A4 inspection event record contained in the fourth inspection report, perform a valid inspection event record extraction operation on the A4 inspection event record, and write the extracted valid inspection event record into the second database.
[0209] See also Figure 5 , Figure 5 This is a structural schematic diagram of an inspection robot provided in an embodiment of the present application. The inspection robot can be applied to a smart factory inspection system, such as any one of the smart factory inspection systems provided in the above embodiments.
[0210] The first inspection robot includes: a processor 1211, a memory 1212, an industrial camera 1214 and a communication interface 1213. The processor 1211, the memory 1212, the industrial camera 1214 and the communication interface 1213 can be interconnected via a bus.
[0211] The processor is used to perform inspections within a first inspection range along a first inspection path, and generate a first inspection report after traversing the first inspection path once, wherein the first inspection report includes A1 inspection event records arranged in chronological order, each inspection event record corresponding to an event type, event occurrence time and event occurrence location of an alarm event discovered by the first inspection robot during the inspection process; wherein the first inspection path passes through P inspection test marks out of P0 inspection test marks, and the distance between any two adjacent inspection test marks among the P inspection test marks does not exceed a distance threshold.
[0212] The inspection report processing server is used to, after receiving the first inspection report from the first inspection robot, read the A1 inspection event record contained in the first inspection report, perform a valid inspection event record extraction operation on the A1 inspection event record, and write the extracted valid inspection event record into the second database;
[0213] The operation of extracting a valid inspection event record for the inspection event record A1 includes:
[0214] Read out P inspection test event feature groups corresponding one-to-one to the P inspection test marks in the first database; search whether the A1 inspection event record contains P inspection event records corresponding one-to-one to the P inspection test event feature groups; wherein, if it is found that the A1 inspection event record contains P inspection event records corresponding one-to-one to the P inspection test event feature groups, the P inspection event records contained in the A1 inspection event record are screened out to obtain A1-P inspection event records, and all of the A1-P inspection event records are used as extracted valid inspection event records.
[0215] In some possible implementations, performing a valid inspection event extraction operation on the A1 inspection event record further includes:
[0216] If it is found that the A1 inspection event record only contains P1 inspection event records that correspond one-to-one to P1 inspection test event feature groups, then execute steps S1-S10; the P1 inspection test event feature groups are part of the P inspection test event feature groups, and the order of the P inspection test event feature groups corresponds to the order in which the P inspection test marks appear in the first inspection path; wherein the P1 inspection test event feature group corresponds to the P1 inspection test mark among the P inspection test marks;
[0217] Step S1. Let i=1;
[0218] Step S2. Determine whether i is greater than P;
[0219] If not, proceed to step S3;
[0220] If yes, execute step S10;
[0221] Step S3. Searching in the A1 inspection event record whether there is an inspection event record rPi corresponding to the i-th inspection test event feature group in the P inspection test feature groups;
[0222] If not, set i=i+1 and return to step S2;
[0223] If yes, execute step S4;
[0224] Step S4. Let i=i+1;
[0225] Step S5. Determine whether i is greater than P;
[0226] If not, execute step S6;
[0227] If yes, execute step S10;
[0228] Step S6. Searching in the A1 inspection event record whether there is an inspection event record rPi corresponding to the i-th inspection test feature group among the P inspection test feature groups;
[0229] If not, set i=i+1 and return to step S2;
[0230] If yes, execute step S7;
[0231] Step S7. The inspection event record whose position in the inspection event record A1 is between the inspection event record rPi-1 and the inspection event record rPi is taken as the extracted valid inspection event record;
[0232] Step S8. Let i=i+1;
[0233] Step S9. Determine whether i is greater than P;
[0234] If not, execute step S6;
[0235] If yes, execute step S10;
[0236] Step S10: End the effective inspection event record extraction operation.
[0237] In some possible implementations, the X1 extended inspection components and the N basic inspection components are activated in the first inspection robot; the X1 extended inspection components and the N basic inspection components are activated in the second inspection robot; wherein the activated X1 extended inspection components and the N basic inspection components are used to inspect the first inspection range.
[0238] In some possible implementations, the second inspection robot is used to perform inspections in the first inspection range along the second inspection path, and generate a second inspection report after traversing the second inspection path once, wherein the second inspection report includes A2 inspection event records arranged in chronological order of inspection time, and each inspection event record corresponds to an event type, event occurrence time, and event occurrence location of an alarm event found by the second inspection robot during the inspection process; wherein the first inspection path and the second inspection path are different;
[0239] The inspection report processing server is used to read the A2 inspection event record contained in the second inspection report after receiving the second inspection report from the second inspection robot, perform a valid inspection event record extraction operation on the A2 inspection event record, and write the extracted valid inspection event record into the second database.
[0240] In some possible implementations, the inspection report processing server is used to determine whether the second inspection path passes through P2 inspection test marks if it is found that the A1 inspection event record only contains P1 inspection event records that correspond one-to-one to P1 inspection test event feature groups, wherein the P2 inspection test marks are the remaining inspection test marks among the P inspection test marks except the P1 inspection test mark; if the second inspection path does not pass through the P2 inspection test mark, send a third inspection path validation command to the second inspection robot, wherein the third inspection path validation command is used to indicate the validation of the third inspection path, and the third inspection path passes through the P2 inspection test mark;
[0241] The second inspection robot is used to perform inspection in the first inspection range according to the third inspection path after receiving the third inspection path validation command, and generate a third inspection report after traversing the third inspection path once, wherein the third inspection report includes A3 inspection event records arranged in chronological order of inspection time, each inspection event record corresponding to an event type, event occurrence time and event occurrence location of an alarm event found by the second inspection robot during the inspection process;
[0242] The inspection report processing server is also used to, after receiving the third inspection report from the second inspection robot, read the A3 inspection event records contained in the third inspection report, perform a valid inspection event record extraction operation on the A3 inspection event records, and write the extracted valid inspection event records into the second database.
[0243] In some possible implementations, the inspection report processing server is used to, if it is found that the A1 inspection event record only contains P1 inspection event records corresponding to P1 inspection test event feature groups, determine whether the second inspection path passes through P2 inspection test marks, wherein the P2 inspection test marks are the remaining inspection test marks among the P inspection test marks except the P1 inspection test mark; if the second inspection path does not pass through the P2 inspection test mark, send a third inspection path validation command to the inspection component distribution server, wherein the third inspection path validation command is used to indicate the validation of the third inspection path, and the third inspection path passes through the P2 inspection test mark;
[0244] The inspection component distribution server is used to forward a third inspection path validation command to a third inspection robot in an idle state of the inspection robot cluster;
[0245] The third inspection robot is used to change from an idle state to an inspection state after receiving a command to take effect on the third inspection path, and to perform inspections in a first inspection range according to the third inspection path, and to generate a fourth inspection report after traversing the third inspection path once, wherein the fourth inspection report includes A4 inspection event records arranged in chronological order of inspection time, and each inspection event record corresponds to an event type, event occurrence time, and event occurrence location of an alarm event found by the third inspection robot during the inspection process;
[0246] The inspection report processing server is used to, after receiving the fourth inspection report from the third inspection robot, read the A4 inspection event record contained in the fourth inspection report, perform a valid inspection event record extraction operation on the A4 inspection event record, and write the extracted valid inspection event record into the second database.
[0247] An embodiment of the present application also provides a computer storage medium, which stores a computer program. When the computer program is deployed in a patrol robot, it can enable the patrol robot to perform some or all of the operations performed by the first patrol robot, the second patrol robot, the third patrol robot, the fourth patrol robot, or the fifth patrol robot in the above embodiments.
[0248] An embodiment of the present application also provides a computer program, which, when deployed in a composite intelligent inspection robot, can enable the inspection robot to perform some or all of the operations performed by the first inspection robot, the second inspection robot, the third inspection robot, the fourth inspection robot, or the fifth inspection robot in the above embodiments.
[0249] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0250] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices, units, etc. described above can refer to the corresponding processes in the aforementioned methods or other embodiments and will not be repeated here.
[0251] For the sake of convenience and brevity, the various method embodiments can also be referenced to each other and will not be described in detail. In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely 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 through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0252] The unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, the functional units in each embodiment of the present application may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit. If the function is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially 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, which is stored in a storage medium, including several instructions for a computer device (such as a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory, a random access memory, a disk or an optical disk.
[0253] The above are only some specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A robot inspection data processing method, It is characterized in that The robot inspection data processing method is applied to a smart factory inspection system, wherein the smart factory inspection system comprises an inspection report processing server, an inspection component distribution server and an inspection robot cluster; the inspection component distribution server is used to distribute inspection components for inspection to the inspection robot; in, The inspection robot cluster includes a first inspection robot and a second inspection robot, the smart factory includes multiple inspection ranges, and the first inspection robot and the second inspection robot perform inspections within a first inspection range among the multiple inspection ranges; wherein P0 inspection test marks are set within the first inspection range; P0 is an integer greater than 2; the first inspection robot and the second inspection robot are both communicatively connected to the inspection component distribution server and the inspection report processing server; the first inspection robot and the second inspection robot are connected to the same wireless local area network; Wherein, the method comprises: After receiving the first inspection report from the first inspection robot, the inspection report processing server reads A1 inspection event records contained in the first inspection report, performs a valid inspection event record extraction operation on the A1 inspection event record, and writes the extracted valid inspection event record into the second database; wherein, the first inspection report is generated by the first inspection robot after performing an inspection in the first inspection range along the first inspection path and traversing the first inspection path once, and the first inspection report includes A1 inspection event records arranged in chronological order of inspection time, each inspection event record corresponds to the event type, event occurrence time and event occurrence location of an alarm event discovered by the first inspection robot during the inspection process; the first inspection path passes through P inspection test marks out of P0 inspection test marks, and the distance between any two adjacent inspection test marks among the P inspection test marks does not exceed the distance threshold; The operation of extracting a valid inspection event record for the inspection event record A1 includes: Read out P inspection test event feature groups corresponding one-to-one to the P inspection test marks in the first database; search whether the A1 inspection event record contains P inspection event records corresponding one-to-one to the P inspection test event feature groups; wherein, if it is found that the A1 inspection event record contains P inspection event records corresponding one-to-one to the P inspection test event feature groups, the P inspection event records contained in the A1 inspection event record are screened out to obtain A1-P inspection event records, and all of the A1-P inspection event records are used as extracted valid inspection event records.
2. The method according to claim 1, It is characterized in that Performing a valid inspection event extraction operation on the inspection event record A1 also includes: If it is found that the A1 inspection event record only contains P1 inspection event records that correspond one-to-one to P1 inspection test event feature groups, then execute steps S1-S10; the P1 inspection test event feature groups are part of the P inspection test event feature groups, and the order of the P inspection test event feature groups corresponds to the order in which the P inspection test marks appear in the first inspection path; wherein the P1 inspection test event feature group corresponds to the P1 inspection test mark among the P inspection test marks; Step S1. Let i=1; Step S2. Determine whether i is greater than P; If not, proceed to step S3; If yes, execute step S10; Step S3. Searching in the A1 inspection event record whether there is an inspection event record rPi corresponding to the i-th inspection test event feature group in the P inspection test feature groups; If not, set i=i+1 and return to step S2; If yes, execute step S4; Step S4. Let i=i+1; Step S5. Determine whether i is greater than P; If not, proceed to step S6; If yes, execute step S10; Step S6. Searching in the A1 inspection event record whether there is an inspection event record rPi corresponding to the i-th inspection test feature group among the P inspection test feature groups; If not, set i=i+1 and return to step S2; If yes, execute step S7; Step S7. The inspection event record whose position in the inspection event record A1 is between the inspection event record rPi-1 and the inspection event record rPi is taken as the extracted valid inspection event record; Step S8. Let i=i+1; Step S9. Determine whether i is greater than P; If not, execute step S6; If yes, execute step S10; Step S10: End the effective inspection event record extraction operation.
3. The method according to claim 2, It is characterized in that X1 extended inspection components and N basic inspection components are activated in the first inspection robot; the X1 extended inspection components and the N basic inspection components are activated in the second inspection robot; wherein the activated X1 extended inspection components and the N basic inspection components are used to inspect the first inspection range; Wherein, the method comprises: After receiving the second inspection report from the second inspection robot, the inspection report processing server reads the A2 inspection event record contained in the second inspection report, performs a valid inspection event record extraction operation on the A2 inspection event record, and writes the extracted valid inspection event record into the second database; Among them, the second inspection report is generated by the second inspection robot after traversing the second inspection path within the first inspection range, and the second inspection report includes A2 inspection event records arranged in chronological order according to the inspection time, and each inspection event record corresponds to the event type, event occurrence time and event occurrence location of an alarm event discovered by the second inspection robot during the inspection process; wherein, the first inspection path and the second inspection path are different.
4. The method according to claim 3, It is characterized in that The method further comprises: If it is found that the A1 inspection event record only contains P1 inspection event records corresponding to P1 inspection test event feature groups, the inspection report processing server determines whether the second inspection path passes through P2 inspection test marks, and the P2 inspection test marks are the remaining inspection test marks among the P inspection test marks except the P1 inspection test mark; If the second inspection path does not pass through the P2 inspection test marks, the inspection report processing server sends a third inspection path validation command to the second inspection robot, wherein the third inspection path validation command is used to indicate the validation of the third inspection path, wherein the third inspection path passes through the P2 inspection test marks; After receiving the third inspection report from the second inspection robot, the inspection report processing server reads A3 inspection event records contained in the third inspection report, performs a valid inspection event record extraction operation on the A3 inspection event records, and writes the extracted valid inspection event records into the second database; Among them, the third inspection report is generated by the second inspection robot after receiving the third inspection path effectiveness command, inspecting in the first inspection range according to the third inspection path, and traversing the third inspection path once. The third inspection report includes A3 inspection event records arranged in chronological order of inspection time, and each inspection event record corresponds to the event type, event occurrence time and event occurrence location of an alarm event discovered by the second inspection robot during the inspection process.
5. The method according to claim 3, It is characterized in that The method further comprises: If it is found that the A1 inspection event record only contains P1 inspection event records corresponding to P1 inspection test event feature groups, the inspection report processing server determines whether the second inspection path passes through P2 inspection test marks, and the P2 inspection test marks are the remaining inspection test marks among the P inspection test marks except the P1 inspection test mark; If the second inspection path does not pass through the P2 inspection test marks, the inspection report processing server sends a third inspection path validation command to the inspection component distribution server, the third inspection path validation command is used to indicate the validation of the third inspection path, the third inspection path passes through the P2 inspection test marks; The inspection component distribution server forwards a third inspection path validation command to a third inspection robot in an idle state of the inspection robot cluster; After receiving the fourth inspection report from the third inspection robot, the inspection report processing server reads the A4 inspection event record contained in the fourth inspection report, performs a valid inspection event record extraction operation on the A4 inspection event record, and writes the extracted valid inspection event record into the second database; Among them, the fourth inspection report is generated by the third inspection robot after it changes from an idle state to an inspection state after receiving the command to take effect of the third inspection path, and performs inspection in the first inspection range according to the third inspection path, and after traversing the third inspection path once, wherein the fourth inspection report includes A4 inspection event records arranged in chronological order of inspection time, and each inspection event record corresponds to the event type, event occurrence time and event occurrence location of an alarm event discovered by the third inspection robot during the inspection process.
6. A smart factory inspection system, It is characterized in that The smart factory inspection system includes an inspection report processing server, an inspection component distribution server and an inspection robot cluster; the inspection component distribution server is used to distribute inspection components for inspection to the inspection robot; in, The inspection robot cluster includes a first inspection robot and a second inspection robot, the smart factory includes multiple inspection ranges, and the first inspection robot and the second inspection robot perform inspections within a first inspection range among the multiple inspection ranges; wherein P0 inspection test marks are set within the first inspection range, wherein P0 is an integer greater than 2; the first inspection robot and the second inspection robot are both communicatively connected to the inspection component distribution server and the inspection report processing server; the first inspection robot and the second inspection robot are connected to the same wireless local area network; The first inspection robot is used to perform inspections in a first inspection range according to a first inspection path, and generate a first inspection report after traversing the first inspection path once, wherein the first inspection report includes A1 inspection event records arranged in chronological order of inspection time, and each inspection event record corresponds to an event type, event occurrence time, and event occurrence location of an alarm event found by the first inspection robot during the inspection process; wherein the first inspection path passes through P inspection test marks out of P0 inspection test marks, and the distance between any two adjacent inspection test marks out of the P inspection test marks does not exceed the distance threshold; The inspection report processing server is used to, after receiving the first inspection report from the first inspection robot, read the A1 inspection event record contained in the first inspection report, perform a valid inspection event record extraction operation on the A1 inspection event record, and write the extracted valid inspection event record into the second database; The operation of extracting a valid inspection event record for the inspection event record A1 includes: Read out P inspection test event feature groups corresponding one-to-one to the P inspection test marks in the first database; search whether the A1 inspection event record contains P inspection event records corresponding one-to-one to the P inspection test event feature groups; wherein, if it is found that the A1 inspection event record contains P inspection event records corresponding one-to-one to the P inspection test event feature groups, the P inspection event records contained in the A1 inspection event record are screened out to obtain A1-P inspection event records, and all of the A1-P inspection event records are used as extracted valid inspection event records.
7. The smart factory inspection system according to claim 6, It is characterized in that Performing a valid inspection event extraction operation on the inspection event record A1 also includes: If it is found that the A1 inspection event record only contains P1 inspection event records that correspond one-to-one to P1 inspection test event feature groups, then execute steps S1-S10; the P1 inspection test event feature groups are part of the P inspection test event feature groups, and the order of the P inspection test event feature groups corresponds to the order in which the P inspection test marks appear in the first inspection path; wherein the P1 inspection test event feature group corresponds to the P1 inspection test mark among the P inspection test marks; Step S1. Let i=1; Step S2. Determine whether i is greater than P; If not, proceed to step S3; If yes, execute step S10; Step S3. Searching in the A1 inspection event record whether there is an inspection event record rPi corresponding to the i-th inspection test event feature group in the P inspection test feature groups; If not, set i=i+1 and return to step S2; If yes, execute step S4; Step S4. Let i=i+1; Step S5. Determine whether i is greater than P; If not, execute step S6; If yes, execute step S10; Step S6. Searching in the A1 inspection event record whether there is an inspection event record rPi corresponding to the i-th inspection test feature group among the P inspection test feature groups; If not, set i=i+1 and return to step S2; If yes, execute step S7; Step S7. The inspection event record whose position in the inspection event record A1 is between the inspection event record rPi-1 and the inspection event record rPi is taken as the extracted valid inspection event record; Step S8. Let i=i+1; Step S9. Determine whether i is greater than P; If not, execute step S6; If yes, execute step S10; Step S10: End the effective inspection event record extraction operation.
8. The smart factory inspection system according to claim 7, It is characterized in that X1 extended inspection components and N basic inspection components are activated in the first inspection robot; the X1 extended inspection components and the N basic inspection components are activated in the second inspection robot; The activated X1 extended inspection components and the N basic inspection components are used to inspect the first inspection range; The second inspection robot is used to inspect in the first inspection range according to the second inspection path, and generate a second inspection report after traversing the second inspection path once, wherein the second inspection report includes A2 inspection event records arranged in chronological order of inspection time, and each inspection event record corresponds to an event type, event occurrence time and event occurrence location of an alarm event found by the second inspection robot during the inspection process; wherein the first inspection path and the second inspection path are different; The inspection report processing server is used to read the A2 inspection event record contained in the second inspection report after receiving the second inspection report from the second inspection robot, perform a valid inspection event record extraction operation on the A2 inspection event record, and write the extracted valid inspection event record into the second database.
9. A computer storage medium, It is characterized in that The computer program stored in the computer storage medium is used to implement the method according to any one of claims 1 to 5 when executed by a computer device.
10. A computer program, It is characterized in that When the computer program is executed by a computer device, it is used to implement the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Power dispatching automation polling robot and method based on reptile technology
CN104539053A
Method and system of planning automatic inspection path of intelligent device
CN110009761A
Distributed explosion-proof inspection robot cluster intelligent file management method and system
CN112199332A
Three-dimensional video intelligent inspection system and inspection method
CN112366821A
Laser radar self-checking method and self-checking equipment thereof, and computer readable storage medium
CN114252870A
