Main wiring diagram real-time rendering and dynamic updating method and system based on WEB service

Through the real-time rendering and dynamic update method of main wiring diagram based on WEB service, combined with XML and GIS technology, the problem of traditional main wiring diagram not being able to reflect the device status and interoperability in real time is solved, real-time monitoring and efficient display of complex power grids are realized, and the improvement of the improvement of the improvement of the Grid monitoring efficiency and flexibility.

CN118889682APending Publication Date: 2024-11-01CHENG DOU JIAO DA GUANG MANG SHI YE YOU XIAN GONG SI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410929048.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

Traditional main wiring diagram display technology cannot reflect equipment status changes in real time, and non-standardized drawing methods make it difficult to interoperate and integrate different systems, and it is difficult to deal with the complex topological structure of large-scale power grids, affecting the decision-making efficiency and performance of power monitoring systems.

Method used

Using the real-time rendering and dynamic update method of main wiring diagram based on WEB service, combined with XML standardized description, GIS data format and OpenLayers rendering technology, generate XML description data, parse and convert graph metadata, collect real-time state data, and use transformation rules to update rendering Information and coordinate information are maintained in real time through OpenLayers initialization and WebSocket.

Benefits of technology

It realizes accurate and accurate status reflection of complex power grids, supports smooth processing of large-scale power grid topology, improves the efficiency and flexibility of power grid monitoring, and is suitable for all types of terminal equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118889682A_ABST
    Figure CN118889682A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of main wiring diagram processing, in particular to a main wiring diagram real-time rendering and dynamic updating method and system based on WEB service, and the method comprises the steps: generating XML description data of a main wiring diagram based on a field wiring condition; importing the XML description data into a WEB service interface, and storing original configuration data; analyzing the original configuration data to extract all primitive data in the original configuration data, and performing GIS format conversion on the primitive data; acquiring real-time state data of an external device, associating the real-time state data with the corresponding primitives according to the relevance of the GIS format data, calculating rendering information and coordinate information of each primitive after updating by applying a transformation rule, and updating the GIS format data of the main wiring diagram; and initializing OpenLayers, loading GIS format data of the main wiring diagram, and completing real-time rendering and updating of the main wiring diagram.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of main wiring diagram processing, and in particular to a method and system for real-time rendering and dynamic updating of a main wiring diagram based on a WEB service. Background Art

[0002] The main wiring diagram is an important tool for representing the connection relationship of electrical equipment in the power system. With the development of smart grids, real-time dynamic display of main wiring diagrams has become a key requirement of power monitoring systems. At present, the traditional main wiring diagram display technology has many defects. On the one hand, static images cannot reflect the changes in equipment status in real time, affecting decision-making efficiency; on the other hand, non-standardized drawing methods easily lead to the difficulty of intercommunication and integration of main wiring diagrams between different systems, and it is difficult to handle the complex topology of large-scale power grids, affecting the display effect and system performance. Based on this, in response to the above problems, we designed a real-time rendering and dynamic update method and system for the main wiring diagram based on WEB services. Summary of the invention

[0003] The purpose of the present invention is to provide a real-time rendering and dynamic updating method and system for main wiring diagram based on WEB service, which integrates XML standardized description, GIS data format, Web technology and OpenLayers advanced rendering technology, can not only accurately reflect the real-time status of complex power grids, but also support the smooth processing of large-scale power grid topology. Its wide applicability enables it to be accessed on various terminal devices, greatly improving the efficiency and flexibility of power grid monitoring.

[0004] The embodiments of the present invention are implemented by the following technical solutions:

[0005] A method for real-time rendering and dynamic updating of a main wiring diagram based on a WEB service, the method comprising the following steps:

[0006] Generate XML description data of the main wiring diagram based on the on-site wiring situation;

[0007] Import XML description data into the WEB service interface to store the original configuration data;

[0008] Parse the original configuration data to extract all the graphic metadata in the original configuration data, and convert the graphic metadata into GIS format;

[0009] Collect the real-time status data of the external device, associate the real-time status data with the corresponding graphic elements according to the relevance of the GIS format data, apply the transformation rules to calculate the updated rendering information and coordinate information of each graphic element, and update the GIS format data of the main wiring diagram;

[0010] Initialize OpenLayers, load the GIS format data of the main wiring diagram, and complete the real-time rendering and updating of the main wiring diagram.

[0011] Optionally, the on-site wiring situation is drawn specifically according to a standardized main wiring diagram configuration tool to obtain the on-site wiring situation.

[0012] Optionally, the original configuration data is parsed to extract all graphic elements in the original configuration data, which specifically includes: parsing the original configuration data to extract rendering information, coordinate information, data association relationship and transformation rule information of all graphic elements in the original configuration data, wherein the rendering information includes: color, shape, position and angle.

[0013] Optionally, the collecting of real-time status data of an external device is specifically:

[0014] Establish data interface with real-time data acquisition system in substation or power supply system;

[0015] Acquire the real-time status data of each high-voltage electrical equipment through the data interface of the real-time data acquisition system;

[0016] According to the data association relationship and transformation rule information in the converted GIS format data, the acquired real-time status data of each high-voltage electrical equipment is associated with the corresponding graphic element;

[0017] According to the transformation rules, the rendering information and coordinate information of each updated primitive are calculated;

[0018] Update the GIS format data of the main wiring diagram according to the calculation results.

[0019] Optionally, the initialization of OpenLayers and loading of GIS format data of the main wiring diagram specifically includes: rendering and displaying the main wiring diagram and real-time refreshing of the main wiring diagram.

[0020] Optionally, the rendering display of the main wiring diagram is specifically:

[0021] Determine whether the user terminal accesses the WEB service interface;

[0022] If not, return to the previous step; if yes, the rendering module initializes the OpenLayers instance on the browser side;

[0023] The updated main wiring diagram GIS format data is loaded, and the main wiring diagram GIS format data is rendered by batch loading and batch rendering to display the updated main wiring diagram.

[0024] Optionally, the real-time refreshing of the main wiring diagram is specifically as follows:

[0025] Establish WebSocket to maintain a continuous connection between the WEB service interface and the browser;

[0026] Determine whether the real-time status data of each high-voltage electrical equipment has changed;

[0027] If so, the updated GIS format data is pushed to the browser, and the affected graphics are re-rendered through OpenLayers to achieve a partial or overall refresh of the main wiring diagram.

[0028] The main wiring diagram real-time rendering and dynamic update system based on WEB service includes:

[0029] The main wiring diagram visualization configuration module generates XML description data of the main wiring diagram based on the on-site wiring conditions;

[0030] Configure the synchronization module, import the XML description data into the WEB service interface, and store the original configuration data;

[0031] The configuration parsing and conversion module parses the original configuration data to extract all the graphic metadata in the original configuration data and converts the graphic metadata into GIS format;

[0032] The real-time data processing module collects the real-time status data of the external device, associates the real-time status data with the corresponding graphic elements according to the relevance of the GIS format data, calculates the updated rendering information and coordinate information of each graphic element by applying the transformation rules, and updates the GIS format data of the main wiring diagram;

[0033] The main wiring diagram rendering module initializes OpenLayers, loads the GIS format data of the main wiring diagram, and completes the real-time rendering and updating of the main wiring diagram.

[0034] The technical solution of the embodiment of the present invention has at least the following advantages and beneficial effects:

[0035] The embodiment of the present invention integrates XML standardized description, GIS data format, Web technology and OpenLayers advanced rendering technology. It can not only accurately reflect the real-time status of complex power grids, but also support the smooth processing of large-scale power grid topologies. Its wide applicability enables it to be accessed on various terminal devices, greatly improving the efficiency and flexibility of power grid monitoring. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 A schematic flow chart of a method for real-time rendering and dynamic updating of a main wiring diagram based on a WEB service provided in an embodiment of the present invention;

[0037] Figure 2A schematic diagram of the principle of a main wiring diagram real-time rendering and dynamic updating system based on WEB services provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0039] like Figure 1 As shown, the present invention provides one embodiment: a method for real-time rendering and dynamic updating of a main wiring diagram based on a WEB service, the method comprising the steps of:

[0040] Generate XML description data of the main wiring diagram based on the on-site wiring situation;

[0041] Import XML description data into the WEB service interface to store the original configuration data;

[0042] Parse the original configuration data to extract all the graphic metadata in the original configuration data, and convert the graphic metadata into GIS format;

[0043] Collect the real-time status data of the external device, associate the real-time status data with the corresponding graphic elements according to the relevance of the GIS format data, apply the transformation rules to calculate the updated rendering information and coordinate information of each graphic element, and update the GIS format data of the main wiring diagram;

[0044] Initialize OpenLayers, load the GIS format data of the main wiring diagram, and complete the real-time rendering and updating of the main wiring diagram.

[0045] Specifically, the on-site wiring situation is drawn according to a standardized main wiring diagram configuration tool to obtain the on-site wiring situation.

[0046] The on-site wiring conditions are drawn into a main wiring diagram using a standardized main wiring diagram configuration tool, and the main wiring diagram screen description template data described in a standard structured XML language is generated.

[0047] In this embodiment, the original configuration data is parsed to extract all graphic elements in the original configuration data, which specifically includes: parsing the original configuration data to extract rendering information, coordinate information, data association relationship and transformation rule information of all graphic elements in the original configuration data, wherein the rendering information includes: color, shape, position, and angle.

