Inspection report generation method and device, equipment and medium

By performing field matching and semantic matching of the description fields of inspection equipment and the description fields of preset standard inspection items, the problem of inconsistent naming of inspection items in different material inspection reports is solved, and the accuracy and efficient generation and standardization of inspection reports are achieved, and the efficiency of the quality management process is improved.

CN119740559AActive Publication Date: 2025-04-01GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411625276.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-14
Publication Date
2025-04-01
Estimated Expiration
2044-11-14

AI Technical Summary

Technical Problem

Due to the inconsistent naming methods of inspection items for different materials, the original data is difficult to directly correspond to specific inspection items, which increases the complexity of data processing and the necessity of manual intervention, and may introduce errors, affecting the accuracy and work efficiency of inspection reports.

Method used

By obtaining the description fields and inspection data of the inspection equipment, perform field matching and semantic matching, determine the correspondence between the inspection items and the preset standard inspection items, ensure that they can correspond accurately even under different naming rules, and reduce manual intervention and data correspondence errors.

Benefits of technology

It realizes accurate and efficient generation of inspection reports, reduces manual intervention, simplifies data processing processes, improves the work efficiency of quality management processes, and promotes the standardization and standardization of inspection reports.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119740559A_ABST
    Figure CN119740559A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an inspection report generation method and device, equipment and a medium, and the method comprises the steps: obtaining a description field and inspection data of inspection equipment; performing field matching according to the description field of the inspection equipment and a description field of a preset standard inspection item to obtain a field matching result so as to determine a first target inspection item; under the condition that the first target inspection item does not exist in the preset standard inspection items, semantic matching is carried out according to the description field of the inspection equipment and the description field of the preset standard inspection item, the semantic matching degree of the inspection item of the inspection equipment and the preset standard inspection item is obtained, and a semantic matching result is obtained; and determining a second target inspection item, and determining an inspection report according to the second target inspection item. The test items of the test equipment can be ensured to accurately correspond to the preset standard test items even under different naming rules, and data correspondence errors are effectively avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of inspection reports, and in particular to an inspection report generation method, device, equipment and medium. Background Art

[0002] In the quality management process, it is inevitable to perform multiple inspections on materials and compile standardized inspection reports based on these inspection results to verify the quality compliance of materials. However, in actual operations, inspection reports for different materials often use different inspection item naming methods. This inconsistency in naming makes it difficult to directly correspond the raw data directly obtained from the inspection equipment with specific inspection items. This inconsistency not only increases the complexity of data processing and the necessity of manual intervention, but also may introduce errors, thereby affecting the accuracy of the inspection report and reducing work efficiency. Therefore, it is necessary to find a way to solve the data correspondence problem caused by the difference in the naming of inspection items to ensure that the inspection report can accurately and efficiently reflect the actual inspection situation of the material. Summary of the invention

[0003] In view of the above problems, embodiments of the present invention are proposed to provide a method, apparatus, device and medium for generating an inspection report that overcomes the above problems or at least partially solves the above problems.

[0004] In order to solve the above problems, an embodiment of the present invention discloses a method for generating an inspection report, the method comprising:

[0005] Acquire a description field and inspection data of an inspection device; the description field is used to characterize the inspection items of the inspection device;

[0006] Perform field matching based on the description field of the inspection device and the description field of the preset standard inspection item to obtain the field matching degree between the inspection item of the inspection device and the preset standard inspection item;

[0007] Determine whether there is a first target inspection item in the preset standard inspection item according to the field matching degree between the inspection item of the inspection device and the preset standard inspection item;

[0008] When the first target inspection item does not exist in the preset standard inspection items, semantic matching is performed according to the description field of the inspection device and the description field of the preset standard inspection item to obtain the semantic matching degree between the inspection item of the inspection device and the preset standard inspection item;

[0009] Determine a second target inspection item in the preset standard inspection item according to the semantic matching degree between the inspection item of the inspection device and the preset standard inspection item;

[0010] Optionally, determining the second target inspection item in the preset standard inspection item according to the semantic matching degree between the inspection item of the inspection device and the preset standard inspection item includes:

[0011] Outputting the second item matching result to the user according to the second target inspection item, so that the user can confirm whether the second item matching result meets expectations;

[0012] The second target inspection item is determined according to the user's confirmation result of the second item matching result.

[0013] Optionally, performing field matching based on the description field of the inspection device and the description field of the preset standard inspection item to obtain the field matching degree between the inspection item of the inspection device and the preset standard inspection item includes:

[0014] Under the condition that the inspection report template corresponding to the description field of the inspection device cannot be obtained according to the description field of the inspection device, field matching is performed according to the description field of the inspection device and the description field of the preset standard inspection item to obtain the field matching degree between the inspection item of the inspection device and the preset standard inspection item;

[0015] The method further comprises:

[0016] Under the condition that an inspection report template corresponding to the description field of the inspection device can be obtained according to the description field of the inspection device, an inspection report is obtained according to the inspection data of the inspection device and the inspection report template.

[0017] Optionally, after obtaining the inspection report, the method further includes:

[0018] According to the inspection report and the description fields of the inspection equipment, an inspection report template corresponding to the description fields of the inspection equipment is determined.

[0019] Optionally, the determining, according to the inspection report and the description field of the inspection device, an inspection report template corresponding to the description field of the inspection device includes:

[0020] According to the inspection report and the description field of the inspection device, determining an initial inspection report template corresponding to the description field of the inspection device;

[0021] Outputting the initial inspection report template corresponding to the description field of the inspection device to the user, so that the user can confirm whether the initial inspection report template meets expectations;

[0022] According to the confirmation result of the user on the initial inspection report template, an inspection report template corresponding to the description field of the inspection device is determined.

[0023] Optionally, the method further comprises:

[0024] When there is a first target inspection item in the preset standard inspection items and the field matching degree also meets the preset matching degree threshold, obtaining an inspection report according to the inspection data and the first target inspection item;

[0025] When there is a first target inspection item in the preset standard inspection items but the field matching degree does not meet the preset matching degree threshold, field matching is performed according to a synonym dictionary and a description field of the inspection device to obtain a synonym matching degree between the synonym dictionary and the description field of the inspection device;

[0026] Determining a target synonym based on the synonym dictionary and the synonym matching degree of the description field of the inspection device;

[0027] Determining a third target inspection item in the preset standard inspection items according to the target synonym and the preset standard inspection items;

[0028] An inspection report is obtained based on the inspection data, the first target inspection items and the third target inspection items.

[0029] Optionally, the method further comprises:

[0030] The synonym dictionary is obtained based on expert review and a domain corpus; the domain corpus includes specific vocabulary in the corresponding domain of the preset standard inspection item.

[0031] On the other hand, an embodiment of the present invention discloses a test report generating device, the device comprising:

[0032] A description field acquisition module, used to acquire description fields and inspection data of the inspection equipment; the description fields are used to characterize the inspection items of the inspection equipment;

[0033] A first item matching module is used to perform field matching based on the description field of the inspection device and the description field of the preset standard inspection item to obtain the field matching degree between the inspection item of the inspection device and the preset standard inspection item;

[0034] A first item determination module, used to determine whether there is a first target inspection item in the preset standard inspection items according to the field matching degree between the inspection items of the inspection device and the preset standard inspection items;

[0035] A second item matching module is used to perform semantic matching based on the description field of the inspection device and the description field of the preset standard inspection item when the first target inspection item does not exist in the preset standard inspection item, so as to obtain the semantic matching degree between the inspection item of the inspection device and the preset standard inspection item;

[0036] A second item determination module, used to determine a second target inspection item in the preset standard inspection item according to a semantic matching degree between the inspection item of the inspection device and the preset standard inspection item;

[0037] The inspection report obtaining module is used to obtain an inspection report according to the inspection data and the second target inspection item.

[0038] Optionally, the second project determination module includes:

[0039] A second user confirmation submodule, configured to output a second item matching result to a user according to the second target inspection item, so that the user can confirm whether the second item matching result meets expectations;

[0040] The second target item confirmation module is used to determine the second target inspection item according to the user's confirmation result of the second item matching result.

[0041] Optionally, the first project matching module includes:

[0042] A first item matching degree acquisition module is used to perform field matching based on the description field of the inspection device and the description field of the preset standard inspection item, so as to obtain the field matching degree between the inspection item of the inspection device and the preset standard inspection item, under the condition that the inspection report template corresponding to the description field of the inspection device cannot be obtained based on the description field of the inspection device;

[0043] The device also includes:

[0044] The template matching module is used to obtain an inspection report according to the inspection data of the inspection device and the inspection report template, under the condition that an inspection report template corresponding to the description field of the inspection device can be obtained according to the description field of the inspection device.

[0045] Optionally, the device further comprises:

[0046] A first inspection report acquisition submodule is used to obtain an inspection report according to the inspection data and the first target inspection item when there is a first target inspection item in the preset standard inspection items and the field matching degree also meets a preset matching degree threshold;

[0047] A synonym matching submodule, used for performing field matching according to a synonym dictionary and a description field of the inspection device to obtain a synonym matching degree between the synonym dictionary and the description field of the inspection device when there is a first target inspection item in the preset standard inspection items but the field matching degree does not meet a preset matching degree threshold;

[0048] A synonym acquisition submodule, used for determining a target synonym according to the synonym matching degree of the synonym dictionary and the description field of the inspection device;

[0049] A third item acquisition submodule, used to determine a third target inspection item in the preset standard inspection items according to the target synonym and the preset standard inspection items;

[0050] The third inspection report acquisition submodule is used to obtain an inspection report according to the inspection data, the first target inspection items and the third target inspection items.

[0051] Optionally, after obtaining the inspection report, the device further includes:

[0052] The inspection report module generates a submodule, which is used to determine the inspection report template corresponding to the description field of the inspection device according to the inspection report and the description field of the inspection device.

[0053] Optionally, the inspection report module generates a submodule, including:

[0054] A template user confirmation unit, configured to determine an initial inspection report template corresponding to the description field of the inspection device according to the inspection report and the description field of the inspection device;

[0055] The template output unit is used to output the initial inspection report template corresponding to the description field of the inspection device to the user, so that the user can confirm whether the initial inspection report template meets the expected template. The template confirmation unit is used to determine the inspection report template corresponding to the description field of the inspection device based on the user's confirmation result of the initial inspection report template.

[0056] Optionally, the device further comprises:

[0057] The synonym dictionary construction module is used to obtain the synonym dictionary based on expert review and a domain corpus; the domain corpus includes specific words in the corresponding domain of the preset standard inspection item.

[0058] Correspondingly, an embodiment of the present invention discloses an electronic device, comprising: a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the various steps of the above-mentioned inspection report generation method embodiment when executed by the processor.

[0059] Accordingly, an embodiment of the present invention discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, each step of the above-mentioned inspection report generation method embodiment is implemented.

[0060] The embodiments of the present invention include the following advantages: the embodiment can preliminarily determine the correspondence between the inspection items and the standard items by performing field matching on the description fields of the inspection equipment and the description fields of the preset standard inspection items; when the field matching results do not meet expectations, the semantic matching technology is further adopted to ensure that the inspection items of the inspection equipment can be accurately matched with the preset standard inspection items even under different naming rules, thereby effectively avoiding data correspondence errors; and this automated field matching and semantic matching process effectively reduces manual intervention, simplifies the data processing process, and thus improves the work efficiency of the entire quality management process. In addition, taking the preset standard inspection items as a benchmark helps to achieve the standardization and normalization of inspection reports, improves the level of quality management, and makes the inspection results more comparable and consistent. In summary, the present embodiment can flexibly deal with the problem of inconsistent naming of inspection items in different inspection reports, enhances the adaptability and flexibility of the system, and is suitable for a variety of application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] Figure 1 is a flowchart of a method for generating a test report according to an embodiment of the present invention;

[0062] Figure 2 It is a structural block diagram of an embodiment of a test report generating device of the present invention. DETAILED DESCRIPTION

[0063] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0064] In the field of quality management, there is a close relationship between inspection equipment, inspection reports and inspection templates. Inspection equipment is the basis of inspection work, and its performance and quality directly affect the accuracy and reliability of inspection results; inspection reports are the embodiment of the results of inspection work, recording the inspection process, methods and results, and providing an important basis for quality management; and inspection templates are the standard format and specifications of inspection reports, ensuring the consistency and comparability of inspection reports.

[0065] One of the core concepts of an embodiment of the present invention is to process the description fields of the inspection equipment and the description fields of the preset standard inspection items through field matching and voice matching technology, ensuring that the inspection items of the inspection equipment can be accurately matched with the preset standard inspection items even under different naming rules, thereby avoiding data correspondence errors.

[0066] Reference Figure 1 , shows a flow chart of steps of an embodiment of a method for generating a test report of the present invention, which may specifically include the following steps:

[0067] Step 101, obtaining a description field and inspection data of an inspection device; the description field is used to characterize the inspection items of the inspection device;

[0068] When generating an inspection report, you need to first obtain the description field and inspection data of the inspection equipment. The description field of the inspection equipment is used to characterize the items inspected by the inspection equipment, while the inspection data represents the data generated by this inspection. In practice, the description field of the inspection equipment can be dynamically adjusted according to the design of the inspection business.

[0069] Exemplarily, the description field of the inspection equipment may include the inspection items of this inspection, identification fields such as the equipment name used to uniquely identify the equipment, the specific model of the inspection equipment including equipment data such as type and specifications, and production date and manufacturer used to provide the manufacturing background of the equipment, which is conducive to tracing the history of the equipment and log information of maintenance records.

[0070] Step 102, performing field matching based on the description field of the inspection device and the description field of the preset standard inspection item to obtain the field matching degree between the inspection item of the inspection device and the preset standard inspection item;

[0071] The preset standard inspection items are designed according to the business and are inspection items that need to be reflected in the inspection report. The description field of the preset standard inspection items includes the project name and the data range of qualified data. When the project name corresponds, if the inspection data of the inspection equipment falls within the data range of qualified data, the data is considered qualified, otherwise the data is considered unqualified.

[0072] After obtaining the description field of the inspection equipment and the description field of the preset standard inspection item, a field matching algorithm is applied to perform field matching on the two to obtain the field matching degree; generally, a field matching algorithm is used in computer science to match fields in two data sets to determine the similarity or matching degree between them;

[0073] Exemplarily, the field matching algorithm used to match the description field of the inspection device and the description field of the preset standard inspection item can be one or more of the Levenshtein Distance algorithm, the Jaccard Similarity Coefficient algorithm and the Cosine Similarity algorithm; it should be noted that the field matching algorithm used to match the description field of the inspection device and the description field of the preset standard inspection item can also be other field matching algorithms, which is not limited to the embodiments of the present invention.

[0074] In one embodiment, step 102 includes the following sub-steps:

[0075] Sub-step S11, under the condition that the inspection report template corresponding to the description field of the inspection device cannot be obtained according to the description field of the inspection device, field matching is performed according to the description field of the inspection device and the description field of the preset standard inspection item to obtain the field matching degree between the inspection item of the inspection device and the preset standard inspection item;

[0076] In order to save business time for inspection reports, an inspection report template is usually constructed based on the inspection report of the business project, which can save the time of generating the inspection report and does not need to perform field matching or semantic matching every time when generating the inspection report. Accordingly, the inspection report generation method can also include the following sub-steps:

[0077] Sub-step S21, obtaining an inspection report according to the inspection data of the inspection device and the inspection report template, under the condition that an inspection report template corresponding to the description field of the inspection device can be obtained according to the description field of the inspection device.

[0078] When the inspection report template can be queried, the inspection report is directly generated by directly applying the inspection report template and the inspection data of the inspection equipment; this embodiment can automatically perform the matching process when the inspection report template cannot be found, thereby saving business time and improving the intelligence and work efficiency of the inspection report generation process.

[0079] Step 103, determining whether there is a first target inspection item in the preset standard inspection items according to the field matching degree between the inspection items of the inspection device and the preset standard inspection items;

[0080] In one embodiment, the method further comprises the following sub-steps:

[0081] Sub-step S31, when there is a first target inspection item in the preset standard inspection items and the field matching degree also meets a preset matching degree threshold, obtaining an inspection report according to the inspection data and the first target inspection item;

[0082] When the field matching result meets the preset matching threshold, it can be considered that this matching has met the business needs. Therefore, the target inspection items can be directly determined based on the field matching result to generate an inspection report.

[0083] Sub-step S32, when there is a first target inspection item in the preset standard inspection items but the field matching degree does not meet the preset matching degree threshold, field matching is performed according to a synonym dictionary and a description field of the inspection device to obtain a synonym matching degree between the synonym dictionary and the description field of the inspection device;

[0084] When the result of field matching does not meet the preset matching degree threshold, it is considered that the result of this field matching does not meet the business needs and cannot be used directly. At this time, synonym matching is tried first; the description field of the inspection equipment is matched with the preset synonym dictionary to obtain the field matching degree between the description field of the inspection equipment and the synonym in the synonym dictionary;

[0085] Sub-step S33, determining a target synonym according to the synonym matching degree of the synonym dictionary and the description field of the inspection device;

[0086] Sub-step S34, determining a third target inspection item in the preset standard inspection items according to the target synonym and the preset standard inspection items;

[0087] Sub-step S35, obtaining an inspection report according to the inspection data, the first target inspection items and the third target inspection items.

[0088] When the matching result of the field matching is insufficient but there are still the first target inspection items, in order to ensure the accuracy of the inspection items, the use of the preset synonym dictionary for synonym matching can further improve the accuracy of the target inspection items. Finally, the final inspection report is determined together with the inspection items obtained by synonym matching and the inspection items obtained by field matching. By using this secondary synonym matching method, the intelligence of the inspection report generation process is further improved, and work efficiency is improved.

[0089] In one embodiment, the process of constructing a synonym dictionary may include the following sub-steps:

[0090] Sub-step S41, obtaining the synonym dictionary according to the expert review and the domain corpus; the domain corpus includes the specific words in the corresponding domain of the preset standard inspection item.

[0091] Combining the opinions of experts in the field with the collected professional-specific vocabulary in the field of preset standard projects to build a synonym dictionary can ensure the accuracy of the synonym dictionary, thereby improving the accuracy of matching results and improving work efficiency.

[0092] Step 104, when the first target inspection item does not exist in the preset standard inspection items, semantic matching is performed according to the description field of the inspection device and the description field of the preset standard inspection item to obtain the semantic matching degree between the inspection item of the inspection device and the preset standard inspection item;

[0093] When there is no target inspection item with field matching in the preset standard inspection items, semantic matching is further performed at this time, and semantic matching is performed based on the description field of the inspection device and the description field of the preset standard inspection items to obtain a semantic matching result; the algorithm used for semantic matching can be natural language processing (Natural Language Processing, NLP) or other algorithms used for semantic matching, which is not limited to the embodiments of the present invention.

[0094] Step 105, determining a second target inspection item in the preset standard inspection item according to the semantic matching degree between the inspection item of the inspection device and the preset standard inspection item;

[0095] In one embodiment, step 105 includes the following sub-steps:

[0096] Sub-step S51, outputting the second item matching result to the user according to the second target inspection item, so that the user can confirm whether the second item matching result meets expectations;

[0097] After the semantic matching is completed and the second target inspection item is generated, the matching result of the second target inspection item is output to the user, so that the user can confirm whether the result of this semantic matching meets the business expectations;

[0098] Sub-step S52, determining the second target inspection item according to the user's confirmation result of the second item matching result.

[0099] According to the result of user confirmation, the final second target inspection item is generated, and then the inspection report is further generated.

