CN105912513A - Fast analytic method of smart substation SCL files - Google Patents

Fast analytic method of smart substation SCL files Download PDF

Info

Publication number
CN105912513A
CN105912513A CN201610220305.2A CN201610220305A CN105912513A CN 105912513 A CN105912513 A CN 105912513A CN 201610220305 A CN201610220305 A CN 201610220305A CN 105912513 A CN105912513 A CN 105912513A
Authority
CN
China
Prior art keywords
data
class
caching
scl
resolve
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
CN201610220305.2A
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.)
Nanjing SAC Automation Co Ltd
Original Assignee
Nanjing SAC Automation 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 Nanjing SAC Automation Co Ltd filed Critical Nanjing SAC Automation Co Ltd
Priority to CN201610220305.2A priority Critical patent/CN105912513A/en
Publication of CN105912513A publication Critical patent/CN105912513A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation

Abstract

The present invention discloses a fast analytic method of smart substation SCL files, comprising the following steps of (1) analyzing an SCL file data template; and (2) analyzing an IED instance. According to the fast analytic method, efficiency and speed of applications can be improved, requirements of the applications on host machine hardware configuration can be reduced, and engineering cost is also reduced to a certain extent. The fast analytic method can be used for smart substation configuration files using IEC 61850-6 SCL language modeling, such as ICD files, SCD files and CID files, and has universal adaptability and certain promotion significance.

Description

