CN-116266261-B - Method and system for generating detection report based on reverse check and regeneration
Abstract
The invention discloses a method and a system for generating a detection report based on reverse checking, which comprises the steps of generating a report template of the detection report and storing the report template in a database, generating a current manuscript, comparing the current manuscript with the report template to identify the modified content of the current manuscript version and calculate the manuscript repetition rate, pushing to an auditor for auditing when the manuscript repetition rate is greater than a preset rate, continuing the next step after the auditing, otherwise, returning and reassembling a manuscript version until the manuscript repetition rate is greater than the preset rate and the auditing is passed, generating a report final manuscript version according to the modified content of the current manuscript version passing the auditing, and updating the report final manuscript version and related process data in the database, wherein the process data is process data about the report final manuscript version, the previous manuscript version and all surrounding detection in the generation process of each report version.
Inventors
- FU CHAO
- HU BEI
- GUO ZIJUN
- WEI ZHUO
- CAI YONG
- TANG PENG
- LIU XIAOJUN
- SUN MIN
- YANG LEI
- XU CAIDA
- TONG YUE
- Xiao Liangle
- ZHANG JIN
- WANG YUQING
- WANG QI
- YUAN TIAN
- GUO JIANLIANG
- WU YONGKANG
- GUO HAOZHOU
- LIU XIANG
- LIANG ZHENGBO
- WU WENHUA
Assignees
- 中国电力科学研究院有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20221117
Claims (8)
- 1. A method for generating a detection report based on reverse query regeneration, comprising: Generating a report template of the detection report and storing the report template in a database; Determining type information and report key information input by a user, and generating a current manuscript based on the type information, the report template and the report key data; checking the duplicate of the current manuscript and the report template, identifying the modified content of the current manuscript version by comparison, and calculating the manuscript repetition rate; Pushing to an auditor for auditing, and continuing the next step after the auditing passes when the manuscript repetition rate is greater than a preset rate, otherwise, returning and reassembling a manuscript version until the manuscript repetition rate is greater than the preset rate and the auditing passes; Generating a report final manuscript version according to the content modified by the current manuscript version passing the audit, and updating the report final manuscript version and related process data in a database, wherein the process data is process data for archiving the report final manuscript version, the previous past manuscript version and all surrounding detection in the generation process of each report version in the database; generating a report template of the detection report and storing the report template in a database, wherein the report template comprises the following steps: According to the existing multiple report files in the database, successively checking and comparing, and extracting repeated text contents; and generating a report template of type information corresponding to the repeated text content on the basis of extracting the repeated text content.
- 2. The method of claim 1, wherein determining the type information and reporting key information entered by the user and generating the current contribution based on the type information, reporting templates, and reporting key data comprises: according to the type information input by the user, a report template corresponding to the type information is found out from the database; When a user inputs the process data obtained by current detection, the process data obtained by current detection is used as report key data of a detection report; and generating a report manuscript based on the type information, a report template corresponding to the type information and report key data.
- 3. The method of claim 1, wherein after generating a report final version based on the content modified by the current contribution version that passed the audit and archiving the associated process data in the database, further comprising: And for the report final edition and the process data which are newly put in the database, automatically or manually triggering the increment check and duplication comparison, and comparing the new data with the data which are checked and duplicated by the original database to acquire a repeated part between the report final edition and the report template and generate a new report template.
- 4. The method of claim 1, wherein generating a report template for the detection report further comprises: Reversely assembling and generating a report template on the basis of full check weight comparison; and according to a plurality of detection report files in the database, checking and comparing successively, generating a full text vector repetition rate table according to threshold setting, and reversely assembling to generate a report template in doc format or docx format.
- 5. A system for generating a detection report based on reverse query regeneration, comprising: the report template generating module is used for generating a report template of the detection report and storing the report template in a database; The current manuscript module is used for determining type information and report key information input by a user and generating a current manuscript based on the type information, the report template and the report key data; the module for calculating the manuscript repetition rate is used for searching the current manuscript and the report template, identifying the modified content of the current manuscript version through comparison, and calculating the manuscript repetition rate; The module for judging the manuscript repetition rate is used for pushing to an auditor for auditing when the manuscript repetition rate is greater than a preset rate, and continuing to perform the next step after the auditing is passed; The updating database module is used for generating a report final manuscript version according to the content modified by the current manuscript version passing the audit, and updating the report final manuscript version and related process data in the database, wherein the process data is process data which is detected in all surrounding in the generation process of the report final manuscript version, the previous past manuscript version and each report version and is archived in the database; Generating a report template module comprising: The repeated text content extracting sub-module is used for sequentially checking and comparing according to a plurality of report files existing in the database, and extracting repeated text content; And the report template generation sub-module is used for generating a report template of type information corresponding to the repeated text content on the basis of extracting the repeated text content.
- 6. The system of claim 5 wherein generating the current contribution module comprises: The sub-module of the corresponding report template is found out and is used for finding out the report template corresponding to the type information from the database according to the type information input by the user; The report key data determining sub-module is used for taking the currently detected process data as report key data of a detection report when a user inputs the currently detected process data; And the report initial manuscript generation sub-module is used for generating a report initial manuscript based on the type information, the report template corresponding to the type information and the report key data.
- 7. The system of claim 5, wherein the system further comprises: And generating a new report template sub-module, which is used for automatically or manually triggering increment check and duplication comparison of the report final edition and process data newly put in the database, comparing the new data with the data after the duplication of the original database so as to acquire a repeated part between the report final edition and the report template and generate a new report template.
- 8. The system of claim 5, wherein generating a report template module further comprises: The reverse assembly generating report template sub-module is used for reverse assembly generating report templates on the basis of full check and weight comparison; And the format generating report template sub-module is used for sequentially checking and comparing according to a plurality of detection report files in the database, generating a full text vector repetition rate table according to threshold setting, and reversely assembling to generate a doc format or docx format report template.
Description
Method and system for generating detection report based on reverse check and regeneration Technical Field The invention relates to the technical field of inspection detection data processing, in particular to a method and a system for generating a detection report based on reverse check reconstruction. Background The inspection and detection mechanism performs product authentication on the product according to the product standard, and the process is realized by giving out a detection report. After the test is finished by a tester of a general test mechanism, a report writer writes a test report according to the original data recorded by the tester. The same type detection report is characterized in that most of the contents such as report structure, format, test requirement and the like are the same, and the corresponding modification is only carried out at the positions of entrusting unit information, test article information, test result and the like, so that a large amount of contents in the same type detection report do not need to be adjusted. In the process of compiling the detection report, due to the existence of manual errors, the detection report may have some errors, such as inconsistent reported sample information and entrusted task information, inconsistent reported data and original data, incorrect reporting format, improper reporting content description, erroneous reported test data and the like. Thus, there is typically an audit professional auditing a first draft of the inspection report in order to discover possible errors in the report. However, when the auditor audits the report, the manual audit report is a time-consuming and labor-consuming work which is also likely to have errors due to the problems of a plurality of report types, a plurality of report quantity, a plurality of report contents, short audit time limit, limited audit resources and the like. This is because manual audit reports have high requirements on the expertise of auditors, not only require that auditors be familiar with product standards, have a rich trial experience, but also require careful-endurance performance. This situation results in an inability of auditors to meet the current large number of audit work demands. Disclosure of Invention According to the invention, a method and a system for generating a detection report based on reverse checking are provided, so that the technical problem that auditors cannot meet the current requirements of a large number of auditing works is solved. According to a first aspect of the present invention, there is provided a method of generating a detection report based on reverse check reconstruction, comprising: Generating a report template of the detection report and storing the report template in a database; Determining type information and report key information input by a user, and generating a current manuscript based on the type information, the report template and the report key data; performing reverse duplicate checking on the current manuscript and the report template, identifying the modified content of the current manuscript version by comparison, and calculating the manuscript repetition rate; Pushing to an auditor for auditing, and continuing the next step after the auditing passes when the manuscript repetition rate is greater than a preset rate, otherwise, returning and reassembling a manuscript version until the manuscript repetition rate is greater than the preset rate and the auditing passes; And generating a report final manuscript version according to the content modified by the current manuscript version passing the audit, and updating the report final manuscript version and related process data in a database, wherein the process data is process data for archiving the report final manuscript version, the previous past manuscript version and all surrounding detection in the generation process of each report version in the database. Optionally, generating a report template of the detection report and storing the report template in a database includes: According to the existing multiple report files in the database, successively checking and comparing, and extracting repeated text contents; and generating a report template of type information corresponding to the repeated text content on the basis of extracting the repeated text content. Optionally, determining the type information and the report key information input by the user, and generating the current manuscript based on the type information, the report template and the report key data includes: according to the type information input by the user, a report template corresponding to the type information is found out from the database; When a user inputs the process data obtained by current detection, the process data obtained by current detection is used as report key data of a detection report; and generating a report manuscript based on the type information, a report template corresponding to the t