[0100] In one example, the result of user confirmation can be agreement or disagreement. When the user result is disagreement, the manual supplementary entry stage is entered, and the user manually enters the inspection items and data qualified intervals for this time; the inspection items and data qualified intervals manually entered by the user are used as the second target inspection items, and an inspection report is generated. After the inspection report is generated, the inspection items and data qualified intervals manually entered by the user this time are added as a new preset standard inspection item to the original preset standard inspection items, and the synonym dictionary is updated synchronously to facilitate the generation of the next inspection report.

[0101] In this embodiment, after the second target inspection item is generated, the user confirms the generation result this time, which can further ensure the accuracy of the inspection item, thereby generating an inspection report that meets the service business standard.

[0102] Step 106: Obtain an inspection report based on the inspection data and the second target inspection item.

[0103] When the second target inspection item is determined, the inspection data is matched with the data qualified interval of the target inspection item, thereby generating a complete inspection report.

[0104] In one embodiment, after obtaining the inspection report, the method further includes:

[0105] According to the inspection report and the description fields of the inspection equipment, an inspection report template corresponding to the description fields of the inspection equipment is determined.

[0106] When an inspection report is generated but there is no matching inspection report template, the inspection report template corresponding to the description field of the inspection device is determined based on the description fields of the inspection report and the inspection device, so as to simplify the process and improve work efficiency when generating an inspection report next time.

[0107] In one embodiment, after obtaining the inspection report, the method further includes:

[0108] According to the inspection report and the description field of the inspection device, determining an initial inspection report template corresponding to the description field of the inspection device;

[0109] The initial inspection report template corresponding to the description field of the inspection device is output to the user so that the user can confirm whether the initial inspection report template meets expectations. After the inspection report template is generated, the generated template is output to the user so that the user can confirm whether the template meets expectations, thereby further improving the accuracy of the inspection report.

[0110] According to the confirmation result of the user on the initial inspection report template, an inspection report template corresponding to the description field of the inspection device is determined.

[0111] In one example, the inspection report can be determined based on the description field of the inspection device and the description field of the preset standard inspection item to obtain the first target inspection item, thereby obtaining an inspection report template;

[0112] In another example, the inspection report template can be obtained by jointly determining the inspection report based on the first target inspection item obtained by field matching the description field of the inspection device and the description field of the preset standard inspection item and the third target inspection item obtained by field matching the description field of the inspection device and the synonym dictionary;

[0113] In another example, the inspection report can be determined based on the second target inspection item obtained by semantically matching the description field of the inspection device with the description field of the preset standard inspection item, thereby obtaining an inspection report template.

[0114] In one example, the fields in the inspection report template may include: inspection report template number, inspection category, inspection name, inspection item, qualified data range, actual inspection value, and conclusion, among which the three information of inspection category, inspection item, and qualified data range are required items.

[0115] This embodiment further meets the needs of users and business requirements by displaying the generated template to users for secondary confirmation, thereby improving work efficiency.

[0116] This embodiment can preliminarily determine the correspondence between the inspection items and the standard items by performing field matching on the description fields of the inspection equipment and the description fields of the preset standard inspection items; when the field matching results do not meet expectations, semantic matching technology is further adopted to ensure that the inspection items of the inspection equipment can be accurately matched with the preset standard inspection items even under different naming rules, effectively avoiding data correspondence errors; and this automated field matching and semantic matching process effectively reduces manual intervention and simplifies the data processing process, thereby improving the work efficiency of the entire quality management process. In addition, taking the preset standard inspection items as a benchmark helps to achieve the standardization and normalization of inspection reports, improves the level of quality management, and makes the inspection results more comparable and consistent. In summary, this embodiment can flexibly deal with the problem of inconsistent naming of inspection items in different inspection reports, enhances the adaptability and flexibility of the system, and is suitable for a variety of application scenarios.

[0117] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0118] Reference Figure 2 , shows a structural block diagram of an embodiment of a test report generating device of the present invention, which may specifically include the following modules:

[0119] The description field acquisition module 201 is used to acquire the description field and the inspection data of the inspection device; the description field is used to characterize the inspection items of the inspection device;

[0120] When generating an inspection report, you need to first obtain the description field and inspection data of the inspection equipment. The description field of the inspection equipment is used to characterize the items inspected by the inspection equipment, while the inspection data represents the data generated by this inspection. In practice, the description field of the inspection equipment can be dynamically adjusted according to the design of the inspection business.

[0121] Exemplarily, the description field of the inspection equipment may include the inspection items of this inspection, identification fields such as the equipment name used to uniquely identify the equipment, the specific model of the inspection equipment including equipment data such as type and specifications, and production date and manufacturer used to provide the manufacturing background of the equipment, which is conducive to tracing the history of the equipment and log information of maintenance records.

[0122] A first item matching module 202, configured to perform field matching based on the description field of the inspection device and the description field of the preset standard inspection item, to obtain a field matching degree between the inspection item of the inspection device and the preset standard inspection item;

[0123] The preset standard inspection items are designed according to the business and are inspection items that need to be reflected in the inspection report. The description field of the preset standard inspection items includes the project name and the data range of qualified data. When the project name corresponds, if the inspection data of the inspection equipment falls within the data range of qualified data, the data is considered qualified, otherwise the data is considered unqualified.

[0124] After obtaining the description field of the inspection equipment and the description field of the preset standard inspection item, a field matching algorithm is applied to perform field matching on the two to obtain the field matching degree; generally, a field matching algorithm is used in computer science to match fields in two data sets to determine the similarity or matching degree between them;

[0125] Exemplarily, the field matching algorithm used to match the description field of the inspection device and the description field of the preset standard inspection item can be one or more of the Levenshtein Distance algorithm, the Jaccard Similarity Coefficient algorithm and the Cosine Similarity algorithm; it should be noted that the field matching algorithm used to match the description field of the inspection device and the description field of the preset standard inspection item can also be other field matching algorithms, which is not limited to the embodiments of the present invention.

[0126] A first item determination module 203, used to determine whether there is a first target inspection item in the preset standard inspection items according to the field matching degree between the inspection items of the inspection device and the preset standard inspection items;

[0127] The second item matching module 204 is used to perform semantic matching based on the description field of the inspection device and the description field of the preset standard inspection item when the first target inspection item does not exist in the preset standard inspection item, so as to obtain the semantic matching degree between the inspection item of the inspection device and the preset standard inspection item;

[0128] When there is no target inspection item with field matching in the preset standard inspection items, semantic matching is further performed at this time, and semantic matching is performed based on the description field of the inspection device and the description field of the preset standard inspection items to obtain a semantic matching result; the algorithm used for semantic matching can be natural language processing (Natural Language Processing, NLP) or other algorithms used for semantic matching, which is not limited to the embodiments of the present invention.

[0129] A second item determination module 205, for determining a second target inspection item in the preset standard inspection item according to a semantic matching degree between the inspection item of the inspection device and the preset standard inspection item;

[0130] The inspection report obtaining module is used to obtain an inspection report according to the inspection data and the second target inspection item.

[0131] In one embodiment, the second project determination module includes:

[0132] A second user confirmation submodule, configured to output a second item matching result to a user according to the second target inspection item, so that the user can confirm whether the second item matching result meets expectations;

[0133] When the semantic matching is completed and the second target inspection item is generated, the matching result of the second target inspection item is output to the user so that the user can confirm whether the result of this semantic matching meets the business expectations.

[0134] The second target item confirmation module is used to determine the second target inspection item according to the user's confirmation result of the second item matching result.

[0135] According to the result of user confirmation, the final second target inspection item is generated, and then the inspection report is further generated.

[0136] In one example, the result of user confirmation can be agreement or disagreement. When the user result is disagreement, the manual supplementary entry stage is entered, and the user manually enters the inspection items and data qualified intervals for this time; the inspection items and data qualified intervals manually entered by the user are used as the second target inspection items, and an inspection report is generated. After the inspection report is generated, the inspection items and data qualified intervals manually entered by the user this time are added as a new preset standard inspection item to the original preset standard inspection items, and the synonym dictionary is updated synchronously to facilitate the generation of the next inspection report.

[0137] In this embodiment, after the second target inspection item is generated, the user confirms the generation result this time, which can further ensure the accuracy of the inspection item, thereby generating an inspection report that meets the service business standard.

[0138] In one embodiment, the first project matching module includes:

[0139] A first item matching degree acquisition module is used to perform field matching based on the description field of the inspection device and the description field of the preset standard inspection item, so as to obtain the field matching degree between the inspection item of the inspection device and the preset standard inspection item, under the condition that the inspection report template corresponding to the description field of the inspection device cannot be obtained based on the description field of the inspection device;

[0140] In order to save business time for inspection reports, an inspection report template is usually built based on the inspection report of the business project. This can save time in generating inspection reports, and field matching or semantic matching does not need to be performed every time when generating the report.

[0141] The device also includes:

[0142] The template matching module is used to obtain an inspection report according to the inspection data of the inspection device and the inspection report template, under the condition that an inspection report template corresponding to the description field of the inspection device can be obtained according to the description field of the inspection device.

[0143] When the inspection report template can be queried, the inspection report is directly generated by directly applying the inspection report template and the inspection data of the inspection equipment; this embodiment can automatically perform the matching process when the inspection report template cannot be found, thereby saving business time and improving the intelligence and work efficiency of the inspection report generation process.

[0144] In one embodiment, the device further comprises:

[0145] A first inspection report acquisition submodule is used to obtain an inspection report according to the inspection data and the first target inspection item when there is a first target inspection item in the preset standard inspection items and the field matching degree also meets a preset matching degree threshold;

[0146] When the field matching result meets the preset matching threshold, it can be considered that this matching has met the business needs. Therefore, the target inspection items can be directly determined based on the field matching result to generate an inspection report.

