CN103631578A - Data display method in power distribution network automated system - Google Patents

Data display method in power distribution network automated system Download PDF

Info

Publication number
CN103631578A
CN103631578A CN201310475860.6A CN201310475860A CN103631578A CN 103631578 A CN103631578 A CN 103631578A CN 201310475860 A CN201310475860 A CN 201310475860A CN 103631578 A CN103631578 A CN 103631578A
Authority
CN
China
Prior art keywords
lpf
real
data
relation
information
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.)
Granted
Application number
CN201310475860.6A
Other languages
Chinese (zh)
Other versions
CN103631578B (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.)
CHINA REALTIME DATABASE Co Ltd
State Grid Corp of China SGCC
Taiyuan Power Supply Co of State Grid Shanxi Electric Power Co Ltd
Original Assignee
CHINA REALTIME DATABASE Co Ltd
State Grid Corp of China SGCC
Taiyuan Power Supply Co of State Grid Shanxi Electric Power 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 CHINA REALTIME DATABASE Co Ltd, State Grid Corp of China SGCC, Taiyuan Power Supply Co of State Grid Shanxi Electric Power Co Ltd filed Critical CHINA REALTIME DATABASE Co Ltd
Priority to CN201310475860.6A priority Critical patent/CN103631578B/en
Publication of CN103631578A publication Critical patent/CN103631578A/en
Application granted granted Critical
Publication of CN103631578B publication Critical patent/CN103631578B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a data display method in a power distribution network automated system. The method includes the steps that an SVG standard vector diagram is converted into a C# object; a CIM file, namely a common information model file, is analyzed and mapped to elements of a lpf vector diagram; the lpf vector diagram obtains a measurement point topological relation from a relation database; a dynamic lpf is embedded into a JSP through an ActiveX control, and a configuration graph is displayed in a WEB page. The data display method solves the real-time display problem of data in a real-time database and data in the relation database in power distribution network automated system environment; on the premise that an existing power distribution network system is not changed, common information model analysis is finished, the SVG vector diagram is converted into a lpf diagram with an owned format, the information is displayed in the lpf diagram, and then javascript and the ActiveX control are embedded into the lpf diagram, so that the data in the real-time database and the data in the relation database are displayed in real time on the JSP.

Description

Method for exhibiting data in a kind of distribution automation system
Technical field
The invention belongs to distribution automation system technical field, particularly method for exhibiting data in a kind of distribution automation system.
Background technology
Scalable vector graphics (Scalable Vector Graphics, SVG) is based on extend markup language (XML), for describing a kind of graphical format of two-dimension vector graphics.SVG is formulated by W3C, is an open standard.
Document dbject model (Document Object Model is called for short DOM) is the standard program interface of the processing extensible markup language of W3C tissue recommendation.
ActiveX be Microsoft for the address of a series of tactic object-oriented program technology and instrument, wherein main technology is the Component Object Model (COM).In having the network of catalogue and other support, COM has become Distributed COM (DCOM).When establishment comprises ActiveX program, main work is exactly assembly, one can be self-sustaining any program of operation in ActiveX network (network of today mainly comprises Windows and Mac).This assembly is exactly ActiveX control.
Common information model (CIM, Common Information Model) be one with specific implementation irrelevant, for describing the conceptual model of management information.CIM is divided into two parts: CIM standard (CIM Specification) and CIM pattern (CIM Schema).CIM standard provides the formal definition of model, and it has been described language, name, meta schema and has arrived the mapping techniques of other administrative models (as SNMP MIB); CIM pattern has provided the description of realistic model.CIM model consists of three layers of kernel model, common model and extended models.Kernel model is the set of a series of classes, connection and attribute, and this group of objects provides all management domains general essential information model; Common model provides the Common Information Model in cura specialis territory, and these specific management domains, as system, application program, network and equipment etc.; Extended model represents the particular technology expansion of universal model.
Shown in traditional distribution network system data display mode Fig. 1.
Java Applet is the applet that Java language is write, and is conventionally directly embedded in webpage, thereby can produces special effect.The webpage that comprises Applet is called as Java-Powered page, can be called the webpage that Java supports.JavaApplet can be used for showing with graphic plotting, font and color control, the function such as the figure of animation is browsed, history curve, Real-time Alarm, what wherein Curves was shown is remote measure and communication information or the primitive information from database.
JSP(Java Server Pages) by HTML code and embedding Java code wherein, formed.Java Servlet is the technical foundation of JSP, and the exploitation of large-scale web application needs Java Servlet and JSP cooperation just can complete.JSP has possessed the use that is simple and easy to of Java technology, and object-oriented, has platform-neutral and safe and reliable completely, all features of main internet-oriented.Thereby Java Applet application can be embedded into JSP, on the page, just can check history curve or warning information etc., finally can issue with container is unified.
The Web module of dispatching system is often carried out database transmissions in conjunction with application by calling Socket interface by for example C++ such high-level efficiency language process and Java Applet.Higher level lanquage is often generally used for treatment effeciency and time effect requires high affairs, as calling data database data, Update Table database data.
Be more than traditional data display mode, the data display mode of the method can not meet the requirement of present power distribution network data to real-time.
Summary of the invention
In order to improve the real-time of distribution network system data display, in conjunction with the feature of distribution network system self, the invention provides a kind of requirement of real time and also well combine the method for exhibiting data of real-time data base and relational database own characteristic.
Technical scheme of the present invention is:
A method for exhibiting data in distribution automation system, comprises the steps:
(1) SVG normal vector figure is converted to C# object;
(2) resolve CIM file, common information model file, is mapped to each element of lpf polar plot;
(3) lpf polar plot obtains measuring point topological relation from relational database;
(4) by ActiveX control, dynamic lpf is embedded in JSP, in the WEB page, represents configuration figure.
Further, described step (1) specifically comprises the steps:
A, SVG normal vector figure analyze with XML form, create XML DOM file;
Node in B, Analysis of X ML DOM file, extracts element property, reads in internal memory;
C, in internal memory, set up graphics primitive object, then resolve element property, by attribute assignment to the element in object;
D, C# object factory is carried out abstract, obtain the drawing object in C#.
Further, described step (2) specifically comprises the steps:
A, standard C IM file utilize QT DOM to parse remote measure and communication measuring point name and deposit real-time data base in, set up the measuring point that contains unique ID;
B, C++API and real-time data base carry out alternately, obtain measuring point information and measuring point in real time/historical data information;
C, C#API carry out Managed Code under the control of Runtime Library, obtain the interaction results of C++API and real-time data base by rdma read;
D, lpf form configuration figure obtain the common information model of real-time data base by C#API.
Further, described step (3) specifically comprises the steps:
A, by non-relation data information and relation data unpack in CIM, non-relation data information is kept in real-time data base, relation data information is kept in relational database;
B, lpf form configuration figure, by ODBC call relation storehouse, obtain the relation data information in CIM.
Further, described step (4) specifically comprises the steps:
A, static own form lpf timing p.s. by the way, are initiatively obtained respectively relation data information and non-relation data information, and in lpf, information are shown from relational database and real-time data base, realize image mobilism;
B, by the ActiveX control of independently writing, will dynamically have form lpf by oneself and embed in JSP, as a part for the page, dynamic lpf is shown.
The invention has the beneficial effects as follows:
The invention solves under distribution automation system environment, by the problem of the data real-time exhibition in real-time data base and relational database, guaranteeing under the prerequisite that existing distribution network system is constant, complete CIM(common information model) resolve, SVG(scalable vector graphics) be converted to own form lpf figure, associated with the mapping of real-time data base relational database by own form lpf again, real-time data base and relational database canned data are illustrated in own form lpf figure, in own form lpf figure, embed javascript script and ActiveX control again, finally realize in real-time data base and relational database data representing in real time on JSP.
Accompanying drawing explanation
Fig. 1 is traditional distribution network system data display mode figure;
Fig. 2 is the data display mode field conduct figure of electrical power distribution automatization system.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail.
The present invention strictly follows method for exhibiting data in a kind of power distribution network of the functional specification of distribution automation system.Technical scheme of the present invention is mainly for the method for real-time data base in distribution automation system and relational database data display.
Most of manufacturer is all the SVG figure that shows standard on the page, but the also picture presentation of useful user-defined format, reason is to carry out the self-defined picture format that more meets business characteristic for distinctive business characteristic and edit tool.For example lpf(describes the own form of two-dimension vector graphics) polar plot of form is exactly a kind of from formatted polar plot, by the configuration instrument of custom-made, generated, and configuration instrument is mainly write as with C#.
In a kind of distribution automation system of the present invention, method for exhibiting data roughly can be divided into following four steps:
SVG normal vector figure is converted to C# object.
A, SVG normal vector figure analyze with XML form, create XML DOM Document;
Node in b, Analysis of X ML DOM Document, extracts element property, reads in internal memory;
C, in internal memory, set up graphics primitive object, then resolve element property, by attribute assignment to the element in object;
D, C# object factory is carried out abstract, obtain the drawing object in C#.
Parsing CIM(common information model) File Mapping is to each element of lpf polar plot.
A, standard C IM file utilize QT DOM to parse remote measure and communication measuring point name and deposit real-time data base in, set up the measuring point that contains unique ID;
B, C++API and real-time data base carry out alternately, obtain measuring point information and measuring point in real time/historical data information;
C, C#API carry out Managed Code under the control of Runtime Library, obtain the interaction results of C++API and real-time data base by rdma read;
D, lpf form configuration figure obtain the common information model of real-time data base by C#API.
Lpf polar plot obtains measuring point topological relation from relational database
A, by non-relation data information and relation data unpack in CIM, non-relation data information is kept in real-time data base, relation data information is kept in relational database;
B, lpf form configuration figure, by ODBC call relation storehouse, obtain the relation data information in CIM.
By ActiveX control, dynamic lpf is embedded in JSP, in the WEB page, represents configuration figure.
C, static own form lpf timing p.s. by the way, are initiatively obtained respectively relation data information and non-relation data information, and in lpf, information are shown from relational database and real-time data base, realize image mobilism;
D, by the ActiveX control of independently writing, will dynamically have form lpf by oneself and embed in JSP, as a part for the page, dynamic lpf is shown.
Utilizing own form lpf to utilize to take java technology is that the great advantage of main svg exhibition method is that the SVG exploded view of resolving with JAVASAX needs full page update all, the page higher for requirement of real-time shows, if take Servlet as main data retransmission mode, in response speed, can not reach requirement, so for the higher page of requirement of real-time, show, can custom-made pattern exhibiting and the mode of data display.
Accompanying drawing 2 is data display mode field conduct figure of electrical power distribution automatization system, is described as follows:
(1) in figure, CIM file is resolved and is deposited in real-time data base by QT DOM, and real time data library call C++API, by C#API trustship.
(2) its XML element of SVG plant stand pattern analysis, thus Dom Document created, recomposition node, thus the element property in node extracted, then resolved to C# object factory, then be abstracted into C# object.
(3) by call relation database ODBC, call own form pel or deposit self-defined pel.
(4) finally the result of (1) (2) (3) is comprehensively formed to static own form lpf, again by calling the Javascrip script (can write according to demand) being embedded in own form lpf, form dynamically own form lpf, by ActiveX control, be embedded in JSP again, thereby completed the displaying of distribution automation system data.
In the distribution automation system that application the present invention proposes, during method for exhibiting data, need to there is the support of JAVA, C++, QT running environment.
Implementation step is as follows:
Step 1: obtain distribution automation system CIM file and resolve and deposit real-time data base in, thereby form electrical network measuring point name (as so-and-so stand so-and-so electric current).
Step 2:SVG form plant stand figure forms C# object through a series of parsing conversion.
Step 3: be generated as static own form lpf figure by C# object associating real-time data base measuring point key message and relational database primitive information (pel is as certain switch tool information on plant stand figure).
Step 4: static own form lpf figure forms dynamically own form lpf figure by embedded javascript script.
Step 5: dynamically own form lpf figure is embedded in JSP by ActiveX control, thereby can be from webpage the real-time distribution automation system data message of checking.
Method for exhibiting data in a kind of distribution automation system of the present invention, solved under distribution network system environment, by the problem of the data real-time exhibition in real-time data base and relational database, guaranteeing under the prerequisite that existing distribution network system is constant, complete CIM(common information model) resolve, SVG(scalable vector graphics) be converted to own form lpf figure, associated with the mapping of real-time data base relational database by own form lpf again, real-time data base and relational database canned data are illustrated in own form lpf figure, in own form lpf figure, embed javascript script and ActiveX control again, finally realize in real-time data base and relational database data representing in real time on JSP.
Therefore the present invention is illustrated according to on-the-spot project implementation example, and all employings are equal to and replace or technical scheme that the form of equivalent transformation obtains, within all dropping on protection scope of the present invention.

Claims (5)

1. a method for exhibiting data in distribution automation system, comprises the steps:
(1) SVG normal vector figure is converted to C# object;
(2) resolve CIM file, common information model file, is mapped to each element of lpf polar plot;
(3) lpf polar plot obtains measuring point topological relation from relational database;
(4) by ActiveX control, dynamic lpf is embedded in JSP, in the WEB page, represents configuration figure.
2. method for exhibiting data in a kind of distribution automation system according to claim 1, is characterized in that: described step (1) specifically comprises the steps:
A, SVG normal vector figure analyze with XML form, create XML DOM file;
Node in B, Analysis of X ML DOM file, extracts element property, reads in internal memory;
C, in internal memory, set up graphics primitive object, then resolve element property, by attribute assignment to the element in object;
D, C# object factory is carried out abstract, obtain the drawing object in C#.
3. method for exhibiting data in a kind of distribution automation system according to claim 1, is characterized in that: described step (2) specifically comprises the steps:
A, standard C IM file utilize QT DOM to parse remote measure and communication measuring point name and deposit real-time data base in, set up the measuring point that contains unique ID;
B, C++API and real-time data base carry out alternately, obtain measuring point information and measuring point in real time/historical data information;
C, C#API carry out Managed Code under the control of Runtime Library, obtain the interaction results of C++API and real-time data base by rdma read;
D, lpf form configuration figure obtain the common information model of real-time data base by C#API.
4. method for exhibiting data in a kind of distribution automation system according to claim 1, is characterized in that: described step (3) specifically comprises the steps:
A, by non-relation data information and relation data unpack in CIM, non-relation data information is kept in real-time data base, relation data information is kept in relational database;
B, lpf form configuration figure, by ODBC call relation storehouse, obtain the relation data information in CIM.
5. method for exhibiting data in a kind of distribution automation system according to claim 1, is characterized in that: described step (4) specifically comprises the steps:
A, static own form lpf timing p.s. by the way, are initiatively obtained respectively relation data information and non-relation data information, and in lpf, information are shown from relational database and real-time data base, realize image mobilism;
B, by the ActiveX control of independently writing, will dynamically have form lpf by oneself and embed in JSP, as a part for the page, dynamic lpf is shown.
CN201310475860.6A 2013-10-12 2013-10-12 Method for exhibiting data in a kind of distribution automation system Active CN103631578B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310475860.6A CN103631578B (en) 2013-10-12 2013-10-12 Method for exhibiting data in a kind of distribution automation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310475860.6A CN103631578B (en) 2013-10-12 2013-10-12 Method for exhibiting data in a kind of distribution automation system

