A method and system for generating a detection report based on reverse duplicate checking

By generating report templates in the database and using reverse plagiarism detection technology to compare the test report drafts, the problem of time-consuming and labor-intensive manual review is solved, and an efficient and accurate test report generation and review process is achieved.

CN116266261BActive Publication Date: 2026-05-05CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD
Filing Date
2022-11-17
Publication Date
2026-05-05

AI Technical Summary

Technical Problem

Manually reviewing test reports is time-consuming, labor-intensive, and prone to errors. It also requires highly skilled auditors and cannot meet the demands of a large volume of review work.

Method used

The report template for the detection report is generated and stored in the database. Reverse plagiarism detection technology is used to compare the current manuscript with the report template, identify the modified content, calculate the manuscript's duplication rate, and automatically push it to the reviewer for review. The final report is generated after the duplication rate reaches the predetermined ratio and passes the review.

Benefits of technology

It improves the efficiency of test report review, reduces human error, lowers the professional requirements for reviewers, and achieves an efficient report generation and review process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116266261B_ABST
    Figure CN116266261B_ABST
Patent Text Reader

Abstract

This invention discloses a method and system for generating detection reports based on reverse plagiarism checking, comprising: generating a report template for the detection report and storing it in a database; generating a current draft; performing reverse plagiarism checking on the current draft and the report template, identifying the modified content of the current draft version by comparison, and calculating the draft duplication rate; when the draft duplication rate is greater than a predetermined ratio, pushing it to an auditor for review, and continuing to the next step after the review is passed; otherwise, returning and recompiling a draft version until the draft duplication rate is greater than the predetermined ratio and the review is passed; generating a final draft version of the report based on the modified content of the approved current draft version, and updating the final draft version of the report and related process data in the database, wherein the process data includes the final draft version of the report archived in the database, previous draft versions, and all process data related to detection during the generation of each report version.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of inspection and testing data processing technology, and more specifically, to a method and system for generating inspection reports based on reverse deduplication. Background Technology

[0002] Testing and inspection organizations certify products based on product standards, and this process is achieved by issuing test reports. Generally, after the testing personnel complete the tests, the report writers prepare the test report based on the raw data recorded by the testing personnel.

[0003] Similar test reports share the same structure, format, and test requirements, with modifications only made to the client information, sample information, and test results. Therefore, a large amount of content in similar test reports does not require adjustment.

[0004] In the process of writing the test report, due to human error, some errors may occur in the test report, such as: the sample information in the report is inconsistent with the commissioned task information; the reported data is inconsistent with the original data; the report format is incorrect; the content description in the report is inappropriate; and the test data in the report is incorrect.

[0005] Therefore, auditors typically review the initial draft of the test report to identify any potential errors. However, due to the variety, quantity, and content of reports, as well as the limited review time and resources, manual report review is a time-consuming, labor-intensive, and error-prone task.

[0006] This is because manual auditing of reports places high demands on the auditors' professional capabilities. Auditors not only need to be familiar with product standards and have extensive testing experience, but also require meticulous and patient work skills. This situation has resulted in an inability of auditors to meet the current demand for a large volume of audit work. Summary of the Invention

[0007] According to the present invention, a method and system for generating detection reports based on reverse deduplication are provided to solve the technical problem that auditors cannot meet the current demand for a large amount of auditing work.

[0008] According to a first aspect of the present invention, a method for generating a detection report based on reverse plagiarism detection is provided, comprising:

[0009] Generate a test report template and store it in the database;

[0010] Determine the type of user input and key report information, and generate the current draft based on the type of user input, report template, and key report data;

[0011] Perform reverse plagiarism checks on the current manuscript and the report template, identify the content that has been modified in the current version by comparison, and calculate the manuscript duplication rate;

[0012] If the duplication rate of a manuscript exceeds the predetermined ratio, it will be sent to an auditor for review. If the review is approved, the next step will be taken. Otherwise, the manuscript will be returned and recompiled until the duplication rate exceeds the predetermined ratio and the review is approved.

[0013] Based on the modifications made to the current draft version that has been approved, a final draft version of the report is generated, and the final draft version of the report and related process data are updated in the database. The process data includes the final draft version of the report, previous draft versions, and all process data related to the detection process during the generation of each report version, which are archived in the database.

[0014] Optionally, a report template for generating the test report is stored in a database, including:

[0015] Based on multiple existing report documents in the database, duplicate text content was extracted through successive deduplication checks and comparisons.

[0016] Based on the extraction of duplicate text content, a report template is generated that corresponds to the type information of the duplicate text content.

[0017] Optionally, the type information and key report information input by the user are determined, and the current draft is generated based on the type information, report template, and key report data, including:

[0018] Based on the type information input by the user, the report template corresponding to the type information is retrieved from the database;

[0019] When the user inputs the process data obtained from the current test, the process data obtained from the current test will be used as the key data in the test report;

[0020] A draft report is generated based on the type information, the corresponding report template, and key report data.

[0021] Optionally, after generating a final version report based on the changes made to the approved current version of the manuscript, and archiving the relevant process data in the database, the report also includes:

[0022] For newly added final version reports and process data in the database, incremental deduplication comparison is automatically or manually triggered to compare the new data with the data after deduplication in the original database, in order to find the duplicate parts between the final version reports and the report template and generate a new report template.

[0023] Optionally, the report template for generating the test report may also include:

[0024] Based on the full plagiarism check and comparison, a report template is generated by reverse assembly.

[0025] Based on multiple test report files in the database, the duplicates are checked one by one, and a table of all text vector duplication rates is generated according to the threshold settings. The data is then reverse-assembled to generate a report template in doc or docx format.

[0026] According to another aspect of the present invention, a system for generating detection reports based on reverse deduplication is also provided, comprising:

[0027] The report template generation module is used to generate report templates for test reports and store them in the database;

[0028] The current document generation module is used to determine the type information and key report information input by the user, and generate the current document based on the type information, report template and key report data;

[0029] The manuscript duplication rate calculation module is used to perform reverse duplication checks on the current manuscript and the report template. By comparing the two, it identifies the content that has been modified in the current manuscript version and calculates the duplication rate.

[0030] The manuscript duplication rate determination module is used to push the manuscript to the reviewer for review when the duplication rate is greater than a predetermined ratio. If the review is approved, the next step is continued; otherwise, the manuscript is returned and a new version is reassembled until the duplication rate is greater than the predetermined ratio and the review is approved.

[0031] The database update module is used to generate the final version of the report based on the content modified in the current approved manuscript version, and update the final version of the report and related process data in the database. The process data includes the final version of the report archived in the database, previous manuscript versions, and all process data related to the detection process during the generation of each report version.

[0032] Optionally, the report template generation module includes:

[0033] The "Extract Duplicate Text Content" submodule is used to perform a duplicate check and comparison on multiple existing report files in the database to extract duplicate text content.

[0034] The report template generation submodule is used to generate a report template with type information corresponding to the repeated text content based on the extracted repeated text content.

[0035] Optionally, the current manuscript module is generated, including:

[0036] The "Find Corresponding Report Template" submodule is used to find the report template corresponding to the type information input by the user from the database.

[0037] The "Determine Key Data for Reporting" submodule is used to use the process data obtained from the current test as the key data for the test report when the user inputs the process data obtained from the current test.

[0038] The report draft generation submodule is used to generate a report draft based on the type information, the report template corresponding to the type information, and key report data.

[0039] Optionally, the system further includes:

[0040] The "Generate New Report Template" submodule is used to automatically or manually trigger incremental deduplication comparison for newly added final version reports and process data in the database. It compares the new data with the data after deduplication in the original database to find the duplicate parts between the final version report and the report template and generate a new report template.

[0041] Optionally, the report template generation module also includes:

[0042] The reverse assembly report template generation submodule is used to reverse assemble and generate a report template based on the full-scale plagiarism check.

[0043] The module for generating formatted report templates is used to perform sequential duplication checks on multiple detection report files in the database, generate a table of all text vector duplication rates based on threshold settings, and then reverse-assemble the data to generate report templates in doc or docx format.

[0044] Therefore, after a report template is pre-established, the relevant content and data are processed by computer to perform duplicate checks on the test report, identify duplicate or different parts by comparison, review the report, improve the report, and maximize the possibility of further archiving and updating of the report template. Attached Figure Description

[0045] Exemplary embodiments of the present invention can be more fully understood by referring to the following figures:

[0046] Figure 1 This is a flowchart illustrating a method for generating a detection report based on reverse deduplication as described in this embodiment.

[0047] Figure 2A This is a flowchart illustrating a method for generating a detection report based on reverse deduplication as described in this embodiment.

[0048] Figure 2B This is a comparison diagram between the manuscript version and the report template described in this embodiment;

[0049] Figure 2C This is a schematic diagram of the process for calculating the repetition rate as described in this embodiment;

[0050] Figure 3 This is a schematic diagram illustrating the reverse deduplication retrieval of content in the test report as described in this embodiment;

[0051] Figure 4 This is a schematic diagram of the initial draft compilation stage described in this embodiment;

[0052] Figure 5 This is a schematic diagram of the report review stage described in this embodiment;

[0053] Figure 6 This is a schematic diagram of the final draft stage as described in this embodiment;

[0054] Figure 7 This is a schematic diagram of a system for generating detection reports based on reverse deduplication, as described in this embodiment. Detailed Implementation

[0055] Exemplary embodiments of the invention will now be described with reference to the accompanying drawings. However, the invention may be embodied in many different forms and is not limited to the embodiments described herein. These embodiments are provided to fully and completely disclose the invention and to fully convey its scope to those skilled in the art. The terminology used in the exemplary embodiments illustrated in the drawings is not intended to limit the invention. In the drawings, the same units / elements are referred to by the same reference numerals.

[0056] Unless otherwise stated, the terms used herein (including technical terms) have their common meaning as understood by one of ordinary skill in the art. Furthermore, it is understood that terms defined in commonly used dictionaries should be understood to have a meaning consistent with the context of their relevant field, and not to be interpreted as having an idealized or overly formal meaning.

[0057] According to a first aspect of the present invention, a method 100 for generating a detection report based on reverse deduplication is provided, with reference to... Figure 1 As shown, the method 100 includes:

[0058] S101: Generate a report template for the test report and store it in the database;

[0059] S102: Determine the type information and key report information input by the user, and generate the current draft based on the type information, report template, and key report data;

[0060] S103: Perform reverse plagiarism checking on the current manuscript and the report template, identify the content modified in the current manuscript version by comparison, and calculate the manuscript duplication rate;

[0061] S104: When the duplication rate of the manuscript is greater than the predetermined ratio, it is pushed to the reviewer for review. If the review is approved, the next step is continued; otherwise, it is returned and a new manuscript version is recompiled until the duplication rate of the manuscript is greater than the predetermined ratio and the review is approved.

[0062] S105: Based on the content of the current manuscript version that has been approved, generate the final version of the report, and update the final version of the report and related process data in the database. The process data includes the final version of the report, previous manuscript versions, and all process data related to the detection process during the generation of each report version, which are archived in the database.

[0063] Specifically, refer to Figure 2A As shown, the method includes the following steps:

[0064] S1. Generate a test report template and store it in the database;

[0065] S2. Compile a manuscript version: Based on the type information input by the user, automatically retrieve the pre-generated report template from the database; continue to wait for the user to input the process data obtained from the current test; after the user inputs the process data obtained from the current test, use the process data obtained from the current test as the key data of the test report, and then generate a manuscript version of the report based on the type information, report template, and key data of the report;

[0066] S3, Review Report: Obtain the report type information from the current manuscript version, automatically retrieve the corresponding report template, check for duplicates between the current manuscript version and the report template, compare them, and automatically identify the content modified in the current manuscript version;

[0067] S4. If the reviewer approves the changes in the current version of the manuscript, proceed to the next step; otherwise, return to step S2 so that the user can reassemble a new version of the manuscript, until the reviewer approves the changes in the current version of the manuscript.

[0068] S5. Based on the modifications made to the current manuscript version that has been approved, automatically generate the final version of the report and archive the final version of the report, previous manuscript versions, and all process data related to the detection process during the generation of each report version in the database.

[0069] In the above embodiments, after a report template is pre-established, the relevant content and data are processed by computer to perform duplicate retrieval on the test report, and the duplicate or different parts are identified by comparison, so as to realize the review of the report and improve the revision and archiving of the report.

[0070] For example, Figure 2AA more specific implementation is shown, which illustrates the algorithm flowchart of the method described in this disclosure in a more detailed manner based on the embodiments described above.

[0071] Furthermore, see Figure 2B In another embodiment, this disclosure further introduces a method for measuring the similarity rate to compare the manuscript version of the detection report with the report template. Specifically, the method for generating a detection report based on reverse plagiarism checking includes the following steps:

[0072] S100: Generate a test report template and store it in the database;

[0073] S200, Compile a manuscript version: Based on the type information input by the user, automatically retrieve the pre-generated report template from the database; continue to wait for the user to input the process data obtained from the current test; after the user inputs the process data obtained from the current test, use the process data obtained from the current test as the key data of the test report, and then generate a manuscript version of the report based on the type information, the automatically retrieved report template, and the key data of the report;

[0074] S300, Review Report: Obtain the report type information from the current manuscript version, automatically retrieve the corresponding report template, check the current manuscript version and the report template for duplicates, compare them, automatically identify the content modified in the current manuscript version, and calculate the duplication rate of the current manuscript version;

[0075] S400. When the duplication rate of the manuscript is greater than 90%, it is pushed to the reviewer for review. When the reviewer approves the modified content of the current manuscript version, continue to the next step; otherwise, return to step S200 so that the user can recompile a manuscript version until the duplication rate of the manuscript is greater than 90% and it is pushed to the reviewer for review again until the reviewer approves the modified content of the current manuscript version.

[0076] S500. Based on the content modified in the current manuscript version that has been approved, automatically generate the final version of the report and archive the final version of the report, previous manuscript versions, and all process data related to the detection process during the generation of each report version in the database.

[0077] Furthermore, this disclosure also enables the updating of report templates. In one embodiment, after step S500, the method for generating a detection report based on reverse plagiarism checking further includes the following steps:

[0078] S600, Update Database: For newly added final version reports and process data in the database, automatically or manually trigger incremental deduplication comparison to compare the new data with the data after deduplication in the original database, in order to obtain the duplicate parts between the final version reports and the report template and generate a new report template.

[0079] In one embodiment, in the method for generating a detection report based on reverse plagiarism detection, step S100 includes the following specific sub-steps to generate a report template for the detection report:

[0080] S101. Based on the multiple report files already in the database, perform duplicate checks and comparisons one by one to extract duplicate text content;

[0081] S102. Based on the extraction of duplicate text content, generate a report template for the type information corresponding to the duplicate text content.

[0082] In one embodiment, in the method for generating a detection report based on reverse deduplication,

[0083] Step S100 involves reverse assembly to generate a report template based on full-volume plagiarism comparison.

[0084] In summary, this disclosure mainly involves two plagiarism detection algorithms:

[0085] (1) Reverse plagiarism detection algorithm: The system calculates all duplicate text and the first duplication rate based on all report documents in the database, and generates templates for the duplicate parts.

[0086] It should be noted that the concept of reverse plagiarism detection disclosed herein is in contrast to traditional plagiarism detection, or forward plagiarism detection. Typically, traditional plagiarism detection, taking academic papers as an example, refers to selecting a specific completed academic paper and comparing it with all included academic literature in a database, regardless of the technical field. This means that the currently completed academic paper itself is not included in the database, and under this premise, plagiarism detection is achieved between this academic paper outside the database and related included literature within the database.

[0087] The reverse plagiarism detection in this disclosure refers to generating different types of report templates solely based on existing report documents in the database, through plagiarism checks between these documents. It's understandable that for all existing report documents of type A in the database, a report template of type A can be generated through plagiarism checks between these documents. Similarly, the report template for type B detection reports is generated by checking for plagiarism among existing type A report documents in the database.

[0088] (2) Report Comparison Technology: Newly entered documents are compared with the full text of existing templates in the system, displaying the similarities and differences in text, which facilitates review by auditors. It should be noted that a second similarity rate can also be introduced to determine the degree of similarity and even to control whether to push the document to the auditor. As mentioned in S400 above, when the similarity rate of a document is greater than 90%, it is pushed to the auditor for review.

[0089] See Figure 2C It illustrates in detail how to calculate the repetition rate step by step. Calculating the repetition rate may include the following sub-steps:

[0090] S31, split the document paragraphs into multiple lines of text; when splitting, follow similar splitting principles to split not only the manuscript version of the report, but also the report template.

[0091] S32, line-by-line comparison: Compare the split report manuscript version with the split report template line by line;

[0092] S33, combine the two strings into a two-dimensional matrix by dividing them into rows and columns respectively;

[0093] S34: Compare whether the characters of each point in the row and column of the two-dimensional matrix are the same. If they are the same, set the point to 1; otherwise, set the point to 0.

[0094] S34, find the longest common string by searching for the longest diagonal with a value of 1;

[0095] S35, repeat S32 to S34 to complete the line-by-line comparison between the manuscript version of the report and the corresponding report template;

[0096] S36, Once the line-by-line comparison of all lines is completed, the line-by-line comparison process ends, and all duplicate text between the manuscript version of the report and the report template is obtained;

[0097] S37, calculate the repetition rate, where repetition rate = total number of repeated characters / total number of characters.

[0098] This concludes the exemplary description of one implementation method for calculating the repetition rate. Those skilled in the art will understand that this disclosure is not limited to the exemplary method for calculating the repetition rate described above.

[0099] It should be noted that, as mentioned above, when the duplication rate of a manuscript exceeds 90%, it is sent to an auditor for review. If the auditor approves the modifications in the current manuscript version, the process continues to the next step; otherwise, it returns to step S200 so that the user can recompile a manuscript version, until the duplication rate exceeds 90% again and it is sent to an auditor for review, until the auditor approves the modifications in the current manuscript version—where 90% is the preferred threshold. This duplication rate threshold can be flexibly adjusted according to different specific types of detection reports.

[0100] Furthermore, it should be noted that both the first and second repetition rates described above can be calculated using the repetition rate calculation method disclosed in the above embodiments. Moreover, the first and second repetition rates can be calculated using different methods depending on the circumstances. In other words, those skilled in the art can analyze the specific situation and adopt an appropriate repetition rate calculation method. It is understood that this disclosure is not limited to any specific repetition rate calculation method.

[0101] In one embodiment, in the method for generating a detection report based on reverse deduplication,

[0102] Based on multiple detection report files in the database, the duplicates are checked and compared one by one. A table of all text vector duplication rates is generated according to the threshold setting, and then the data is reassembled in reverse to generate a template in doc or docx format.

[0103] In one embodiment, in the method for generating a detection report based on reverse deduplication, step S300 further includes:

[0104] S301. Automatically obtain the report template based on the text index entered by the user;

[0105] S302. The report is considered acceptable if the difference between the current manuscript version and the report template is found through a plagiarism detection algorithm and the similarity rate is above 90%.

[0106] Furthermore, in one embodiment, the plagiarism detection algorithm compares the different parts of the current manuscript version with the report template. The different parts are then considered as the modifications made to the current manuscript version compared to the report template. The different parts are highlighted in the current manuscript version, while the parts that are the same in the current manuscript version and the report template are also displayed separately.

[0107] It should be noted that the plagiarism detection algorithm can use the same calculation method for the repetition rate as described above, or other calculation methods can be flexibly selected according to specific needs.

[0108] In one embodiment, in the method for generating a detection report based on reverse duplicate checking, duplicate checking and comparison adopt the locality sensitive hash algorithm.

[0109] In one embodiment, in the method for generating a detection report based on reverse duplicate checking, the locality sensitive hash algorithm adopts the simhash algorithm.

[0110] As a kind of locality sensitive hash, the main idea of simhash is dimensionality reduction, mapping high-dimensional feature vectors into low-dimensional feature vectors, and determining whether articles are repeated or highly similar through the Hamming Distance between two vectors.

[0111] The simhash algorithm is divided into 5 steps: word segmentation, hashing, weighting, merging, and dimensionality reduction. The specific process is as follows:

[0112] Word segmentation: Given a sentence, perform word segmentation to obtain effective feature vectors, and then set weights at 5 levels from 1 to 5 for each feature vector (if a text is given, the feature vectors can be the words in the text, and the weights can be the number of times this word appears). For example, given a sentence: "The method of structure, the way of algorithm", after word segmentation, it is: "The method of structure, the way of algorithm", and then assign weight values to each feature vector: structure(3) of(1) method(2) algorithm(3) of(1) way(2), where the numbers in the brackets represent the importance of this word in the whole sentence, and the larger the number, the more important.

[0113] Hashing: Calculate the hash values of each feature vector through the hash function. The hash value is an n-bit signature composed of binary numbers 0 and 1. For example, the hash value of "structure", Hash(structure), is 100101, and the hash value of "algorithm", Hash(algorithm), is "101011". In this way, the string becomes a series of numbers.

[0114] Weighting: On the basis of the hash value, weight all feature vectors, that is, W = Hash * weight, and when encountering 1, multiply the hash value and the weight positively, and when encountering 0, multiply the hash value and the weight negatively. For example, weighting the hash value "100101" of "structure" gives: W(structure) = 100101 * 4 = 4 -4 -4 4 -4 4, weighting the hash value "101011" of "algorithm" gives: W(algorithm) = 101011 * 5 = 5 -5 5 -5 5 5, and the remaining feature vectors are operated similarly.

[0115] Merging: The weighted sums of the above feature vectors are added together to form a single sequence string. Taking the first two feature vectors as an example, for instance, the "4 -4-4 4 -4 4" of "structure" and the "5 -5 5 -5 5 5" of "algorithm" are added together to get "4+5-4+-5 -4+5 4+-5 -4+5 4+5", which in turn gives "9 -9 1 -1 1".

[0116] Dimensionality reduction: For the accumulated result of the n-bit signature, if it is greater than 0, set it to 1; otherwise, set it to 0. This gives the simhash value of the statement. Finally, we can determine the similarity between different statements based on their Hamming distance from the simhash. For example, reducing the dimensionality of the calculated "9 -9 1 -1 1 9" (where a bit greater than 0 is recorded as 1 and less than 0 as 0) results in the 01 string "1 0 1 0 1 1", thus forming their simhash signatures.

[0117] In one embodiment,

[0118] After obtaining the SimHash signature value for each report document, the Hamming distance between the two signatures is calculated. Empirically, for 64-bit SimHash values, a Hamming distance within 3 is considered relatively high similarity. The Hamming distance is calculated by XORing the two compared bits. The result is 1 only if the two compared bits are different; otherwise, the result is 0. The number of 1s obtained after XORing the two binary bits is the Hamming distance.

[0119] Furthermore, the following examples provide more detailed and illustrative embodiments to illustrate the technical solutions disclosed herein:

[0120] See Figure 3 According to the method disclosed herein, the inventors have implemented a system for reverse plagiarism detection of content in a test report. The system illustrates the names of three templates and provides settings such as template name, test category, template model, and a function button to generate a recommendation system template.

[0121] During the system data preparation phase, the system uses existing report prototypes in the database to perform duplicate checks on files of the same type one by one, calculates and assembles report doc files based on the duplication rate threshold, and generates a report template of this type after administrator confirmation.

[0122] See Figure 4 In the initial draft compilation stage: based on the model index input by the user, the system automatically retrieves the generated template information, marks the areas that need to be filled in, and generates the initial draft report after the user inputs key data. For example, Figure 4 The report name, client, testing category, and report model are shown.

[0123] See Figure 5 During the report review stage: The initial draft report is sent to the reviewer. Based on the report model information, the corresponding template is automatically retrieved, and the report and template are compared. A plagiarism check is performed; for example, if the similarity rate is 94% as shown in the image, it meets the condition of being greater than 90% as mentioned earlier. Therefore, the revised parts can be identified and reviewed by the reviewer. It should be noted that the reviewer can make corresponding comments, taking actions such as rejection or approval. For detailed information on the calculation method of the similarity rate, please refer to [link to relevant documentation]. Figure 2C And the previous text on Figure 2C The description.

[0124] See Figure 6 Final draft stage: After the auditor approves the report, the system automatically generates the final draft report based on the information entered and archives the process data related to the log.

[0125] Therefore, after a report template is pre-established, the relevant content and data are processed by computer to perform duplicate checks on the test report, identify duplicate or different parts by comparison, review the report, improve the report, and maximize the possibility of further archiving and updating of the report template.

[0126] Optionally, a report template for generating the test report is stored in a database, including:

[0127] Based on multiple existing report documents in the database, duplicate text content was extracted through successive deduplication checks and comparisons.

[0128] Based on the extraction of duplicate text content, a report template is generated that corresponds to the type information of the duplicate text content.

[0129] Optionally, the type information and key report information input by the user are determined, and the current draft is generated based on the type information, report template, and key report data, including:

[0130] Based on the type information input by the user, the report template corresponding to the type information is retrieved from the database;

[0131] When the user inputs the process data obtained from the current test, the process data obtained from the current test will be used as the key data in the test report;

[0132] A draft report is generated based on the type information, the corresponding report template, and key report data.

[0133] Optionally, after generating a final version report based on the changes made to the approved current version of the manuscript, and archiving the relevant process data in the database, the report also includes:

[0134] For newly added final version reports and process data in the database, incremental deduplication comparison is automatically or manually triggered to compare the new data with the data after deduplication in the original database, in order to find the duplicate parts between the final version reports and the report template and generate a new report template.

[0135] Optionally, the report template for generating the test report may also include:

[0136] The report template is generated by reverse assembly based on the full plagiarism check and comparison.

[0137] Based on multiple test report files in the database, the duplicates are checked one by one, and a table of all text vector duplication rates is generated according to the threshold settings. The data is then reverse-assembled to generate a report template in doc or docx format.

[0138] According to another aspect of the present invention, a system 700 for generating detection reports based on reverse deduplication is also provided, with reference to... Figure 7 As shown, the system 700 includes:

[0139] The report template generation module 710 is used to generate report templates for test reports and store them in the database;

[0140] The current manuscript generation module 720 is used to determine the type information and key report information input by the user, and generate the current manuscript based on the type information, report template and key report data;

[0141] The manuscript duplication rate calculation module 730 is used to perform reverse duplication checking on the current manuscript and the report template. By comparing the two, it identifies the content that has been modified in the current manuscript version and calculates the manuscript duplication rate.

[0142] The manuscript duplication rate determination module 740 is used to push the manuscript to the reviewer for review when the duplication rate is greater than the predetermined ratio. If the review is approved, the next step is continued; otherwise, the manuscript is returned and a new version is reassembled until the duplication rate is greater than the predetermined ratio and the review is approved.

[0143] The database module 750 is updated to generate a final version of the report based on the content modified in the current manuscript version that has been approved, and to update the final version of the report and related process data in the database. The process data includes the final version of the report archived in the database, previous manuscript versions, and all process data related to the detection process during the generation of each report version.

[0144] Optionally, the report template generation module includes:

[0145] The "Extract Duplicate Text Content" submodule is used to perform a duplicate check and comparison on multiple existing report files in the database to extract duplicate text content.

[0146] The report template generation submodule is used to generate a report template with type information corresponding to the repeated text content based on the extracted repeated text content.

[0147] Optionally, the current manuscript module is generated, including:

[0148] The "Find Corresponding Report Template" submodule is used to find the report template corresponding to the type information input by the user from the database.

[0149] The "Determine Key Data for Reporting" submodule is used to use the process data obtained from the current test as the key data for the test report when the user inputs the process data obtained from the current test.

[0150] The report draft generation submodule is used to generate a report draft based on the type information, the report template corresponding to the type information, and key report data.

[0151] Optionally, the system further includes:

[0152] The "Generate New Report Template" submodule is used to automatically or manually trigger incremental deduplication comparison for newly added final version reports and process data in the database. It compares the new data with the data after deduplication in the original database to find the duplicate parts between the final version reports and the report template and generate a new report template.

[0153] Optionally, the report template generation module also includes:

[0154] The reverse assembly report template generation submodule is used to reverse assemble and generate a report template based on the full-scale plagiarism check.

[0155] The module for generating formatted report templates is used to perform sequential duplication checks on multiple detection report files in the database, generate a table of all text vector duplication rates based on threshold settings, and then reverse-assemble the data to generate report templates in doc or docx format.

[0156] The system 700 for generating a detection report based on reverse deduplication in one embodiment of the present invention corresponds to the method 100 for generating a detection report based on reverse deduplication in another embodiment of the present invention, and will not be described again here.

[0157] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can 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 code. The solutions in the embodiments of this application can be implemented in various computer languages, such as the object-oriented programming language Java and the interpreted scripting language JavaScript.

[0158] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0159] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0160] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0161] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.

[0162] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A method for generating a detection report based on reverse plagiarism checking, characterized in that, include: Generate a test report template and store it in the database; Determine the type of user input and key report information, and generate the current draft based on the type of user input, report template, and key report data; The current manuscript is compared with the report template to identify the changes made in the current version and to calculate the duplication rate. If the duplication rate of a manuscript exceeds the predetermined ratio, it will be sent to an auditor for review. If the review is approved, the next step will be taken. Otherwise, the manuscript will be returned and recompiled until the duplication rate exceeds the predetermined ratio and the review is approved. Based on the modifications made to the current draft version that has been approved, a final draft version of the report is generated, and the final draft version of the report and related process data are updated in the database. The process data includes the final draft version of the report, previous draft versions, and all process data related to the detection process during the generation of each report version, which are archived in the database. Generate a test report template and store it in the database, including: Based on multiple existing report documents in the database, duplicate text content was extracted through successive deduplication checks and comparisons. Based on the extraction of duplicate text content, a report template is generated that corresponds to the type information of the duplicate text content.

2. The method according to claim 1, characterized in that, Determine the type information and key report information input by the user, and generate the current draft based on the type information, report template, and key report data, including: Based on the type information input by the user, the report template corresponding to the type information is retrieved from the database; When the user inputs the process data obtained from the current test, the process data obtained from the current test will be used as the key data in the test report; A draft report is generated based on the type information, the corresponding report template, and key report data.

3. The method according to claim 1, characterized in that, Based on the revisions made to the current approved version of the manuscript, a final report is generated, and after archiving the relevant process data in the database, it also includes: For newly added final version reports and process data in the database, incremental deduplication comparison is automatically or manually triggered to compare the new data with the data after deduplication in the original database, in order to find the duplicate parts between the final version reports and the report template and generate a new report template.

4. The method according to claim 1, characterized in that, The report template for generating the test report also includes: Based on the full plagiarism check and comparison, a report template is generated by reverse assembly. Based on multiple test report files in the database, the duplicates are checked one by one, and a table of all text vector duplication rates is generated according to the threshold settings. The data is then reverse-assembled to generate a report template in doc or docx format.

5. A system for generating detection reports based on reverse plagiarism checking, characterized in that, include: The report template generation module is used to generate report templates for test reports and store them in the database; The current document generation module is used to determine the type information and key report information input by the user, and generate the current document based on the type information, report template and key report data; The manuscript duplication rate calculation module is used to check the current manuscript for duplication with the report template. By comparing the two, it identifies the content that has been modified in the current version of the manuscript and calculates the duplication rate. The manuscript duplication rate determination module is used to push the manuscript to the reviewer for review when the duplication rate is greater than a predetermined ratio. If the review is approved, the next step is continued; otherwise, the manuscript is returned and a new version is reassembled until the duplication rate is greater than the predetermined ratio and the review is approved. The database update module is used to generate the final version of the report based on the content modified in the current approved manuscript version, and update the final version of the report and related process data in the database. The process data includes the final version of the report archived in the database, previous manuscript versions, and all process data related to the detection process during the generation of each report version. The report template generation module includes: The "Extract Duplicate Text Content" submodule is used to perform a duplicate check and comparison on multiple existing report files in the database to extract duplicate text content. The report template generation submodule is used to generate a report template with type information corresponding to the repeated text content based on the extracted repeated text content.

6. The system according to claim 5, characterized in that, The module for generating the current manuscript includes: The "Find Corresponding Report Template" submodule is used to find the report template corresponding to the type information input by the user from the database. The "Determine Key Data for Reporting" submodule is used to use the process data obtained from the current test as the key data for the test report when the user inputs the process data obtained from the current test. The report draft generation submodule is used to generate a report draft based on the type information, the report template corresponding to the type information, and key report data.

7. The system according to claim 5, characterized in that, The system also includes: The "Generate New Report Template" submodule is used to automatically or manually trigger incremental deduplication comparison for newly added final version reports and process data in the database. It compares the new data with the data after deduplication in the original database to find the duplicate parts between the final version report and the report template and generate a new report template.

8. The system according to claim 5, characterized in that, The report template generation module also includes: The reverse assembly report template generation submodule is used to reverse assemble and generate a report template based on the full-scale plagiarism check. The module for generating formatted report templates is used to perform sequential duplication checks on multiple detection report files in the database, generate a table of all text vector duplication rates based on threshold settings, and then reverse-assemble the data to generate report templates in doc or docx format.

Citation Information

Patent Citations

  • Financial report automatic generation method based on natural language processing

    CN106649223A

  • Generation method and device for application program evaluation report, and evaluation report

    CN108228441A