CN113961631A - Method for dynamically displaying topological graph of power system based on Javascript language - Google Patents

Method for dynamically displaying topological graph of power system based on Javascript language Download PDF

Info

Publication number
CN113961631A
CN113961631A CN202111223570.3A CN202111223570A CN113961631A CN 113961631 A CN113961631 A CN 113961631A CN 202111223570 A CN202111223570 A CN 202111223570A CN 113961631 A CN113961631 A CN 113961631A
Authority
CN
China
Prior art keywords
data
topological graph
power system
system based
javascript language
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.)
Pending
Application number
CN202111223570.3A
Other languages
Chinese (zh)
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.)
Beijing East Environment Energy Technology Co ltd
Original Assignee
Beijing East Environment Energy Technology 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 Beijing East Environment Energy Technology Co ltd filed Critical Beijing East Environment Energy Technology Co ltd
Priority to CN202111223570.3A priority Critical patent/CN113961631A/en
Publication of CN113961631A publication Critical patent/CN113961631A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
    • G06F9/45529Embedded in an application, e.g. JavaScript in a Web browser
    • 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

Abstract

The invention relates to the technical field of new energy power systems and discloses a method for dynamically displaying a topological graph of a power system based on Javascript language. According to the method for dynamically displaying the topological graph of the power system based on the Javascript language, data are analyzed and processed to generate warehousing data, the warehousing data are issued to a data visualization program, a data visualization conversion program generates available data through algorithm calculation, and a topological graph view is finally generated, so that the system has the functions of improving the development efficiency of the topological graph function of the new energy power information system, improving the expansibility of the system function and reducing the operation and maintenance cost.

Description

