Visual display method and system for real-time data processing of novel power grid dispatching control system
By adopting new visual display methods in the new power grid scheduling control system, read real -time data and use rendering component ECharts for curve drawing. Combined with virtual DOM technology and pre -compilation technology, the existing technology cannot meet the real -time real -time grid scheduling control system. The problem of data processing needs has achieved efficient data visualization and real -time monitoring capabilities.
Patent Information
- Application Number
- CN202411293070.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-14
- Publication Date
- 2025-01-21
AI Technical Summary
The existing visual display method of the power grid scheduling control system cannot meet the real-time data processing needs of the new power grid scheduling control system, especially in terms of business functions, display effects, scene page rendering efficiency and human-computer interaction experience.
Adopt a new visual display method, including reading real -time data and adding time -standard information, modeling visualization objects, building real -time and state value structures into visualized objects, and using the API provided by the rendering component ECharts to complete the curve of the real -time data provided by the component ECHARTS. In combination with virtual DOM technology and pre -compileing technology, improve rendering efficiency.
Realize more efficient data visualization rendering, provide flexible configuration modules and personalized real -time curve display, can meet the data characteristics of multi -platform and multi -scenario, with animation effect display real -time data change characteristics, improve real -time monitoring of the power grid operation status ability.
Smart Images

Figure CN119336835A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electric power technology, and in particular to a visual display method and system for real-time data processing of a novel power grid dispatching and control system. Background Art
[0002] The new generation of dispatching technology support system adapts to the transformation and development of power grid dispatching and operation control business, supports the safe and stable operation of large power grids, the optimization and improvement of power production organization, and fully supports market-oriented operations, load dispatching and clean energy consumption.
[0003] The development of data visualization technology can simplify more complex data. By establishing associations with data, discovering filters and features, and using appropriate charts to clearly and intuitively display them, users can truly obtain more valuable information through data analysis. In the field of power systems, relevant technical research has been carried out based on the visualization display needs of actual applications, and visualization display methods that meet the needs of specific application systems have been realized. Display methods based on QT and SVG technology have, to a certain extent, solved the visualization display needs of specific business systems. However, with the construction of a new generation of power grid dispatching and control systems, the curve tools developed in the early stage cannot meet the needs of the site well in terms of business functions, display effects, scene page rendering efficiency, and human-computer interaction experience. Therefore, a visualization display method for real-time data processing of new power grid dispatching and control systems is needed to better improve the rendering efficiency of data visualization. Summary of the invention
[0004] Purpose of the invention: The purpose of the present invention is to provide a method for visualizing real-time data processing of a novel power grid dispatching and control system; another purpose of the present invention is to provide a visualization system for real-time data processing of a novel power grid dispatching and control system.
[0005] Technical solution: The visual display method for real-time data processing of a new power grid dispatching control system described in the present invention comprises the following steps:
[0006] (1) Read real-time data, read real-time data and status values, add time stamp information and store;
[0007] (2) Modeling visualization objects, constructing visualization objects with real-time values, time scale information, and state values;
[0008] (3) Real-time data visualization: converting visualization objects into data parameters of rendering components, combining downsampled data with rendering components, and completing curve drawing of real-time data through the API provided by the rendering component Echarts.
[0009] Furthermore, the step (1) comprises:
[0010] According to the sampling points of the platform, the platform service request message is constructed, and the message returned by the platform interface is converted into a JSON object through the platform bus service interface of the new power grid dispatching and control system. The real-time data and status values are read, and the time stamp information is added and stored.
[0011] Furthermore, the visualization object properties in step (2) include: display information, data step, time scale information, real-time value, status value, color value and associated coordinate system.
[0012] Furthermore, the time stamp information, real-time value and status value are one-dimensional arrays and are stored in a serialized manner;
[0013] Furthermore, in the step (3), the display information of the visualization object is used to draw the curve legend, the color value is used to draw the curve color, the data of the visualization object constitutes a two-dimensional coordinate point with the time scale information as the horizontal axis and the real-time value as the vertical axis, and the two-dimensional coordinate point is downsampled, the downsampled data is combined with the rendering component, and the formatter callback function is used in the rendering component to dynamically add coordinate scale text and curve prompt information, and the curve drawing of the real-time data is completed through the API provided by the rendering component Echarts.
[0014] Furthermore, the downsampling operation of the two-dimensional coordinate points includes:
[0015] The drawing points are selected according to the given downsampling trigger parameter. The given downsampling trigger parameter is 10000, that is, when the number of two-dimensional points exceeds this threshold, 1 valid drawing point is selected according to 5 two-dimensional points until the final number of points is less than the downsampling threshold.
[0016] The visualization system for real-time data processing of a novel power grid dispatching control system according to the present invention comprises:
[0017] Configuration module, used to configure the time range and curve running threshold for real-time data visualization;
[0018] The data analysis module is used for the underlying operating platform. Based on the platform service bus, it shields the interface differences between the underlying platform across the central area and across the security area, and provides a unified data message for the front end;
[0019] The curve drawing module is used to provide a data-driven visualization method to realize personalized display of different scenarios and business data, and supports visualization of real-time data, historical data, sampled data, planned data, forecasted data, and millisecond-level data.
[0020] The running management module is used to periodically calculate the usage ratio of the timeline and compare it with the threshold of the timeline scrolling.
[0021] Furthermore, the usage ratio in the running management module is the ratio of the time difference between the end point and the starting point of the drawn curve to the total time axis.
[0022] Furthermore, the usage ratio in the running management module is compared with the threshold of the time axis scrolling. When the usage ratio exceeds the set threshold, the real-time data of the visualization object is updated and the time axis is moved backward as a whole.
[0023] Furthermore, the curve drawing module provides a data-driven visualization display method based on virtual DOM technology and combined with the display scenario of the power business, and the number of rendered visualization objects is not less than 16.
[0024] Beneficial effects: Compared with the prior art, the present invention has the following significant advantages:
[0025] (1) Flexible application scenarios, providing flexible configuration modules to meet the personalized real-time curve display time range and real-time curve running threshold requirements;
[0026] (2) Customized rendering of data objects, combining the data characteristics of multiple platforms and multiple scenarios, unified modeling, abstract visualization objects, and shielding the differences in the original data formats of multiple platforms and different data services;
[0027] (3) Data-driven visualization, combining visualization components and computer graphics technology, has the ability to display and update real-time data with visualization elements such as curves and tables, and has the ability to display the changing characteristics of real-time data with animation effects; it shields the differences between different rendering engines, and based on virtual DOM technology and pre-compilation technology, improves rendering efficiency;
[0028] (4) Customized time dimension data analysis: The user can select a customized time range and drag the selected time range to calculate and analyze the operating data within the specified time range in real time, thus achieving real-time monitoring of the power grid operation status. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 It is the overall operation framework diagram of the present invention;
[0030] Figure 2 This is a flow chart of real-time data processing. DETAILED DESCRIPTION
[0031] The technical solution of the present invention is further described below in conjunction with the accompanying drawings.
[0032] The visual display method for real-time data processing of a novel power grid dispatching control system according to the present invention comprises the following steps:
[0033] (1) Read real-time data, construct platform service request messages according to the sampling points of the platform, and convert the messages returned by the platform interface into JSON objects through the platform bus service interface of the new power grid dispatching and control system, read real-time data and status values, add time stamp information and store them;
[0034] (2) Modeling visualization objects, constructing visualization objects with real-time values and status values, and object attributes including: display information, data step, time scale information, real-time value, status value, color value, and associated coordinate system; where the time scale information, real-time value, and status value are one-dimensional arrays and are stored in a serialized manner;
[0035] (3) Real-time data visualization drawing: convert the visualization object into the data parameter of the rendering component, draw the display information of the visualization object into a curve legend, and use the color value of the visualization object to draw the curve color. The data of the visualization object is composed of two-dimensional coordinate points with the time scale information as the horizontal axis and the real-time value as the vertical axis. Then, the two-dimensional coordinate points are downsampled, that is, the drawing points are selected according to the given downsampling trigger parameter. The given downsampling trigger parameter is 10000, that is, when the number of two-dimensional points exceeds this threshold, 1 valid drawing point is selected according to 5 two-dimensional points until the final number of points is less than the downsampling threshold. The downsampled data is further combined with the rendering component, and the curve drawing of the real-time data is completed through the API provided by the rendering component Echarts; the formatter callback function is used in the rendering component to dynamically add coordinate scale text and curve prompt information.
[0036] The visualization system for real-time data processing of a novel power grid dispatching control system according to the present invention comprises:
[0037] Configuration module: The configuration module in the present invention runs on the client. Different clients are flexibly configured according to different usage scenarios without affecting each other. It is used to configure the time range of real-time data visualization display, including but not limited to 5 minutes, 10 minutes, and 30 minutes; the curve running threshold, the difference between the initial time and the current time accounts for the total window time, including but not limited to 60% and 80%;
[0038] Data parsing module: The data parsing module in the present invention is oriented to the underlying operating platform, based on the platform service bus, shielding the interface differences between the underlying platform across the central area and across the security area, and providing a unified data message for the front end.
[0039] The curve drawing module in the present invention is based on virtual DOM technology and combines the display scenarios of power business to provide a data-driven visualization display method, realize personalized display of different scenarios and different business data, support visualization of real-time data, historical data, sampled data, planned data, predicted data, and millisecond-level data, and the number of visualization objects rendered at the same time is not less than 16;
[0040] The running management module in the present invention refers to the usage ratio of the periodic calculation time axis. The usage ratio refers to the ratio of the time difference between the end point and the starting point of the drawn curve to the total time axis. When the ratio exceeds the set threshold, the real-time data of the visualization object is updated and the time axis is moved backward as a whole.
[0041] As shown in Table 1, the configuration attributes in the present invention include: the most recent time range of the real-time data display window, which supports 5 minutes, 10 minutes and 30 minutes definitions; the real-time curve scrolling condition, which sets the percentage of the time interval in the window, and different clients can set different percentages; detecting the time deviation ratio between the current time point and the initial time point. If the scrolling condition is met, the start time point and the end time point of the real-time data window are moved back by one time step as a whole.
[0042] Table 1: Configuration property definitions
[0043]
[0044] As shown in Table 2, the rendering data object in the present invention shields the data differences between different platforms (such as monitoring and analysis, security zone I and zone III), and also shields the data differences between different data types (such as history, real-time, plan, forecast, etc.), constructs a unified rendering data object, simplifies the complexity of data display, and the object attributes include: display object information, object sequence number, data step, object internal identification, data time array, data group array, data status array, associated vertical coordinate index, color attribute and dynamic point supplement identification.
[0045] Table 2: Rendering data object definition
[0046]
[0047] like Figure 1 As shown, the real-time data visualization system in the present invention is divided into three layers, the front-end display layer, the data layer and the new generation platform layer:
[0048] The real-time data display layer mainly realizes the visualization display of real-time data, UI interaction, and real-time data scrolling and refreshing; the main functional modules of the front end include initialization configuration module, real-time data processing module, real-time data scrolling module, real-time data display and interaction module;
[0049] The data layer provides a proxy for the front-end layer data requests, receives the front-end data requests, forwards the requests to the platform service layer, and processes the data messages, etc.
[0050] The new generation platform layer provides real-time data services, receives client requests, queries platform data and returns them.
[0051] like Figure 2 As shown, real-time data processing is performed in the following steps:
[0052] Step 1: Program loading, mainly loading executable files, dependent resource files, and dynamic libraries;
[0053] Step 2: Initialize the configuration, start the configuration module, configure the time range for real-time data visualization, and the threshold for scrolling the real-time data timeline;
[0054] Step 3: Parse the data object information and send a data request to the service agent;
[0055] Step 4: The service proxy layer receives the data request and constructs a message based on the measurement point, quadruple, and object;
[0056] Step 5: Call the platform service, process the data message in a unified format, and return the data message to the front-end layer;
[0057] Step 6: The front-end layer parses the real-time data, renders the real-time data, and monitors the front-end interaction events;
[0058] Step 7: Detect whether the real-time data needs to be scrolled, and if the scrolling conditions are met, scroll the real-time data display window;
[0059] Step 8: Continue back to step 3 and periodically request real-time data.
Claims
1. A visual display method for real-time data processing of a new power grid dispatching control system, characterized in that: The steps include: (1) Read real-time data, read real-time data and status values, add time stamp information and store; (2) Modeling visualization objects, constructing visualization objects with real-time values, time scale information, and state values; (3) Real-time data visualization: converting visualization objects into data parameters of rendering components, combining downsampled data with rendering components, and completing curve drawing of real-time data through the API provided by the rendering component Echarts.
2. The visual display method for real-time data processing of a new power grid dispatching control system according to claim 1 is characterized in that: The step (1) comprises: According to the sampling points of the platform, the platform service request message is constructed, and the message returned by the platform interface is converted into a JSON object through the platform bus service interface of the new power grid dispatching and control system. The real-time data and status values are read, and the time stamp information is added and stored.
3. The visual display method for real-time data processing of a new power grid dispatching control system according to claim 1 is characterized in that: The visualization object properties in step (2) include: display information, data step, time scale information, real-time value, status value, color value and associated coordinate system.
4. The visual display method for real-time data processing of a new power grid dispatching control system according to claim 3 is characterized in that: The time stamp information, real-time value and status value are one-dimensional arrays and are stored in a serialized manner.
5. The visual display method for real-time data processing of a new power grid dispatching control system according to claim 1 is characterized in that: In the step (3), the display information of the visualization object is used to draw the curve legend, and the color value is used to draw the curve color. The data of the visualization object constitutes a two-dimensional coordinate point with the time scale information as the horizontal axis and the real-time value as the vertical axis, and the two-dimensional coordinate point is downsampled. The downsampled data is combined with the rendering component, and the formatter callback function is used in the rendering component to dynamically add coordinate scale text and curve prompt information, and the curve drawing of the real-time data is completed through the API provided by the rendering component Echarts.
6. The visual display method for real-time data processing of a new power grid dispatching control system according to claim 5 is characterized in that: The downsampling operation of the two-dimensional coordinate point includes: The drawing points are selected according to the given downsampling trigger parameter. The given downsampling trigger parameter is 10000, that is, when the number of two-dimensional points exceeds this threshold, 1 valid drawing point is selected according to 5 two-dimensional points until the final number of points is less than the downsampling threshold.
7. A visualization system for real-time data processing of a new power grid dispatching control system, characterized in that: include: Configuration module, used to configure the time range and curve running threshold for real-time data visualization; The data analysis module is used for the underlying operating platform. Based on the platform service bus, it shields the interface differences between the underlying platform across the central area and across the security area, and provides a unified data message for the front end; The curve drawing module is used to provide a data-driven visualization method to realize personalized display of different scenarios and business data, and supports visualization of real-time data, historical data, sampled data, planned data, forecasted data, and millisecond-level data. The running management module is used to periodically calculate the usage ratio of the timeline and compare it with the threshold of the timeline scrolling.
8. The visualization system for real-time data processing of a novel power grid dispatching and control system according to claim 7 is characterized in that: The usage ratio in the running management module is the ratio of the time difference between the end point and the starting point of the drawn curve to the total time axis.
9. The visualization system for real-time data processing of a novel power grid dispatching and control system according to claim 7 is characterized in that: The usage ratio in the running management module is compared with the threshold of the time axis scrolling. When the usage ratio exceeds the set threshold, the real-time data of the visualization object is updated and the time axis is moved backward as a whole.
10. The visualization system for real-time data processing of a novel power grid dispatching control system according to claim 7 is characterized in that: The curve drawing module is based on virtual DOM technology and combines the display scenario of the power business to provide a data-driven visualization display method, and the number of rendered visualization objects is not less than 16.
Citation Information
Cited By
Processing method, device and equipment based on time series data of Internet of Things and medium
CN120492528A
A processing method and device based on Internet of Things time series data, equipment and medium
CN120492528B