A method for intelligent conversion of power supply data monitoring table in dispatching automation system

By converting Excel spreadsheets into SVG graphic objects and applying preset translation rules to generate target charts, the problem of low drawing efficiency caused by the variable formats of monitoring tables in dispatch automation systems is solved, achieving efficient drawing of monitoring tables and improving the efficiency of power grid operation and maintenance.

CN114266229BActive Publication Date: 2024-10-01GUANGXI POWER GRID CO LTD NANNING POWER SUPPLY BUREAU
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111192958.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-13
Publication Date
2024-10-01
Estimated Expiration
2041-10-13

AI Technical Summary

Technical Problem

In dispatch automation systems, the format of power supply monitoring tables varies, requiring them to be redrawn each time. Furthermore, when the font size changes, the table size must be adjusted simultaneously, resulting in low drawing efficiency.

Method used

The generated Excel spreadsheet is converted into an SVG graphic object, and the target chart is automatically generated according to preset translation rules, avoiding the need to redraw monitoring tables with different data or display attributes.

Benefits of technology

This improved the efficiency of monitoring table generation and enhanced the efficiency of power grid automation operation and maintenance and power supply guarantee.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114266229B_ABST
    Figure CN114266229B_ABST
Patent Text Reader

Abstract

The present application discloses a method for intelligent conversion of a data monitoring table for power supply guarantee in a dispatching automation system, wherein the method comprises: obtaining user monitoring data, and generating an Excel table according to the user monitoring data; generating an SVG graphic object corresponding to the Excel table according to the Excel table; and automatically generating a target chart according to the SVG graphic object and a preset translation rule. By converting the generated Excel table into an SVG graphic object (scalable vector graphics), and then automatically generating a target chart from the SVG graphic object according to the preset translation rule, it is not necessary to redraw the monitoring table of different data on time or redraw the monitoring table with different display attributes, which greatly improves the efficiency of drawing the monitoring table, and further improves the efficiency of the automated operation and maintenance of the power grid and the power supply guarantee work.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application and the field of intelligent power grid management particularly relate to a method for intelligent conversion of a power supply data monitoring table of a dispatching automation system. Background Art

[0002] In the maintenance of the dispatching automation system, the operation and maintenance personnel need to meet the requirements of various power supply monitoring tables according to the dispatching method for a long time, draw the monitoring table in the dispatching automation system, and perform dynamic data association to complete the monitoring drawing and publish it for power supply monitoring. However, due to the changeable format of the power supply monitoring table, there is no completely unified format, and different tables must be drawn every year or month, which leads to poor versatility of the monitoring table. It must be redrawn in the system every time. When the font size changes, the table size must also be modified at the same time, resulting in low efficiency in drawing the monitoring table. Summary of the invention

[0003] The present application provides a method for intelligent conversion of power supply data monitoring tables of a dispatching automation system. By converting a generated Excel table into an SVG graphic image (scalable vector graphics), and then automatically generating a target graphic image from the SVG graphic image according to preset translation rules, there is no need to redraw monitoring tables with different data on time or redraw monitoring tables with different display attributes, which greatly improves the efficiency of drawing monitoring tables and further improves the efficiency of automated operation and maintenance of power grids and power supply guarantee work.

[0004] The present application provides a method for intelligent conversion of a power supply data monitoring table of a dispatching automation system, comprising:

[0005] Obtain user monitoring data, and generate an Excel table based on the user monitoring data;

[0006] Generate an SVG graphic object corresponding to the Excel table according to the Excel table;

[0007] A target chart is automatically generated according to the SVG graphic object and preset translation rules.

[0008] Optionally, the preset translation rules include: appearance information including geometric shapes, lines and line colors of the graphic image.

[0009] Optionally, the automatically generating a target chart according to the SVG graphic object and a preset translation rule includes:

[0010] Performing data analysis on the SVG graphic object to obtain relevant data of the SVG graphic object;

[0011] Loading a graphic element template according to the relevant data;

[0012] The target chart is automatically generated by combining the SVG graphic object, the graphic element template and the translation rule.

[0013] Optionally, after automatically generating a target chart by combining the SVG graphic object, the graphic element template and the translation rule, the method further includes:

[0014] The target chart is parameterized, wherein the parameters include page margins, chart background color, and font size.

[0015] From the above technology: user monitoring data is obtained, and an Excel table is generated according to the user monitoring data; an SVG graphic object corresponding to the Excel table is generated according to the Excel table; a target chart is automatically generated according to the SVG graphic object and a preset translation rule. By converting the generated Excel table into an SVG graphic object (scalable vector graphics), and then automatically generating a target chart from the SVG graphic object according to the preset translation rule, there is no need to redraw the monitoring table of different data on time or redraw the monitoring table of different display attributes, which greatly improves the efficiency of drawing the monitoring table and further improves the efficiency of the automated operation and maintenance of the power grid and the power supply guarantee work. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 The present invention is a flowchart of an embodiment of a method for intelligent conversion of a power supply data monitoring table of a dispatching automation system in the present application. DETAILED DESCRIPTION

