An automatic configuration method and device applied to an energy enterprise group control layer monitoring system, an electronic device and a storage medium
By converting the original configuration screen into SVG format using an automated configuration method and mapping and verifying it using a primitive model library, the problem of low drawing efficiency and accuracy of the centralized control monitoring platform of energy enterprises is solved, and efficient and low-cost configuration screen generation is achieved.
Patent Information
- Application Number
- CN202210772367.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-30
- Publication Date
- 2025-12-30
- Estimated Expiration
- 2042-06-30
AI Technical Summary
The current configuration screen drawing process of the centralized control layer monitoring platform of energy enterprises is inefficient. Manual drawing is time-consuming, costly, and prone to errors, resulting in project implementation delays and low information fidelity.
An automated configuration method is used to convert the original configuration screen into an SVG image file, extract the detailed information of the graphic elements and determine their categories, and use dynamic and static graphic element model conversion libraries for mapping and verification to generate a configuration file adapted to the centralized control layer monitoring system.
Significantly improves drawing efficiency, reduces the probability of errors, significantly shortens project implementation time and cost, and ensures the accuracy and completeness of configuration screen information.
Smart Images

Figure CN115202655B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of automated configuration, specifically relating to an automated configuration method for an energy enterprise centralized control layer monitoring system. Background Technology
[0002] Currently, various energy companies have deployed multiple automated control systems in their industrial processes to achieve automated control capabilities on the production site and improve enterprise management. Building on this, energy companies need to further enhance their group-wide remote management capabilities, which first requires the ability to remotely monitor the operational status of each production site. Therefore, a unified monitoring platform needs to be deployed at the enterprise's central control level to access real-time process data from the automated control systems of each production site, providing a unified display at the central control level. This would allow central control level managers to have the same monitoring effect on the operational status and parameters of on-site equipment as the operation managers at each production site.
[0003] Currently, during the implementation of centralized control layer monitoring platforms in various energy companies, configuration screens are often created manually through drawing and configuration. This involves drawing each screen individually based on images of all monitoring screens from various control systems at each production site, using configuration tools tailored to the centralized control layer monitoring platform. The drawing process requires a complete reproduction of the layout, details, and UI effects of all monitoring screens at each production site. This entirely manual drawing method results in a lengthy and inefficient implementation process. For most energy companies with thousands of screens, this requires more than 10 man-months, leading to high project implementation costs and delaying the deployment of the enterprise's centralized control layer monitoring platform. Furthermore, the extensive manual drawing work can easily lead to insufficient information fidelity in the configuration screens, omissions of information, or errors in the drawn content. Summary of the Invention
[0004] To address the technical problems mentioned in the background section, this invention proposes an automated configuration method for a centralized control layer monitoring system in energy enterprises.
[0005] To achieve the above-mentioned technical objectives, the technical solution of the present invention is as follows:
[0006] An automated configuration method for a centralized control layer monitoring system applied to energy enterprises includes the following steps:
[0007] Step 1: Convert the original configuration screen custom format file into an SVG image file;
[0008] Step 2: Extract the original configuration screen element details from the XML format information of the SVG image file, and classify the extracted original configuration screen element details to obtain static elements and dynamic elements;
[0009] Step 3: Perform mapping conversion between static and dynamic primitives, use a point table to verify the mapped dynamic primitives, and reassemble the verified dynamic primitives and the mapped static primitives to obtain a new SVG format configuration file.
[0010] Step 4: Convert the obtained new SVG format configuration files into configuration files adapted to the centralized control layer monitoring system in batches according to the unified specifications of the centralized control layer monitoring system configuration screen, and then obtain a complete configuration screen adapted to the centralized control layer monitoring system.
[0011] Furthermore, the graphic element details in step two include: the graphic element's identifier, type, x-coordinate value and y-coordinate value located in the configuration screen, graphic element body size, border thickness, border color, fill color, transparency, and associated measurement points.
[0012] Furthermore, the method for determining the category of the original configuration screen graphic element details in step two is as follows: the graphic element details are matched with the dynamic graphic element model conversion library information in the system. When the graphic element details are consistent with the information in the dynamic graphic element model conversion library, the graphic element is determined to be a dynamic graphic element; otherwise, it is a static graphic element.
[0013] Furthermore, the steps of the method for obtaining the dynamic primitive model conversion library are as follows:
[0014] Step 1: Convert the configuration screen to SVG format file;
[0015] Step 2: Search for the measurement point information associated with the dynamic primitives based on keywords, record the associated dynamic primitive information, and obtain a preliminary version of the dynamic primitive model conversion library;
[0016] Step 3: Verify and identify using multi-configuration screens. Feedback the verification results to the initial version of the dynamic primitive model conversion library and refine it to obtain the dynamic primitive model conversion library.
[0017] Furthermore, the mapping and conversion method for static graphic elements in step three involves matching the static graphic elements with the corresponding static graphic element conversion library for information and format conversion, thereby obtaining the static graphic elements of the configuration screen matched by the centralized control layer monitoring system.
[0018] Furthermore, the point table in step three includes: measurement point identifier, detailed description, and unit information.
[0019] An automated configuration device for a centralized control layer monitoring system in energy enterprises includes:
[0020] The format conversion module is configured to convert the original configuration screen custom format file into an SVG image file;
[0021] The category determination module is configured to extract the original configuration screen element details based on the XML format information of the SVG image file, and to perform category determination on the extracted original configuration screen element details to obtain static elements and dynamic elements.
[0022] The mapping and recombining module is configured to perform mapping and conversion between static and dynamic primitives, use a point table to verify the dynamic primitives after mapping and conversion, and recombine the verified dynamic primitives and the static primitives after mapping and conversion to obtain an SVG format configuration file.
[0023] The batch conversion module is configured to convert the obtained SVG format configuration files into files adapted to the centralized control layer monitoring system in batches, so as to obtain a complete configuration screen adapted to the centralized control layer monitoring system.
[0024] Furthermore, in the mapping and reorganization module, the mapping and conversion method for static graphic elements is to perform information matching and format conversion between the static graphic elements and the corresponding static graphic element conversion library to obtain the static graphic elements of the configuration screen matched by the centralized control layer monitoring system.
[0025] An electronic device includes a memory and a processor, the memory storing a computer program executable by the processor, the processor executing the computer program to implement the automated configuration method.
[0026] A storage medium storing a computer program, which, when read and executed, implements the automated configuration method.
[0027] The beneficial effects of adopting the above technical solution are as follows:
[0028] Computer programs automatically draw most of the configuration screens, supplemented by manual drawing for local verification and supplementation, which greatly improves drawing efficiency, reduces the probability of drawing errors, reduces rework, significantly shortens the project implementation period, and thus greatly reduces implementation costs. Attached Figure Description
[0029] Figure 1 This is the automated configuration flowchart of the present invention;
[0030] Figure 2 This is a flowchart of the dynamic primitive model conversion library generation process of the present invention. Detailed Implementation
[0031] The technical solution of the present invention will be described in detail below with reference to the accompanying drawings.
[0032] like Figure 1 As shown, an automated configuration method for a centralized control layer monitoring system applied to energy enterprises includes the following steps:
[0033] Step 1: Convert the original configuration screen's custom format file into an SVG image file. This conversion is usually done by the configuration tool provided by the original control system manufacturer. Most common configuration tools on the market have this function, which allows you to export the system's custom format configuration screen as a standard and universal SVG image. The file names of the exported SVG configuration screens remain unchanged.
[0034] Step Two: Extract the detailed information of the original configuration screen elements based on the XML format information of the SVG image file. Classify the extracted detailed information of the original configuration screen elements to obtain static and dynamic elements. Taking a configuration screen as an example, after the original configuration screen file is converted to SVG format, its description language is standard XML. Based on the XML format information of this SVG file, extract all internal element details according to keywords to form a detailed table of configuration screen elements. This detailed table describes in detail the identifier, type, x-coordinate value, y-coordinate value, element size (such as height, width, radius, etc.), border thickness, border color, fill color, transparency, associated measurement points, etc., of each element. The method for classifying the detailed information of the original configuration screen elements is as follows: match the detailed information of the elements with the information in the dynamic element model conversion library in the system. When the detailed information of the elements matches the information in the dynamic element model conversion library, the element is determined to be a dynamic element; otherwise, it is a static element.
[0035] Step 3: Map and convert static and dynamic graphic elements. Verify the mapped dynamic graphic elements using a point table. Reassemble the verified dynamic graphic elements and the mapped static graphic elements to obtain an SVG format configuration file. The mapping and conversion method for static graphic elements involves matching and converting the static graphic elements with the corresponding static graphic element conversion library to obtain the static graphic elements for the configuration screen that match the centralized control layer monitoring system. The point table includes: measurement point identifier, detailed description, and unit information. The verification process involves processing the identifier and detailed description of each measurement point in the SVG (including special character replacement, adding or removing prefixes, adding or removing suffixes, etc.), and then matching them one by one with the point table library. If the converted measurement point can be found in the point table library (identifier exact match), the measurement point verification passes; otherwise, the measurement point verification fails. After verification, correct measurement points are confirmed, and incorrect measurement points are marked with an anomaly mark at the corresponding measurement point location on the configuration screen for subsequent manual inspection, verification, and correction.
[0036] Step 4: Batch convert the obtained SVG format configuration files into files adapted to the centralized control layer monitoring system, resulting in a complete configuration screen adapted to the centralized control layer monitoring system. At this point, the configuration screen can complete the drawing of most major screen information and the association of measurement point information. For dynamic and static graphic elements that cannot be adapted locally, they can be added or modified through manual verification and review to finally complete the verification and correction of the configuration screen, thereby meeting the release conditions of the centralized control layer monitoring system.
[0037] The accuracy and comprehensiveness of the system dynamic primitive model conversion library are very important. The dynamic primitive model conversion libraries of the configuration tools of different automation control system manufacturers are not the same. It is necessary to identify and determine the export files of the configuration tools of major automation manufacturers in advance in order to obtain their corresponding dynamic primitive model conversion libraries. Figure 2 A flowchart is generated for the dynamic primitive model conversion library. The steps for obtaining the dynamic primitive model conversion library are as follows:
[0038] Step 1: Convert the configuration screen to SVG format file;
[0039] Step 2: Search for the measurement point information associated with the dynamic primitives based on keywords, record the associated dynamic primitive information, and obtain a preliminary version of the dynamic primitive model conversion library;
[0040] Step 3: Verify and identify using multi-configuration screens. Feedback the verification results to the initial version of the dynamic primitive model conversion library and refine it to obtain the dynamic primitive model conversion library.
[0041] For an automation manufacturer, its dynamic primitive model conversion library is relatively fixed. After manual matching and construction, it can be reused for dynamic primitive judgment and format conversion of all subsequent configuration screens of the automation manufacturer.
[0042] This invention also discloses an automated configuration device for a centralized control layer monitoring system applied to energy enterprises, comprising:
[0043] The format conversion module is configured to convert the original configuration screen custom format file into an SVG image file;
[0044] The category determination module is configured to extract the original configuration screen element details based on the XML format information of the SVG image file, and to perform category determination on the extracted original configuration screen element details to obtain static elements and dynamic elements.
[0045] The mapping and recombining module is configured to perform mapping and conversion between static and dynamic primitives, use a point table to verify the dynamic primitives after mapping and conversion, and recombine the verified dynamic primitives and the static primitives after mapping and conversion to obtain an SVG format configuration file.
[0046] The batch conversion module is configured to convert the obtained SVG format configuration files into files adapted to the centralized control layer monitoring system in batches, so as to obtain a complete configuration screen adapted to the centralized control layer monitoring system.
[0047] This disclosure also provides a computer-readable storage medium storing a computer program for executing the automated configuration method of this disclosure for use in an energy enterprise centralized control layer monitoring system.
[0048] This disclosure also provides an electronic device, comprising:
[0049] processor;
[0050] Memory used to store processor-executable instructions;
[0051] A processor is used to read executable instructions from memory and execute the instructions to implement the automated configuration method of the present disclosure for use in a centralized control layer monitoring system of an energy enterprise.
[0052] In addition to the methods and apparatus described above, embodiments of this application may also be computer program products, which include computer program instructions that, when executed by a processor, cause the processor to perform the steps in the methods according to various embodiments of this application described in the "Exemplary Methods" section of this specification.
[0053] Computer program products can be written in any combination of one or more programming languages to perform the operations of the embodiments of this application. The programming languages include object-oriented programming languages such as Java and C++, as well as conventional procedural programming languages such as C or similar languages. The program code can be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0054] Furthermore, embodiments of this application may also be computer-readable storage media storing computer program instructions thereon, which, when executed by a processor, cause the processor to perform the steps in the methods according to various embodiments of this application described in the "Exemplary Methods" section above.
[0055] Computer-readable storage media may take the form of any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may, for example, include, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0056] The basic principles of this application have been described above with reference to specific embodiments. However, it should be noted that the advantages, benefits, and effects mentioned in this application are merely examples and not limitations, and should not be considered as essential features of each embodiment of this application. Furthermore, the specific details disclosed above are for illustrative and facilitative purposes only, and are not limitations. These details do not limit the application to the necessity of employing the aforementioned specific details for implementation.
[0057] The block diagrams of devices, apparatuses, devices, and systems involved in this application are merely illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As those skilled in the art will recognize, these devices, apparatuses, devices, and systems can be connected, arranged, and configured in any manner. Words such as “comprising,” “including,” “having,” etc., are open-ended terms meaning “including but not limited to,” and are used interchangeably with them. The terms “or” and “and” as used herein refer to the terms “and / or,” and are used interchangeably with them unless the context clearly indicates otherwise. The term “such as” as used herein refers to the phrase “such as but not limited to,” and is used interchangeably with it.
[0058] It should also be noted that in the apparatus, equipment, and methods of this application, the components or steps can be disassembled and / or recombined. These disassemblies and / or recombinations should be considered as equivalent solutions of this application.
[0059] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use this application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein can be applied to other aspects without departing from the scope of this application. Therefore, this application is not intended to be limited to the aspects shown herein, but rather to be accorded the widest scope consistent with the principles and novel features disclosed herein.
[0060] This embodiment is only for illustrating the technical concept of the present invention and should not be used to limit the scope of protection of the present invention. Any modifications made to the technical solution based on the technical concept proposed in this invention shall fall within the scope of protection of this invention.
Claims
1. An automatic configuration method applied to a centralized control layer monitoring system of an energy enterprise, characterized in that, The automation configuration method comprises the following steps: S1, converting the original configuration picture self-defined format file into an svg picture file; S2, extracting original configuration picture graphic element detailed information according to the xml format information of the svg picture file, and performing category determination on the extracted original configuration picture graphic element detailed information to obtain static graphic elements and dynamic graphic elements; The original configuration picture graphic element detailed information category determination method is: matching the graphic element detailed information with the dynamic graphic element model conversion library information in the system, when the graphic element detailed information is consistent with the information in the dynamic graphic element model conversion library, the graphic element is determined as a dynamic graphic element, otherwise, it is a static graphic element; The dynamic graphic element model conversion library acquisition method comprises the following steps: A, converting the original configuration picture into an svg format file; B, searching for dynamic graphic element associated measurement point information according to a keyword, recording the associated dynamic graphic element information, and obtaining a dynamic graphic element model conversion library preliminary version; C, verifying and identifying by using multiple configuration pictures, feeding back the verification result to the dynamic graphic element model conversion library preliminary version, and perfecting the same to obtain a dynamic graphic element model conversion library; S3, mapping and converting the static graphic elements and the dynamic graphic elements, verifying the mapped and converted dynamic graphic elements by using a point table, recombining the verified dynamic graphic elements and the mapped and converted static graphic elements, and obtaining a new svg format configuration file; The verification work is to process the identifier and detailed description of each measurement point in the svg, and then match them with the point table library one by one, if the converted measurement point can be queried from the point table library to obtain a result, the measurement point verification passes, otherwise, the measurement point verification fails; The mapping and converting method of the static graphic elements is to perform information matching and format conversion on the static graphic elements and the corresponding static graphic element conversion library to obtain configuration picture static graphic elements matched with the centralized control layer monitoring system; S4, converting the obtained new svg format configuration file into configuration files adapted to the centralized control layer monitoring system according to the unified specification of the configuration picture of the centralized control layer monitoring system, and then obtaining a complete configuration picture adapted to the centralized control layer monitoring system.
2. The automatic configuration method of the centralized monitoring system for energy enterprises according to claim 1, characterized in that, The graphic element detailed information in step S2 comprises an identifier, a type, x and y coordinate values in the configuration picture, a graphic element body size, a border thickness, a border color, a filling color, a transparency, and associated measurement points.
3. The method according to claim 1, wherein the method is used for the automation configuration of a supervisory control layer monitoring system of an energy enterprise. The point table in step S3 comprises a measurement point identifier, a detailed description, and unit information.
4. An automation configuration device applied to a centralized control layer monitoring system of an energy enterprise to implement the automation configuration method of any one of claims 1-3, characterized in that, It comprises: a format conversion module configured to convert the original configuration picture self-defined format file into an svg picture file; a category determination module configured to extract original configuration picture graphic element detailed information according to the xml format information of the svg picture file, and perform category determination on the extracted original configuration picture graphic element detailed information to obtain static graphic elements and dynamic graphic elements; a mapping and recombination module configured to map and convert the static graphic elements and the dynamic graphic elements, verify the mapped and converted dynamic graphic elements by using a point table, recombine the verified dynamic graphic elements and the mapped and converted static graphic elements, and obtain an svg format configuration file; The checking work is to process the identifier and detailed description of each measuring point in the SVG, and then match with the point table library one by one. If the measuring point converted can be queried from the point table library to obtain the result, the measuring point checking passes, otherwise, the measuring point checking fails; The mapping conversion method of the static graphic element is to perform information matching and format conversion on the static graphic element and the corresponding static graphic element conversion library, to obtain the static graphic element of the configuration picture matched by the centralized control layer monitoring system. The batch conversion module is configured to batch convert the obtained configuration file in SVG format into a file adapted to the centralized control layer monitoring system, to obtain a complete configuration picture adapted to the centralized control layer monitoring system.
5. The automation configuration device of claim 4, wherein, In the mapping reorganization module, the mapping conversion method of the static graphic element is to perform information matching and format conversion on the static graphic element and the corresponding static graphic element conversion library, to obtain the static graphic element of the configuration picture matched by the centralized control layer monitoring system.
6. An electronic device, comprising: Comprise: A memory and a processor, the memory stores a computer program executable by the processor, and the processor implements the automatic configuration method of any one of claims 1-3 when executing the computer program.
7. A storage medium, characterized by The storage medium has a computer program stored thereon, and the computer program is read and executed to implement the automatic configuration method of any one of claims 1-3.
Citation Information
Patent Citations
Nuclear-power-plant real-time information monitoring system frame detection and automatic configuration system and method thereof
CN106873437A
Graphics file generation method and system for nuclear safety level application
CN109471613A
Monitoring configuration file real-time publishing method and system, monitoring system and Web server
CN110704778A
Transformer substation monitoring system, main station and method for automatically associating measuring point ID
CN110705969A