Generation system, method and device of power grid inspection report, readable storage medium and program product
By designing a power grid inspection report generation system, using infrared image processing and component recognition technology, the inspection and report generation of power grid equipment is automatically completed, solving the problems of low inspection efficiency and long-term report generation in the existing technology, and achieving more Efficient and accurate inspection and report generation.
Patent Information
- Application Number
- CN202411344650.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-25
- Publication Date
- 2025-02-07
AI Technical Summary
The inspection of power grid equipment in the prior art relies on manual inspection and report writing, which is inefficient and time-consuming.
Design a power grid inspection report generation system, including inspection image acquisition server, inspection image processing server, abnormal image comparison server and report generation server. Through infrared image processing and component recognition, abnormal locations are automatically marked, slice amplification, Compare and identify abnormal components and automatically generate inspection reports.
It improves the accuracy of power grid inspection and report generation efficiency, reduces manual intervention, and shortens the time for inspection and report generation.
Smart Images

Figure CN119398739A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electric power, and in particular to a system, method, device, computer-readable storage medium and computer program product for generating a power grid inspection report. Background Art
[0002] With the development of power technology, it is necessary to inspect power grid equipment to ensure the normal operation of the power grid. After inspecting the power grid equipment, it is usually necessary to write an inspection report to systematically manage the operation status of the power grid equipment. However, currently, it is usually done manually to check the status of the power grid equipment and then write the inspection report, which is inefficient and time-consuming. Summary of the invention
[0003] Based on this, it is necessary to provide a system, method, computer device, computer-readable storage medium and computer program product for generating power grid inspection reports that can improve the accuracy of power grid inspections and automatically generate inspection reports in response to the above technical problems.
[0004] In a first aspect, the present application provides a system for generating a power grid inspection report, comprising:
[0005] Inspection image acquisition server, used to acquire infrared images of power grid equipment;
[0006] An inspection image processing server is used to identify the color gamut of the infrared image, mark the position in the infrared image where the temperature corresponding to the color gamut exceeds a preset value as an abnormal position to obtain abnormal image data of the infrared image, and slice the infrared image based on the abnormal image data to obtain an abnormal image corresponding to the abnormal position;
[0007] An abnormal image comparison server, used for identifying components with a temperature greater than a preset value from the abnormal image, and determining abnormal components from the components;
[0008] The report generation server is used to obtain a report template, write the abnormal image data, the abnormal image, and the abnormal component into the report template to generate the inspection report.
[0009] In one embodiment, the inspection image acquisition server includes:
[0010] An inspection file upload server is used to photograph the power grid equipment and upload infrared images of the power grid equipment;
[0011] The device identification server is used to identify, classify and name the power grid devices in the infrared image and store the infrared image in a database.
[0012] In one embodiment, the inspection image processing server includes:
[0013] An image retrieval server, used for acquiring the infrared image from the database and sending the infrared image to a color gamut recognition server;
[0014] A color gamut recognition server is used to recognize the color gamut in the infrared image and mark the position where the temperature corresponding to the color gamut exceeds a preset value, and the marked infrared image is sent to the abnormal frame selection server;
[0015] The abnormality selection server is used to select the marked position as the abnormal position and send the infrared image after the selection to the image slice scaling server;
[0016] The image slicing and scaling server is used to crop and enlarge the abnormal position selected in the framed image, extract the enlarged cropped image, and send the cropped image to the abnormal image comparison server.
[0017] In one embodiment, the abnormal image comparison server includes:
[0018] A component identification and comparison server is used to receive the cropped image sent by the image slicing and scaling server, compare the cropped image with components at corresponding positions of the schematic diagram based on the schematic diagram of the power grid equipment, and mark components with a color range whose temperature is greater than the preset value;
[0019] The abnormal component export server is used to save the components at the position where the temperature corresponding to the color gamut exceeds the preset value into the component list and send it to the error correction server;
[0020] The error correction server is used to remove the components in the component list whose normal operating temperature is greater than the preset value from the component list based on the temperature characteristic data, so as to generate a corrected component list.
[0021] In one embodiment, the report generation server includes:
[0022] The report template input server is used to obtain the inspection report template;
[0023] The abnormal data writing server is used to receive the abnormal image data sent by the inspection image processing server and the corrected component list sent by the abnormal image comparison server, receive the cropped image sent by the inspection image processing server, generate the abnormal data of the corresponding power grid equipment based on the abnormal image data, the corrected component list and the cropped image, and send it to the inspection report production server;
[0024] The inspection report production server is used to identify the inspection report template, and fill the abnormal data of the power grid equipment into the corresponding position of the inspection report template based on the identification result to generate the inspection report.
[0025] In one embodiment, the generation system also includes a data scheduling server, which receives the infrared image sent by the inspection image acquisition server, the data scheduling server receives the abnormal image data sent by the inspection image processing server, the data scheduling server receives the abnormal components sent by the abnormal image comparison server, and the report generation server receives the abnormal image data, the abnormal image, and the abnormal components sent by the data scheduling server to generate the inspection report based on the abnormal image data, the abnormal image, and the abnormal components.
[0026] In a second aspect, the present application also provides a method for generating a power grid inspection report, comprising:
[0027] Acquire infrared images of power grid equipment;
[0028] Identify the color gamut of the infrared image, mark a position in the infrared image where the temperature corresponding to the color gamut exceeds a preset value as an abnormal position to obtain abnormal image data of the infrared image, and slice the infrared image based on the abnormal position to obtain an abnormal image corresponding to the abnormal position;
[0029] Identifying components whose temperature is greater than a preset value from the abnormal image, and determining abnormal components from the components;
[0030] A report template is obtained, and the abnormal image data, the abnormal image, and the abnormal components are written into the report template to generate the inspection report.
[0031] In a third aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps in the above method when executing the computer program.
[0032] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps in the above method when executed by a processor.
[0033] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the steps in the above method when executed by a processor.
[0034] The generation system, method, computer device, computer readable storage medium and computer program product of the above-mentioned power grid inspection report obtains the infrared image of the power grid equipment through the inspection image acquisition server, and the inspection image processing server identifies the color gamut of the infrared image, and marks the position where the temperature corresponding to the color gamut in the infrared image exceeds the preset value as an abnormal position, so that the abnormal image data in the power grid equipment can be determined on the overall image of the power grid equipment, for example, the general position of the abnormal component in the power grid equipment can be displayed on the report, and in order to determine the abnormal component corresponding to the abnormal position, the inspection image processing server slices the infrared image based on the abnormal image data, so that the abnormal position can be magnified, so as to facilitate the analysis of the corresponding component. Since the normal working temperature of some components will exceed the preset value, it is also necessary to use the abnormal image comparison server to determine the abnormal component from the analyzed components to eliminate the components that are misdetected, and finally write the abnormal image data, abnormal image and abnormal component into the corresponding position in the report template to generate the inspection report, so that the power grid equipment can be inspected and the inspection report can be automatically generated, thereby improving the inspection accuracy and report generation efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0036] FIG1 is a schematic diagram of the structure of a generation system in one embodiment;
[0037] FIG2 is a schematic diagram of the structure of a generation system in another embodiment;
[0038] FIG3 is a schematic diagram of the structure of a folder module in one embodiment;
[0039] FIG4 is a schematic flow chart of a generation method in another embodiment;
[0040] FIG. 5 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0042] In an exemplary embodiment, as shown in FIG1 , a system for generating a power grid inspection report is provided, the generating system comprising an inspection image acquisition server 110, an inspection image processing server 120, an abnormal image comparison server 130, and a report generation server 140. The server may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.
[0043] The inspection image acquisition server 110 is used to acquire infrared images of power grid equipment. The inspection image processing server 120 can communicate with the terminal. The terminal can be, for example, an acquisition device such as an infrared camera, which is used to photograph the power grid equipment to obtain an infrared image of the power grid equipment. The terminal then sends the infrared image to the inspection image acquisition server 110, so that the report generation system can obtain the infrared image of the power grid equipment.
[0044] The inspection image processing server 120 is used to identify the color gamut of the infrared image, mark the position where the temperature corresponding to the color gamut in the infrared image exceeds the preset value as an abnormal position to obtain the abnormal image data of the infrared image, and slice the infrared image based on the abnormal image data to obtain the abnormal image corresponding to the abnormal position. The color gamut of the infrared image refers to the color range that the infrared image can display. Unlike visible light images, infrared images are not based on the visible spectrum, but on the infrared radiation emitted or reflected by the object. In infrared images, different color gamuts correspond to different temperatures. Therefore, the position of the power grid equipment with abnormal working temperature can be determined by the color gamut, and then the abnormal working components in the power grid equipment can be determined based on the position. In order to improve the detail and completeness of the report, the inspection image processing server 120 marks the position where the temperature corresponding to the color gamut in the infrared image exceeds the preset value as an abnormal position, and then sends the marked infrared image to the report generation server 140 to display the abnormal working power grid equipment and the position of the abnormal file in the power grid equipment in the generated inspection report. The abnormal image data is the data of the infrared image with the abnormal position marked. When writing abnormal image data into a report template, the abnormal image data can be processed into an infrared image with abnormal positions marked, so that in the generated inspection report, the abnormal conditions of the power grid equipment can be directly obtained through the infrared image with abnormal positions marked.
[0045] After obtaining the abnormal position, the abnormal image corresponding to the abnormal position can also be processed to determine the abnormal components in the power grid equipment. In order to reduce the interference of the non-abnormal position in the infrared image on the abnormal image, the inspection image processing server 120 can slice the infrared image to enlarge the abnormal position, so that the abnormal image comparison server 130 can accurately identify the components corresponding to the abnormal image from the abnormal image.
[0046] The abnormal image comparison server 130 is used to identify components whose temperature is greater than a preset value from the abnormal image, and to determine the abnormal components from the components. Due to the complex structure of the power grid equipment, the abnormal position may correspond to multiple components. However, the temperatures of these multiple components do not all exceed the preset value, so the abnormal image comparison server 130 can identify components whose temperature is greater than the preset value, that is, components with abnormal temperature, from the abnormal image. In some embodiments, the abnormal image comparison server 130 can compare the abnormal image with the schematic diagram of the power grid equipment, and the schematic diagram represents the various components in the power grid equipment and the positions of the various components in the power grid equipment. Since the normal operating temperature of some components may be greater than the preset value, after determining the components whose temperature corresponding to the abnormal image is greater than the preset value, it is necessary to screen the components again, and eliminate the components whose normal operating temperature is greater than the preset value, so as to obtain the final abnormal components.
[0047] The report generation server 140 is used to obtain a report template, write abnormal image data, abnormal images, and abnormal components into the report template to generate an inspection report. The report template is a blank inspection report. There are multiple blank columns in the report template. The report generation server 140 can write the data into the corresponding blank columns based on the received data. The data includes abnormal image data, abnormal images, and abnormal components. The report generation server 140 receives the abnormal image data and abnormal images sent by the inspection image processing server 120, and receives the information of abnormal components sent by the abnormal image comparison server 130, so as to write the infrared image, abnormal image, and abnormal components marking the abnormal position into the report template to generate an inspection report.
[0048] The infrared image of the power grid equipment is obtained by the inspection image acquisition server, and the inspection image processing server identifies the color gamut of the infrared image, and marks the position where the temperature corresponding to the color gamut in the infrared image exceeds the preset value as an abnormal position, so that the abnormal image data in the power grid equipment can be determined on the overall image of the power grid equipment. For example, the approximate position of the abnormal component in the power grid equipment can be displayed on the report. In order to determine the abnormal component corresponding to the abnormal position, the inspection image processing server slices the infrared image based on the abnormal image data, so that the abnormal position can be magnified, which is convenient for analyzing the corresponding component. Since the normal working temperature of some components will exceed the preset value, it is also necessary to use the abnormal image comparison server to determine the abnormal component from the analyzed components to eliminate the components that are misdetected. Finally, the abnormal image data, abnormal image and abnormal component are written to the corresponding position in the report template to generate an inspection report. In this way, the power grid equipment can be inspected and the inspection report can be automatically generated, thereby improving the accuracy of the inspection and the efficiency of report generation.
[0049] In one embodiment, the inspection image acquisition server includes an inspection file upload server and a device identification server. The inspection file upload server is used to upload infrared images of power grid equipment. The device identification server is used to identify, classify, name the power grid equipment in the infrared image and store the infrared image in a database. Storing the infrared image in the database makes it easier for other servers to obtain the required data from the database, which can reduce the processing pressure of the report generation server. For example, after generating an inspection report, data is read from the database to generate the next inspection report.
[0050] In one embodiment, the inspection image processing server may include an image retrieval server, a color gamut recognition server, an abnormal frame selection server, and an image slice scaling server. The image retrieval server is used to obtain infrared images from a database and send them to the color gamut recognition server.
[0051] The color gamut recognition server is used to recognize the color gamut in the infrared image and mark the position where the temperature corresponding to the color gamut exceeds the preset value, and the marked infrared image is sent to the abnormal frame selection server. The preset value can be 45 degrees Celsius, 50 degrees Celsius, or 55 degrees Celsius, for example.
[0052] The abnormal frame selection server is used to frame the marked position as the abnormal position, and send the framed infrared image to the image slice scaling server.
[0053] The image slicing and scaling server is used to crop and enlarge the abnormal position selected in the framed image, extract the enlarged cropped image, and send the cropped image to the abnormal image comparison server.
[0054] By dividing the inspection image processing server into an image retrieval server, a color gamut recognition server, an abnormal frame selection server, and an image slice and scaling server, the functions of the inspection image processing server can be partitioned. When a problem occurs in the inspection image processing server, the source of the problem can be quickly located, reducing code redundancy in the inspection image processing server.
[0055] In one embodiment, the abnormal image comparison server includes a component identification and comparison server, an abnormal component export server and an error correction server.
[0056] The component identification and comparison server is used to receive the cropped image sent by the image slicing and scaling server, and then compare the cropped image with the components at the corresponding position of the schematic diagram based on the schematic diagram of the power grid equipment to obtain the components whose color gamut corresponding temperature is greater than the preset value. The corresponding position of the schematic diagram is the position of the cropped image in the infrared image.
[0057] The abnormal component export server is used to save the components at the position where the color gamut corresponding temperature exceeds the preset value into the component list and send it to the error correction server. The component list stores the components in the power grid equipment whose operating temperature exceeds the preset value. Since the normal operating temperature of some components is greater than the preset value, such components should not be classified as abnormal components and need to be removed from the component list. The abnormal component export server sends the component list to the error correction server to generate a corrected component list. The corrected component list stores the components with abnormal operating temperatures.
[0058] The error correction server is used to remove components in the component list whose normal operating temperature is greater than a preset value from the component list based on the temperature characteristic data to generate a corrected component list. The temperature characteristic data stores the normal operating temperature range of each component in the component list.
[0059] By dividing the abnormal image comparison server into a component identification and comparison server, an abnormal component export server, and an error correction server, the functions of the abnormal image comparison server can be partitioned, thereby improving the standardization of the structure of the abnormal image comparison server. And through the component identification and comparison server, the abnormal component export server, and the error correction server, the abnormal image comparison server can obtain abnormal components with abnormal working temperature in the power grid equipment.
[0060] In some embodiments, the report generation server includes a report template input server, an abnormal data writing server, and an inspection report production server.
[0061] The report template is input into the server to obtain the inspection report template.
[0062] The abnormal data writing server is used to receive the abnormal image data sent by the inspection image processing server and the corrected component list sent by the abnormal image comparison server, and receive the cropped image sent by the inspection image processing server. Then, based on the abnormal image data, the corrected component list and the cropped image, the abnormal data of the corresponding power grid equipment is generated and sent to the inspection report production server.
[0063] The inspection report production server is used to identify the inspection report template, and based on the identification result, fill the abnormal data of the power grid equipment into the corresponding position of the inspection report template to generate the inspection report. The identification result is the information corresponding to the blank column in the inspection report template. For example, if a blank column is filled with the name of the infrared image, the inspection report production server will identify the text in the inspection report template, obtain the blank column corresponding to the name, and then write the name of the infrared image into the blank column.
[0064] By obtaining the inspection report template from the report template input server and generating an inspection report based on the received abnormal image data, abnormal images, and abnormal components, the completeness and quality of the inspection report can be improved, the reliability of statistical data can be improved, and the abnormal information of the power grid equipment can be intuitively analyzed, which facilitates the subsequent maintenance of the power grid equipment.
[0065] In some embodiments, in order to reduce the processing pressure of the report generation server, the generation system includes a data scheduling server. The inspection image acquisition server, the inspection image processing server, and the abnormal image comparison server can first send data, such as abnormal image data, abnormal images, and abnormal components to the data scheduling server, and the data scheduling server organizes the received data. After that, the report generation server can obtain data from the data scheduling server, so that it is not necessary to obtain data from multiple servers to fill in the report template, thereby improving the stability of the generation system. Among them, the data scheduling service requests to receive the infrared image sent by the inspection image acquisition server. The data scheduling server receives the abnormal image data sent by the inspection image processing server. The data scheduling server receives the abnormal components sent by the abnormal image comparison server. The report generation server receives the abnormal image data, abnormal images, and abnormal components sent by the data scheduling server to generate an inspection report based on the abnormal image data, abnormal graphics, and abnormal components.
[0066] In an exemplary embodiment, as shown in FIG2 , the generation system includes an inspection image acquisition server, an inspection image processing server, an abnormal image comparison server, a data scheduling server, and a report generation server. The inspection image acquisition server is used to receive an infrared image of a power grid device taken by a shooting device to obtain an infrared image of the power grid device. The inspection image processing server is used to identify the color gamut of the infrared image, and mark the position where the temperature corresponding to the color gamut in the infrared image exceeds a preset value as an abnormal position, and slice the infrared image based on the abnormal position to obtain an abnormal image. The abnormal image comparison server is used to identify components with a temperature greater than a preset value from the abnormal image, and determine the abnormal components from the components. The report generation server is used to obtain a report template, and write the infrared image, abnormal image, and abnormal component marked with the abnormal position into the report template to generate a final inspection report. Optionally, the inspection image acquisition server, the inspection image processing server, the abnormal image comparison server, the data scheduling server, and the report generation server can be modules on the server carried by the generation system. Therefore, in some embodiments, the generation device corresponding to the generation system may include an inspection image acquisition module, an inspection image processing module, an abnormal image comparison module, a data scheduling module and a report generation module.
[0067] The inspection image acquisition server includes an inspection file upload server, a device identification server, a database and a data clearing server. It is understandable that the inspection file upload server, the device identification server and the data clearing server can also be one of the modules on the inspection image acquisition server. For example, the inspection image acquisition server includes an inspection file upload module and a device identification module. Optionally, the inspection image acquisition server may include an inspection file upload module, a device identification module, a data clearing module and a folder module. The inspection file upload module is connected to the device identification module. The device identification module is connected to the folder module. The folder module is connected to the data clearing module, the inspection image processing server and the data scheduling server. The power grid equipment may be, for example, a distribution cabinet, a cable contact, a transformer, a light-opening cabinet and a distribution cabinet. Referring to FIG3, the folder module may be equipped with a distribution cabinet folder, a cable contact folder, a transformer folder, a light-opening cabinet folder and a distribution cabinet folder accordingly. Different types of power grid equipment are equipped with different types of folders for storage, which is also conducive to writing the data of the power grid equipment into the corresponding report template later. This makes it easy for the inspection image processing server and the data scheduling server to obtain relevant data of the infrared image through the folder module, and enables the inspection image processing server and the data scheduling server to read data when needed, without the need for the inspection image acquisition server to immediately process the infrared image after obtaining the infrared image, thereby reducing the pressure of processing tasks on the inspection image processing server.
[0068] The inspection file upload module is used to upload infrared image data of power grid equipment.
[0069] The device identification module is used to identify, classify, name the devices in the infrared image and store the image in the folder module. The inspection image processing server and the data scheduling server obtain the complete infrared image from the folder module. The data clearing module is used to clear the infrared image. For example, the infrared image is cleared when the storage capacity is insufficient.
[0070] The inspection image processing server may include an image retrieval module, a color gamut recognition module, an abnormal frame selection module, and an image slice scaling module. The inspection image processing server is connected to the inspection image acquisition server. The inspection image processing server is connected to the data scheduling server. The inspection image processing server is connected to the abnormal image comparison server. The image retrieval module is connected to the folder module and the color gamut recognition module of the inspection image acquisition server. The color gamut recognition module is connected to the abnormal frame selection module and the data scheduling server. The abnormal frame selection module is connected to the image slice scaling module. The image slice scaling module is connected to the abnormal image comparison server and the data scheduling server.
[0071] The image retrieval module is used to obtain the infrared image from the folder module and send it to the color gamut recognition module.
[0072] The color gamut recognition module is used to recognize the color gamut in the infrared image and mark the position where the temperature corresponding to the color gamut exceeds the preset value. For example, the position where the temperature corresponding to the color gamut exceeds fifty degrees Celsius is marked. The color gamut recognition module sends the processed temperature abnormality image data to the abnormality selection module and the data scheduling server. The temperature abnormality image data can indicate which pixel in the infrared image has an abnormal temperature. That is, the temperature abnormality image data can include the position of the pixel in the infrared image where the temperature exceeds the preset value and the temperature of the color gamut corresponding to the pixel.
[0073] The abnormal selection module selects the image mark position and marks it as abnormal. The abnormal selection module sends the processed infrared image to the image slice scaling module. The temperature corresponding to the image mark position exceeds the preset value. This makes it easier for the subsequent image slice scaling module to crop the infrared image based on the selected abnormal position to obtain an abnormal image.
[0074] The image slicing and scaling module performs cropping and enlarging processing on the framed position in the processed image and extracts the enlarged cropped image and sends it to the abnormal image comparison server and the data scheduling server.
[0075] The data scheduling server includes a data scheduling module, a device component schematic library, a component database and a historical database. The device component schematic library, the component database and the historical database are all connected to the data scheduling server. The data scheduling server is connected to the abnormal image comparison server, the image slice scaling module, the folder module and the report generation server.
[0076] The equipment component schematic library is used to store the schematics of equipment components. The data scheduling database can read the equipment component schematic library to obtain the component schematics of the power grid equipment. In this way, the abnormal image can be compared with the component schematic to obtain the components displayed in the abnormal image, and then the abnormal components whose operating temperature exceeds the normal value can be determined.
[0077] The component database is used to store the temperature characteristic data of the components. The data scheduling server can read the temperature characteristic data stored in the component database to filter out abnormal components from the components, and remove components whose temperature exceeds the preset value but is at the normal working temperature.
[0078] Optionally, the device component schematic library and the component database may send the schematic diagram and temperature characteristic data of the components to the data scheduling database respectively.
[0079] The historical database is used to store the inspection reports generated by the report generation server.
[0080] The data scheduling server is used to retrieve data. The data scheduling server obtains the data of the complete infrared image from the folder module. The data scheduling server obtains the data of the enlarged cropped image from the image slice scaling module and sends it to the report generation server. The data scheduling server sends the schematic diagram to the abnormal image comparison server. The data scheduling server receives the temperature abnormal image data sent by the color gamut recognition module and sends it to the report generation server. The data scheduling server sends the temperature characteristic data to the abnormal image comparison server.
[0081] The abnormal image comparison server includes a component identification and comparison module, an abnormal component export module and an error correction module. The component identification and comparison module is connected to the image slicing and scaling module, the abnormal component export module and the data scheduling server, and the abnormal component export module is connected to the error correction module. The error correction module is connected to the data scheduling server.
[0082] The component identification and comparison module receives the enlarged cropped image sent by the image slicing and scaling module and the schematic diagram sent by the data scheduling module. The component identification and comparison module compares the enlarged cropped image with the components at the corresponding positions of the schematic diagram, and marks the components in the color range with a temperature greater than 50 degrees.
[0083] The abnormal component export module exports a component list of components at positions where the temperature corresponding to the color gamut exceeds fifty degrees, and sends the list to the error correction module.
[0084] The error correction module receives the temperature characteristic data sent by the data scheduling module, removes the components whose normal operating temperature is greater than 50 degrees from the component list, generates a corrected component list, and sends it to the data scheduling module. The data scheduling module sends it to the report generation server.
[0085] The report generation server includes a report template input module, an abnormal data writing module, an inspection report production module and an abnormal data statistics generation module. The report template input module is connected to the inspection report production module, the abnormal data writing module is connected to both the data scheduling module and the inspection report production module, and the inspection report production module is connected to the data scheduling module. The abnormal data statistics generation module is connected to the data scheduling module.
[0086] The report template input module is used to enter inspection report templates.
[0087] The abnormal data writing module is used to fill in the name of the temperature abnormal image data. The abnormal data writing module receives the temperature abnormal image data sent by the data scheduling module and the corrected component list sent by the data scheduling module. The abnormal data writing module receives the enlarged cropped image sent by the data scheduling module. The abnormal data writing module writes the temperature abnormal image data, the corrected component list and the enlarged cropped image into the abnormal data of the corresponding abnormal device and sends it to the inspection report production module.
[0088] The inspection report production module identifies and analyzes the inspection report template, fills the abnormal data of the abnormal equipment into the corresponding position of the report, generates the final inspection report and sends it to the data scheduling module. The data scheduling module sends it to the historical database for storage.
[0089] Optionally, the report generation server may further include an abnormal data statistics generation module. The abnormal data statistics generation module obtains the inspection report stored in the historical database through the data scheduling server, and counts the number of occurrences of abnormal components in the inspection report within a preset time and generates a corresponding component abnormality number statistics report. For example, the abnormal data statistics generation module can count the number of occurrences of abnormal components within a week.
[0090] Based on the above generation system, the temperature abnormality color domain in the infrared image is marked and the area is framed. After the framed area is cropped and enlarged, it is compared and identified with the device schematic diagram, and the components with abnormal temperature can be exported to generate a component list. By comparing the working temperature characteristic data of the components with the components in the component list, the components with an operating temperature of fifty degrees are screened out, thereby improving the accuracy of the abnormal component list. By integrating the temperature abnormality image data, the corrected component list and the enlarged cropped image into the abnormal data of the abnormal equipment, the reliability of the statistical data is improved, and the abnormal data can be analyzed intuitively, which is convenient for maintenance. Through the generation system constructed by the above server, the inspection report of the power grid equipment can be accurately generated, and the generated inspection report is complete. The structure of the generation system is perfect and the layout is reasonable, which can improve the efficiency of infrared image processing and the efficiency of inspection report generation.
[0091] It should be understood that, although the steps in the flowcharts involved in the above 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 is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may 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 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.
[0092] Based on the same inventive concept, the embodiment of the present application also provides a generation method for implementing the above-mentioned system. The implementation scheme for solving the problem provided by the method is similar to the implementation scheme recorded in the above-mentioned generation system, so the specific limitations in one or more generation method embodiments provided below can refer to the limitations on the generation system above, and will not be repeated here.
[0093] In an exemplary embodiment, as shown in FIG4 , a generation method is provided. The method includes steps 402 to 408. Among them:
[0094] Step 402: Acquire an infrared image of a power grid device.
[0095] Step 404: Identify the color gamut of the infrared image, mark the position in the infrared image where the temperature corresponding to the color gamut exceeds a preset value as an abnormal position to obtain abnormal image data of the infrared image, and slice the infrared image based on the abnormal position to obtain an abnormal image corresponding to the abnormal position.
[0096] Step 406: Identify components whose temperature is greater than a preset value from the abnormal image, and determine abnormal components from the components.
[0097] Step 408: Obtain a report template, write abnormal image data, abnormal images, and abnormal components into the report template to generate an inspection report.
[0098] Based on the same inventive concept, the embodiment of the present application also provides a generation device corresponding to the above-mentioned system. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned generation system, so the specific limitations in one or more generation method embodiments provided below can refer to the limitations on the generation system above, and will not be repeated here.
[0099] In an exemplary embodiment, a generating device is provided. The device includes an inspection image acquisition module, an inspection image processing module, an abnormal image comparison module and a report generation module. Among them:
[0100] The inspection image acquisition module is used to acquire infrared images of power grid equipment.
[0101] The inspection image processing module is used to identify the color gamut of the infrared image, mark the position where the temperature corresponding to the color gamut in the infrared image exceeds a preset value as an abnormal position to obtain abnormal image data of the infrared image, and slice the infrared image based on the abnormal position to obtain the abnormal image corresponding to the abnormal position.
[0102] The abnormal image comparison module is used to identify components whose temperature is greater than a preset value from the abnormal image and determine the abnormal components from the components.
[0103] The report generation module is used to obtain a report template, write abnormal image data, abnormal images, and abnormal components into the report template to generate an inspection report.
[0104] Each module in the above-mentioned generating device can be implemented in whole or in part by software, hardware and 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 the operations corresponding to each module above.
[0105] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG5. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. 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, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method and system for generating a power grid inspection report are implemented.
[0106] Those skilled in the art will understand that the structure shown in FIG. 5 is merely a block diagram of a partial 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 shown in the figure, or combine certain components, or have a different arrangement of components.
[0107] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the above-mentioned system and method when executing the computer program.
[0108] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned system and method are implemented.
[0109] In one embodiment, a computer program product is provided, including a computer program, which implements the above-mentioned system and method when executed by a processor.
[0110] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments 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 memory 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), magnetic 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, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0111] 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 application.
[0112] The above 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 system for generating a power grid inspection report, characterized in that: The system comprises: Inspection image acquisition server, used to acquire infrared images of power grid equipment; An inspection image processing server is used to identify the color gamut of the infrared image, mark the position in the infrared image where the temperature corresponding to the color gamut exceeds a preset value as an abnormal position to obtain abnormal image data of the infrared image, and slice the infrared image based on the abnormal image data to obtain an abnormal image corresponding to the abnormal position; An abnormal image comparison server, used for identifying components with a temperature greater than a preset value from the abnormal image, and determining abnormal components from the components; The report generation server is used to obtain a report template, write the abnormal image data, the abnormal image, and the abnormal component into the report template to generate the inspection report.
2. The generation system according to claim 1, characterized in that The inspection image acquisition server comprises: An inspection file upload server, used for uploading infrared images of the power grid equipment; The device identification server is used to identify, classify and name the power grid devices in the infrared image and store the infrared image in a database.
3. The generation system according to claim 2, characterized in that The inspection image processing server comprises: An image retrieval server, used for acquiring the infrared image from the database and sending the infrared image to a color gamut recognition server; A color gamut recognition server is used to recognize the color gamut in the infrared image, and mark the position where the temperature corresponding to the color gamut exceeds a preset value, and the marked infrared image is sent to the abnormal frame selection server; The abnormality selection server is used to select the marked position as the abnormal position and send the infrared image after the selection to the image slice scaling server; The image slicing and scaling server is used to crop and enlarge the abnormal position selected in the framed image, extract the enlarged cropped image, and send the cropped image to the abnormal image comparison server.
4. The generation system according to claim 3, characterized in that The abnormal image comparison server comprises: A component identification and comparison server is used to receive the cropped image sent by the image slicing and scaling server, and compare the cropped image with the components at corresponding positions of the schematic diagram based on the schematic diagram of the power grid equipment to obtain components whose color gamut corresponding temperature is greater than the preset value; The abnormal component export server is used to save the components at the position where the temperature corresponding to the color gamut exceeds the preset value into the component list and send it to the error correction server; The error correction server is used to remove the components in the component list whose normal operating temperature is greater than the preset value from the component list based on the temperature characteristic data, so as to generate a corrected component list.
5. The generation system according to claim 1, characterized in that: The report generating server comprises: The report template input server is used to obtain the inspection report template; The abnormal data writing server is used to receive the abnormal image data sent by the inspection image processing server and the corrected component list sent by the abnormal image comparison server, receive the cropped image sent by the inspection image processing server, generate the abnormal data of the corresponding power grid equipment based on the abnormal image data, the corrected component list and the cropped image, and send it to the inspection report production server; The inspection report generating server is used to identify the inspection report template, and fill the abnormal data of the power grid equipment into the corresponding position of the inspection report template based on the identification result to generate the inspection report.
6. The generation system according to claim 1, characterized in that: The generation system also includes a data scheduling server, which receives the infrared image sent by the inspection image acquisition server, the data scheduling server receives the abnormal image data sent by the inspection image processing server, the data scheduling server receives the abnormal components sent by the abnormal image comparison server, and the report generation server receives the abnormal image data, the abnormal image, and the abnormal components sent by the data scheduling server to generate the inspection report based on the abnormal image data, the abnormal image, and the abnormal components.
7. A method for generating a power grid inspection report, characterized in that: The method comprises: Acquire infrared images of power grid equipment; Identify the color gamut of the infrared image, mark a position in the infrared image where the temperature corresponding to the color gamut exceeds a preset value as an abnormal position to obtain abnormal image data of the infrared image, and slice the infrared image based on the abnormal position to obtain an abnormal image corresponding to the abnormal position; Identifying components whose temperature is greater than a preset value from the abnormal image, and determining abnormal components from the components; A report template is obtained, and the abnormal image data, the abnormal image, and the abnormal components are written into the report template to generate the inspection report.
8. A device for generating a power grid inspection report, characterized in that: The device comprises: Inspection image acquisition module, used to acquire infrared images of power grid equipment; An inspection image processing module, configured to identify the color gamut of the infrared image, mark a position in the infrared image where the temperature corresponding to the color gamut exceeds a preset value as an abnormal position to obtain abnormal image data of the infrared image, and slice the infrared image based on the abnormal position to obtain an abnormal image corresponding to the abnormal position; An abnormal image comparison module, used to identify components whose temperature is greater than a preset value from the abnormal image, and determine abnormal components from the components; The report generation module is used to obtain a report template, write the abnormal image data, the abnormal image, and the abnormal components into the report template to generate the inspection report.
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 system according to any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the system according to any one of claims 1 to 6 is implemented.