[0017] An embodiment of the present application provides a method for intelligent conversion of power supply data monitoring tables of a dispatching automation system. By converting a generated Excel table into an SVG graphic image (scalable vector graphics), and then automatically generating a target graphic image from the SVG graphic image according to preset translation rules, there is no need to redraw monitoring tables for different data on time or redraw monitoring tables with different display attributes, which greatly improves the efficiency of drawing monitoring tables and further improves the efficiency of automated operation and maintenance of the power grid and power supply guarantee work.

[0018] See also Figure 1 In one embodiment of the present application, a method for intelligent conversion of a dispatching automation system power supply data monitoring table includes:

[0019] 101. Obtain user monitoring data, and generate an Excel table according to the user monitoring data;

[0020] In this embodiment, the user monitoring data to be displayed is obtained from the Oriental Electronics dispatching automation system, and an Excel spreadsheet of the user monitoring data is generated based on the obtained user monitoring data. The Excel spreadsheet contains all the user monitoring data to be visualized.

[0021] In this embodiment, the user monitoring data may be obtained through a wireless network or through Bluetooth communication, and the specific method is not limited here.

[0022] 102. Generate an SVG graphic object corresponding to the Excel table according to the Excel table;

[0023] The Excel spreadsheet is imported into a system with an SVG generation plug-in. The SVG generation plug-in obtains chart information from the user monitoring data in the Excel spreadsheet and further generates an SVG graphic object based on the chart information.

[0024] 103. Analyze the data of the SVG graphic object to obtain relevant data of the SVG graphic object;

[0025] In order to further enrich the target chart generated in step 105 and visualize the user monitoring data in a more friendly way, and because the SVG graphic object contains chart-related attributes such as lines, text, and colors, before generating the target chart, it is necessary to interpret the SVG graphic object to obtain relevant data of the attributes in the SVG graphic object, so as to provide a data basis for step 104.

[0026] 104. Loading a graphic element template according to the relevant data;

[0027] After determining the relevant data of the attributes in the SVG graphic object, further determine the common attribute relevant data of the preset target chart based on the relevant data, and then determine and load the primitive template based on the common attribute relevant data. The primitive template is used to provide a chart layout basis for automatically generating the target chart in step 105.

[0028] 105. Automatically generate a target chart by combining the SVG graphic object, the graphic element template and the preset translation rules, wherein the preset translation rules include appearance information of the geometric shape, line and line color of the graphic image.

[0029] After the SVG graphic object and graphic element template are generated, the preset translation rules are further determined; the target chart is generated by combining the SVG graphic object, graphic element template and preset translation rules. Specifically: the straight line, text, color and other attributes of the SVG graphic object are directly replaced by the graphic data file generated by the custom attributes of the Oriental Electronic Dispatch System using the replacement method (preset translation rules); the graphic data file is changed by replacing the color keywords of the graphic data file to achieve the color change of the text and graphics; the page margins and text size of the graphic file can be adjusted by replacing the text and position keywords of the graphic data file.

[0030] 106. Adjust the parameters of the target chart, including page margins, chart background color, and font size.

[0031] Although the target chart already meets the preset visualization requirements, different users have different visual perceptions of the visualized target chart. In order to improve the user-friendly interaction between the visualized target chart and the target chart, after the target chart has been generated, the user can also adjust parameters such as the target chart's page margins, chart background color, and font size.

[0032] By converting the generated Excel table into an SVG graphic object (scalable vector graphics), and then automatically generating the target chart from the SVG graphic object according to the preset translation rules, there is no need to redraw the monitoring table for different data or redraw the monitoring table for different display attributes on time, which greatly improves the efficiency of drawing the monitoring table and further improves the efficiency of the automated operation and maintenance of the power grid and the power supply guarantee.

[0033] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0034] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0035] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0036] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0037] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), disk or optical disk and other media that can store program code.

Claims

1. A method for intelligent conversion of power supply data monitoring table of dispatching automation system, characterized in that: include: Obtain user monitoring data, and generate an Excel table based on the user monitoring data; Generate an SVG graphic object corresponding to the Excel table according to the Excel table; Automatically generate a target chart according to the SVG graphic object and preset translation rules, wherein the preset translation rules include: appearance information including geometric shapes, lines and line colors of the graphic image; The method of automatically generating a target chart according to the SVG graphic object and the preset translation rules includes: performing data analysis on the SVG graphic object to obtain relevant data of the SVG graphic object; loading a graphic element template according to the relevant data; and automatically generating a target chart by combining the SVG graphic object, the graphic element template and the translation rules; The method of automatically generating a target chart by combining the SVG graphic object, the graphic element template and the translation rule is as follows: according to the preset translation rule, the straight line, text and color attributes of the SVG graphic object are directly replaced by the graphic data file generated by the custom attributes of the Oriental Electronics Dispatch System by a replacement method; the graphic data file is changed by replacing the color keywords of the graphic data file to achieve the color change of the text and graphics; the page margin and text size of the graphic data file can be adjusted by replacing the text and position keywords of the graphic data file.

2. The method according to claim 1, characterized in that After automatically generating a target chart by combining the SVG graphic object, the graphic element template and the translation rule, the method further includes: The target chart is parameterized, wherein the parameters include page margins, chart background color, and font size.