Publications (2)

Publication Number Publication Date
CN103631578A true CN103631578A (en) 2014-03-12
CN103631578B CN103631578B (en) 2017-03-15

Family

ID=50212676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310475860.6A Active CN103631578B (en) 2013-10-12 2013-10-12 Method for exhibiting data in a kind of distribution automation system

Country Status (1)

Country Link
CN (1) CN103631578B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357287A (en) * 2015-10-21 2016-02-24 浪潮(北京)电子信息产业有限公司 Storage management server side and system compatible with SNMP (Simple Network Management Protocol) and SMI-S (Storage Management Initiative Specification)
CN105404499A (en) * 2014-11-18 2016-03-16 国网山东省电力公司 SAP platform based data display method and system
CN109213540A (en) * 2018-10-31 2019-01-15 湖北大学 Power grid data processing method and device for handheld device
CN109255046A (en) * 2018-08-21 2019-01-22 浙江浙大中控信息技术有限公司 The dynamic realizing method of vector graphical element
CN109710897A (en) * 2018-12-05 2019-05-03 国网山东省电力公司青岛供电公司 Electric system figure descriptor format SVG and G language bi-directional conversion method
CN110019431A (en) * 2017-12-11 2019-07-16 北京京东尚科信息技术有限公司 Processing method, system and the terminal device of data visualization
CN110119272A (en) * 2018-02-07 2019-08-13 许昌许继软件技术有限公司 A kind of human-machine interface configuration design method and device
CN113626388A (en) * 2021-08-12 2021-11-09 中国工商银行股份有限公司 Method and device for displaying topological relation of project file
CN114461721A (en) * 2022-02-09 2022-05-10 深圳市洛仑兹技术有限公司 Data processing display method, device, equipment and storage medium
CN114841125A (en) * 2022-04-20 2022-08-02 厦门稿定股份有限公司 AI format file processing method, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497021A (en) * 2011-12-14 2012-06-13 广东电网公司佛山供电局 Real-time monitoring and analysis system for distribution circuit
CN102521380A (en) * 2011-12-20 2012-06-27 浙江省电力公司 Method for importing power grid CIM (common information model) data and SVG (scalable vector graphic) data
CN103247021A (en) * 2013-03-13 2013-08-14 山西省电力公司大同供电分公司 Method for converting SVG into LPF vector graphics

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497021A (en) * 2011-12-14 2012-06-13 广东电网公司佛山供电局 Real-time monitoring and analysis system for distribution circuit
CN102521380A (en) * 2011-12-20 2012-06-27 浙江省电力公司 Method for importing power grid CIM (common information model) data and SVG (scalable vector graphic) data
CN103247021A (en) * 2013-03-13 2013-08-14 山西省电力公司大同供电分公司 Method for converting SVG into LPF vector graphics

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105404499A (en) * 2014-11-18 2016-03-16 国网山东省电力公司 SAP platform based data display method and system
CN105404499B (en) * 2014-11-18 2019-02-01 国网山东省电力公司 Method for exhibiting data and system based on SAP platform
CN105357287B (en) * 2015-10-21 2019-05-10 浪潮(北京)电子信息产业有限公司 The mobile sms service end of compatible SNMP and SMI-S a kind of and system
CN105357287A (en) * 2015-10-21 2016-02-24 浪潮(北京)电子信息产业有限公司 Storage management server side and system compatible with SNMP (Simple Network Management Protocol) and SMI-S (Storage Management Initiative Specification)
CN110019431A (en) * 2017-12-11 2019-07-16 北京京东尚科信息技术有限公司 Processing method, system and the terminal device of data visualization
CN110119272A (en) * 2018-02-07 2019-08-13 许昌许继软件技术有限公司 A kind of human-machine interface configuration design method and device
CN109255046A (en) * 2018-08-21 2019-01-22 浙江浙大中控信息技术有限公司 The dynamic realizing method of vector graphical element
CN109213540A (en) * 2018-10-31 2019-01-15 湖北大学 Power grid data processing method and device for handheld device
CN109710897A (en) * 2018-12-05 2019-05-03 国网山东省电力公司青岛供电公司 Electric system figure descriptor format SVG and G language bi-directional conversion method
CN109710897B (en) * 2018-12-05 2023-01-31 国网山东省电力公司青岛供电公司 Bidirectional conversion method for graphic description format SVG and G language of power system
CN113626388A (en) * 2021-08-12 2021-11-09 中国工商银行股份有限公司 Method and device for displaying topological relation of project file
CN114461721A (en) * 2022-02-09 2022-05-10 深圳市洛仑兹技术有限公司 Data processing display method, device, equipment and storage medium
CN114461721B (en) * 2022-02-09 2023-06-27 广东省洛仑兹技术股份有限公司 Data processing display method, device, equipment and storage medium
CN114841125A (en) * 2022-04-20 2022-08-02 厦门稿定股份有限公司 AI format file processing method, device and storage medium