[0147] A synonym matching submodule, used for performing field matching according to a synonym dictionary and a description field of the inspection device to obtain a synonym matching degree between the synonym dictionary and the description field of the inspection device when there is a first target inspection item in the preset standard inspection items but the field matching degree does not meet a preset matching degree threshold;

[0148] When the result of field matching does not meet the preset matching degree threshold, it is considered that the result of this field matching does not meet the business needs and cannot be used directly. At this time, synonym matching is tried first; the description field of the inspection equipment is matched with the preset synonym dictionary to obtain the field matching degree between the description field of the inspection equipment and the synonym in the synonym dictionary;

[0149] A synonym acquisition submodule, used for determining a target synonym according to the synonym matching degree of the synonym dictionary and the description field of the inspection device;

[0150] A third item acquisition submodule, used to determine a third target inspection item in the preset standard inspection items according to the target synonym and the preset standard inspection items;

[0151] The third inspection report acquisition submodule is used to obtain an inspection report according to the inspection data, the first target inspection items and the third target inspection items.

[0152] When the matching result of the field matching is insufficient but there are still the first target inspection items, in order to ensure the accuracy of the inspection items, the use of the preset synonym dictionary for synonym matching can further improve the accuracy of the target inspection items. Finally, the final inspection report is determined together with the inspection items obtained by synonym matching and the inspection items obtained by field matching. By using this secondary synonym matching method, the intelligence of the inspection report generation process is further improved, and work efficiency is improved.

[0153] In one embodiment, after obtaining the inspection report, the device further includes:

[0154] The inspection report module generates a submodule, which is used to determine the inspection report template corresponding to the description field of the inspection device according to the inspection report and the description field of the inspection device.

[0155] When an inspection report is generated but there is no matching inspection report template, the inspection report template corresponding to the description field of the inspection device is determined based on the description fields of the inspection report and the inspection device, so as to simplify the process and improve work efficiency when generating an inspection report next time.

[0156] In one embodiment, the inspection report module generates a submodule, including:

[0157] A template user confirmation unit, configured to determine an initial inspection report template corresponding to the description field of the inspection device according to the inspection report and the description field of the inspection device;

[0158] A template output unit is used to output the initial inspection report template corresponding to the description field of the inspection device to the user, so that the user can confirm whether the initial inspection report template meets expectations. After the inspection report template is generated, the generated template is output to the user so that the user can confirm whether the template meets expectations, thereby further improving the accuracy of the inspection report.

[0159] The template confirmation unit is used to determine the inspection report template corresponding to the description field of the inspection device according to the user's confirmation result of the initial inspection report template.

[0160] In one example, the inspection report can be determined based on the description field of the inspection device and the description field of the preset standard inspection item to obtain the first target inspection item, thereby obtaining an inspection report template;

[0161] In another example, the inspection report template can be obtained by jointly determining the inspection report based on the first target inspection item obtained by field matching the description field of the inspection device and the description field of the preset standard inspection item and the third target inspection item obtained by field matching the description field of the inspection device and the synonym dictionary;

[0162] In another example, the inspection report can be determined based on the second target inspection item obtained by semantically matching the description field of the inspection device with the description field of the preset standard inspection item, thereby obtaining an inspection report template.

[0163] In one example, the fields in the inspection report template may include: inspection report template number, inspection category, inspection name, inspection item, qualified data range, actual inspection value, and conclusion, wherein the inspection category, inspection item, and qualified data range are required items. By displaying the generated template to the user for secondary confirmation by the user, the needs of the user and the business are further met, and work efficiency is improved.

[0164] In one embodiment, the device further comprises:

[0165] The synonym dictionary construction module is used to obtain the synonym dictionary based on expert review and a domain corpus; the domain corpus includes specific words in the corresponding domain of the preset standard inspection item.

[0166] Combining the opinions of experts in the field with the collected professional-specific vocabulary in the field of preset standard projects to build a synonym dictionary can ensure the accuracy of the synonym dictionary, thereby improving the accuracy of matching results and improving work efficiency.

[0167] This embodiment can preliminarily determine the correspondence between the inspection items and the standard items by performing field matching on the description fields of the inspection equipment and the description fields of the preset standard inspection items; when the field matching results do not meet expectations, semantic matching technology is further adopted to ensure that the inspection items of the inspection equipment can be accurately matched with the preset standard inspection items even under different naming rules, effectively avoiding data correspondence errors; and this automated field matching and semantic matching process effectively reduces manual intervention and simplifies the data processing process, thereby improving the work efficiency of the entire quality management process. In addition, taking the preset standard inspection items as a benchmark helps to achieve the standardization and normalization of inspection reports, improves the level of quality management, and makes the inspection results more comparable and consistent. In summary, this embodiment can flexibly deal with the problem of inconsistent naming of inspection items in different inspection reports, enhances the adaptability and flexibility of the system, and is suitable for a variety of application scenarios.

[0168] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0169] An embodiment of the present invention further provides an electronic device, including:

[0170] It includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, the various processes of the above-mentioned inspection report generation method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0171] An embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the above-mentioned inspection report generation method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0172] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0173] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0174] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0175] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0176] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0177] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0178] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0179] The above is a detailed introduction to the inspection report generation method, device, equipment and medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for generating an inspection report, characterized in that: The method comprises: Acquire a description field and inspection data of an inspection device; the description field is used to characterize the inspection items of the inspection device; Perform field matching based on the description field of the inspection device and the description field of the preset standard inspection item to obtain the field matching degree between the inspection item of the inspection device and the preset standard inspection item; Determine whether there is a first target inspection item in the preset standard inspection item according to the field matching degree between the inspection item of the inspection device and the preset standard inspection item; When the first target inspection item does not exist in the preset standard inspection items, semantic matching is performed according to the description field of the inspection device and the description field of the preset standard inspection item to obtain the semantic matching degree between the inspection item of the inspection device and the preset standard inspection item; Determine a second target inspection item in the preset standard inspection item according to the semantic matching degree between the inspection item of the inspection device and the preset standard inspection item; An inspection report is obtained based on the inspection data and the second target inspection item.

2. The method according to claim 1, characterized in that The determining, according to the semantic matching degree between the inspection item of the inspection device and the preset standard inspection item, the second target inspection item in the preset standard inspection item comprises: Outputting the second item matching result to the user according to the second target inspection item, so that the user can confirm whether the second item matching result meets expectations; The second target inspection item is determined according to the user's confirmation result of the second item matching result.

3. The method according to claim 1 or 2, characterized in that: The performing field matching according to the description field of the inspection device and the description field of the preset standard inspection item to obtain the field matching degree between the inspection item of the inspection device and the preset standard inspection item includes: Under the condition that the inspection report template corresponding to the description field of the inspection device cannot be obtained according to the description field of the inspection device, field matching is performed according to the description field of the inspection device and the description field of the preset standard inspection item to obtain the field matching degree between the inspection item of the inspection device and the preset standard inspection item; The method further comprises: Under the condition that an inspection report template corresponding to the description field of the inspection device can be obtained according to the description field of the inspection device, an inspection report is obtained according to the inspection data of the inspection device and the inspection report template.

4. The method according to claim 1, characterized in that: The method further comprises: When there is a first target inspection item in the preset standard inspection items and the field matching degree also meets the preset matching degree threshold, obtaining an inspection report according to the inspection data and the first target inspection item; When there is a first target inspection item in the preset standard inspection items but the field matching degree does not meet the preset matching degree threshold, field matching is performed according to a synonym dictionary and a description field of the inspection device to obtain a synonym matching degree between the synonym dictionary and the description field of the inspection device; Determining a target synonym based on the synonym dictionary and the synonym matching degree of the description field of the inspection device; Determining a third target inspection item in the preset standard inspection items according to the target synonym and the preset standard inspection items; An inspection report is obtained based on the inspection data, the first target inspection items and the third target inspection items.

5. The method according to claim 1, 2 or 4, characterized in that: After obtaining the inspection report, the method further includes: According to the inspection report and the description fields of the inspection equipment, an inspection report template corresponding to the description fields of the inspection equipment is determined.

6. The method according to claim 5, characterized in that The step of determining, according to the inspection report and the description field of the inspection device, an inspection report template corresponding to the description field of the inspection device comprises: According to the inspection report and the description field of the inspection device, determining an initial inspection report template corresponding to the description field of the inspection device; Outputting the initial inspection report template corresponding to the description field of the inspection device to the user, so that the user can confirm whether the initial inspection report template meets expectations; According to the confirmation result of the user on the initial inspection report template, an inspection report template corresponding to the description field of the inspection device is determined.

7. The method according to claim 4, characterized in that The method further comprises: The synonym dictionary is obtained based on expert review and a domain corpus; the domain corpus includes specific vocabulary in the corresponding domain of the preset standard inspection item.

8. A test report generating device, characterized in that: The device comprises: A description field acquisition module, used to acquire description fields and inspection data of the inspection equipment; the description fields are used to characterize the inspection items of the inspection equipment; A first item matching module is used to perform field matching based on the description field of the inspection device and the description field of the preset standard inspection item to obtain the field matching degree between the inspection item of the inspection device and the preset standard inspection item; A first item determination module, used to determine whether there is a first target inspection item in the preset standard inspection items according to the field matching degree between the inspection items of the inspection device and the preset standard inspection items; A second item matching module is used to perform semantic matching based on the description field of the inspection device and the description field of the preset standard inspection item when the first target inspection item does not exist in the preset standard inspection item, so as to obtain the semantic matching degree between the inspection item of the inspection device and the preset standard inspection item; A second item determination module, used to determine a second target inspection item in the preset standard inspection item according to a semantic matching degree between the inspection item of the inspection device and the preset standard inspection item; The inspection report obtaining module is used to obtain an inspection report according to the inspection data and the second target inspection item.

9. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the steps of the inspection report generating method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the inspection report generating method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Inspection report generation method and device, electronic equipment and storage medium

    CN111931468A

  • Image standard inspection item intelligent generation and matching method and system, and medium

    CN114121292A

  • AU2015282364A1