Method for automatically generating inspection report, medium and equipment

By formulating inspection report templates and dynamically obtaining monitoring indicator values, combining neural network models and vocabulary fuzzy matching algorithms, the inspection report is automatically rendered, and the problem of complex and time-consuming generation of inspection reports in the existing technology is solved, achieving efficient and accurate Report generation.

CN119227660APending Publication Date: 2024-12-31福建博思数字科技有限公司
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411290607.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

The existing inspection report generation method is complex, time-consuming and error-prone, and requires manual filling of monitoring indicator values, resulting in inefficient efficiency and high error rate.

Method used

By formulating a patrol report template, defining monitoring indicators and their corresponding parameters, dynamically obtaining the index values ​​in the monitoring system, generating an index dictionary set, and automatically rendering the patrol report using neural network models and vocabulary fuzzy matching algorithm to achieve automatic generation.

Benefits of technology

It greatly improves the efficiency of the generation of inspection reports, reduces the error rate caused by manual filling, simplifies the operation process, and improves the accuracy and consistency of reports.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119227660A_ABST
    Figure CN119227660A_ABST
Patent Text Reader

Abstract

The invention discloses a method for automatically generating an inspection report, a medium and equipment, and the method comprises the steps: formulating an inspection report template according to a project demand, and the inspection report template comprises a plurality of monitoring indexes; defining a first parameter corresponding to each monitoring index in the inspection monitoring program, and mapping the first parameter with a second parameter in the monitoring system to obtain a configuration file; dynamically obtaining index values corresponding to the second parameters from the monitoring system according to the configuration file, sequentially storing the obtained index values and first parameter names corresponding to the second parameters, and obtaining an index dictionary set after the index values of all monitoring indexes in the inspection report template are obtained; and automatically rendering the inspection report template according to the index dictionary set to obtain an inspection report. According to the scheme, the monitoring indexes in the dynamic implementation template and the monitoring system index names are dynamically mapped in the monitoring program, so that the inspection report can be automatically generated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method, medium and device for automatically generating an inspection report. Background Art

[0002] At present, system operation and maintenance personnel need to output project inspection reports (including daily inspection reports, monthly inspection reports, quarterly inspection reports, etc.) according to project requirements in daily software system operation and maintenance. Usually, the operation and maintenance personnel first formulate an inspection template, define a series of indicator names that need to be inspected in the template, then log in to the monitoring system, manually filter out the inspection indicator names defined in the inspection template, select the time range according to daily report, monthly report, quarterly report, etc., and manually fill in the queried monitoring values ​​into the corresponding inspection indicator names in the inspection template. This method takes a lot of time, and manual filling is prone to filling errors. Summary of the invention

[0003] In view of the above problems, the present application provides a technical solution for automatically generating inspection reports to solve the problems of the existing inspection report generation method, which is complicated in operation, time-consuming, labor-intensive, and prone to errors.

[0004] To achieve the above objectives, in a first aspect, the present application provides a method for automatically generating an inspection report, the method comprising:

[0005] Formulate an inspection report template according to project requirements, wherein the inspection report template includes multiple monitoring indicators;

[0006] Defining first parameters corresponding to each monitoring indicator in the inspection and monitoring program, and mapping the first parameters with second parameters in the monitoring system to obtain a configuration file;

[0007] Dynamically obtain the indicator value corresponding to each second parameter from the monitoring system according to the configuration file, sequentially store the obtained indicator value and the first parameter name corresponding to the second parameter, and obtain the indicator dictionary set after the indicator values ​​of all monitoring indicators in the inspection report template are obtained;

[0008] The inspection report template is automatically rendered according to the indicator dictionary set to obtain an inspection report.

[0009] Furthermore, the inspection report template formulated according to project requirements includes:

[0010] Obtaining project demand problem information, inputting the project demand problem information into the trained first neural network model, and outputting the inspection report template;

[0011] The first neural network model is trained according to the following method:

[0012] Obtaining sample project demand problem information, and determining project basic inspection information according to the sample project demand problem information;

[0013] Business data and historical feedback information are received, the basic inspection information is iteratively updated, and the inspection report template is generated based on the iteratively updated project basic inspection information.

[0014] Furthermore, the method further comprises:

[0015] Receive new monitoring indicator addition instructions for the inspection report template, and insert new indicator value acquisition instructions in the inspection monitoring program, wherein the indicator value acquisition instructions include the coordinate position of the current newly added monitoring indicator name in the inspection report template, the first parameter name corresponding to the newly added monitoring indicator name, and the second parameter name of the first parameter name in the monitoring system.

[0016] Furthermore, the method further comprises:

[0017] Receive the monitoring indicator modification instruction for the inspection report template, and determine whether the type of the currently modified monitoring indicator has changed through a vocabulary fuzzy matching algorithm. If there is no change, keep the configuration file unchanged. If there is a change, determine the new first parameter from the inspection monitoring program according to the modified monitoring indicator name, and map the new first parameter to the position of the current monitoring indicator in the inspection report template and store it.

[0018] Further, the monitoring indicator includes detailed indicators, the detailed indicators include minimum values, maximum values ​​and average values, and the indicator dictionary set includes a minimum value set, a maximum value set and an average value set;

[0019] The minimum values ​​corresponding to all monitoring indicators are stored in the minimum value set;

[0020] The maximum values ​​corresponding to all monitoring indicators are stored in the maximum value set;

[0021] The average values ​​corresponding to all monitoring indicators are stored in the average value set;

[0022] The automatically rendering the inspection report template according to the indicator dictionary set includes:

[0023] The inspection report template is automatically rendered according to the minimum value set, the maximum value set and the average value set arranged in a preset order.

[0024] Furthermore, after obtaining the inspection report, the method further includes:

[0025] Check whether the corresponding second parameter index value in the inspection report has not been obtained. If so, determine the first parameter according to the location of the area, and obtain the corresponding second parameter index value according to the determined first parameter and fill in the area. If the corresponding second parameter index value has not been obtained, issue a prompt message.

[0026] Further, the inspection report template is stored in a public class of the server, and the method includes:

[0027] When receiving the inspection report generation instruction sent by the terminal, obtaining the inspection report template in the public class of the server, and generating a template copy and copy template marking information based on the obtained inspection report template;

[0028] After the inspection report is automatically rendered based on the template copy and the indicator dictionary set, the inspection report is stored in a private class corresponding to the terminal, and the terminal identifier and template call time are recorded in the copy template tag information.

[0029] Furthermore, the method comprises:

[0030] The inspection report in the private class is sent to the corresponding terminal, and after the terminal has downloaded the inspection report, the inspection report template copy and / or the inspection report is deleted from the corresponding private class.

[0031] In a second aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for automatically generating an inspection report as described in the first aspect of the present application.

[0032] In a third aspect, the present application provides an electronic device having a computer program stored thereon, comprising a processor and a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by the processor, the method for automatically generating an inspection report as described in the first aspect of the present application is implemented.

[0033] Different from the prior art, the above technical solution involves a method, medium and device for automatically generating inspection reports, which method includes: formulating an inspection report template according to project requirements, wherein the inspection report template includes multiple monitoring indicators; defining the first parameter corresponding to each monitoring indicator in the inspection monitoring program, and mapping the first parameter with the second parameter in the monitoring system to obtain a configuration file; dynamically obtaining the indicator value corresponding to each second parameter from the monitoring system according to the configuration file, and sequentially storing the obtained indicator value and the first parameter name corresponding to the second parameter, and obtaining the indicator dictionary set after the indicator values ​​of all monitoring indicators in the inspection report template are obtained; automatically rendering the inspection report template according to the indicator dictionary set to obtain the inspection report. The above scheme can realize the automatic acquisition of monitoring indicators and the automatic generation of inspection reports by customizing the monitoring indicator name in the inspection report template and dynamically mapping the monitoring indicators in the template with the monitoring system indicator name in the monitoring program, which improves efficiency while reducing the occurrence of errors caused by manual filling.

[0034] The above-mentioned records related to the invention content are only an overview of the technical solution of the present application. In order to enable ordinary technicians in the field to more clearly understand the technical solution of the present application, and then implement it according to the text of the specification and the contents recorded in the drawings, and to make the above-mentioned purpose and other purposes, features and advantages of the present application easier to understand, the following is an explanation in combination with the specific implementation mode and drawings of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The drawings are only used to illustrate the principles, implementation methods, applications, characteristics and effects of the specific embodiments of the present invention and other related contents, and shall not be considered as limiting the present application.

[0036] In the drawings of the specification:

[0037] Figure 1 A flowchart of a method for automatically generating an inspection report according to a first exemplary embodiment of the present application;

[0038] Figure 2 A flowchart of a method for automatically generating an inspection report according to a second exemplary embodiment of the present application;

[0039] Figure 3 A flowchart of a method for automatically generating an inspection report according to a third exemplary embodiment of the present application;

[0040] Figure 4 A flowchart of a method for automatically generating an inspection report according to a fourth exemplary embodiment of the present application;

[0041] Figure 5 A flowchart of a method for automatically generating an inspection report according to a fourth exemplary embodiment of the present application;

[0042] Figure 6 A schematic diagram of an electronic device according to an exemplary embodiment of the present application;

[0043] The reference numerals in the above drawings are described as follows:

[0044] 10. Electronic equipment;

[0045] 101. Processor;

[0046] 102. Storage medium. DETAILED DESCRIPTION

[0047] In order to explain in detail the possible application scenarios, technical principles, specific schemes that can be implemented, and the purposes and effects that can be achieved, the following is a detailed description of the specific embodiments listed in conjunction with the accompanying drawings. The embodiments described herein are only used to more clearly illustrate the technical solutions of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.

[0048] Reference to "embodiment" herein means that the specific features, structures or characteristics described in conjunction with the embodiment may be included in at least one embodiment of the present application. The term "embodiment" appearing in various places in the specification does not necessarily refer to the same embodiment, nor does it particularly limit its independence or association with other embodiments. In principle, in the present application, as long as there is no technical contradiction or conflict, the various technical features mentioned in the embodiments can be combined in any way to form a corresponding implementable technical solution.

[0049] Unless otherwise defined, the technical terms used in this document have the same meanings as those generally understood by those skilled in the art to which this application belongs; the use of relevant terms in this document is only for describing specific embodiments and is not intended to limit this application.

[0050] In the description of this application, the term "and / or" is an expression used to describe the logical relationship between objects, indicating that three relationships may exist, for example, A and / or B, which means: A exists, B exists, and A and B exist at the same time. In addition, the character " / " in this article generally indicates that the objects before and after are in an "or" logical relationship.

[0051] In the present application, terms such as “first” and “second” are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship of quantity, priority or sequence between these entities or operations.

[0052] Without further limitations, in this application, the words "include", "comprises", "has" or other similar open-ended expressions used in sentences are intended to cover non-exclusive inclusion. These expressions do not exclude the presence of additional elements in the process, method or product including the elements, so that the process, method or product including a series of elements may include not only those limited elements, but also other elements not explicitly listed, or also include elements inherent to such process, method or product.

[0053] Similar to the understanding in the Examination Guidelines, in this application, expressions such as "greater than", "less than", "exceed" and the like are understood to exclude the number itself; expressions such as "above", "below", "within" and the like are understood to include the number itself. In addition, in the description of the embodiments of this application, "multiple" means more than two (including two), and similar expressions related to "multiple" are also understood in this way, such as "multiple groups", "multiple times", etc., unless otherwise clearly and specifically limited.

[0054] In the description of the embodiments of the present application, space-related expressions used, such as "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "vertical", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc., indicate the orientation or position relationship based on the orientation or position relationship shown in the specific embodiments or drawings, and are only for the convenience of describing the specific embodiments of the present application or facilitating the reader's understanding, and do not indicate or imply that the referred device or component must have a specific position, a specific orientation, or be constructed or operated in a specific orientation, and therefore cannot be understood as a limitation on the embodiments of the present application.

[0055] Unless otherwise expressly specified or limited, in the description of the embodiments of the present application, the terms such as "install", "connect", "connect", "fix", "set", etc. used should be understood in a broad sense. For example, the "connection" can be a fixed connection, a detachable connection, or an integrated setting; it can be a mechanical connection, an electrical connection, or a communication connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium; it can be the internal connection of two elements or the interaction relationship between two elements. For technicians in the technical field to which the present application belongs, the specific meanings of the above terms in the embodiments of the present application can be understood according to the specific circumstances.

[0056] like Figure 1 As shown, in a first aspect, the present application provides a method for automatically generating an inspection report, the method comprising:

[0057] First, enter step S101 to formulate an inspection report template according to project requirements, wherein the inspection report template includes multiple monitoring indicators;

[0058] Then, step S102 is entered to define the first parameters corresponding to each monitoring indicator in the inspection and monitoring program, and the first parameters are mapped with the second parameters in the monitoring system to obtain a configuration file;

[0059] Then, step S103 is entered, in which the indicator values ​​corresponding to the second parameters are dynamically obtained from the monitoring system according to the configuration file, and the obtained indicator values ​​and the first parameter names corresponding to the second parameters are sequentially stored. After the indicator values ​​of all monitoring indicators in the inspection report template are obtained, an indicator dictionary set is obtained;

[0060] Then, the process proceeds to step S104 to automatically render the inspection report template according to the indicator dictionary set to obtain an inspection report.

[0061] The above solution customizes the monitoring indicator name in the inspection report template and dynamically maps the monitoring indicators in the template with the monitoring system indicator name in the monitoring program, so as to realize the automatic acquisition of monitoring indicators and the automatic generation of inspection reports. While improving efficiency, it also reduces the occurrence of errors caused by manual filling.

[0062] In some embodiments, formulating the inspection report template according to the project requirements includes: obtaining project requirement problem information, inputting the project requirement problem information into a trained first neural network model, and outputting the inspection report template;

[0063] like Figure 2 As shown, the first neural network model is trained according to the following method:

[0064] First, enter step S201 to obtain sample project demand problem information, and determine the project basic inspection information according to the sample project demand problem information;

[0065] Then, the process proceeds to step S202 to receive business data and historical feedback information, iteratively update the basic inspection information, and generate the inspection report template based on the iteratively updated project basic inspection information.

[0066] In short, the project requirement question information is the user's general needs for the current project, which can be presented in the form of questions or statements. For example, if the project requirement question information is "I want an inspection report of the power equipment that is currently running", the first neural network model will determine the basic inspection information of the project required for the inspection report related to the power equipment based on the question and historical data. The basic inspection information includes parameters such as the monitoring indicator name, indicator-related range, and indicator type. After each inspection report template is generated, the user can also modify the indicator type therein. These modification results can be re-transmitted into the first neural network model as historical feedback information for iterative update, so that the next inspection report template generated by the first neural network model is more in line with project needs.

[0067] In some embodiments, the method also includes: receiving a new monitoring indicator addition instruction for the inspection report template, inserting a new indicator value acquisition instruction in the inspection monitoring program, the indicator value acquisition instruction including the coordinate position of the current newly added monitoring indicator name in the inspection report template, the first parameter name corresponding to the newly added monitoring indicator name, and the second parameter name of the first parameter name in the monitoring system.

[0068] In short, if it is detected that the user has added a new monitoring indicator to the initial inspection report template, a corresponding code will be automatically inserted into the inspection monitoring program. The code is to obtain the value of the newly added monitoring indicator and define the first parameter name related to the monitoring indicator and the second parameter name in the monitoring system. For example, a new inspection indicator named "A" is added to the inspection report template. The first parameter corresponding to the inspection indicator in the inspection monitoring program is "B", and "B" is dynamically mapped to the second parameter "C" in the monitoring system. The function to be achieved by the indicator value acquisition instruction is "obtain the indicator value corresponding to C from the monitoring system, and fill the C value into the coordinate position of the newly added monitoring indicator name in the inspection report template". By dynamically mapping the first parameter B and the second parameter C, when the monitoring indicator changes, there is no need to adjust the indicator name in the monitoring system code, but only to dynamically adjust the mapping relationship between the two parameters in the inspection monitoring program.

[0069] In some embodiments, the method also includes: receiving a monitoring indicator modification instruction for the inspection report template, determining whether the type of the currently modified monitoring indicator has changed through a vocabulary fuzzy matching algorithm, if there is no change, keeping the configuration file unchanged, if there is a change, determining a new first parameter from the inspection monitoring program based on the modified monitoring indicator name, and mapping the new first parameter to the position of the current monitoring indicator in the inspection report template and storing it.

[0070] In short, the monitoring indicator names in the inspection report template are usually in the form of common languages, such as English or Chinese. In order to facilitate users to directly adjust the monitoring indicator names in the inspection report template, this application can perform fuzzy vocabulary matching on the content modified by the user operation. If the meaning of the content before and after the customer's modification has not changed, such as "traffic value" is changed to "traffic value", there is no need to adjust the mapping relationship of the parameters. If it is found that the meaning of the modified content has changed before and after, such as "traffic value" is changed to "user visits", it means that the indicator value to be obtained in the corresponding area position in the template has also changed accordingly, so it is necessary to re-match the mapping relationship, that is, to associate the first parameter corresponding to "user visits" in the inspection monitoring program with the coordinate position of the current monitoring indicator in the template, so as to ensure that after the value of the second parameter corresponding to the new first parameter is obtained from the monitoring system, it can be accurately filled in the coordinate area position.

[0071] In some embodiments, the monitoring indicator includes a detailed indicator, the detailed indicator includes a minimum value, a maximum value and an average value, and the indicator dictionary set includes a minimum value set, a maximum value set and an average value set;

[0072] The minimum values ​​corresponding to all monitoring indicators are stored in the minimum value set;

[0073] The maximum values ​​corresponding to all monitoring indicators are stored in the maximum value set;

[0074] The average values ​​corresponding to all monitoring indicators are stored in the average value set;

[0075] The automatically rendering the inspection report template according to the indicator dictionary set includes: automatically rendering the inspection report template according to the minimum value set, the maximum value set and the average value set arranged in a preset order.

[0076] In short, the obtained indicator types can be classified through the collection method, and the indicator values ​​of the same category can be listed in the same collection. Then, the inspection report template is rendered in units of collections according to the priority, that is, different types of monitoring indicators can be filled into the inspection report template in batches.

[0077] In some embodiments, Figure 3 As shown, after obtaining the inspection report, the method further includes:

[0078] First, enter step S301 to check whether the corresponding second parameter indicator value in the inspection report has not been obtained. If so, enter step S302 to determine the first parameter according to the position of the area, and obtain the corresponding second parameter indicator value according to the determined first parameter and fill in the area. If the corresponding second parameter indicator value has not been obtained, enter step S303 to issue a prompt message.

[0079] In step S301, the coordinate position of each area in the inspection report template may be obtained first, and after the inspection report is generated, it is determined whether a value is filled in according to the coordinate position of each area.

[0080] In step S302, if it is found that there is an area without an indicator value filled in, it is possible that the inspection and monitoring program has not executed the indicator value acquisition instruction, so it will re-execute the acquisition instruction to obtain the corresponding indicator value.

[0081] In step S303, if the corresponding second parameter index value is still not obtained during the execution of the acquisition instruction, it is possible that the second parameter does not exist in the monitoring system, or does not exist in the mapping relationship between the first parameter and the second parameter, so a prompt message needs to be issued to troubleshoot this situation. The prompt message can be a sound prompt, a light prompt, a vibration prompt, or a text or graphic prompt on the display interface of the display device.

[0082] In step S304, the inspection report template is stored in a public class of the server, such as Figure 4 As shown, the method includes:

[0083] First, enter step S401, when receiving the inspection report generation instruction sent by the terminal, obtain the inspection report template in the public class of the server, and generate a template copy and copy template marking information based on the obtained inspection report template;

[0084] Then, step S402 is entered to automatically render the inspection report based on the template copy and the indicator dictionary set, store the inspection report into the private class corresponding to the terminal, and record the terminal identifier and template call time in the copy template tag information.

[0085] Through the above method, on the one hand, it can meet the needs of multiple terminals to synchronously call the inspection report template at the same time, so that the calling process of each terminal does not conflict with each other. On the other hand, the calling time and usage of the inspection report template can be recorded through the marking information to facilitate tracking and tracing. Preferably, the copy template marking information is also used to record each modification content of the template copy.

[0086] In some embodiments, the method includes: sending the inspection report in the private class to the corresponding terminal, and after the terminal has downloaded the inspection report, deleting the inspection report template copy and / or the inspection report from the corresponding private class. This can save space in the private class corresponding to each terminal.

[0087] like Figure 5 As shown, in some embodiments, the method involved in the present application further includes the following steps:

[0088] S10: Develop inspection report templates based on project requirements.

[0089] Operation and maintenance personnel can write inspection report templates based on the dimensions of inspection indicators required by the project. For example, they can design an inspection indicator table in the template file and define the inspection indicator name.

[0090] For example, design a database inspection status table, which contains columns such as inspection items, minimum value, average value, and maximum value; the inspection item column defines a visual name, and the minimum value, average value, and maximum value columns are filled with inspection indicator names (dzjf_mysql_used_connection_min, dzjf_mysql_used_connection_avg, dzjf_mysql_used_connection_max).

[0091] S20: Create a configuration file based on the indicators defined in the inspection template.

[0092] Specifically, you can create a configuration file based on the indicator name defined in the inspection template and associate it with the monitoring system indicator. For example, dzjf_mysql_used_connection corresponds to the "MySQL Used connection" in the monitoring system.

[0093] S30: Dynamically obtain indicators from the monitoring system according to the configuration file.

[0094] Specifically, according to the inspection indicator items configured in the configuration file, the minimum value, average value, and maximum value of the indicator can be dynamically obtained from the monitoring system, and the indicator name and the obtained monitoring value can be saved in the dictionary.

[0095] The dictionary is the indicator dictionary set mentioned above, for example: {"dzjf_mysql_used_connection_min":85}.

[0096] S40: Automatically render the inspection report according to the dictionary content in step S30.

[0097] Specifically, the inspection indicator names defined in the inspection report template may be automatically replaced with the collected monitoring values ​​according to the dictionary content in step S30.

[0098] For example, the minimum value column dzjf_mysql_used_connection_min (a monitoring indicator) in the database inspection status table is rendered as "85".

[0099] S50: The rendered inspection report file is automatically sent to the medium.

[0100] The inspection report files are sent through media such as the enterprise WeChat robot, making it convenient for system operation and maintenance personnel to download them.

[0101] In a second aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method for automatically generating an inspection report as described in the first aspect of the present invention is implemented.

[0102] The computer-readable storage medium may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories.

[0103] The non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a ferromagnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD ROM); the magnetic surface memory can be a disk memory or a tape memory.

[0104] The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), direct memory bus random access memory (DRRAM). The computer-readable storage medium described in the embodiments of the present invention is intended to include these and any other suitable types of memory.

[0105] like Figure 6 As shown, in a third aspect, the present invention provides an electronic device 10, comprising a processor 101 and a storage medium 102, wherein a computer program is stored on the storage medium, and when the computer program is executed by the processor, the method for automatically generating an inspection report as described in the first aspect of the present invention is implemented.

[0106] In some embodiments, the processor can be implemented by software, hardware, firmware or a combination thereof, and can use circuits, single or multiple application specific integrated circuits (Application Specific Integrated Circuit, ASIC), digital signal processors (Digital Signal Processor, DSP), digital signal processing devices (Digital Signal Processing Device, DSPD), programmable logic devices (Programmable Logic Device, PLD), field programmable gate arrays (Field Programmable Gate Array, FPGA), central processing units (Central Processing Unit, CPU), controllers, microcontrollers, at least one of microprocessors, so that the processor can execute some or all of the steps in the method for automatically generating inspection reports described in the various embodiments of the present application, or any combination of the steps therein.

[0107] Finally, it should be noted that although the above embodiments have been described in the specification and drawings of this application, this does not limit the scope of patent protection of this application. All technical solutions generated by replacing or modifying equivalent structures or equivalent processes based on the essential concept of this application using the contents recorded in the specification and drawings of this application, as well as directly or indirectly implementing the technical solutions of the above embodiments in other related technical fields, are included in the scope of patent protection of this application.

Claims

1. A method for automatically generating an inspection report, characterized in that: The method comprises: Formulate an inspection report template according to project requirements, wherein the inspection report template includes multiple monitoring indicators; Defining first parameters corresponding to each monitoring indicator in the inspection and monitoring program, and mapping the first parameters with second parameters in the monitoring system to obtain a configuration file; Dynamically obtain the indicator value corresponding to each second parameter from the monitoring system according to the configuration file, sequentially store the obtained indicator value and the first parameter name corresponding to the second parameter, and obtain the indicator dictionary set after the indicator values ​​of all monitoring indicators in the inspection report template are obtained; The inspection report template is automatically rendered according to the indicator dictionary set to obtain an inspection report.

2. The method for automatically generating an inspection report according to claim 1, characterized in that: The inspection report template formulated according to project requirements includes: Obtaining project demand problem information, inputting the project demand problem information into the trained first neural network model, and outputting the inspection report template; The first neural network model is trained according to the following method: Obtaining sample project demand problem information, and determining project basic inspection information according to the sample project demand problem information; Business data and historical feedback information are received, the basic inspection information is iteratively updated, and the inspection report template is generated based on the iteratively updated project basic inspection information.

3. The method for automatically generating an inspection report according to claim 1, characterized in that: The method further comprises: Receive new monitoring indicator addition instructions for the inspection report template, and insert new indicator value acquisition instructions in the inspection monitoring program, wherein the indicator value acquisition instructions include the coordinate position of the current newly added monitoring indicator name in the inspection report template, the first parameter name corresponding to the newly added monitoring indicator name, and the second parameter name of the first parameter name in the monitoring system.

4. The method for automatically generating an inspection report according to claim 1, characterized in that: The method further comprises: Receive the monitoring indicator modification instruction for the inspection report template, and determine whether the type of the currently modified monitoring indicator has changed through a vocabulary fuzzy matching algorithm. If there is no change, keep the configuration file unchanged; if there is a change, determine a new first parameter from the inspection monitoring program according to the modified monitoring indicator name, and map the new first parameter to the position of the current monitoring indicator in the inspection report template and store it.

5. The method for automatically generating an inspection report according to claim 1, characterized in that: The monitoring indicator includes detailed indicators, the detailed indicators include minimum values, maximum values ​​and average values, and the indicator dictionary set includes a minimum value set, a maximum value set and an average value set; The minimum values ​​corresponding to all monitoring indicators are stored in the minimum value set; The maximum values ​​corresponding to all monitoring indicators are stored in the maximum value set; The average values ​​corresponding to all monitoring indicators are stored in the average value set; The automatically rendering the inspection report template according to the indicator dictionary set includes: The inspection report template is automatically rendered according to the minimum value set, the maximum value set and the average value set arranged in a preset order.

6. The method for automatically generating an inspection report according to claim 1, characterized in that: After obtaining the inspection report, the method further includes: Check whether the corresponding second parameter index value in the inspection report has not been obtained. If so, determine the first parameter according to the location of the area, and obtain the corresponding second parameter index value according to the determined first parameter and fill in the area. If the corresponding second parameter index value has not been obtained, issue a prompt message.

7. The method for automatically generating an inspection report according to claim 1, characterized in that: The inspection report template is stored in a public class on the server side, and the method includes: When receiving the inspection report generation instruction sent by the terminal, obtaining the inspection report template in the public class of the server, and generating a template copy and copy template marking information based on the obtained inspection report template; After the inspection report is automatically rendered based on the template copy and the indicator dictionary set, the inspection report is stored in a private class corresponding to the terminal, and the terminal identifier and template call time are recorded in the copy template tag information.

8. The method for automatically generating an inspection report according to claim 7, characterized in that: The method comprises: The inspection report in the private class is sent to the corresponding terminal, and after the terminal has finished downloading the inspection report, the template copy and / or the inspection report is deleted from the corresponding private class.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for automatically generating an inspection report according to any one of claims 1 to 8 is implemented.

10. An electronic device having a computer program stored thereon, characterized in that: The method comprises a processor and a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by the processor, the method for automatically generating an inspection report according to any one of claims 1 to 8 is implemented.

Citation Information

Cited By

  • Tower crane inspection data management system, method, equipment and medium

    CN120725660A