Method for dynamically displaying topological graph of power system based on Javascript language
Technical Field
The invention relates to the technical field of new energy power systems, in particular to a method for dynamically displaying a topological graph of a power system based on Javascript language.
Background
The topological graph function of the power grid power system is an essential monitoring and displaying function in the power informatization system. The method has the advantages that the relation and real-time data flow information among all devices of a power grid power system can be visually and truly observed, almost all power grid topological diagrams (including provincial dispatching, local dispatching and power station terminals) in the current new energy power system are displayed by drawing with the SVG technology, the real-time data display function of each component in the topological diagrams is realized through the background message pushing technology, the drawing with the SVG technology needs to use a specific drawing tool to establish the network topological diagrams, special technical personnel needs to maintain the topological diagrams later, the development period is long, the operation and maintenance cost is high, the expansibility is good, the defects that the development of the topological diagrams of the power system needs real-time convenience and effectiveness are considered, the development of the WEB front-end technology is combined, the front end, the rear end and a database are effectively combined, and the characteristics of the new energy power system are combined, a set of technology which provides more stable, efficient and intelligent dynamic display of the topological diagram of the power system for customers is developed.
Disclosure of Invention
The invention aims to provide a method for dynamically displaying a topological graph of a power system based on Javascript language, which has the advantages of stability, high efficiency, intellectualization, real-time convenience and the like, and solves the problems that the establishment of a network topological graph needs special technical personnel to carry out later maintenance of the topological graph, the development period is long, the operation and maintenance cost is high, and the expansibility is high.
In order to achieve the purpose, the invention provides the following technical scheme: a method for dynamically displaying a topological graph of a power system based on Javascript language comprises the following steps:
1) firstly, collecting relevant data of a power station;
2) generating corresponding warehousing data through data analysis and processing, and issuing the warehousing data to a data visualization program;
3) and the data visualization conversion program generates available data through algorithm calculation, and finally generates a topological graph view.
Preferably, the power station related data in the step 1 are acquired by adopting two schemes of intelligent program import and manual entry.
Preferably, the data analysis in step 2 is to analyze the correlation between the basic data, merge the valid data according to an algorithm formula, and finally form usable data to be stored in a warehouse.
Preferably, the data visualization conversion program in step 3 first generates a multi-way tree linked list structure according to a sorting and recursive algorithm, and then finds a top bus as a first node of the multi-way tree node.
Preferably, in the linked list node calculation process, the type, coordinate point and direction of the link line of each node are calculated efficiently.
Preferably, the data visualization processing in the data visualization conversion program is to perform view rendering by using a web visualization technology according to the multi-branch tree data, complete a data-driven view, and efficiently draw a topological graph and a Legend Legend which can interact with a user.
Preferably, the usable web technology is at least one of JavaScript, HTML, Canvas, WebGl, go.
Preferably, the power system topological graph system technology comprises the steps of raw data acquisition, data analysis, algorithm calculation and data visualization.
Compared with the prior art, the invention provides a method for dynamically displaying a topological graph of a power system based on Javascript language, which has the following beneficial effects:
1. according to the method for dynamically displaying the topological graph of the power system based on the Javascript language, corresponding warehousing data are generated through data analysis and processing and are issued to a data visualization program, the data visualization conversion program generates available data through algorithm calculation, and a topological graph view is finally generated, so that the system has the functions of improving the topological graph function development efficiency of the new energy power information system, improving the function expansibility, the maintainability and the stability of the system, and reducing the operation and maintenance cost.
2. According to the method for dynamically displaying the topological graph of the power system based on the Javascript language, the topological graph function realized by the system can dynamically generate a network topological graph structure of the power system according to the information of power stations and equipment configured by a system database, and simultaneously, the related optimization functions of displaying real-time data, dynamically adjusting the topological graph structure, amplifying and reducing the topological graph structure and the like are supported.
Drawings
FIG. 1 is a schematic diagram of the frame structure connection of the system of the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the application, its application, or uses. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments according to the present application. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, and it should be understood that when the terms "comprises" and/or "comprising" are used in this specification, they specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof, unless the context clearly indicates otherwise.
The relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present application unless specifically stated otherwise. Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description. Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate. In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
In the description of the present application, it is to be understood that the orientation or positional relationship indicated by the directional terms such as "front, rear, upper, lower, left, right", "lateral, vertical, horizontal" and "top, bottom", etc., are generally based on the orientation or positional relationship shown in the drawings, and are used for convenience of description and simplicity of description only, and in the case of not making a reverse description, these directional terms do not indicate and imply that the device or element being referred to must have a particular orientation or be constructed and operated in a particular orientation, and therefore, should not be considered as limiting the scope of the present application; the terms "inner and outer" refer to the inner and outer relative to the profile of the respective component itself.
For ease of description, spatially relative terms, such as "over", "above", "on", "upper surface", "over", and the like, may be used herein to describe one element or feature's spatial relationship to another element or feature as illustrated in the figures. It will be understood that the spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. For example, if a device in the figures is turned over, devices described as "above" or "on" other devices or configurations would then be oriented "below" or "under" the other devices or configurations. Thus, the exemplary term "above" may include both an orientation of "above" and "below". The device may be otherwise variously oriented (rotated 90 degrees or at other orientations) and the spatially relative descriptors used herein interpreted accordingly.
It should be noted that the terms "first", "second", and the like are used to define the components, and are only used for convenience of distinguishing the corresponding components, and the terms have no special meanings unless otherwise stated, and therefore, the scope of protection of the present application is not to be construed as being limited. Further, although the terms used in the present application are selected from publicly known and used terms, some of the terms mentioned in the specification of the present application may be selected by the applicant at his or her discretion, the detailed meanings of which are described in relevant parts of the description herein. Further, it is required that the present application is understood not only by the actual terms used but also by the meaning of each term lying within.
Examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
In the description of the present invention, it is to be understood that the terms "central," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," "circumferential," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the invention and to simplify the description, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and are therefore not to be considered limiting of the invention.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
Referring to fig. 1, the present invention provides a technical solution: a method for dynamically displaying a topological graph of a power system based on Javascript language comprises the following steps of raw data acquisition, data analysis, algorithm calculation and data visualization:
1) firstly, collecting relevant data of a power station, wherein the relevant data of the power station is collected by adopting two schemes of intelligent program import and manual input; according to the characteristics of data, different data are persisted in different formats so as to provide inquiry and visual services to the outside, in order to ensure the idempotency of data storage operation, a joint main key is used for controlling the data on a database table structure, and in the processing logic of the data, each node processes corresponding data according to the identification of the node, so that the processing operation of the data is ensured to be one time; and the open source framework spring boot is taken as a basic framework, and the data service application is quickly constructed. The spring boot serves as a high-level application architecture, and the bottom layer almost encapsulates all technical solutions of the whole spring ecosphere, such as web development, data access, security control, distributed components, message service, batch processing, mobile development and the like; the spring boot provides a convenient development scheme after packaging the original ecological spring, and simplifies a plurality of problems of the original ecological spring development, such as: complex configuration files, externalized servers (tomcat). Because the springBoot uses the embedded server, the springBoot can directly run in a production environment in a jar package mode and provide stable service for the outside;
2) generating corresponding warehousing data through data analysis and processing, issuing the warehousing data to a data visualization program, analyzing and processing the data into the interrelation among analysis basic data, combining effective data according to an algorithm formula, and finally forming usable data and warehousing and storing the usable data;
3) the data visualization conversion program generates available data through algorithm calculation, the data visualization conversion program firstly generates a multi-branch tree linked list structure according to sequencing and recursive algorithms, then a top bus is found to be used as a head node of the multi-branch tree node, the type, coordinate point and direction of a link line of each node are efficiently calculated in the linked list node calculation process, the data visualization processing in the data visualization conversion program is to perform view rendering by using a web visualization technology according to the multi-branch tree data to complete a data driving view, and efficiently draw a topological graph and a Legend Legend which can interact with a user, and finally generate a topological graph view, wherein the usable web technology is at least one of JavaScript, HTML, Canvas, WebGl, go, CSS, csshoudini and acts, the JavaScript, HTML and CSS are three elements forming a web page, and the HTML is a hypertext markup language, and the web pages with different forms are formed through texts, JavaScript is a scripting language and controls the interaction logic of the web page, CSS is a cascading style sheet, and CSS not only can statically modify the web page, but also can dynamically format each element of the web page by matching with various scripting languages; canvas and webGL are APIs provided by JavaScript, the Canvas API provides a mode for drawing graphics through JavaScript and < Canvas > elements of HTML, the mode can be used for animation, game pictures, data visualization, picture editing, real-time video processing and the like, the Canvas API mainly focuses on 2D graphics drawing, webGL mainly draws 3D graphics, in the project, we draw 2D topological diagrams by Canvas, open 3D hardware acceleration by webGL, accelerate rendering and drawing of graphics, and the information-based system is deployed as an example after some scheduling; the dispatching system is deployed in a safety II area and a safety III area of a power grid company, when a program is deployed, at least two servers are needed, one server is deployed in the safety II area, the other server is deployed in the safety III area, a forward and reverse isolator is used between the safety II area and the safety III area as a data transmission middleware, the III area server is a system server actually used by a user, all data are from real-time data received by the II area server, the II area server is deployed with all interfaces and algorithms of the system and high-level application functions, the functional data used by the user are transmitted to the III area server through the forward and reverse isolator to realize a data synchronization function, the dispatching system is mainly deployed in the safety II area and the safety III area of a certain dispatching grid company, the topological graph function, the high-level application and the database of the dispatching system are respectively deployed on one server of the II area and the III area, the real-time data of the dispatching system are from other third-party relational databases, and the data of the II area and the III area are synchronized in real time through a forward isolator and a reverse isolator.
The invention has the beneficial effects that: the method for dynamically displaying the topological graph of the power system based on the Javascript language generates corresponding warehousing data through data analysis and processing, the warehousing data are issued to a data visualization program, a data visualization conversion program generates available data through algorithm calculation, and a topological graph view is finally generated, so that the system has the functions of improving the development efficiency of the topological graph function of the new energy power information system, improving the expansibility, easy maintenance and stability of the system function and reducing the operation and maintenance cost.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in the embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (8)

1. A method for dynamically displaying a topological graph of a power system based on Javascript language is characterized by comprising the following steps:
1) firstly, collecting relevant data of a power station;
2) generating corresponding warehousing data through data analysis and processing, and issuing the warehousing data to a data visualization program;
3) and the data visualization conversion program generates available data through algorithm calculation, and finally generates a topological graph view.
2. The method for dynamically showing the topological graph of the power system based on the Javascript language of claim 1, wherein the method comprises the following steps: in the step 1, the relevant data of the power station is acquired by adopting two schemes of intelligent program import and manual input.
3. The method for dynamically showing the topological graph of the power system based on the Javascript language of claim 1, wherein the method comprises the following steps: and the data analysis processing in the step 2 is to analyze the mutual relation between the basic data, merge the effective data according to an algorithm formula, and finally form usable data to be stored in a warehouse.
4. The method for dynamically showing the topological graph of the power system based on the Javascript language of claim 1, wherein the method comprises the following steps: and 3, the data visualization conversion program firstly generates a multi-branch tree linked list structure according to the sequencing and recursive algorithm, and then finds a top bus as a first node of the multi-branch tree node.
5. The method for dynamically showing the topological graph of the power system based on the Javascript language of claim 4, wherein the method comprises the following steps: in the process of calculating the nodes of the linked list, the type, the coordinate point and the direction of the linked line of each node are calculated efficiently.
6. The method for dynamically showing the topological graph of the power system based on the Javascript language of claim 4, wherein the method comprises the following steps: the data visualization processing in the data visualization conversion program is to perform view rendering by using a web visualization technology according to the multi-branch tree data, complete data-driven view, and efficiently draw a topological graph and a Legend Legend which can interact with a user.
7. The method for dynamically showing the topological graph of the power system based on the Javascript language of claim 6, wherein the method comprises the following steps: the usable web technology is at least one of JavaScript, HTML, Canvas, WebGl, go.
8. The method for dynamically showing the topological graph of the power system based on the Javascript language of claim 1, wherein the method comprises the following steps: the power system topological graph system technology comprises the steps of raw data acquisition, data analysis, algorithm calculation and data visualization.
CN202111223570.3A 2021-10-20 2021-10-20 Method for dynamically displaying topological graph of power system based on Javascript language Pending CN113961631A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111223570.3A CN113961631A (en) 2021-10-20 2021-10-20 Method for dynamically displaying topological graph of power system based on Javascript language

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111223570.3A CN113961631A (en) 2021-10-20 2021-10-20 Method for dynamically displaying topological graph of power system based on Javascript language

