Inspection report data processing method and system
By inputting data from the form and processing it using preset file templates, combined with text and table recognition and review, generating and uploading PDF documents, the problems of cumbersome inspection report processing processes and high error rates are solved, and efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202410783543.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-09-10
AI Technical Summary
In the existing technology, the inspection report processing process is cumbersome, requiring staff to print, scan and upload one by one, which increases the workload and error rate, and reduces efficiency and accuracy.
Provide a method and system for processing inspection report data. By inputting data from a form, using preset file templates for processing, and performing text and table recognition and review to ensure data accuracy, PDF documents are then generated and uploaded to reduce manual steps. .
It improves the efficiency and accuracy of inspection report processing, reduces the workload of staff, reduces the error rate, and realizes automated data processing and uploading processes.
Smart Images

Figure CN118626547A
Abstract
Description
Technical Field
[0001] The present invention relates to report data processing technology, and in particular to a test report data processing method and system. Background Art
[0002] In view of the requirements of official agencies, the inspection report of raw materials generally needs to be uploaded and submitted electronically in PDF documents. To this end, the tester needs to print out, scan, and name the inspection report one by one, and then upload the named PDF format report to the APS system according to the batch. This not only increases the workload of the staff, reduces work efficiency, but is also prone to errors. It can be seen that a method of processing inspection reports that improves efficiency and accuracy is one of the problems that need to be solved urgently. Summary of the invention
[0003] In view of this, the present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application proposes a method and system for processing inspection report data to improve the efficiency and accuracy of work processing.
[0004] In a first aspect, an embodiment of the present application provides a method for processing test report data, the method comprising the following steps:
[0005] Acquire first inspection data input from a first form;
[0006] In response to the trigger information of the first click button, according to the preset file template and the type of the first inspection data, the corresponding first inspection data is assigned to the corresponding position of the file template, thereby obtaining the first file information;
[0007] After processing the first file information according to a preset file format, a first document is output, wherein the file format of the first document is the same as the preset file format;
[0008] In response to the trigger information of the second click button, the first document is uploaded.
[0009] In some embodiments, before the step of uploading the first document, the method further includes the following steps:
[0010] The content of the first document is reviewed and analyzed.
[0011] In some embodiments, the step of reviewing and analyzing the content of the first document specifically includes:
[0012] Obtaining a first image of a page of a first document;
[0013] After recognizing the text in the first image, judging the correctness of the text recognition result;
[0014] After identifying the table frame of the first image, the correctness of the table frame recognition result is judged;
[0015] When the text recognition result and the table frame recognition result are both judged to be correct, it is determined that the content of the first document has passed the review.
[0016] In some embodiments, after recognizing the text in the first image, the step of judging the correctness of the text recognition result specifically includes:
[0017] After preprocessing the first image, a second image is obtained;
[0018] After performing text location processing on the second image, a text area is obtained;
[0019] Perform text recognition on the content of the text area to obtain the text content to be reviewed;
[0020] When it is determined that the text content to be reviewed contains garbled characters, a first error result is output;
[0021] When it is determined that there is no garbled code in the text content to be reviewed, it means that the text recognition result is correct.
[0022] In some embodiments, after identifying the table frame of the first image, the step of determining the correctness of the table frame identification result specifically includes:
[0023] Performing table line recognition on the second image;
[0024] Performing positioning processing on the identified table lines to obtain the position information of the table lines in the table frame;
[0025] Reconstruct the table frame to be reviewed based on the identified table lines and their position information;
[0026] When it is determined that there is a defect in the table frame to be reviewed, a second error result is output;
[0027] When it is determined that there are no defects in the table frame to be reviewed, it means that the table frame recognition result is correct.
[0028] In some embodiments, the method further comprises the following steps:
[0029] The first error result and / or the second error result is displayed on the first pop-up window.
[0030] In some embodiments, the first inspection data includes actual measurement values, and the step of obtaining the first inspection data input from the first form specifically includes:
[0031] Obtaining the measurement value to be reviewed input from the first form;
[0032] Determine the test item to which the to-be-audited measurement value belongs according to the input position of the to-be-audited measurement value in the first form;
[0033] According to the detection items, the corresponding allowable value range is obtained;
[0034] When the measurement value to be reviewed is within the allowable value range, the measurement value to be reviewed is taken as the actual measurement value;
[0035] When the measured value to be reviewed is not within the allowable numerical range, a first prompt signal is output.
[0036] In some embodiments, the method further comprises the following steps:
[0037] Obtaining the required naming information from the first file information;
[0038] After the file name of the first document is named according to the required naming information, the first document is saved.
[0039] In a second aspect, an embodiment of the present application provides a test report data processing system, the system comprising:
[0040] A first operation interface is provided with a first form for data input;
[0041] The first processing system includes at least one processor for loading a program to execute the steps of the above-mentioned inspection report data processing method.
[0042] In a third aspect, an embodiment of the present application provides a test report data processing system, the system comprising:
[0043] A first acquisition processing unit, used for acquiring first inspection data input from a first form;
[0044] a second acquisition processing unit, configured to respond to the trigger information of the first click button, assign the corresponding first inspection data to the corresponding position of the file template according to the type of the first inspection data according to the preset file template, thereby acquiring the first file information;
[0045] A first conversion processing unit, configured to process the first file information according to a preset file format and output a first document, wherein the file format of the first document is the same as the preset file format;
[0046] The first upload processing unit uploads the first document in response to the triggering information of the second click button.
[0047] The present application can achieve the following technical effects: the present application scheme can obtain the first file information by filling the inspection data input from the first form into the corresponding position of the preset file template, and then obtain the first document in the preset file format after processing the first file information according to the required preset file format, and in response to the trigger information of the second click button, the first document can be uploaded. It can be seen that the use of these data processing functions performed by the system can reduce the traditional operation steps of manually printing out the inspection report and then scanning, naming, saving and uploading the paper inspection reports one by one. It not only saves the workload of the staff and improves the work processing efficiency, but also reduces the error rate and improves the accuracy of work processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments.
[0049] Figure 1 A schematic diagram of the structure of a first embodiment of a test report data processing system provided in an embodiment of the present application;
[0050] Figure 2 A schematic diagram of the steps of a method for processing test report data provided in an embodiment of the present application;
[0051] Figure 3 A schematic diagram of a first operation interface provided in an embodiment of the present application;
[0052] Figure 4 A schematic diagram of the structure of a second embodiment of a test report data processing system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0053] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described through the implementation method with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.
[0054] In order to meet the needs of official agencies, the raw material inspection report needs to be uploaded in PDF format. However, in the current workflow, staff need to print out the inspection reports one by one, and then scan, name and save the paper inspection reports one by one after obtaining them. Finally, upload the named PDF format reports to the APS system according to the batch. It can be seen that this operation process not only increases the workload of staff and reduces work efficiency, but also the process steps are cumbersome and prone to errors. For this reason, a data processing solution for inspection reports that can improve work efficiency and accuracy is one of the problems that urgently need to be solved.
[0055] It should be noted that the embodiment of the present application takes the APS system (i.e., a production management system) and the preset file format is PDF format as an example to illustrate the present solution, but is not limited to this system type and file format type.
[0056] Reference Figure 1 , an embodiment of the present application provides a test report data processing system, the system comprising:
[0057] A first operation interface is provided with a first form for data input;
[0058] The first processing system includes at least one processor for loading a program to execute the steps of the inspection report data processing method. The steps of the inspection report data processing method are described in detail below and are not described here for the time being.
[0059] Specifically, since the current APS system is a system software that can synchronize and monitor multiple resources in real time, and can solve multiple problems such as production scheduling and dispatching, the inspection report data processing function of the embodiment of the present application is embedded in the APS system for operation and use. This not only does not require the purchase of additional management software, but also helps the staff to quickly get started with this function, achieving the purpose of cost control and operational convenience. That is to say, in this embodiment, this inspection report data processing system is an APS system with the inspection report processing function of performing corresponding data processing on the inspection report, and the above-mentioned first operation interface is the operation interface of the APS system.
[0060] In addition, the above-mentioned first form is mainly used for collecting and displaying data, wherein the relevant information can be automatically collected from the APS system and input into the corresponding position of the first form, or the staff can input the relevant data into the corresponding text box in the first form. This can be designed accordingly according to actual needs and is not particularly limited here.
[0061] In some embodiments, Figure 3As shown, in the first form, the staff can fill in the data for the text box of the type of measured value, so that the test personnel can enter the different types of measured values obtained from the inspection into the text box corresponding to the inspection item type after sampling and inspection of the raw materials according to the arrival of the raw materials in the APS system, so as to achieve the effect of entering the inspection data into the APS system. For example, if the inspection item is the rod diameter, and the measured value obtained after the inspection of this inspection item is 8.03, then 8.03 can be entered into the corresponding measured value text box.
[0062] Reference Figure 2 Based on the above system, an inspection report data processing method provided in an embodiment of the present application includes the following specific steps.
[0063] S1. Acquire first inspection data input from a first form.
[0064] Specifically, when the staff takes samples for raw material incoming inspection according to the raw material arrival situation displayed in the APS system and the inspection is completed, the measured values of the inspection can be entered into the corresponding position of the first form of the APS system. At this time, when the data is entered into the corresponding text box, the first processing system can collect and obtain these inspection data. Of course, in addition to the measured values, the first form also contains other text boxes for entering information, such as text boxes for entering basic information. The data can be manually entered or automatically obtained from the information in the system. There is no special limitation here and it can be set according to the actual situation. Among them, the types of basic information can include but are not limited to arrival time, arrival batch, document number, document time, inspection quantity, sampling quantity, etc.
[0065] In some embodiments, since the measured values (i.e., actual measured values) are manually input and filled in by the staff after the inspection is completed, there may be problems of missing or wrong data. Therefore, these input measured values should be reviewed and analyzed before executing the subsequent steps to improve the accuracy of data processing, and also avoid re-exporting the document, further improving work efficiency. Therefore, when the first inspection data includes the actual measured values, the step S1 of obtaining the first inspection data input from the first form may specifically include the following steps.
[0066] S101, obtaining the measurement value to be reviewed input from the first form, that is, the input measurement value data.
[0067] S102: Determine the test item to which the to-be-audited measurement value belongs according to the input position of the to-be-audited measurement value in the first form.
[0068] Specifically, for example, when the entered measurement value data is input into the text box in the 9th row and the 5th column, it indicates that the type of the corresponding inspection item is the inspection item of rod diameter.
[0069] S103. Obtain the corresponding allowable numerical range according to the detection items.
[0070] S104. When the measurement value to be reviewed is within the allowable numerical range, the measurement value to be reviewed is taken as the actual measurement value.
[0071] S105: When the measurement value to be reviewed is not within the allowable numerical range, output a first prompt signal.
[0072] Specifically, according to historical experience data, it can be statistically concluded that each type of test item must have an allowable value range, that is, regardless of whether the test result is qualified or not, the test value must be within a reasonable value range. If it exceeds this value range, it means that the actual value data currently entered does not conform to the usual scope of this test item type. For example, for the test item of rod diameter, its corresponding measured value cannot have values such as 0, 0.001, and it is also impossible to have a null value. Therefore, if it is detected that the entered measured value is these values, it can be judged that the entered measured value has been filled in incorrectly or missed. At this time, a prompt signal should be output to prompt the staff to modify and supplement the entry. Otherwise, the measurement value to be reviewed will be used as the actual measurement value and displayed in the corresponding text box. Among them, for the above-mentioned allowable value range, it can be confirmed based on the maximum and minimum values in all historical data.
[0073] After the entered data is reviewed and saved, the subsequent steps can be executed.
[0074] S2. In response to the trigger information of the first click button, according to the preset file template and the type of the first verification data, the corresponding first verification data is assigned to the corresponding position of the file template, thereby obtaining the first file information.
[0075] S3. After processing the first file information according to a preset file format, a first document is output, wherein the file format of the first document is the same as the preset file format.
[0076] Specifically, in this embodiment, the preset file format is a PDF file format; the first click button is used to trigger the system to fill the corresponding data on the first form into the preset file template, thereby obtaining the required raw material inspection report content, such as Figure 3As shown, the corresponding data on the first form is filled into the corresponding table box. Then, the desired export file format is selected, that is, the desired preset file format is selected, so that the first file information is processed and the first document is output. At this time, the file format of this document is a PDF document.
[0077] Furthermore, the first click button can be a print button, and by clicking the print button, the first file information is selected and printed out in PDF format to obtain a first document in PDF format. It can be seen that such a design has a small workload and high operational convenience, which is conducive to the staff to quickly master the operation of this function.
[0078] S4. In response to the trigger information of the second click button, the first document is uploaded.
[0079] Specifically, when it is confirmed that the first document needs to be uploaded, the second click button is clicked to trigger the document selection sub-interface, so that the staff can select the required document, and then select and open it to confirm, and complete the upload operation of the first document. Among them, the second click button can be an upload button, and the first and second click buttons mentioned above can be selected and set on the first operation interface to facilitate the staff to search and operate.
[0080] It can be seen that the solution of the embodiment of the present application is equivalent to developing a function of automatically printing raw material inspection reports in the APS system, which can be automatically converted to PDF and uploaded. This greatly reduces the manual processing steps of the traditional workflow, greatly improves work efficiency, and can also improve processing accuracy.
[0081] In some embodiments, in order to avoid problems such as garbled content or missing table boxes in the exported document content due to system factors when exporting PDF format files, the method of the embodiment of the present application may also include the following steps to ensure the correctness and completeness of the uploaded content.
[0082] S5. Review and analyze the content of the first document.
[0083] Specifically, the above step S5 can be implemented before the step of uploading the first document. And because the raw material inspection report of the embodiment of the present application mainly includes text content and table frames, and the document format is PDF format, the text content and table frames in the picture can be identified by obtaining a picture of the document and then using the corresponding recognition technology, and then according to the correctness of the recognized result, it is determined whether the content in the first document to be uploaded is correct and complete. Therefore, the step S5 can specifically include the following steps.
[0084] S501: Acquire a first picture of a page of a first document.
[0085] Specifically, one page corresponds to one first picture, and the acquisition method can be: after the first document is automatically opened and displayed, the screenshot function of the system software of the terminal device is triggered, and the document is screenshot page by page to obtain the first picture corresponding to each page. Of course, this acquisition method can be implemented by other existing technologies, which will not be elaborated here.
[0086] S502: After recognizing the text in the first image, determine the correctness of the text recognition result.
[0087] Specifically, the step S502 may specifically include the following steps.
[0088] S5021. Preprocess the first image to obtain a second image.
[0089] Specifically, the preprocessing may include but is not limited to denoising, binarization, contrast enhancement, slope correction and other processing. The denoising method may be implemented by median filtering, Gaussian filtering and other methods; binarization processing converts the color image into a black and white image; contrast enhancement increases the brightness difference between light and dark in the image to make the image clearer; slope correction makes the text and table frame in the horizontal and vertical directions. It can be seen that the purpose of preprocessing is to enable the text and table frame to be extracted from the image more accurately in subsequent processing, that is, this step can be used to improve the accuracy of subsequent recognition results. Of course, if the quality of the first image itself is good, this preprocessing step can be omitted.
[0090] S5022: After performing text positioning processing on the second image, a text area is obtained.
[0091] Specifically, for text positioning technology, it can be implemented by using deep learning-based target detection algorithms (such as YOLO, SSD), or traditional image processing technologies (such as edge detection, sliding windows, etc.), which can be selected and designed according to actual conditions.
[0092] S5023. Perform text recognition on the content of the text area to obtain the text content to be reviewed.
[0093] Specifically, after locating the text area, the content in the area can be recognized by using OCR technology, so as to obtain the text content to be reviewed. The OCR technology can be implemented by using existing technology, which will not be elaborated in detail here.
[0094] S5024: When it is determined that the text content to be reviewed contains garbled characters, a first error result is output.
[0095] Specifically, the recognition of garbled characters can be realized in the following ways: 1. Language model, using language models such as n-gram model, neural network language model, etc. to verify and analyze the text content to be reviewed, so as to determine whether it conforms to the conventional grammatical and semantic rules of the language. If so, it means that there is no garbled character, otherwise, it means that there is garbled character; 2. Character set matching, checking whether the text content to be reviewed only contains characters in the character set of the target language. If so, it means that there is no garbled character, otherwise, it means that there is garbled character; 3. Confidence threshold judgment, in the OCR text recognition model, it will provide a corresponding confidence score for each recognized result. After setting a suitable threshold, the recognition result below the threshold will be indicated as containing garbled characters, otherwise, it means that there is no garbled character. When the existence of garbled characters in the text content to be reviewed is identified based on these recognition schemes, the first error result is output. Among them, the content displayed by the first error result at least includes the text content containing garbled characters and the corresponding text area.
[0096] S5025. When it is determined that there is no garbled code in the text content to be reviewed, it means that the text recognition result is correct.
[0097] It can be seen that by adopting the above method, garbled characters can be identified in the display content converted into a PDF document, so as to determine that there are no text content errors when the document is exported, thereby ensuring the accuracy of the uploaded document content and avoiding the need to return and modify the export again due to the existence of garbled content. Repeated operations.
[0098] In addition to the above-mentioned garbled text recognition, since the raw material inspection report mainly presents the text content in the form of a table, in order to further ensure that the content displayed in the PDF document is completely correct, it is also necessary to identify defects in the table. Among them, the defect recognition at least includes whether the frame line is missing, whether the frame line overlaps with the text, and other defects.
[0099] S503: After identifying the table frame of the first image, the correctness of the table frame identification result is judged. This step S503 may specifically include the following sub-steps.
[0100] S5031. Perform table line recognition on the second image.
[0101] Specifically, for table lines, edge detection (such as Canny algorithm), Hough transform and other methods can be used to identify table lines, so as to determine the boundaries and cells of the table. Of course, table lines can also be identified by other identification methods, which are not particularly limited here.
[0102] S5032: Perform positioning processing on the identified table lines to obtain position information of the table lines in the table frame.
[0103] Specifically, the area where the table line is located is located and identified, so as to determine the location information of the row, column, cell, etc. corresponding to the table line. This can be achieved by image segmentation technology, dividing the image into different areas, so as to determine the position of the table line in the table frame.
[0104] S5033. Reconstruct the table frame to be reviewed based on the identified table lines and their position information.
[0105] S5034. When it is determined that there is a defect in the table box to be reviewed, a second error result is output.
[0106] Specifically, this step is mainly to judge the integrity and regularity of the table frame to be reviewed, for example, to identify whether there are missing rows, columns, cells in the table frame, or whether there are unreasonable line breaks in the table frame, or whether there are irregular frame lines in the table frame, or whether there is overlap between the frame lines of the table frame and the text, etc. If so, the second error result is output, and the positions where these errors exist on the first document are emphasized and displayed to serve as a prompt, so that the staff can quickly locate the place where the error occurs, so as to solve the problem as soon as possible.
[0107] S5035. When it is determined that there are no defects in the table frame to be reviewed, it means that the table frame recognition result is correct.
[0108] It can be seen that, similarly, by adopting the above method, the table frame of the display content converted into a PDF document can be identified, so as to determine that no table frame error occurred when the document was exported, thereby ensuring the accuracy of the uploaded document content and avoiding subsequent repeated operations such as returning and re-modifying the export due to errors in the table frame.
[0109] S504: When the text recognition result and the table frame recognition result are both judged to be correct, it is determined that the content review of the first document has passed.
[0110] In some embodiments, the method further comprises the following steps:
[0111] S505. When the text recognition result and / or the table frame recognition result is incorrect, the first error result and / or the second error result is displayed on the first pop-up window, that is, the error result is prompted in the form of a pop-up window, which can serve as a quick prompt.
[0112] In some embodiments, before uploading the first document, the method further includes the following steps:
[0113] Obtaining the required naming information from the first file information; wherein, in this embodiment, the required naming information is preferably arrival batch information;
[0114] After the file name of the first document is named according to the required naming information, the first document is saved.
[0115] Specifically, when exporting and saving a PDF document, the required naming information can be automatically obtained and assigned to the file name input box. After the worker reviews and confirms it, the "Save" button can be clicked to save the document, which can further improve work processing efficiency.
[0116] In summary, by using the solution of the embodiment of the present application, PDF can be printed and uploaded directly in the system, while also reducing errors caused by naming, greatly improving the overall work processing efficiency and processing accuracy.
[0117] Reference Figure 4 The present application also provides a test report data processing system, which includes:
[0118] A first acquisition processing unit, used for acquiring first inspection data input from a first form;
[0119] a second acquisition processing unit, configured to respond to the trigger information of the first click button, assign the corresponding first inspection data to the corresponding position of the file template according to the type of the first inspection data according to the preset file template, thereby acquiring the first file information;
[0120] A first conversion processing unit, configured to process the first file information according to a preset file format and output a first document, wherein the file format of the first document is the same as the preset file format;
[0121] The first upload processing unit uploads the first document in response to the triggering information of the second click button.
[0122] In some embodiments, the first inspection data includes actual measurement values, and the first acquisition processing unit specifically includes:
[0123] A first acquisition processing module, used for acquiring the measurement value to be reviewed input from the first form;
[0124] A first determination processing module, configured to determine the test item to which the to-be-audited measurement value belongs according to the input position of the to-be-audited measurement value in the first form;
[0125] A second acquisition processing module is used to obtain the corresponding allowable value range according to the detection item;
[0126] A first judgment processing module is used to take the to-be-audited measurement value as the actual measurement value when the to-be-audited measurement value is within the allowable value range;
[0127] The second judgment processing module is used to output a first prompt signal when the measurement value to be reviewed is not within the allowable numerical range.
[0128] In some embodiments, the system further comprises:
[0129] The first review processing unit is used to review and analyze the content of the first document.
[0130] In some embodiments, the first audit processing unit specifically includes:
[0131] A third acquisition processing module, used to acquire a first image of a page of a first document;
[0132] A third judgment processing module is used to judge the correctness of the text recognition result after recognizing the text in the first image;
[0133] A fourth judgment processing module, configured to judge the correctness of the table frame recognition result after recognizing the table frame of the first image;
[0134] The fifth judgment processing module is used to determine that the content of the first document has passed the review when the text recognition result and the table frame recognition result are both judged to be correct.
[0135] In some embodiments, the third judgment processing module specifically includes:
[0136] A first preprocessing submodule, used to preprocess the first image to obtain a second image;
[0137] A first positioning processing submodule is used to obtain a text area after performing text positioning processing on the second image;
[0138] The first recognition processing submodule is used to perform text recognition on the content of the text area to obtain the text content to be reviewed;
[0139] A first judgment processing submodule is used to output a first error result when it is judged that the text content to be reviewed contains garbled characters;
[0140] The second judgment processing submodule is used to indicate that the text recognition result is correct when it is judged that there is no garbled code in the text content to be reviewed.
[0141] In some embodiments, the fourth determination processing module specifically includes:
[0142] A second recognition processing submodule, used for performing table line recognition on the second image;
[0143] The third recognition processing submodule is used to perform positioning processing on the recognized table line to obtain the position information of the table line in the table frame;
[0144] The first reconstruction processing submodule is used to reconstruct the table frame to be reviewed according to the identified table lines and their position information;
[0145] The third judgment processing submodule is used to output a second error result when it is judged that there is a defect in the table box to be reviewed;
[0146] The fourth judgment processing submodule is used to indicate that the table frame recognition result is correct when it is judged that there is no defect in the table frame to be reviewed.
[0147] In some embodiments, the system further comprises:
[0148] The first display module is used to display the first error result and / or the second error result on a first pop-up window.
[0149] In some embodiments, the system further comprises:
[0150] A third acquisition processing unit, used to acquire required naming information from the first file information;
[0151] The first storage processing unit is used to name the file name of the first document according to the required naming information and then save the first document.
[0152] The above-mentioned system embodiment units / modules correspond one to one with the steps of the method embodiment, so the beneficial effects of this embodiment are the same as the beneficial effects of the above-mentioned method, which will not be elaborated in detail here.
[0153] In addition, the present application also provides a computer-readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the steps of the above method embodiment.
[0154] In view of the readable storage medium in the storage medium embodiment, which stores a computer program, and the computer program is executed by the processor to implement the steps of the above-mentioned method embodiment, the beneficial effects of this embodiment are the same as the beneficial effects of the above-mentioned method and system embodiments, and will not be elaborated in detail here.
[0155] For the processors mentioned in the above storage medium embodiment and the system embodiment, the number can be at least 1, and at least any step in the above method embodiment can be executed. When the number is at least two, at least two processors can be connected to each other by communication, not limited to wired or wireless communication connection, and the at least one processor can be connected to various intelligent terminal devices by communication. In addition, the processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
[0156] Finally, it should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0157] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the appended claims.
Claims
1. A method for processing inspection report data, It is characterized in that The method comprises the following steps: Acquire first inspection data input from a first form; In response to the trigger information of the first click button, according to the preset file template and the type of the first inspection data, the corresponding first inspection data is assigned to the corresponding position of the file template, thereby obtaining the first file information; After processing the first file information according to a preset file format, a first document is output, wherein the file format of the first document is the same as the preset file format; In response to the trigger information of the second click button, the first document is uploaded.
2. The method according to claim 1, It is characterized in that Before the step of uploading the first document, the method further comprises the following steps: The content of the first document is reviewed and analyzed.
3. The method according to claim 2, It is characterized in that The step of reviewing and analyzing the content of the first document specifically includes: Obtaining a first image of a page of a first document; After recognizing the text in the first image, judging the correctness of the text recognition result; After identifying the table frame of the first image, the correctness of the table frame identification result is judged; When the text recognition result and the table frame recognition result are both judged to be correct, it is determined that the content of the first document has passed the review.
4. The method according to claim 3, It is characterized in that After recognizing the text in the first image, the step of judging the correctness of the text recognition result specifically includes: After preprocessing the first image, a second image is obtained; After performing text location processing on the second image, a text area is obtained; Perform text recognition on the content of the text area to obtain the text content to be reviewed; When it is determined that the text content to be reviewed contains garbled characters, a first error result is output; When it is determined that there is no garbled code in the text content to be reviewed, it means that the text recognition result is correct.
5. The method according to claim 4, It is characterized in that After the table frame of the first image is identified, the step of judging the correctness of the table frame identification result specifically includes: Performing table line recognition on the second image; Performing positioning processing on the identified table lines to obtain the position information of the table lines in the table frame; Reconstruct the table frame to be reviewed based on the identified table lines and their position information; When it is determined that there is a defect in the table frame to be reviewed, a second error result is output; When it is determined that there are no defects in the table frame to be reviewed, it means that the table frame recognition result is correct.
6. The method according to claim 5, It is characterized in that The method further comprises the following steps: The first error result and / or the second error result is displayed on the first pop-up window.
7. The method according to any one of claims 1 to 6, It is characterized in that The first inspection data includes actual measurement values, and the step of obtaining the first inspection data input from the first form specifically includes: obtaining the measurement values to be reviewed input from the first form; Determine the test item to which the to-be-audited measurement value belongs according to the input position of the to-be-audited measurement value in the first form; According to the detection items, the corresponding allowable value range is obtained; When the measurement value to be reviewed is within the allowable value range, the measurement value to be reviewed is taken as the actual measurement value; When the measured value to be reviewed is not within the allowable numerical range, a first prompt signal is output.
8. The method according to any one of claims 1 to 6, It is characterized in that The method further comprises the following steps: Obtaining the required naming information from the first file information; After the file name of the first document is named according to the required naming information, the first document is saved.
9. A test report data processing system, It is characterized in that The system includes: A first acquisition processing unit, used for acquiring first inspection data input from a first form; a second acquisition processing unit, configured to respond to the trigger information of the first click button, assign the corresponding first inspection data to the corresponding position of the file template according to the type of the first inspection data according to the preset file template, thereby acquiring the first file information; A first conversion processing unit, configured to process the first file information according to a preset file format and output a first document, wherein the file format of the first document is the same as the preset file format; The first upload processing unit uploads the first document in response to the triggering information of the second click button.
10. A test report data processing system, It is characterized in that The system includes: A first operation interface is provided with a first form for data input; The first processing system comprises at least one processor, which is used to load a program to execute the method steps according to any one of claims 1 to 8.