Intelligent substation SCL File fast resolving method
Technical field
The present invention relates to a kind of intelligent substation SCL file fast resolving method, belong to power system automation technology field.
Background technology
In current intelligent substation process of construction, IEC 61850 series standard is owing to which employs Object-Oriented Model technology and opening, advance and the integrity in " world; a kind of technology; a standard ", become equipment modeling, unique actual standard of communication in intelligent substation already, for realizing interoperability between the intelligent electronic device (IED) of different vendor and system Seamless integration-provides approach easily.Along with IEC 61850 standard is in the extensive and deep application of intelligent substation, in standing, various configuration files the most all use IEC The SCL language of 61850-6 institute specification is modeled, as the device capability of each intelligent electronic device describes file (ICD), and the substation configuration description file (SCD) etc. generated in transformer station's integrating process.
When using SCL file, resolve firstly the need of to it, SCL file is the most only treated as common XML format file by current various application, use the analytic method that DOM, SAX etc. are conventional, the most fully application OO describing mode of SCL file, cause its analyzing efficiency low, thus have impact on performance or the Consumer's Experience of application to a certain extent.
Summary of the invention
In order to solve above-mentioned technical problem, the invention provides a kind of intelligent substation SCL file fast resolving method.
In order to achieve the above object, the technical solution adopted in the present invention is:
Intelligent substation SCL file fast resolving method, comprises the following steps,
Step 1, resolves SCL file data template;
A1) SCL file data template is obtained;
A2) definition SCL file data template comprises K logical node class;
A3) definition integer k=1;
A4) resolve and obtain kth logical node class;
A5) definition kth logical node apoplexy due to endogenous wind comprises M data object class;
A6) definition m=1;
A7) resolve and obtain than the m-th data object class;
A8) judge whether data object cache exists this data object, if it is present use the data object of caching, and go to A16, if it does not exist, then go to A9
A9) definition than the m-th data object class comprises N number of data attribute class;
A10) definition n=1;
A11) resolve and obtain nth data Attribute class;
A12) judge whether data attribute caching exists this data attribute, if it is present use the data attribute of caching, and go to A14, if it does not exist, then go to A13
A13) caching nth data Attribute class;
A14) judge that n, whether more than or equal to N, if it is not, then n=n+1, goes to step A11, if it is, go to step A15;
A15) caching than the m-th data object class;
A16) judge that m, whether more than or equal to M, if it is not, then m=m+1, goes to step A7, if it is, go to step A17;
A17) caching kth logical node class;
A18) judge that k, whether more than or equal to K, if it is not, then k=k+1, goes to step A4, if it is, terminate;
Step 2, resolves IED example;
B1) obtain and resolve IED example;
B2) with the logical node class each property value of instantiation data object of caching.
Use vtd-xml method to obtain SCL file data template, use vtd-xml method or DOM method to resolve SCL file data template.
Use vtd-xml method to obtain IED example, use DOM method to resolve IED example.
The beneficial effect that the present invention is reached: 1, the invention provides a kind of intelligent substation SCL file fast resolving method, the method is used to resolve SCL file, efficiency and the speed of application program can be improved, and the application requirement to host machine hardware configuration can be reduced, reduce engineering cost the most to a certain extent;2, this inventive method is for using the intelligent substation configuration file of IEC 61850-6 SCL Language Modeling to use, and such as ICD file, SCD file, CID file etc., has universal adaptability, has certain dissemination.
Accompanying drawing explanation
Fig. 1 is the graph of a relation between SCL document element and template class.
Fig. 2 is the flow chart of the present invention.
Fig. 3 is SCL file data template process of analysis figure.
Detailed description of the invention
The invention will be further described below in conjunction with the accompanying drawings.Following example are only used for clearly illustrating technical scheme, and can not limit the scope of the invention with this.
As shown in Figure 1, intelligent substation for the modeling of currently employed IEC 61850 standard, in standing, various configurations file uses the SCL language of IEC61850-6 to describe, when SCL file is resolved by application, make full use of the characteristic of SCL file object-oriented modeling: the logical node under (1) IED label, data object, data attribute are all to the logical node class defined in data template, data object class, the instantiation of data attribute class;(2) between logical node class, data object class and data Attribute class being the inclusion relation of level, each logical node class contains multiple data object, and each data object class contains multiple data attribute;(3) multiple logical node classes can be containing the example of same type data object class, and multiple data object classes can be containing the example of same type data attribute class.
According to above-mentioned SCL file attributes, as in figure 2 it is shown, intelligent substation SCL file fast resolving method, comprise the following steps:
Step 1, resolves SCL file data template.
In order to effectively reduce the number of times of template repeated resolution, improve analyzing efficiency, use multi-level buffer technology, detailed process as shown in Figure 3:
A1) SCL file data template is obtained;
A2) definition SCL file data template comprises K logical node class;
A3) definition integer k=1;
A4) resolve and obtain kth logical node class;
A5) definition kth logical node apoplexy due to endogenous wind comprises M data object class;
A6) definition m=1;
A7) resolve and obtain than the m-th data object class;
A8) judge whether data object cache exists this data object, if it is present use the data object of caching, and go to A16, if it does not exist, then go to A9
A9) definition than the m-th data object class comprises N number of data attribute class;
A10) definition n=1;
A11) resolve and obtain nth data Attribute class;
A12) judge whether data attribute caching exists this data attribute, if it is present use the data attribute of caching, and go to A14, if it does not exist, then go to A13
A13) caching nth data Attribute class;
A14) judge that n, whether more than or equal to N, if it is not, then n=n+1, goes to step A11, if it is, go to step A15;
A15) caching than the m-th data object class;
A16) judge that m, whether more than or equal to M, if it is not, then m=m+1, goes to step A7, if it is, go to step A17;
A17) caching kth logical node class;
A18) judge that k, whether more than or equal to K, if it is not, then k=k+1, goes to step A4, if it is, terminate.
Step 2, resolves IED example.
B1) obtain and resolve IED example;
B2) with the logical node class each property value of instantiation data object of caching.
In above-mentioned steps, have employed the method that vtd-xml and DOM combines, i.e. use vtd-xml method to obtain SCL file data template, use vtd-xml method or DOM method to resolve SCL file data template, use vtd-xml method to obtain IED example, use DOM method to resolve IED example;The advantage fully merging two kinds of analytic methods, i.e. vtd-xml method requires to host machine hardware configuration that when resolving low and DOM method resolves quick advantage.
Said method can improve efficiency and the speed of application program, and can reduce the application requirement to host machine hardware configuration, reduces engineering cost the most to a certain extent;Said method is for using IEC The intelligent substation configuration file of 61850-6 SCL Language Modeling can use, and such as ICD file, SCD file, CID file etc., has universal adaptability, has certain dissemination.
The above is only the preferred embodiment of the present invention; it should be pointed out that, for those skilled in the art, on the premise of without departing from the technology of the present invention principle; can also make some improvement and deformation, these improve and deformation also should be regarded as protection scope of the present invention.

Claims (3)

1. intelligent substation SCL file fast resolving method, it is characterised in that: comprise the following steps,
Step 1, resolves SCL file data template;
A1) SCL file data template is obtained;
A2) definition SCL file data template comprises K logical node class;
A3) definition integer k=1;
A4) resolve and obtain kth logical node class;
A5) definition kth logical node apoplexy due to endogenous wind comprises M data object class;
A6) definition m=1;
A7) resolve and obtain than the m-th data object class;
A8) judge whether data object cache exists this data object, if it is present use the data object of caching, and go to A16, if it does not exist, then go to A9
A9) definition than the m-th data object class comprises N number of data attribute class;
A10) definition n=1;
A11) resolve and obtain nth data Attribute class;
A12) judge whether data attribute caching exists this data attribute, if it is present use the data attribute of caching, and go to A14, if it does not exist, then go to A13
A13) caching nth data Attribute class;
A14) judge that n, whether more than or equal to N, if it is not, then n=n+1, goes to step A11, if it is, go to step A15;
A15) caching than the m-th data object class;
A16) judge that m, whether more than or equal to M, if it is not, then m=m+1, goes to step A7, if it is, go to step A17;
A17) caching kth logical node class;
A18) judge that k, whether more than or equal to K, if it is not, then k=k+1, goes to step A4, if it is, terminate;
Step 2, resolves IED example;
B1) obtain and resolve IED example;
B2) with the logical node class each property value of instantiation data object of caching.
Intelligent substation SCL file fast resolving method the most according to claim 1, it is characterised in that: use vtd-xml method to obtain SCL file data template, use vtd-xml method or DOM method to resolve SCL file data template.
Intelligent substation SCL file fast resolving method the most according to claim 1, it is characterised in that: use vtd-xml method to obtain IED example, use DOM method to resolve IED example.
CN201610220305.2A 2016-04-11 2016-04-11 Fast analytic method of smart substation SCL files Pending CN105912513A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610220305.2A CN105912513A (en) 2016-04-11 2016-04-11 Fast analytic method of smart substation SCL files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610220305.2A CN105912513A (en) 2016-04-11 2016-04-11 Fast analytic method of smart substation SCL files

Publications (1)

Publication Number Publication Date
CN105912513A true CN105912513A (en) 2016-08-31

Family

ID=56744986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610220305.2A Pending CN105912513A (en) 2016-04-11 2016-04-11 Fast analytic method of smart substation SCL files

Country Status (1)

Country Link
CN (1) CN105912513A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106597947A (en) * 2016-12-23 2017-04-26 国网浙江宁波市鄞州区供电公司 Substation equipment test method and system, server and tester
CN107798122A (en) * 2017-11-10 2018-03-13 中国航空工业集团公司西安飞机设计研究所 A kind of unstructured data analytic method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101706816A (en) * 2009-12-22 2010-05-12 广东电网公司电力科学研究院 Method for detecting digitized transformer station model
CN104036429A (en) * 2014-02-27 2014-09-10 国家电网公司 Intelligent transformer station configuration file standardized management system and file verification method
KR20140123126A (en) * 2013-04-10 2014-10-22 한전케이디엔주식회사 System and method for generating database based on SCL
CN105373655A (en) * 2015-11-04 2016-03-02 国网电力科学研究院武汉南瑞有限责任公司 Method for organically correlating primary and secondary system connection diagrams of intelligent substation
CN105404757A (en) * 2015-12-18 2016-03-16 山东网聪信息科技有限公司 Intelligent transformer station SCD file standardization degree verification method
CN105426454A (en) * 2015-11-12 2016-03-23 国网宁夏电力公司 Method for detecting consistency of intelligent electronic equipment loop information and SCD file loop information
CN105429291A (en) * 2015-10-26 2016-03-23 山东网聪信息科技有限公司 Correlation method of primary wiring diagram and secondary system logic connecting diagram of intelligent substation

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101706816A (en) * 2009-12-22 2010-05-12 广东电网公司电力科学研究院 Method for detecting digitized transformer station model
KR20140123126A (en) * 2013-04-10 2014-10-22 한전케이디엔주식회사 System and method for generating database based on SCL
CN104036429A (en) * 2014-02-27 2014-09-10 国家电网公司 Intelligent transformer station configuration file standardized management system and file verification method
CN105429291A (en) * 2015-10-26 2016-03-23 山东网聪信息科技有限公司 Correlation method of primary wiring diagram and secondary system logic connecting diagram of intelligent substation
CN105373655A (en) * 2015-11-04 2016-03-02 国网电力科学研究院武汉南瑞有限责任公司 Method for organically correlating primary and secondary system connection diagrams of intelligent substation
CN105426454A (en) * 2015-11-12 2016-03-23 国网宁夏电力公司 Method for detecting consistency of intelligent electronic equipment loop information and SCD file loop information
CN105404757A (en) * 2015-12-18 2016-03-16 山东网聪信息科技有限公司 Intelligent transformer station SCD file standardization degree verification method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106597947A (en) * 2016-12-23 2017-04-26 国网浙江宁波市鄞州区供电公司 Substation equipment test method and system, server and tester
CN106597947B (en) * 2016-12-23 2020-05-29 国网浙江宁波市鄞州区供电公司 Transformer substation equipment testing method, server, tester and system
CN107798122A (en) * 2017-11-10 2018-03-13 中国航空工业集团公司西安飞机设计研究所 A kind of unstructured data analytic method

Similar Documents

Publication Publication Date Title
Crnkovic Component-based software engineering for embedded systems
TWI524206B (en) Program analysis/verification service providing system, method for controlling system, control program, control program for causing computer to operate, program analysis/verification device and program analysis/verification tool management device
US10705803B2 (en) Method and system for realizing data tracking by means of software development kit
US20040103389A1 (en) System and method for generating EJB components from reusable business logics in servlet program
US8205187B1 (en) Generalizing and inferring behaviors of a circuit design
Mazhelis et al. Internet-of-things market, value networks, and business models: State of the art report
CN102591961B (en) Method and system for making data charts
CN103810168A (en) Search application method, device and terminal
RU2008136867A (en) Effective coding of alternative graphic sets
US8316379B2 (en) Method for invoking UOML instructions
CN106445910B (en) A kind of document method and device for analyzing
CN102567494B (en) Website classification method and device
US20200050643A1 (en) Ingestion planning for complex tables
CN102891852B (en) Message analysis-based protocol format automatic inferring method
CN103092581A (en) Method and device for setting up Web front-end local development environment
CN103135979A (en) Method, device and system for generating terminal applications
CN104035754A (en) XML (Extensible Markup Language)-based custom code generation method and generator
CN102043626A (en) Method and device for encapsulating extjs component, and method and system for generating user interface
CN103336690B (en) HTML (Hypertext Markup Language) 5-based text-element drawing method and device
CN104243273A (en) Method and device for displaying information on instant messaging client and information display system
US8849726B2 (en) Information processing apparatus and control method for the same
CN102624685A (en) Encodable protocol processing method for intelligent equipment
CN103294652B (en) A kind of data transfer device and system
EP2924633A1 (en) A system and method for extracting a business rule embedded in an application source code
CN102929646B (en) Application program generation method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160831