CN109686225B - Power system data visualization method and device, computer equipment and storage medium - Google Patents

Power system data visualization method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN109686225B
CN109686225B CN201811581845.9A CN201811581845A CN109686225B CN 109686225 B CN109686225 B CN 109686225B CN 201811581845 A CN201811581845 A CN 201811581845A CN 109686225 B CN109686225 B CN 109686225B
Authority
CN
China
Prior art keywords
power supply
area
supply device
information
svg map
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811581845.9A
Other languages
Chinese (zh)
Other versions
CN109686225A (en
Inventor
龚泽玮
杨冬婷
李诗颖
魏东宁
郭杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Power Supply Bureau of Guangdong Power Grid Co Ltd
Original Assignee
Guangzhou Power Supply Bureau of Guangdong Power Grid Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Power Supply Bureau of Guangdong Power Grid Co Ltd filed Critical Guangzhou Power Supply Bureau of Guangdong Power Grid Co Ltd
Priority to CN201811581845.9A priority Critical patent/CN109686225B/en
Publication of CN109686225A publication Critical patent/CN109686225A/en
Application granted granted Critical
Publication of CN109686225B publication Critical patent/CN109686225B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B29/00Maps; Plans; Charts; Diagrams, e.g. route diagram
    • G09B29/003Maps
    • G09B29/006Representation of non-cartographic information on maps, e.g. population distribution, wind direction, radiation levels, air and sea routes
    • G09B29/007Representation of non-cartographic information on maps, e.g. population distribution, wind direction, radiation levels, air and sea routes using computer methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas or water supply

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Human Resources & Organizations (AREA)
  • General Business, Economics & Management (AREA)
  • Water Supply & Treatment (AREA)
  • Public Health (AREA)
  • Marketing (AREA)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Ecology (AREA)
  • Mathematical Physics (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to a power system data visualization method and device, computer equipment and a storage medium. The method comprises the following steps: the method comprises the steps of obtaining SVG map data, generating an SVG map, obtaining an information set of power supply equipment, establishing an association relation between each power supply equipment and the SVG map according to the information set of the power supply equipment, obtaining information of each area, generating visual primitives of each area, determining target coordinate information of the visual primitives of each area on the SVG map according to the association relation, and displaying the visual primitives of each area on the SVG map according to the target coordinate information. By adopting the method, the correlation between the power system data of each area and each power supply area can be visually shown.

Description

Power system data visualization method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of visualization technologies, and in particular, to a method and an apparatus for visualizing data in an electrical power system, a computer device, and a storage medium.
Background
With the development of modern power technology, power system visualization technology appears. The visualization technology can convert various complicated data into visual graphs and images, so that people can correctly understand the meaning of the data, and the power system visualization technology can visually display the running state of the system. The visualization method adopted in the current power system mainly includes that a visualization image exists in each application system in a bitmap image form of various different formats.
However, the current power system visualization method only involves processing of power system data, and has a problem that the correlation between the power system data and each power supply area cannot be visually displayed.
Disclosure of Invention
In view of the above, it is necessary to provide a power system data visualization method, a device, a computer device and a storage medium capable of visually displaying the correlation between power system data and each power supply area.
A power system data visualization method, the method comprising:
obtaining SVG (Scalable Vector Graphics) map data and generating an SVG map;
acquiring an information set of power supply equipment, and establishing an association relation between each power supply equipment and an SVG map according to the information set of the power supply equipment;
acquiring information of each area, and generating a visual primitive of each area;
determining target coordinate information of the visual primitives of each area on the SVG map according to the association relation;
and displaying the visual primitives of each area on the SVG map according to the coordinate information of each target.
In one embodiment, acquiring an information set of the power supply equipment, and establishing an association relationship between each power supply equipment and the SVG map according to the information set of the power supply equipment includes:
and establishing an incidence relation between each power supply device and the graphics primitive of each power supply device in the SVG map according to the identification information carried by each power supply device in the information set of the power supply device.
In one embodiment, acquiring information of each region, and generating a visual primitive for each region includes:
acquiring information of each area, and determining position information of each power supply device in each area according to the information of each area;
acquiring power supply data of each power supply device in each area according to the position information of each power supply device in each area;
and generating a visual primitive of each area according to the power supply data of each power supply device in each area.
In one embodiment, determining the target coordinate information of the visual primitives of each area on the SVG map according to the association relationship comprises:
acquiring first coordinate information of a primitive of each area in the SVG map;
acquiring second coordinate information of the graphic primitives of each power supply device in each area in the SVG map;
and determining target coordinate information of the visual primitives of each area on the SVG map according to the association relation, the first coordinate information of the primitives of each area and the second coordinate information of the primitives of each power supply device in each area.
In one embodiment, after the visual primitives of each area are displayed on the SVG map, the method comprises the following steps:
when receiving the updated power supply data, determining corresponding power supply equipment according to the updated power supply data;
acquiring the position information of the corresponding power supply equipment, and determining an area corresponding to the corresponding power supply equipment according to the position information of the corresponding power supply equipment;
and updating the visual primitives of the corresponding area, and displaying the updated visual primitives on the SVG map.
An electrical power system data visualization device, the device comprising:
the SVG loading module is used for acquiring SVG map data and generating an SVG map;
the first acquisition module is used for acquiring the information set of the power supply equipment and establishing the association relationship between each power supply equipment and the SVG map according to the information set of the power supply equipment;
the second acquisition module is used for acquiring the information of each area and generating a visual primitive of each area;
the positioning module is used for determining target coordinate information of the visual primitives of each area on the SVG map according to the association relation;
and the display module is used for displaying the visual primitives of each area on the SVG map according to the coordinate information of each target.
In one embodiment, the first obtaining module is further configured to establish an association relationship between each power supply device and a primitive of each power supply device in the SVG map according to identification information carried by each power supply device in the information set of the power supply devices.
In one embodiment, the second obtaining module is further configured to obtain information of each area, determine location information of each power supply device in each area according to the information of each area, obtain power supply data of each power supply device in each area according to the location information of each power supply device in each area, and generate a visual primitive of each area according to the power supply data of each power supply device in each area.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
obtaining SVG map data and generating an SVG map;
acquiring an information set of power supply equipment, and establishing an association relation between each power supply equipment and an SVG map according to the information set of the power supply equipment;
acquiring information of each area, and generating a visual primitive of each area;
determining target coordinate information of the visual primitives of each area on the SVG map according to the association relation;
and displaying the visual primitives of each area on the SVG map according to the coordinate information of each target.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
obtaining SVG map data and generating an SVG map;
acquiring an information set of power supply equipment, and establishing an association relation between each power supply equipment and an SVG map according to the information set of the power supply equipment;
acquiring information of each area, and generating a visual primitive of each area;
determining target coordinate information of the visual primitives of each area on the SVG map according to the association relation;
and displaying the visual primitives of each area on the SVG map according to the coordinate information of each target.
The power system data visualization method, the power system data visualization device, the computer equipment and the storage medium acquire SVG map data, generate an SVG map, acquire an information set of power supply equipment, establish an association relationship between each power supply equipment and the SVG map according to the information set of the power supply equipment, acquire information of each area, generate a visual primitive of each area, determine target coordinate information of the visual primitive of each area on the SVG map according to the association relationship, and display the visual primitive of each area on the SVG map according to each target coordinate information. By the method, each power supply area and the visual primitives of each power supply area generated according to the area information set are displayed through the SVG map, and the correlation between the power system data of each area and each power supply area is visually displayed.
Drawings
FIG. 1 is a schematic flow chart diagram of a method for visualizing power system data in one embodiment;
FIG. 2 is a schematic flow chart diagram illustrating a method for visualizing data in a power system according to another embodiment;
FIG. 3 is a schematic sub-flow chart illustrating step S106 of FIG. 1 according to an embodiment;
FIG. 4 is a schematic illustration of a sub-flow chart of step S108 in FIG. 1 according to an embodiment;
FIG. 5 is a flowchart illustrating steps subsequent to step S110 of FIG. 1 according to one embodiment;
FIG. 6 is a block diagram of an embodiment of a power system data visualization device;
FIG. 7 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In one embodiment, as shown in fig. 1, there is provided a power system data visualization method, including the steps of:
s102: and obtaining SVG map data and generating the SVG map.
SVG is based on the extensible markup language (a subset of the standard universal markup language), a graphics format for describing two-dimensional vector graphics. The method provides an open solution for network distribution of the power system operation visual graphic data, so that the power grid graphic data becomes an extensible and portable graphic resource. The SVG map refers to a map generated based on SVG, the SVG map comprises graphic elements of each area and each power supply device in each area, and the graphic elements of each area and each power supply device in each area are used for displaying each area and each power supply device on the SVG map. The SVG map data comprises preset tag data, and the SVG map can be embedded into an HTML (Hypertext Markup Language) document through the preset tag and displayed in a web browser. The preset tags include an embed tag, an object tag, and an iframe tag.
S104: and acquiring an information set of the power supply equipment, and establishing an association relation between each power supply equipment and the SVG map according to the information set of the power supply equipment.
The information set of the power supply equipment refers to the information set of each power supply equipment, the information of each power supply equipment comprises identification information carried by each power supply equipment, and each power supply equipment can be accurately distinguished according to the identification information carried by each power supply equipment.
S106: and acquiring information of each area, and generating a visual primitive of each area.
Visualization is a theory, method and technique of converting data into graphics or images to be displayed on a screen and performing interactive processing by using computer graphics and image processing techniques. The method relates to a plurality of fields of computer graphics, image processing, computer vision, computer aided design and the like, and becomes a comprehensive technology for researching a series of problems of data representation, data processing, decision analysis and the like. The visualization technology is applied to computer science for the first time, and forms an important branch of the visualization technology, namely scientific calculation visualization. Scientific computational visualization enables scientific data, including measured values, images or digital information involved in, generated from, or generated from computations, to be visualized, represented as graphical image information, and time and space varying physical phenomena or quantities to be presented to researchers for their observation, simulation and computation.
The information of each area comprises information of each power supply device of each area, the information of each power supply device of each area corresponds to a primitive set of each power supply device of each area displayed on the SVG map, the information set of the power supply device corresponding to the primitive set of each power supply device of each area displayed on the SVG map is acquired, so that a visual primitive of each area is generated according to the corresponding information set of the power supply device, the visual primitive of each area is used for displaying visual data of each area on the SVG map, and specifically, the visual data of each area can be a bar graph representing the power supply data of each area. The data displayed on the visual primitives of each area correspond to the primitives of the power supply equipment of each area displayed on the SVG map, and the number of the primitives of the power supply equipment of each area displayed on the SVG map can be set according to the requirement according to the difference of the number of the primitives of the power supply equipment of each area displayed on the SVG map.
S108: and determining the target coordinate information of the visual primitives of each area on the SVG map according to the association relation.
According to the association relationship, the corresponding relationship between the graphic elements of each power supply device in each area and each power supply device displayed on the SVG map can be determined, so that the corresponding relationship between the coordinate information of the graphic elements of each power supply device and the position information of each power supply device in each area is determined according to the corresponding relationship between the graphic elements of each power supply device and each power supply device, and the target coordinate information of the visual graphic elements of each area on the SVG map is determined according to the corresponding relationship between the coordinate information of the graphic elements of each power supply device and the position information of each power supply device in each area. The target coordinate information of the visual primitives of each area on the SVG map refers to the coordinate information of the display area of the visual primitives of each area on the SVG map.
S110: and displaying the visual primitives of each area on the SVG map according to the coordinate information of each target.
And displaying the visual primitives of each area on the SVG map according to the coordinate information of the display area of the visual primitives of each area on the SVG map.
The power system data visualization method comprises the steps of obtaining SVG map data, generating an SVG map, obtaining an information set of power supply equipment, establishing an association relation between each power supply equipment and the SVG map according to the information set of the power supply equipment, obtaining information of each area, generating a visualization primitive of each area, determining target coordinate information of the visualization primitive of each area on the SVG map according to the association relation, and displaying the visualization primitive of each area on the SVG map according to each target coordinate information. By the method, each power supply area and the visual primitives of each power supply area generated according to the area information set are displayed through the SVG map, and the correlation between the power system data of each area and each power supply area is visually displayed.
In one embodiment, as shown in fig. 2, S104 includes:
s202: and establishing an incidence relation between each power supply device and the graphics primitive of each power supply device in the SVG map according to the identification information carried by each power supply device in the information set of the power supply device.
The information set of the power supply equipment is stored in an external file or a database, and each power supply equipment carries identification information which is used for distinguishing each power supply equipment. The identification information may be a string of numbers or a combination of numbers and letters. The identification information of each power supply device is also carried in the primitive data of each power supply device in the SVG map data, and the identification information carried in the primitive data is also used for distinguishing each power supply device and corresponds to the identification information carried by each power supply device in the information set of the power supply devices, so that the incidence relation between each power supply device and the primitive of each power supply device in the SVG map can be established through the identification information carried by each power supply device, and the incidence relation here refers to a one-to-one correspondence relation.
In one embodiment, as shown in fig. 3, S106 includes:
s302: acquiring information of each area, and determining position information of each power supply device in each area according to the information of each area;
s304: acquiring power supply data of each power supply device in each area according to the position information of each power supply device in each area;
s306: and generating a visual primitive of each area according to the power supply data of each power supply device in each area.
The information of each area comprises position information of each power supply device in each area, the position information refers to geographical coordinates of each power supply device, the position information of each power supply device in each area corresponds to a pixel set of each power supply device in each area displayed on the SVG map, the position information of each power supply device corresponding to the pixel set of each power supply device in each area displayed on the SVG map needs to be determined, the corresponding position information of each power supply device is used as the position information of each power supply device in each area, therefore, the power supply data of each power supply device in each area is obtained according to the position information of each power supply device in each area, and the visual pixels of each area can be generated according to the power supply data of each power supply device in each area. The position information of each power supply device can be longitude and latitude information of each power supply device, and is used for confirming geographic coordinates of each power supply device. The power supply data of each power supply device includes state information of each power supply device and a transmission condition of each power supply device, and the state information of each power supply device may be an operation condition of each power supply device, including whether power is supplied normally or not.
In one embodiment, as shown in fig. 4, S108 includes:
s402: acquiring first coordinate information of a primitive of each area in the SVG map;
s404: acquiring second coordinate information of the graphic primitives of each power supply device in each area in the SVG map;
s406: and determining target coordinate information of the visual primitives of each area on the SVG map according to the association relation, the first coordinate information of the primitives of each area and the second coordinate information of the primitives of each power supply device in each area.
Acquiring first coordinate information of primitives of each area in the SVG map, determining a first corresponding relationship between the position information of each area and the coordinate information of the primitives of each area in the SVG map according to the position information of each area in the area information set and the first coordinate information of the primitives of each area in the SVG map, acquiring second coordinate information of the primitives of each power supply device in each area in the SVG map, determining a second corresponding relationship between the position information of each power supply device in each area and the primitives of each power supply device in each area in the SVG map according to the association relationship and the position information of each power supply device in each area in the area information set, thereby determining a first corresponding relationship between the position information of each area and the coordinate information of the primitives of each area and a second corresponding relationship between the position information of each power supply device in each area and the primitives of each power supply device in each area in the SVG map, and determining the target coordinate information of the visual primitives of each area on the SVG map. The target coordinate information of the visual primitives of each area on the SVG map refers to the coordinate information of the display area of the visual primitives of each area on the SVG map.
In one embodiment, as shown in fig. 5, after S110, the method includes:
s502: when receiving the updated power supply data, determining corresponding power supply equipment according to the updated power supply data;
s504: acquiring the position information of the corresponding power supply equipment, and determining an area corresponding to the corresponding power supply equipment according to the position information of the corresponding power supply equipment;
s506: and updating the visual primitives of the corresponding area, and displaying the updated visual primitives on the SVG map.
When the power supply data of the power supply equipment changes, the updated power supply data can be pushed to the terminal, when the terminal receives the updated power supply data, the corresponding power supply equipment can be determined according to the updated power supply data, the position information of the corresponding power supply equipment is further acquired, the area corresponding to the corresponding power supply equipment is determined according to the position information of the corresponding power supply equipment, the visual primitives of the corresponding area are updated, the updated visual primitives are displayed on the SVG map, and through the method, the change of the power supply data of the power supply equipment can be displayed in real time according to the visual primitives.
It should be understood that although the various steps in the flow charts of fig. 1-5 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-5 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 6, there is provided a power system data visualization apparatus, including: SVG loading module 602, first obtaining module 604, second obtaining module 606, positioning module 608 and display module 610, wherein:
the SVG loading module 602 is configured to obtain SVG map data and generate an SVG map;
the first obtaining module 604 is configured to obtain an information set of the power supply device, and establish an association relationship between each power supply device and the SVG map according to the information set of the power supply device;
a second obtaining module 606, configured to obtain information of each region, and generate a visual primitive of each region;
the positioning module 608 is configured to determine, according to the association relationship, target coordinate information of the visual primitives of each area on the SVG map;
and the display module 610 is configured to display the visual primitives of each area on the SVG map according to the target coordinate information.
The power system data visualization device acquires SVG map data, generates an SVG map, acquires an information set of power supply equipment, establishes an association relation between each power supply equipment and the SVG map according to the information set of the power supply equipment, acquires information of each area, generates a visualization primitive of each area, determines target coordinate information of the visualization primitive of each area on the SVG map according to the association relation, and displays the visualization primitive of each area on the SVG map according to each target coordinate information. By the method, each power supply area and the visual primitives of each power supply area generated according to the area information set are displayed through the SVG map, and the correlation between the power system data of each area and each power supply area is visually displayed.
In one embodiment, the first obtaining module is further configured to establish an association relationship between each power supply device and a primitive of each power supply device in the SVG map according to identification information carried by each power supply device in the information set of the power supply devices.
In one embodiment, the second obtaining module is further configured to obtain information of each area, determine location information of each power supply device in each area according to the information of each area, obtain power supply data of each power supply device in each area according to the location information of each power supply device in each area, and generate a visual primitive of each area according to the power supply data of each power supply device in each area.
In one embodiment, the positioning module is further configured to obtain first coordinate information of a primitive of each area in the SVG map, obtain second coordinate information of a primitive of each power supply device in each area in the SVG map, and determine target coordinate information of a visual primitive of each area on the SVG map according to the association relationship, the first coordinate information of the primitive of each area, and the second coordinate information of the primitive of each power supply device in each area.
In one embodiment, the power system data visualization apparatus further includes an updating module, where the updating module is configured to, when receiving updated power supply data, determine a corresponding power supply device according to the updated power supply data, acquire position information of the corresponding power supply device, determine an area corresponding to the corresponding power supply device according to the position information of the corresponding power supply device, update a visualization primitive of the corresponding area, and display the updated visualization primitive on the SVG map.
For specific limitations of the power system data visualization apparatus, reference may be made to the above limitations of the power system data visualization method, which are not described herein again. All or part of each module in the power system data visualization device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 7. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a power system data visualization method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a computer device comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program:
obtaining SVG map data and generating an SVG map;
acquiring an information set of power supply equipment, and establishing an association relation between each power supply equipment and an SVG map according to the information set of the power supply equipment;
acquiring information of each area, and generating a visual primitive of each area;
determining target coordinate information of the visual primitives of each area on the SVG map according to the association relation;
and displaying the visual primitives of each area on the SVG map according to the coordinate information of each target.
The power system data visualization computer device acquires SVG map data, generates an SVG map, acquires an information set of a power supply device, establishes an association relation between each power supply device and the SVG map according to the information set of the power supply device, acquires information of each area, generates a visualization primitive of each area, determines target coordinate information of the visualization primitive of each area on the SVG map according to the association relation, and displays the visualization primitive of each area on the SVG map according to each target coordinate information. By the method, each power supply area and the visual primitives of each power supply area generated according to the area information set are displayed through the SVG map, and the correlation between the power system data of each area and each power supply area is visually displayed.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and establishing an incidence relation between each power supply device and the graphics primitive of each power supply device in the SVG map according to the identification information carried by each power supply device in the information set of the power supply device.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring information of each area, and determining position information of each power supply device in each area according to the information of each area;
acquiring power supply data of each power supply device in each area according to the position information of each power supply device in each area;
and generating a visual primitive of each area according to the power supply data of each power supply device in each area.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring first coordinate information of a primitive of each area in the SVG map;
acquiring second coordinate information of the graphic primitives of each power supply device in each area in the SVG map;
and determining target coordinate information of the visual primitives of each area on the SVG map according to the association relation, the first coordinate information of the primitives of each area and the second coordinate information of the primitives of each power supply device in each area.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
when receiving the updated power supply data, determining corresponding power supply equipment according to the updated power supply data;
acquiring the position information of the corresponding power supply equipment, and determining an area corresponding to the corresponding power supply equipment according to the position information of the corresponding power supply equipment;
and updating the visual primitives of the corresponding area, and displaying the updated visual primitives on the SVG map.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
obtaining SVG map data and generating an SVG map;
acquiring an information set of power supply equipment, and establishing an association relation between each power supply equipment and an SVG map according to the information set of the power supply equipment;
acquiring information of each area, and generating a visual primitive of each area;
determining target coordinate information of the visual primitives of each area on the SVG map according to the association relation;
and displaying the visual primitives of each area on the SVG map according to the coordinate information of each target.
The power system data visualization storage medium acquires SVG map data, generates an SVG map, acquires an information set of power supply equipment, establishes an association relation between each power supply equipment and the SVG map according to the information set of the power supply equipment, acquires information of each area, generates a visualization primitive of each area, determines target coordinate information of the visualization primitive of each area on the SVG map according to the association relation, and displays the visualization primitive of each area on the SVG map according to each target coordinate information. By the method, each power supply area and the visual primitives of each power supply area generated according to the area information set are displayed through the SVG map, and the correlation between the power system data of each area and each power supply area is visually displayed.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and establishing an incidence relation between each power supply device and the graphics primitive of each power supply device in the SVG map according to the identification information carried by each power supply device in the information set of the power supply device.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring information of each area, and determining position information of each power supply device in each area according to the information of each area;
acquiring power supply data of each power supply device in each area according to the position information of each power supply device in each area;
and generating a visual primitive of each area according to the power supply data of each power supply device in each area.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring first coordinate information of a primitive of each area in the SVG map;
acquiring second coordinate information of the graphic primitives of each power supply device in each area in the SVG map;
and determining target coordinate information of the visual primitives of each area on the SVG map according to the association relation, the first coordinate information of the primitives of each area and the second coordinate information of the primitives of each power supply device in each area.
In one embodiment, the computer program when executed by the processor further performs the steps of:
when receiving the updated power supply data, determining corresponding power supply equipment according to the updated power supply data;
acquiring the position information of the corresponding power supply equipment, and determining an area corresponding to the corresponding power supply equipment according to the position information of the corresponding power supply equipment;
and updating the visual primitives of the corresponding area, and displaying the updated visual primitives on the SVG map.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (8)

1. A power system data visualization method, the method comprising:
obtaining SVG map data, and generating an SVG map, wherein the SVG map comprises graphics primitives of each area and each power supply device in each area;
acquiring an information set of power supply equipment, and establishing an association relationship between each power supply equipment and the SVG map according to the information set of the power supply equipment, wherein the association relationship is a corresponding relationship between each power supply equipment and a graphic element of each power supply equipment in the SVG map;
acquiring information of each area, and generating visual primitives of each area, wherein the visual primitives of each area are used for displaying visual data of each area on an SVG map, and the visual data represents power supply data;
determining target coordinate information of the visual primitives of each region on the SVG map according to the association relation;
displaying visual primitives of each area on the SVG map according to each target coordinate information;
the acquiring information of each region and generating a visual primitive of each region includes:
acquiring information of each area, and determining position information of each power supply device in each area according to the information of each area, wherein the position information of each power supply device in each area corresponds to a primitive set of the power supply device of each area displayed on an SVG map;
acquiring power supply data of each power supply device in each area according to the position information of each power supply device in each area;
generating visual primitives of each area according to power supply data of each power supply device in each area, wherein the power supply data comprise state information and transmission condition of the power supply device, and data displayed on the visual primitives of each area correspond to the primitives of the power supply device of each area displayed on the SVG map;
the step of determining the target coordinate information of the visual primitives of each area on the SVG map according to the association relationship comprises the following steps:
acquiring first coordinate information of the graphic primitives of each area in the SVG map;
determining a first corresponding relation between the position information of each area and the coordinate information of the graphic primitive of each area according to the first coordinate information;
determining a second corresponding relation between the position information of each power supply device in each area and the graphics primitives of each power supply device in each area in the SVG map according to the incidence relation and the position information of each power supply device in each area;
and determining target coordinate information of the visual primitives of each area on the SVG map according to the first corresponding relation and the second corresponding relation.
2. The method according to claim 1, wherein the obtaining of the information set of the power supply equipment, and the establishing of the association relationship between each power supply equipment and the SVG map according to the information set of the power supply equipment comprises:
and establishing an incidence relation between each power supply device and the graphics primitives of each power supply device in the SVG map according to the identification information carried by each power supply device in the information set of the power supply devices.
3. The method of claim 1, wherein said displaying visual primitives for each of said regions on said SVG map comprises:
when receiving updated power supply data, determining corresponding power supply equipment according to the updated power supply data;
acquiring the position information of the corresponding power supply equipment, and determining an area corresponding to the corresponding power supply equipment according to the position information of the corresponding power supply equipment;
and updating the visual primitives of the corresponding area, and displaying the updated visual primitives on the SVG map.
4. An apparatus for visualization of power system data, the apparatus comprising:
the SVG loading module is used for acquiring SVG map data and generating an SVG map, and the SVG map comprises all areas and graphic elements of all power supply equipment in all areas;
the first acquisition module is used for acquiring an information set of power supply equipment, and establishing an association relationship between each power supply equipment and the SVG map according to the information set of the power supply equipment, wherein the association relationship is a corresponding relationship between each power supply equipment and a graphic element of each power supply equipment in the SVG map;
the second acquisition module is used for acquiring information of each area and generating visual primitives of each area, the visual primitives of each area are used for displaying visual data of each area on the SVG map, and the visual data represents power supply data;
the positioning module is used for determining target coordinate information of the visual primitives of each area on the SVG map according to the association relation;
the display module is used for displaying the visual primitives of each area on the SVG map according to the target coordinate information;
the second obtaining module is further configured to obtain information of each area, determine, according to the information of each area, position information of each power supply device in each area, where the position information of each power supply device in each area corresponds to a primitive set of the power supply device of each area displayed on the SVG map, obtain, according to the position information of each power supply device in each area, power supply data of each power supply device in each area, generate, according to the power supply data of each power supply device in each area, a visual primitive of each area, where the power supply data includes status information and a transmission condition of the power supply device, and data displayed on the visual primitive of each area corresponds to a primitive of the power supply device of each area displayed on the SVG map;
the positioning module is further used for acquiring first coordinate information of primitives of each area in the SVG map, determining a first corresponding relation between position information of each area and the coordinate information of the primitives of each area according to the first coordinate information, determining a second corresponding relation between the position information of each power supply device in each area and the primitives of each power supply device in each area in the SVG map according to the association relation and the position information of each power supply device in each area, and determining target coordinate information of visual primitives of each area on the SVG map according to the first corresponding relation and the second corresponding relation.
5. The apparatus according to claim 4, wherein the first obtaining module is further configured to establish, according to identification information carried by each power supply device in the information set of the power supply devices, an association relationship between each power supply device and a primitive of each power supply device in the SVG map.
6. The apparatus according to claim 4, further comprising an updating module, wherein the updating module is configured to, when receiving updated power supply data, determine a corresponding power supply device according to the updated power supply data, acquire the position information of the corresponding power supply device, determine an area corresponding to the corresponding power supply device according to the position information of the corresponding power supply device, update the visual primitives of the corresponding area, and display the updated visual primitives on the SVG map.
7. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor realizes the steps of the method of any one of claims 1 to 3 when executing the computer program.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 3.
CN201811581845.9A 2018-12-24 2018-12-24 Power system data visualization method and device, computer equipment and storage medium Active CN109686225B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811581845.9A CN109686225B (en) 2018-12-24 2018-12-24 Power system data visualization method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811581845.9A CN109686225B (en) 2018-12-24 2018-12-24 Power system data visualization method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109686225A CN109686225A (en) 2019-04-26
CN109686225B true CN109686225B (en) 2021-12-17

Family

ID=66188830

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811581845.9A Active CN109686225B (en) 2018-12-24 2018-12-24 Power system data visualization method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109686225B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110534187A (en) * 2019-07-01 2019-12-03 首都医科大学附属北京胸科医院 A kind of monitoring method of patient data, device and computer readable storage medium
CN111754602B (en) * 2020-05-15 2024-04-16 北京京东乾石科技有限公司 Map construction method and device, electronic equipment and storage medium
CN111639142A (en) * 2020-05-29 2020-09-08 金现代信息产业股份有限公司 Method and system for realizing association between process diagram and equipment of oil depot equipment
CN113010829B (en) * 2021-03-31 2023-01-20 中国建设银行股份有限公司 Data partition visualization method and device, computer equipment and storage medium

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007188027A (en) * 2006-01-11 2007-07-26 Kakoku Hirayama System for updating map data using svg format
CN104104149A (en) * 2014-07-01 2014-10-15 国家电网公司 Electric apparatus state display and real-time alarm method based on SVG (Scalable Vector Graphics) technology
CN104091202A (en) * 2014-07-11 2014-10-08 国家电网公司 Power distribution network power supply capacity risk assessment method
CN104820154A (en) * 2015-05-25 2015-08-05 重庆大学 Power supply data visualized monitoring system based on visualization technology
CN105787000B (en) * 2016-02-19 2019-02-15 云南电网有限责任公司电力科学研究院 A kind of generation method and system of the SVG/CIM graphical model file based on spatial data
CN106844470B (en) * 2016-12-22 2020-04-24 国网福建省电力有限公司 Graphics display and analysis method of general field model based on SVG display technology
CN107958065A (en) * 2017-12-04 2018-04-24 国网湖南省电力有限公司 Power system visualization method based on map datum
CN107989753A (en) * 2017-12-06 2018-05-04 北京天润新能投资有限公司 A kind of wind power plant wind power generating set monitoring system and monitoring method based on exploitation map
CN108334543A (en) * 2017-12-26 2018-07-27 北京国电通网络技术有限公司 With electricity consumption data visualization methods of exhibiting and system
CN108629483B (en) * 2018-04-02 2021-03-16 广东电网有限责任公司广州供电局 Power equipment state evaluation method and system, computer storage medium and equipment
CN108733441A (en) * 2018-04-11 2018-11-02 中国电力科学研究院有限公司 A kind of rendering method for visualizing and system suitable for large scale electric network symbolic device
CN108597340B (en) * 2018-05-15 2020-09-01 中国南方电网有限责任公司 Real-time modeling method for three-dimensional electronic sand table of power grid tide

Also Published As

Publication number Publication date
CN109686225A (en) 2019-04-26

Similar Documents

Publication Publication Date Title
CN109686225B (en) Power system data visualization method and device, computer equipment and storage medium
CN111192356B (en) Method, device, equipment and storage medium for displaying region of interest
CN110148192B (en) Medical image imaging method, device, computer equipment and storage medium
CN110751149A (en) Target object labeling method and device, computer equipment and storage medium
CN113095995B (en) Webpage watermark adding method and device, electronic equipment and storage medium
CN109857388B (en) Code generation method, device, server and computer readable medium
CN111880210A (en) Ground disaster monitoring and processing method and device for power transmission line, early warning system and equipment
CN112990699A (en) Power data processing method and device, computer equipment and storage medium
KR20210093795A (en) Method and apparatus for generating 3d joint point regression model
CN111192352A (en) Map rendering method and device, computer equipment and storage medium
CN110706306A (en) Method and device for drawing area in map application and computer equipment
CN110910504A (en) Method and device for determining three-dimensional model of region
JPWO2018116958A1 (en) Field information assimilation device, method and program for real-time flood hazard mapping
CN110517221B (en) Gap positioning method and device based on real coordinates and storage medium
CN111815576A (en) Method, device, equipment and storage medium for detecting corrosion condition of metal part
CN111223155A (en) Image data processing method, image data processing device, computer equipment and storage medium
CN110807112A (en) Data display method and device based on map
CN114675925B (en) Configuration image processing method and device, computer equipment and storage medium
CN115222252A (en) Method and device for planning intelligent pole, computer equipment and storage medium
CN111028323B (en) Method, device, equipment and readable storage medium for simulating water wave in map
CN113160126A (en) Hardware Trojan horse detection method and device, computer equipment and storage medium
US11922659B2 (en) Coordinate calculation apparatus, coordinate calculation method, and computer-readable recording medium
CN111183451A (en) Display of medical images
CN112994242A (en) Data processing method, data processing device, computer equipment and storage medium
CN113538240B (en) SAR image superpixel generation method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200922

Address after: 510620 Tianhe District, Guangzhou, Tianhe South Road, No. two, No. 2, No.

Applicant after: Guangzhou Power Supply Bureau of Guangdong Power Grid Co.,Ltd.

Address before: 510620 Tianhe District, Guangzhou, Tianhe South Road, No. two, No. 2, No.

Applicant before: GUANGZHOU POWER SUPPLY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant