Structured report generation method and system for multiple inspection devices
By identifying and extracting inspection data from special inspection equipment, formulating data extraction strategies and generating structured reports, the problems of low data storage efficiency and manual entry errors in the prior art are solved, and efficient data sorting and storage are achieved.
Patent Information
- Application Number
- CN202411467459.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-21
- Publication Date
- 2025-03-21
AI Technical Summary
The prior art is less efficient when storing inspection data of special inspection equipment structured, and is prone to manual entry errors, resulting in repeated re-entry, increasing the workload.
By obtaining the inspection project report information and structured report requirements information of each inspection equipment, identifying the inspection data information and data demand information of each inspection project, formulating a data extraction strategy, automatically extracting target inspection data, and generating a structured inspection report.
It improves the structured storage efficiency of data checked on special inspection equipment, reduces errors and duplicate work of manual entry, and realizes more efficient data sorting and storage.
Smart Images

Figure CN119673412A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of structured data generation, and in particular to a method and system for generating structured reports of multiple inspection devices. Background Art
[0002] At present, there are many types of hospital equipment, including many special inspection equipment. Such inspection equipment has the characteristics of wide distribution of equipment departments, many types of equipment, and many equipment manufacturers. Most equipment manufacturers do not support docking, resulting in a large number of special inspection equipment inspection data cannot be structured storage. Therefore, how to structure the inspection data of a large number of special inspection equipment is the current research focus.
[0003] The traditional method of structured storage of inspection data is to manually obtain the inspection data of each special inspection device, and then manually organize and enter the inspection data to store the inspection data in a structured manner. However, this method is inefficient and may result in errors in manual entry, requiring manual re-entry repeatedly, resulting in low efficiency in structured storage of inspection data of different special inspection devices. Summary of the invention
[0004] The main purpose of the present invention is to provide a method for generating structured reports for multiple inspection devices, aiming to solve the problems of low efficiency of the existing technology and input errors that may occur during manual data entry, which requires repeated manual re-entry, resulting in low efficiency in structured storage of inspection data of different special inspection devices.
[0005] To achieve the above object, the present invention provides a method for generating a structured report for multiple inspection devices, the method comprising:
[0006] Obtaining inspection report information of each inspection item of each inspection device and structured report requirement information, and identifying inspection data information of each inspection item of each inspection device based on the inspection report information of each inspection item of each inspection device;
[0007] Based on the structured report requirement information, identify the data requirement information of each inspection item of each inspection device, and for each inspection device, based on the inspection data information of each inspection item of the inspection device and the data requirement information of each inspection item, identify the data extraction strategy corresponding to each target inspection data information of each inspection item;
[0008] Through each data extraction strategy of each inspection device, the current target inspection data of each inspection device is extracted from the inspection report information of each inspection item of each inspection device, and a structured inspection report of all inspection devices is generated based on the inspection items described in each current target inspection data.
[0009] Optionally, the identifying the inspection data information of each inspection item of each inspection device based on the inspection report information of each inspection item of each inspection device includes:
[0010] For each inspection device, based on the inspection report information of each inspection item of the inspection device, identify the report content of each report identifier of each inspection item, and for each inspection item, identify the data type of each report content and the sub-report item corresponding to each report identifier;
[0011] Based on each data type and each sub-report item, each inspection data information corresponding to the inspection item is obtained.
[0012] Optionally, the identifying data requirement information of each inspection item of each inspection device based on the structured report requirement information includes:
[0013] Splitting the structured report requirement information into report content requirement information for each inspection device, and identifying item requirement data for each inspection item in each report content requirement information;
[0014] For each item requirement data, based on the item requirement data, identifying the target data format of the inspection item corresponding to the item requirement data and the target requirement sub-report item of the inspection item corresponding to the item requirement data;
[0015] The target data format of each inspection item and the target requirement sub-report item of each inspection item are used as the data requirement information of each inspection item.
[0016] Optionally, for each inspection device, based on each inspection data information of each inspection item of the inspection device and data requirement information of each inspection item, identifying a data extraction strategy corresponding to each target inspection data information of each inspection item includes:
[0017] For each inspection item, based on each inspection data information of the inspection item and data requirement information of the inspection item, a target sub-report item of the inspection item is screened out from each sub-report item of the inspection item, and the inspection data information containing the target sub-report item is used as the target inspection data information;
[0018] Based on the data type of the target inspection data information of each inspection item and the target data format corresponding to the data requirement information of each inspection item, a data format adjustment strategy for each inspection item is generated; and based on the data format adjustment strategy for each target inspection data information of each inspection item, a data extraction strategy corresponding to each target inspection data information of each inspection item is generated.
[0019] Optionally, extracting the current target inspection data of each inspection device from the inspection report information of each inspection item of each inspection device through each data extraction strategy of each inspection device includes:
[0020] For each inspection device, based on each data extraction strategy of the inspection device, extracting sub-report content of each target sub-report item of each inspection item from the inspection report information of each inspection item of the inspection device;
[0021] Identify the data format of each sub-report content, and adjust the data format of the sub-report content of each target sub-report item based on the data format adjustment strategy of the target inspection data information to which each target sub-report item belongs, to obtain the sub-report content corresponding to each target sub-report item;
[0022] The sub-report contents corresponding to all target sub-report items are used as the current target inspection data of the inspection device.
[0023] Optionally, for each inspection item of the current target inspection data, a structured inspection report of all inspection equipment is generated, including:
[0024] Acquire the report structure of each inspection device, and for each inspection device, perform data sorting processing on the sub-report content corresponding to each target sub-report item based on the report structure of the inspection device, obtain the sub-inspection report of the inspection device, and obtain the template structure information of the structured inspection report template;
[0025] Based on the template structure information, the report structured sorting information of each inspection device is identified, and based on the report structured sorting information of each inspection device, the sub-inspection report of each inspection device is filled into the structured inspection report template to obtain a structured inspection report.
[0026] In addition, to achieve the above-mentioned purpose, the present invention further provides a structured report generation system for multiple inspection devices, the structured report generation system for multiple inspection devices comprising:
[0027] an acquisition module, used to acquire inspection report information of each inspection item of each inspection device and structured report requirement information, and identify inspection data information of each inspection item of each inspection device based on the inspection report information of each inspection item of each inspection device;
[0028] an identification module, configured to identify data requirement information of each inspection item of each inspection device based on the structured report requirement information, and for each inspection device, identify a data extraction strategy corresponding to each target inspection data information of each inspection item based on each inspection data information of each inspection item of the inspection device and the data requirement information of each inspection item;
[0029] A generation module is used to extract the current target inspection data of each inspection device from the inspection report information of each inspection item of each inspection device through each data extraction strategy of each inspection device, and generate a structured inspection report for all inspection devices based on the inspection items described in each current target inspection data.
[0030] Optionally, the acquisition module is specifically used to:
[0031] For each inspection device, based on the inspection report information of each inspection item of the inspection device, identify the report content of each report identifier of each inspection item, and for each inspection item, identify the data type of each report content and the sub-report item corresponding to each report identifier;
[0032] Based on each data type and each sub-report item, each inspection data information corresponding to the inspection item is obtained.
[0033] Optionally, the identification module is specifically used to:
[0034] Splitting the structured report requirement information into report content requirement information for each inspection device, and identifying item requirement data for each inspection item in each report content requirement information;
[0035] For each item requirement data, based on the item requirement data, identifying the target data format of the inspection item corresponding to the item requirement data and the target requirement sub-report item of the inspection item corresponding to the item requirement data;
[0036] The target data format of each inspection item and the target requirement sub-report item of each inspection item are used as the data requirement information of each inspection item.
[0037] Optionally, the identification module is specifically used to:
[0038] For each inspection item, based on each inspection data information of the inspection item and data requirement information of the inspection item, a target sub-report item of the inspection item is screened out from each sub-report item of the inspection item, and the inspection data information containing the target sub-report item is used as the target inspection data information;
[0039] Based on the data type of the target inspection data information of each inspection item and the target data format corresponding to the data requirement information of each inspection item, a data format adjustment strategy for each inspection item is generated; and based on the data format adjustment strategy for each target inspection data information of each inspection item, a data extraction strategy corresponding to each target inspection data information of each inspection item is generated.
[0040] Optionally, the generating module is specifically used for:
[0041] For each inspection device, based on each data extraction strategy of the inspection device, extracting sub-report content of each target sub-report item of each inspection item from the inspection report information of each inspection item of the inspection device;
[0042] Identify the data format of each sub-report content, and adjust the data format of the sub-report content of each target sub-report item based on the data format adjustment strategy of the target inspection data information to which each target sub-report item belongs, to obtain the sub-report content corresponding to each target sub-report item;
[0043] The sub-report contents corresponding to all target sub-report items are used as the current target inspection data of the inspection device.
[0044] Optionally, the generating module is specifically used for:
[0045] Acquire the report structure of each inspection device, and for each inspection device, perform data sorting processing on the sub-report content corresponding to each target sub-report item based on the report structure of the inspection device, obtain the sub-inspection report of the inspection device, and obtain the template structure information of the structured inspection report template;
[0046] Based on the template structure information, the report structured sorting information of each inspection device is identified, and based on the report structured sorting information of each inspection device, the sub-inspection report of each inspection device is filled into the structured inspection report template to obtain a structured inspection report.
[0047] In a third aspect, the present application provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of any one of the methods in the first aspect are implemented.
[0048] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.
[0049] In a fifth aspect, the present application provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.
[0050] The present invention provides a method and system for generating structured reports for multiple inspection devices, the method comprising: obtaining inspection report information of each inspection item of each inspection device and structured report requirement information, and identifying inspection data information of each inspection item of each inspection device based on the inspection report information of each inspection item of each inspection device; identifying data requirement information of each inspection item of each inspection device based on the structured report requirement information, and for each inspection device, identifying data extraction strategies corresponding to target inspection data information of each inspection item based on the inspection data information of each inspection item of the inspection device and the data requirement information of each inspection item; extracting current target inspection data of each inspection device from the inspection report information of each inspection item of each inspection device through the data extraction strategies of each inspection device, and generating structured inspection reports for all inspection devices based on the target inspection data information of each current target inspection data and the inspection items described by each current target inspection data. This solution identifies the inspection data information in the inspection report information of each inspection item of each inspection device, as well as the structured report requirement information, thereby analyzing the target inspection data information in each inspection item of each inspection device, as well as the data extraction strategy corresponding to each target inspection data information, so as to enable intelligent extraction of the inspection data in each inspection item of each inspection device, thereby avoiding the inefficient and low-precision problems of manual extraction of each inspection item of each inspection device. Then, this solution can also generate structured inspection reports for all inspection devices based on the current target inspection data of each inspection item extracted, thereby improving the efficiency of structured report generation, structured report organization, and structured report storage, and can also avoid the problems of slow data information organization due to the inability to connect special inspection equipment, and the inability to uniformly organize data due to different data formats, thereby improving the efficiency of structured storage of inspection data of different special inspection devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0052] Figure 1 is a flow chart of a method for generating a structured report for multiple inspection devices provided by an embodiment of the present invention;
[0053] Figure 2 It is a schematic diagram of the structure of a structured report generation system for multiple inspection devices provided by an embodiment of the present invention;
[0054] Figure 3 An internal structure diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0055] The structured report generation method for multiple inspection devices provided in an embodiment of the present invention is applied to a structured report generation system for multiple inspection devices. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" in the specification and claims of the present application and the above-mentioned drawings and any variations thereof are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.
[0056] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0057] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
[0058] The structured report generation method for multiple inspection devices provided in the embodiment of the present application can be applied to the application environment of structured report generation for multiple inspection devices. The method can be applied to a terminal, a server, or a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. Among them, the terminal can be, but is not limited to, various personal computers, etc. Among them, the terminal analyzes the target inspection data information in each inspection item of each inspection device and the data extraction strategy corresponding to each target inspection data information by identifying the inspection data information in the inspection report information of each inspection item of each inspection device, and the structured report requirement information, so as to enable intelligent extraction of the inspection data in each inspection item of each inspection device, avoiding the inefficiency and low precision of manually extracting each inspection item of each inspection device, and then, this scheme can also generate structured inspection reports for all inspection devices based on the current target inspection data of each inspection item extracted, thereby improving the efficiency of structured report generation, structured report arrangement, and structured report storage, and can also avoid the problem that the data information arrangement is slow due to the inability to dock special inspection devices, and the data formats are different and cannot be uniformly arranged, thereby improving the efficiency of structured storage of inspection data of different special inspection devices.
[0059] In one embodiment, Figure 1 As shown, a structured report generation method for multiple inspection devices is provided, which is described by taking the application of the method to a terminal as an example, and includes the following steps:
[0060] Step S101 , obtaining inspection report information of each inspection item of each inspection device and structured report requirement information, and identifying inspection data information of each inspection item of each inspection device based on the inspection report information of each inspection item of each inspection device.
[0061] In this embodiment, the terminal obtains the inspection results output by each inspection device through the data crawling program set in each inspection device, and then the terminal splits the inspection results into inspection report information of different inspection items. Among them, the inspection device is an inspection device that does not support docking and interconnection. For example, C13, capsule endoscopy, stress test, liver ultrasound imaging and transient elastic imaging examination, bone density tester, vascular elasticity tester, hearing screening, human body composition, optical coherence tomography scanner, fundus photography, lung function, electrical audiometry, tympanogram, height and weight meter, blood pressure meter, tongue and face pulse information collection constitution identification system (traditional Chinese medicine), vision diagnosis, oral scanning, vascular endothelium, nutritional metabolism, ventilator measurement, balance test, comprehensive assessment of the elderly, capsule gastroscopy, multi-parameter health checker, electroencephalogram, TCD, electromyography and other instruments. Among them, each inspection device can correspond to one or more inspection items, and each inspection item can perform a one-way inspection on the user, so as to obtain the user's inspection report information, and the inspection report information corresponds to multiple sub-report items that need to be displayed to the user / doctor. For example, a blood inspection device includes multiple blood inspection items, wherein the blood routine inspection item includes inspection report contents of multiple types of blood routine inspections, and each inspection report content corresponds to a sub-report item. Then, the terminal extracts the data requirement information of each inspection item of each inspection device that needs to be obtained in the structured report from the structured report template generated based on the daily needs of the staff. The data requirement information can be one or more sub-report items in each sub-report item of each inspection item, and the data format of the sub-report content corresponding to each sub-report item. Then, the terminal identifies the inspection data information of each inspection item of each inspection device based on the inspection report information of each inspection item of each inspection device. The specific identification process will be described in detail later.
[0062] Step S102, based on the structured report requirement information, identify the data requirement information of each inspection item of each inspection device, and for each inspection device, based on the inspection data information of each inspection item of the inspection device and the data requirement information of each inspection item, identify the data extraction strategy corresponding to each target inspection data information of each inspection item.
[0063] In this embodiment, the terminal identifies the data requirement information of each inspection item of each inspection device based on the structured report requirement information, and for each inspection device, based on the inspection data information of each inspection item of the inspection device and the data requirement information of each inspection item, identifies the data extraction strategy corresponding to each target inspection data information of each inspection item. The data extraction strategy includes a data extraction program for each target sub-report item of each inspection item, and a data format conversion strategy after extracting the sub-report content of each target sub-report item. The specific identification process will be described in detail later.
[0064] Step S103, through each data extraction strategy of each inspection device, extract the current target inspection data of each inspection device from the inspection report information of each inspection item of each inspection device, and generate a structured inspection report for all inspection devices based on the inspection items of each current target inspection data.
[0065] In this embodiment, the terminal extracts the current target inspection data of each inspection device from the inspection report information of each inspection item of each inspection device through each data extraction strategy of each inspection device, and generates a structured inspection report for all inspection devices based on the target inspection data information of each current target inspection data and the inspection item of each current target inspection data. Among them, the current target inspection data of each inspection device is the inspection data obtained after data extraction and data format conversion of the sub-report content of each target sub-report item of each inspection item of each inspection device. The specific extraction process will be described in detail later. The structured inspection report is a structured inspection report obtained by filling each target inspection data into the structured inspection report template according to the position of the inspection device to which each target inspection data belongs in the structured inspection report template after structured sorting. The specific filling process will be described in detail later.
[0066] Based on the above scheme, by identifying the inspection data information in the inspection report information of each inspection item of each inspection device, and the structured report requirement information, the target inspection data information in each inspection item of each inspection device, and the data extraction strategy corresponding to each target inspection data information are analyzed, so that the inspection data in each inspection item of each inspection device can be intelligently extracted, avoiding the inefficiency and low precision of manual extraction of each inspection item of each inspection device. Then, this scheme can also generate structured inspection reports for all inspection devices based on the current target inspection data of each inspection item extracted, thereby improving the efficiency of structured report generation, structured report organization, and structured report storage, and can also avoid the problem of slow data information organization due to the inability to connect special inspection equipment, and the inability to uniformly organize data due to different data formats, thereby improving the efficiency of structured storage of inspection data of different special inspection equipment.
[0067] Optionally, based on the inspection report information of each inspection item of each inspection device, the inspection data information of each inspection item of each inspection device is identified, including: for each inspection device, based on the inspection report information of each inspection item of the inspection device, the report content of each report identifier of each inspection item is identified, and for each inspection item, the data type of each report content and the sub-report item corresponding to each report identifier are identified; based on each data type and each sub-report item, each inspection data information corresponding to the inspection item is obtained.
[0068] In this embodiment, the terminal identifies the report content of each report identifier of each inspection item for each inspection device based on the inspection report information of each inspection item of the inspection device, and identifies the data type of each report content and the sub-report item corresponding to each report identifier for each inspection item. Among them, each report identifier of the inspection item is the title / name of each sub-report in the inspection report information corresponding to each inspection item, for example, the number of red blood cells, the number of white blood cells, platelet data, etc. of the blood routine inspection item, and the C-reactive protein data, procalcitonin, etc. of the inflammatory index item. Based on the name of each report identifier, the terminal queries the sub-report item corresponding to each report identifier in the database, wherein the report content corresponding to the report identifier is the sub-report content corresponding to the sub-report item, and the data type of the sub-report content includes text type and picture type, etc. The terminal uses each data type and each sub-report item as each inspection data information corresponding to the inspection item.
[0069] Based on the above scheme, the sub-report items of each inspection item and the data type of the sub-report content corresponding to each sub-report item are identified through report identification, thereby improving the accuracy and efficiency of identifying the inspection data information corresponding to the inspection items.
[0070] Optionally, based on the structured report requirement information, data requirement information of each inspection item of each inspection device is identified, including: splitting the structured report requirement information into report content requirement information of each inspection device, and identifying the project requirement data of each inspection item in each report content requirement information; for each project requirement data, based on the project requirement data, identifying the target data format of the inspection item corresponding to the project requirement data, and the target requirement sub-report item of the inspection item corresponding to the project requirement data; using the target data format of each inspection item and the target requirement sub-report item of each inspection item as the data requirement information of each inspection item.
[0071] In this embodiment, the terminal splits the structured report requirement information into the report content requirement information of each inspection device, and identifies the project requirement data of each inspection item in each report content requirement information. The project requirement data is the requirement content of each inspection item in the structured report requirement information, for example, the requirement content of the blood routine inspection item includes the requirement of red blood cell data, the requirement of white blood cell data, etc.
[0072] Then, for each project requirement data, the terminal identifies the target data format of the inspection project corresponding to the project requirement data and the target requirement sub-report item of the inspection project corresponding to the project requirement data based on the project requirement data. Among them, the sub-report item included in the requirement content is the requirement sub-report item, and the target data format of each inspection item is the data format requirement for each data type of all inspection devices, that is, the data format requirement for each data type of all inspection devices is the same, and because each inspection device comes from a different manufacturer and is not interconnected with each other, the data format of the report content of each data type of each inspection device is different. Then, the terminal uses the target data format of each inspection item and the target requirement sub-report item of each inspection item as the data requirement information of each inspection item.
[0073] Based on the above solution, by identifying the required sub-report items and the target data format, the data requirement information of each inspection item is identified, thereby improving the comprehensiveness and accuracy of the identification of data requirement information.
[0074] Optionally, for each inspection device, based on each inspection data information of each inspection item of the inspection device and the data requirement information of each inspection item, a data extraction strategy corresponding to each target inspection data information of each inspection item is identified, including: for each inspection item, based on each inspection data information of the inspection item and the data requirement information of the inspection item, in each sub-report item of the inspection item, the target sub-report item of the inspection item is screened, and the inspection data information containing the target sub-report item is used as the target inspection data information; based on the data type of the target inspection data information of each inspection item and the target data format corresponding to the data requirement information of each inspection item, a data format adjustment strategy for each inspection item is generated, and based on the data format adjustment strategy of each target inspection data information of each inspection item, a data extraction strategy corresponding to each target inspection data information of each inspection item is generated.
[0075] In this embodiment, for each inspection item, the terminal filters the target sub-report items of the inspection item from among the sub-report items of the inspection item based on the inspection data information of the inspection item and the data requirement information of the inspection item, and uses the inspection data information containing the target sub-report items as the target inspection data information.
[0076] Then, the terminal generates a data format adjustment strategy for each inspection item based on the data type of the target inspection data information of each inspection item and the target data format corresponding to the data requirement information of each inspection item. The data format adjustment strategy is to adjust the data format of the report content of the data type of the target inspection data information of each inspection item to the target data format of the data type.
[0077] Then, the terminal generates a data extraction strategy corresponding to each target inspection data information of each inspection item based on the data format adjustment strategy of each target inspection data information of each inspection item, wherein the data extraction strategy includes a data crawling strategy and a data format adjustment strategy.
[0078] Based on the above solution, data crawling and data format adjustment are performed on the sub-report content corresponding to the target sub-report item of each inspection item to ensure the accuracy of the collected sub-report content and improve the efficiency of data adjustment of each sub-report content after collection.
[0079] Optionally, through each data extraction strategy of each inspection device, the current target inspection data of each inspection device is extracted from the inspection report information of each inspection item of each inspection device, including: for each inspection device, based on each data extraction strategy of the inspection device, extracting the sub-report content of each target sub-report item of each inspection item in the inspection report information of each inspection item of the inspection device; identifying the data format of each sub-report content, and adjusting the data format of the sub-report content of each target sub-report item based on the data format adjustment strategy of the target inspection data information to which each target sub-report item belongs, to obtain the sub-report content corresponding to each target sub-report item; and using the sub-report content corresponding to all target sub-report items as the current target inspection data of the inspection device.
[0080] In this embodiment, the terminal extracts the sub-report content of each target sub-report item of each inspection item from the inspection report information of each inspection item of the inspection device based on each data extraction strategy of the inspection device for each inspection device. Then, the terminal identifies the data format of each sub-report content, and adjusts the data format of the sub-report content of each target sub-report item based on the data format adjustment strategy of the target inspection data information to which each target sub-report item belongs, and obtains the sub-report content corresponding to each target sub-report item. Specifically, the terminal respectively identifies the report information of each sub-report content through the image recognition network and the text recognition network, and outputs the report information as the data type corresponding to the recognition network of the normal report information as the data type of the sub-report content. Among them, the image recognition network is a convolutional neural network (CNN), and the text recognition network is a DBNet text detection network. Then the terminal identifies the data format of each data type in the inspection report information of each inspection device data by querying the inspection database of each inspection device, and obtains the data format of each sub-report content. Finally, the terminal uses the sub-report content corresponding to all target sub-report items as the current target inspection data of the inspection device.
[0081] Based on the above solution, by identifying each identification detection method and identifying the data type of each sub-report content, the accuracy of identifying the data type of the sub-report content is improved.
[0082] Optionally, based on the target inspection data information of each current target inspection data and the inspection items of each current target inspection data, a structured inspection report for all inspection devices is generated, including: obtaining the report structure of each inspection device, and for each inspection device, based on the report structure of the inspection device, performing data sorting processing on the sub-report content corresponding to each target sub-report item to obtain the sub-inspection report of the inspection device, and obtaining the template structure information of the structured inspection report template; based on the template structure information, identifying the report structured sorting information of each inspection device, and based on the report structured sorting information of each inspection device, filling the sub-inspection report of each inspection device into the structured inspection report template to obtain a structured inspection report.
[0083] In this embodiment, the terminal obtains the report structure of each inspection device, and for each inspection device, based on the report structure of the inspection device, performs data sorting processing on the sub-report content corresponding to each target sub-report item, obtains the sub-inspection report of the inspection device, and obtains the template structure information of the structured inspection report template. Among them, the inspection report information of each inspection item includes the sorting information of each sub-report item, and all inspection items of the inspection device correspond to the inspection item sorting information. Based on the sorting information of each sub-report item, the terminal sorts the sub-report content corresponding to each sub-report item to obtain the project report of each inspection item, and based on the inspection item sorting information, sorts the project report of each inspection item to obtain the sub-inspection report of the inspection device.
[0084] The terminal identifies the structured sorting information of the reports of each inspection device based on the template structure information, and fills the sub-inspection reports of each inspection device into the structured inspection report template based on the structured sorting information of the reports of each inspection device to obtain a structured inspection report. The structured sorting information includes the filling position information of the sub-inspection reports of each inspection device in the structured inspection report template. The terminal fills the filling position information of each inspection device into the structured inspection report template to obtain a structured inspection report.
[0085] Based on the above solution, a structured inspection report is obtained by sorting the contents of each sub-report of each inspection item and then intelligently filling the structured inspection report template, thereby improving the efficiency and accuracy of structured report generation.
[0086] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0087] Based on the same inventive concept, the embodiment of the present application also provides a structured report generation system for multiple inspection devices for implementing the structured report generation method for multiple inspection devices involved above. The implementation scheme for solving the problem provided by the system is similar to the implementation scheme recorded in the above method, so the specific limitations of the structured report generation system embodiment for one or more multiple inspection devices provided below can refer to the limitations of the structured report generation method for multiple inspection devices above, and will not be repeated here.
[0088] Further references Figure 2 , as a response to the above Figure 1 In order to implement the method shown, the present application provides an embodiment of a structured report generation system 200 for multiple inspection devices, the structured report generation system for multiple inspection devices comprises an acquisition module 210, an identification module 220 and a generation module 230, wherein:
[0089] An acquisition module 210, configured to acquire inspection report information of each inspection item of each inspection device and structured report requirement information, and identify inspection data information of each inspection item of each inspection device based on the inspection report information of each inspection item of each inspection device;
[0090] an identification module 220, configured to identify data requirement information of each inspection item of each inspection device based on the structured report requirement information, and for each inspection device, based on each inspection data information of each inspection item of the inspection device and the data requirement information of each inspection item, identify a data extraction strategy corresponding to each target inspection data information of each inspection item;
[0091] Generation module 230 is used to extract the current target inspection data of each inspection device from the inspection report information of each inspection item of each inspection device through each data extraction strategy of each inspection device, and generate a structured inspection report for all inspection devices based on the inspection items described in each current target inspection data.
[0092] Optionally, the acquisition module 210 is specifically configured to:
[0093] For each inspection device, based on the inspection report information of each inspection item of the inspection device, identify the report content of each report identifier of each inspection item, and for each inspection item, identify the data type of each report content and the sub-report item corresponding to each report identifier;
[0094] Based on each data type and each sub-report item, each inspection data information corresponding to the inspection item is obtained.
[0095] Optionally, the identification module 220 is specifically configured to:
[0096] Splitting the structured report requirement information into report content requirement information for each inspection device, and identifying item requirement data for each inspection item in each report content requirement information;
[0097] For each item requirement data, based on the item requirement data, identifying the target data format of the inspection item corresponding to the item requirement data and the target requirement sub-report item of the inspection item corresponding to the item requirement data;
[0098] The target data format of each inspection item and the target requirement sub-report item of each inspection item are used as the data requirement information of each inspection item.
[0099] Optionally, the identification module 220 is specifically configured to:
[0100] For each inspection item, based on each inspection data information of the inspection item and data requirement information of the inspection item, a target sub-report item of the inspection item is screened out from each sub-report item of the inspection item, and the inspection data information containing the target sub-report item is used as the target inspection data information;
[0101] Based on the data type of the target inspection data information of each inspection item and the target data format corresponding to the data requirement information of each inspection item, a data format adjustment strategy for each inspection item is generated; and based on the data format adjustment strategy for each target inspection data information of each inspection item, a data extraction strategy corresponding to each target inspection data information of each inspection item is generated.
[0102] Optionally, the generating module 230 is specifically configured to:
[0103] For each inspection device, based on each data extraction strategy of the inspection device, extracting sub-report content of each target sub-report item of each inspection item from the inspection report information of each inspection item of the inspection device;
[0104] Identify the data format of each sub-report content, and adjust the data format of the sub-report content of each target sub-report item based on the data format adjustment strategy of the target inspection data information to which each target sub-report item belongs, to obtain the sub-report content corresponding to each target sub-report item;
[0105] The sub-report contents corresponding to all target sub-report items are used as the current target inspection data of the inspection device.
[0106] Optionally, the generating module 230 is specifically configured to:
[0107] Acquire the report structure of each inspection device, and for each inspection device, perform data sorting processing on the sub-report content corresponding to each target sub-report item based on the report structure of the inspection device, obtain the sub-inspection report of the inspection device, and obtain the template structure information of the structured inspection report template;
[0108] Based on the template structure information, the report structured sorting information of each inspection device is identified, and based on the report structured sorting information of each inspection device, the sub-inspection report of each inspection device is filled into the structured inspection report template to obtain a structured inspection report.
[0109] Each module in the structured report generation system for multiple inspection devices can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0110] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 3As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input system connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a structured report generation method for multiple inspection devices is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input system of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0111] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0112] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of any one of the methods in the first aspect are implemented.
[0113] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.
[0114] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the steps of any one of the methods in the first aspect.
[0115] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0116] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0117] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0118] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for generating a structured report for multiple inspection devices, characterized in that: The method comprises: Obtaining inspection report information of each inspection item of each inspection device and structured report requirement information, and identifying inspection data information of each inspection item of each inspection device based on the inspection report information of each inspection item of each inspection device; Based on the structured report requirement information, identify the data requirement information of each inspection item of each inspection device, and for each inspection device, based on the inspection data information of each inspection item of the inspection device and the data requirement information of each inspection item, identify the data extraction strategy corresponding to each target inspection data information of each inspection item; Through each data extraction strategy of each inspection device, the current target inspection data of each inspection device is extracted from the inspection report information of each inspection item of each inspection device, and a structured inspection report of all inspection devices is generated based on the inspection items described in each current target inspection data.
2. The method according to claim 1, characterized in that The identifying the inspection data information of each inspection item of each inspection device based on the inspection report information of each inspection item of each inspection device includes: For each inspection device, based on the inspection report information of each inspection item of the inspection device, identify the report content of each report identifier of each inspection item, and for each inspection item, identify the data type of each report content and the sub-report item corresponding to each report identifier; Based on each data type and each sub-report item, each inspection data information corresponding to the inspection item is obtained.
3. The method according to claim 2, characterized in that The step of identifying data requirement information of each inspection item of each inspection device based on the structured report requirement information includes: Splitting the structured report requirement information into report content requirement information for each inspection device, and identifying item requirement data for each inspection item in each report content requirement information; For each item requirement data, based on the item requirement data, identifying the target data format of the inspection item corresponding to the item requirement data and the target requirement sub-report item of the inspection item corresponding to the item requirement data; The target data format of each inspection item and the target requirement sub-report item of each inspection item are used as the data requirement information of each inspection item.
4. The method according to claim 3, characterized in that The step of identifying, for each inspection device, the data extraction strategy corresponding to each target inspection data information of each inspection item based on each inspection data information of each inspection item of the inspection device and the data requirement information of each inspection item, includes: For each inspection item, based on each inspection data information of the inspection item and data requirement information of the inspection item, a target sub-report item of the inspection item is screened out from each sub-report item of the inspection item, and the inspection data information containing the target sub-report item is used as the target inspection data information; Based on the data type of the target inspection data information of each inspection item and the target data format corresponding to the data requirement information of each inspection item, a data format adjustment strategy for each inspection item is generated; and based on the data format adjustment strategy for each target inspection data information of each inspection item, a data extraction strategy corresponding to each target inspection data information of each inspection item is generated.
5. The method according to claim 4, characterized in that The method of extracting the current target inspection data of each inspection device from the inspection report information of each inspection item of each inspection device through each data extraction strategy of each inspection device includes: For each inspection device, based on each data extraction strategy of the inspection device, extracting sub-report content of each target sub-report item of each inspection item from the inspection report information of each inspection item of the inspection device; Identify the data format of each sub-report content, and adjust the data format of the sub-report content of each target sub-report item based on the data format adjustment strategy of the target inspection data information to which each target sub-report item belongs, to obtain the sub-report content corresponding to each target sub-report item; The sub-report contents corresponding to all target sub-report items are used as the current target inspection data of the inspection device.
6. The method according to claim 5, characterized in that For each inspection item described in the current target inspection data, a structured inspection report for all inspection equipment is generated, including: Acquire the report structure of each inspection device, and for each inspection device, perform data sorting processing on the sub-report content corresponding to each target sub-report item based on the report structure of the inspection device, obtain the sub-inspection report of the inspection device, and obtain the template structure information of the structured inspection report template; Based on the template structure information, the report structured sorting information of each inspection device is identified, and based on the report structured sorting information of each inspection device, the sub-inspection report of each inspection device is filled into the structured inspection report template to obtain a structured inspection report.
7. A structured report generation system for multiple inspection devices, characterized in that: The system comprises: an acquisition module, used to acquire inspection report information of each inspection item of each inspection device and structured report requirement information, and identify inspection data information of each inspection item of each inspection device based on the inspection report information of each inspection item of each inspection device; an identification module, configured to identify data requirement information of each inspection item of each inspection device based on the structured report requirement information, and for each inspection device, identify a data extraction strategy corresponding to each target inspection data information of each inspection item based on each inspection data information of each inspection item of the inspection device and the data requirement information of each inspection item; A generation module is used to extract the current target inspection data of each inspection device from the inspection report information of each inspection item of each inspection device through each data extraction strategy of each inspection device, and generate a structured inspection report for all inspection devices based on the inspection items described in each current target inspection data.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.