Publications (1)

Publication Number Publication Date
CN113961631A true CN113961631A (en) 2022-01-21

Family

ID=79465150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111223570.3A Pending CN113961631A (en) 2021-10-20 2021-10-20 Method for dynamically displaying topological graph of power system based on Javascript language

Country Status (1)

Country Link
CN (1) CN113961631A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114567569A (en) * 2022-02-25 2022-05-31 西安微电子技术研究所 PCIe simulation data visualization method, system, device and medium
CN115309397A (en) * 2022-08-11 2022-11-08 广州芯德通信科技股份有限公司 Canvas topology management method and system of data interpretation model
CN116756388A (en) * 2023-08-23 2023-09-15 成都太阳高科技有限责任公司 Power grid asset data census system, method and device and medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114567569A (en) * 2022-02-25 2022-05-31 西安微电子技术研究所 PCIe simulation data visualization method, system, device and medium
CN114567569B (en) * 2022-02-25 2023-10-20 西安微电子技术研究所 PCIe simulation data visualization method, system, equipment and medium
CN115309397A (en) * 2022-08-11 2022-11-08 广州芯德通信科技股份有限公司 Canvas topology management method and system of data interpretation model
CN116756388A (en) * 2023-08-23 2023-09-15 成都太阳高科技有限责任公司 Power grid asset data census system, method and device and medium
CN116756388B (en) * 2023-08-23 2023-10-20 成都太阳高科技有限责任公司 Power grid asset data census system, method and device and medium

Similar Documents

Publication Publication Date Title
CN113961631A (en) Method for dynamically displaying topological graph of power system based on Javascript language
CN104951996B (en) Power distribution network operational monitoring method based on scalable vector graphics
CN101587438B (en) Graphic flow template drafting method under ARP frame
CN101662493B (en) Data acquiring method, system and server of user access path
CN1713196B (en) Product ordering system based on automatic design grid
CN104732567B (en) The data visualization method that stock information is labeled in K line charts, Time Index Chart
CN102521716A (en) Integrative specialized weather service integrated system
CN107133272A (en) A kind of Web ends magnanimity power network resources GIS data dynamic dispatching and rendering intent
CN103617486A (en) Method and system for conducting dynamic graphical monitoring on complex service processes
CN103095823A (en) Object description method and object information interaction system in Internet of Things system
CN103246963B (en) Based on the staffs training system of Internet of Things
Bao et al. Visual framework for big data in d3. js
CN112100550A (en) Page construction method and device
CN110532047B (en) Power grid graph standardization system for regulating and controlling cloud platform
CN101719146B (en) Dynamic graphical method and device of geographic information application and analysis model
CN103049536A (en) Webpage main text content extracting method and webpage text content extracting system
CN111798096A (en) Visual analysis method, system and storage medium based on power grid dispatching data
CN104240461B (en) A kind of Power System Intelligent alarm 3-D graphic Dynamic Display method
CN106339451A (en) Data mining system based on large data
CN101902500A (en) WEB service system based on SVG technique and method thereof
CN111444230A (en) Data visualization analysis method based on big data platform
CN116579753A (en) Multi-department collaborative drawing method capable of online communication and system thereof
CN102521359B (en) Interface data file comparison method and device
CN108228549A (en) A kind of collecting method and system, server
CN113838157A (en) Track traffic map drawing system, method, electronic device 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