[0048] Import the original configuration data in XML format through the interface provided by the WEB service or the import interface provided by the WEB. The WEB service stores the original configuration information of XML, parses the standardized XML configuration obtained in the previous step, and obtains the rendering information of all graphics elements (the smallest image element displayed independently) (standard description information on how to visualize various components of the main wiring diagram, such as color, shape, position, angle, etc.), coordinate information (position information on the main wiring diagram), data association relationship information (association between graphics elements and data), transformation rule information (how to change the color, position, angle and other rendering information of graphics elements according to data), etc.

[0049] In the specific application of this embodiment, the real-time status data of the external device is collected, which is specifically:

[0050] Establish data interface with real-time data acquisition system in substation or power supply system;

[0051] Acquire the real-time status data of each high-voltage electrical equipment through the data interface of the real-time data acquisition system;

[0052] According to the data association relationship and transformation rule information in the converted GIS format data, the acquired real-time status data of each high-voltage electrical equipment is associated with the corresponding graphic element;

[0053] According to the transformation rules, the rendering information and coordinate information of each updated primitive are calculated;

[0054] Update the GIS format data of the main wiring diagram according to the calculation results.

[0055] In the implementation, the real-time status data of the device collected from the external device (specific equipment, switch, etc.) is obtained, and the latest rendering information and coordinate information of each graphic element are calculated based on the data association relationship and transformation rule information obtained in the previous step. And the GIS format data of the main wiring diagram is updated.

[0056] In this embodiment, the initialization of OpenLayers and loading of GIS format data of the main wiring diagram specifically includes: rendering and displaying the main wiring diagram and real-time refreshing of the main wiring diagram.

[0057] The rendering display of the main wiring diagram is as follows:

[0058] Determine whether the user terminal accesses the WEB service interface;

[0059] If not, return to the previous step; if yes, the rendering module initializes the OpenLayers instance on the browser side;

[0060] The updated main wiring diagram GIS format data is loaded, and the main wiring diagram GIS format data is rendered by batch loading and batch rendering to display the updated main wiring diagram.

[0061] When the user accesses the WEB service page, the rendering module of the main wiring diagram will initialize the OpenLayers instance on the browser side, load the latest GIS format data of the main wiring diagram, and use batch loading, batch rendering and other technologies to render and display the graphics.

[0062] The real-time refresh of the main wiring diagram is specifically as follows:

[0063] Establish WebSocket to maintain a continuous connection between the WEB service interface and the browser;

[0064] Determine whether the real-time status data of each high-voltage electrical equipment has changed;

[0065] If so, the updated GIS format data is pushed to the browser, and the affected graphics are re-rendered through OpenLayers to achieve a partial or overall refresh of the main wiring diagram.

[0066] When the real-time data changes, the WEB service will execute step 5, regenerate the latest GIS format data of the main wiring diagram and push it to the real-time rendering module of the connected WEB browser, and the real-time rendering module will re-render the main wiring diagram.

[0067] like Figure 2 As shown, the present invention provides another embodiment: a main wiring diagram real-time rendering and dynamic updating system based on WEB service, comprising:

[0068] The main wiring diagram visualization configuration module generates XML description data of the main wiring diagram based on the on-site wiring conditions;

[0069] Configure the synchronization module, import the XML description data into the WEB service interface, and store the original configuration data;

[0070] The configuration parsing and conversion module parses the original configuration data to extract all the graphic metadata in the original configuration data and converts the graphic metadata into GIS format;

[0071] The real-time data processing module collects the real-time status data of the external device, associates the real-time status data with the corresponding graphic elements according to the relevance of the GIS format data, calculates the updated rendering information and coordinate information of each graphic element by applying the transformation rules, and updates the GIS format data of the main wiring diagram;

[0072] The main wiring diagram rendering module initializes OpenLayers, loads the GIS format data of the main wiring diagram, and completes the real-time rendering and updating of the main wiring diagram.

[0073] The first part is the main wiring diagram visualization configuration module, which uses the standardized main wiring diagram configuration tool to draw the wiring situation on site into the main wiring diagram, and generates the main wiring diagram description data described in the XML language of the standard structure. The second part configures the synchronization module, which synchronizes the standardized XML configuration obtained in the first part to the WEB service through the online interface push or offline import method. The third part configures the conversion module, which parses the standardized XML configuration obtained in the second part, obtains the rendering information of all primitives (the smallest image element displayed independently) (how to visualize the standard description information of various components of the main wiring diagram, such as: color, shape, position, angle, etc.), coordinate information (position information on the main wiring diagram), data association relationship information (association between primitives and data), transformation rule information (how to change the color, position, angle and other rendering information of primitives according to data), etc., and assembles this information into data in the standard GIS (standardized map rendering data recognizable by OpenLayers) format. The fourth part is the real-time data processing module, which obtains the real-time status data of the device collected from the external device (specific equipment, switches, etc.), and calculates the latest rendering information and coordinate information of each primitive according to the data association relationship and transformation rule information parsed in the third part. And push the latest GIS format data of the graphic element to the main wiring diagram rendering module. Part 5: Main wiring diagram rendering module. When the user accesses the WEB service page, the main wiring diagram rendering module will initialize the OpenLayers instance on the browser side, load the GIS format data of the main wiring diagram obtained in Part 4, and use batch loading, batch rendering and other technologies to render and display the graphic elements. The rendering module will dynamically perceive the changes in real-time data and re-render the main wiring diagram in real time.

[0074] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for real-time rendering and dynamic updating of a main wiring diagram based on a WEB service, characterized in that: The steps of the method include: Generate XML description data of the main wiring diagram based on the on-site wiring conditions; Import XML description data into the WEB service interface to store the original configuration data; Parse the original configuration data to extract all the graphic metadata in the original configuration data, and convert the graphic metadata into GIS format; Collect the real-time status data of the external device, associate the real-time status data with the corresponding graphic elements according to the relevance of the GIS format data, apply the transformation rules to calculate the updated rendering information and coordinate information of each graphic element, and update the GIS format data of the main wiring diagram; Initialize OpenLayers, load the GIS format data of the main wiring diagram, and complete the real-time rendering and updating of the main wiring diagram.

2. The method for real-time rendering and dynamic updating of main wiring diagram based on WEB service according to claim 1 is characterized in that: The on-site wiring situation is specifically drawn according to a standardized main wiring diagram configuration tool to obtain the on-site wiring situation.

3. The method for real-time rendering and dynamic updating of main wiring diagram based on WEB service according to claim 1 is characterized in that: The parsing of the original configuration data to extract all graphic elements in the original configuration data specifically includes: parsing the original configuration data to extract rendering information, coordinate information, data association relationship and transformation rule information of all graphic elements in the original configuration data, wherein the rendering information includes: color, shape, position and angle.

4. The method for real-time rendering and dynamic updating of main wiring diagram based on WEB service according to claim 3 is characterized in that: The real-time status data of the external device is collected, which is specifically: Establish data interface with real-time data acquisition system in substation or power supply system; Acquire the real-time status data of each high-voltage electrical equipment through the data interface of the real-time data acquisition system; According to the data association relationship and transformation rule information in the converted GIS format data, the acquired real-time status data of each high-voltage electrical equipment is associated with the corresponding graphic element; According to the transformation rules, the rendering information and coordinate information of each updated primitive are calculated; Update the GIS format data of the main wiring diagram according to the calculation results.

5. The method for real-time rendering and dynamic updating of main wiring diagram based on WEB service according to claim 4 is characterized in that: The initialization of OpenLayers and loading of GIS format data of the main wiring diagram specifically includes: rendering and displaying the main wiring diagram and real-time refreshing of the main wiring diagram.

6. The method for real-time rendering and dynamic updating of main wiring diagram based on WEB service according to claim 5 is characterized in that: The rendering display of the main wiring diagram is as follows: Determine whether the user terminal accesses the WEB service interface; If not, return to the previous step; if yes, the rendering module initializes the OpenLayers instance on the browser side; The updated main wiring diagram GIS format data is loaded, and the main wiring diagram GIS format data is rendered by batch loading and batch rendering to display the updated main wiring diagram.

7. The method for real-time rendering and dynamic updating of main wiring diagram based on WEB service according to claim 6 is characterized in that: The real-time refresh of the main wiring diagram is specifically as follows: Establish WebSocket to maintain a continuous connection between the WEB service interface and the browser; Determine whether the real-time status data of each high-voltage electrical equipment has changed; If so, the updated GIS format data is pushed to the browser, and the affected graphics are re-rendered through OpenLayers to achieve a partial or overall refresh of the main wiring diagram.

8. Real-time rendering and dynamic update system of main wiring diagram based on WEB service, characterized by: include: The main wiring diagram visualization configuration module generates XML description data of the main wiring diagram based on the on-site wiring conditions; Configure the synchronization module, import the XML description data into the WEB service interface, and store the original configuration data; The configuration parsing and conversion module parses the original configuration data to extract all the graphic metadata in the original configuration data and converts the graphic metadata into GIS format; The real-time data processing module collects the real-time status data of the external device, associates the real-time status data with the corresponding graphic elements according to the relevance of the GIS format data, calculates the updated rendering information and coordinate information of each graphic element by applying the transformation rules, and updates the GIS format data of the main wiring diagram; The main wiring diagram rendering module initializes OpenLayers, loads the GIS format data of the main wiring diagram, and completes the real-time rendering and updating of the main wiring diagram.