Also Published As

Publication number Publication date
CN103631578B (en) 2017-03-15

Similar Documents

Publication Publication Date Title
CN103631578B (en) Method for exhibiting data in a kind of distribution automation system
CN103236024B (en) A kind of power system collaborative simulation system based on WEBGIS
CN103095823A (en) Object description method and object information interaction system in Internet of Things system
CN105912655A (en) WebGL-based three-dimensional model display method and corresponding Web-BIM engineering information integration management system
CN103036954A (en) Mobile information aggregation system based on geographic information system (GIS) and mobile information aggregation method based on GIS
Chaturvedi et al. Integrating dynamic data and sensors with semantic 3D city models in the context of smart cities
CN101697139A (en) Method, device and registry for remote procedure call
CN102163233A (en) Method and system for converting webpage markup language format
CN103246963B (en) Based on the staffs training system of Internet of Things
CN111553129B (en) SVG and echarts graph fusion method based on canvas
CN103577568A (en) Cross-platform mobile safety comprehensive information aggregation system and method adopting same
Kao et al. Design and development of an IoT-based web application for an intelligent remote SCADA system
CN103914500A (en) Configuration on-line display method based on time series data
CN103618773A (en) Display method, device and system for thermodynamic diagrams
CN104166549A (en) Meteorological element contour surface analysis platform and construction method
CN110955803A (en) Drawing method, device, equipment and medium of relational graph based on graph database
CN112817651A (en) Canvas-based graph generation method and Canvas-based graph generation system
CN104750468A (en) Server side topological data conversion method and device
CN102999360A (en) Realization method for dynamic clock based on embedded WEB-OMT (object modeling technology) page
CN106570185A (en) Electrical power system figure cross-platform display method
CN105491104A (en) Remote measurement and control method based on Web Service
CN113919030A (en) BIM and Web 3D-based transformer substation three-dimensional model design intersection method
CN115455013A (en) Method, system, computer equipment and medium for automatically updating dynamic form
CN107092663B (en) Water level early warning map drawing system and method based on GIS
CN111813401A (en) Graphic assembly method and system in drawing modeling tool based on B/S architecture

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant