CN102043719A - Method for testing IEC61850 configuration description file - Google Patents

Method for testing IEC61850 configuration description file Download PDF

Info

Publication number
CN102043719A
CN102043719A CN2011100007492A CN201110000749A CN102043719A CN 102043719 A CN102043719 A CN 102043719A CN 2011100007492 A CN2011100007492 A CN 2011100007492A CN 201110000749 A CN201110000749 A CN 201110000749A CN 102043719 A CN102043719 A CN 102043719A
Authority
CN
China
Prior art keywords
iec
configuration describing
internal memory
configuration
tree
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
CN2011100007492A
Other languages
Chinese (zh)
Other versions
CN102043719B (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.)
State Grid Corp of China SGCC
Electric Power Research Institute of State Grid Hebei Electric Power Co Ltd
Hebei Electric Power Construction Adjustment Test Institute
Original Assignee
Electric Power Research Institute of State Grid Hebei 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 Electric Power Research Institute of State Grid Hebei Electric Power Co Ltd filed Critical Electric Power Research Institute of State Grid Hebei Electric Power Co Ltd
Priority to CN201110000749.2A priority Critical patent/CN102043719B/en
Publication of CN102043719A publication Critical patent/CN102043719A/en
Application granted granted Critical
Publication of CN102043719B publication Critical patent/CN102043719B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention relates to a method for testing an IEC61850 configuration description file, applicable to a digitalization substation and an intelligent substation. The method is concretely implemented by a configuration file analyzing module, a linked list storing and memory freeing module, a standard data template file and a checking module. The method comprises the following concrete steps: firstly loading an IEC61850 configuration description file into a computer memory to form a DOM (document object model) tree, then storing special node information of the tree in the memory into a linked list data structure; comparing the configuration description file element information stored in a linked list by operating the indicator of a linked list node; giving an alarm if the requirements are not met, and outputting the error type and the concrete position of the error in the configuration description file; and storing the test result into a text file. The invention has the advantage that whether the configuration description file meets the requirements specified by a standard can be automatically tested.

Description

A kind of method that the IEC61850 configuration describing document is tested
Technical field
The present invention relates to a kind of method that the IEC61850 configuration describing document is tested; be used for the requirement whether test I EC61850 configuration describing document meets " DL/T 860 technical application standards " and " IEC61850 engineering relay protection application model ", be applicable to the digital transformer substation and the intelligent substation that adopt IEC61850 communication.
Background technology
The IEC61850 configuration describing document is the basis that the intelligent substation automation system functions realizes.Because described configuration describing document grammer complexity contains much information, in using, engineering is easy to occur a series of legitimacy and standardization problem, and it is also inevitable to occur various mistakes in addition in the layoutprocedure, so need carry out the strictness test.Because the problem complexity of described configuration describing document is various, rely on manpower all to find, can only rely on specific purpose tool (being method of testing).The instrument that can carry out described configuration describing document verification at present has a lot, as the IEDScout of SCL Checker, the OMICRON of KEMA and XMLSpy of Altova etc.Though these instrument maturations but test function is incomplete, especially " the DL/T 860 technical application standards " and " IEC61850 engineering relay protection application model " at domestic nearest promulgation do not have power of test, can't satisfy the needs of actual engineering test.In the actual engineering, the test of the described configuration describing document of part can only be undertaken by the method for artificial check, and not only efficient is low but also make mistakes easily.Engineering presses for testing tool a production domesticization, multiple functional in using, and avoids artificial check.
Summary of the invention
Technical matters to be solved by this invention provides has multiple functional a kind of method that the IEC61850 configuration describing document is tested.
The technical solution adopted for the present invention to solve the technical problems:
The present invention is by configuration file parsing module, storage of linked list and internal memory release module, normal data template file and verification module specific implementation, and its step is as follows:
(1) by the configuration file parsing module IEC61850 configuration describing document is tested parsing:
Adopt the parsing of the DOM interface realization of the MSXML of Microsoft 4.0 to the IEC61850 configuration describing document; After utilizing the DOM interface to read XML document, data tree of structure in internal memory; Utilize the api interface function of MSXML 4.0, add, edit, move or delete the node of optional position in the dom tree;
(2) utilize storage of linked list and internal memory release module to store and discharge: the list structure corresponding with it to the definition setting of IEC61850 configuration describing document according to the IEC61850 standard; Because the IEC61850 configuration describing document logically is a tree-like hierarchy, set chained list is a tree structure;
After the IEC61850 configuration describing document is resolved in the internal memory, the node data that has certain sense in the internal memory tree is extracted, store in the linked list data structure, be used for the customizing messages of trial function visit IEC61850 configuration describing document; When program withdraws from internal memory takes place and reveal, utilize the chained list internal memory to discharge function, node carries out manual release one by one;
(3) utilize the normal data template file to deposit 55 kinds of DOType, 15 kinds of DAType and 19 kinds of EnumType of standard " IEC61850 engineering relay protection application model " unified Definition; Whether meet the definition of " IEC61850 engineering relay protection application model " appendix D in order to the data type template of checking the IEC61850 configuration describing document; Described normal data template file is the XML form;
(4) utilize the verification module that the element information of the IEC61850 configuration describing document stored in the described chained list is carried out verification, if undesirablely then report to the police, and the type of output error and the index of object element in the IEC61850 configuration describing document.
The invention has the beneficial effects as follows and to test at " DL/T 860 technical application standards " and " IEC61850 engineering relay protection application model "; automatically whether test I EC61850 configuration describing document satisfies the requirement of above-mentioned two domestic standards, and its test function is complete.
Description of drawings
Fig. 1 is a workflow diagram of the present invention;
Fig. 2 is the linked list data structure synoptic diagram of storage IEC61850 configuration describing document IED partial information;
Fig. 3 is for carrying out the workflow diagram that internal memory discharges to certain chained list (supposing that the linked list head pointer is Head);
Fig. 4 is the BDA comparison program flow diagram among the DAType;
Fig. 5 is the screenshot capture to the IEC61850 configuration describing document test of CSC103 molded lines line protection device.
Embodiment
Present embodiment is by configuration file parsing module, storage of linked list and internal memory release module, normal data template file and verification module specific implementation, and its step is as follows:
(1) by the configuration file parsing module IEC61850 configuration describing document is tested parsing:
Adopt the parsing of the DOM interface realization of the MSXML of Microsoft 4.0 to the IEC61850 configuration describing document; After utilizing the DOM interface to read XML document, data tree of structure in internal memory; Utilize the api interface function of MSXML 4.0, add, edit, move or delete the node of optional position in the dom tree;
(2) utilize storage of linked list and internal memory release module to store and discharge: the list structure corresponding with it to the definition setting of IEC61850 configuration describing document according to the IEC61850 standard; Because the IEC61850 configuration describing document logically is a tree-like hierarchy, set chained list is tree structure (see Fig. 2, Fig. 2 is the linked list data structure synoptic diagram of the described configuration describing document IED partial information of storage);
After the IEC61850 configuration describing document is resolved in the internal memory, the node data that has certain sense in the internal memory tree is extracted, store in the linked list data structure, be used for the customizing messages of trial function visit IEC61850 configuration describing document; When program withdraws from internal memory takes place and reveal, utilize the chained list internal memory to discharge function, node carries out manual release one by one; See Fig. 3, Fig. 3 carries out the workflow diagram that internal memory discharges to certain chained list (supposing that the linked list head pointer is Head);
(3) utilize the normal data template file to deposit 55 kinds of DOType, 15 kinds of DAType and 19 kinds of EnumType of standard " IEC61850 engineering relay protection application model " unified Definition; This way has certain dirigibility and versatility, even standard logarithmic will change according to the regulation of type template and also need not revise the test source program from now on, only needs to revise a normal data template file and can adapt to new standard.Whether meet the definition of " IEC61850 engineering relay protection application model " appendix D in order to the data type template of checking the IEC61850 configuration describing document; Described normal data template file is the XML form;
(4) verification module: the verification module is the core of testing tool, pointer by the operation chained list node, the IEC61850 configuration describing document element information of storing in the chained list is carried out various verifications (for example checking whether repeat communication IP address, and the node to storing IP parameter in the chained list carries out uniqueness relatively exactly); If undesirable then warning, and the type of output error and the index of object element in configuration file.
The workflow of present embodiment is as follows:
At first the IEC61850 configuration describing document is loaded into and forms a dom tree in the calculator memory, and then the particular sections dot information in the internal memory tree is stored in the linked list data structure; Pointer by the operation chained list node carries out various comparisons to the IEC61850 configuration describing document element information of storing in the chained list; Promptly send false alarm as if undesirable, and the type of output error and the particular location in the IEC61850 configuration describing document thereof; Test result is saved in the text; The internal memory of dynamic assignment discharges when at last chained list being created, and concrete workflow as shown in Figure 1.
Be an application example of present embodiment below:
In certain 220KV digital transformer substation debugging, utilize this method of testing that the IEC61850 configuration describing document of CSC103 molded lines line protection device is tested, found the various mistakes that wherein exist, test result is as shown in Figure 5.
Relatively be that example illustrates this process only below with data type template consistance:
At first resolve the IEC61850 configuration describing document and be stored in the chained list, then the normal data template file is read in the calculator memory dom tree, call among the MSXML 4.0 GetElementsByTagName() function extracts the set (for example all DAType nodes) of specified data type node, the DAType of the IEC61850 configuration describing document preserved in each node and the chained list is compared one by one, as if there being difference then to report to the police.The comparison flow process of DOType and EnumType and DOType broadly similar.
When the BDA daughter element that comparison comprises under the DAType, adopted the way of two-way comparison.The first step is reference with the IEC61850 configuration describing document of depositing in the chained list, and the normal data template file is compared with it, has defined non-existent element in the IEC61850 configuration describing document though can check out the normal data template file.Second step was reference with the normal data template file, IEC61850 configuration describing document information in the chained list and its are compared, can check out whether have the undefined element of normal data template file in the IEC61850 configuration describing document, idiographic flow as shown in Figure 4.

Claims (1)

1. method that IEC 61850 configuration describing documents are tested is characterized in that it by configuration file parsing module, storage of linked list and internal memory release module, normal data template file and verification module specific implementation, and its step is as follows:
(1) by the configuration file parsing module IEC 61850 configuration describing documents are tested parsing:
Adopt the parsing of the DOM interface realization of the MSXML of Microsoft 4.0 to IEC 61850 configuration describing documents; After utilizing the DOM interface to read XML document, data tree of structure in internal memory; Utilize the api interface function of MSXML 4.0, add, edit, move or delete the node of optional position in the dom tree;
(2) utilize storage of linked list and internal memory release module to store and discharge: the list structure corresponding with it to the definition setting of IEC 61850 configuration describing documents according to IEC 61850 standards; Because IEC 61850 configuration describing documents logically are tree-like hierarchy, set chained list is a tree structure;
After IEC 61850 configuration describing documents are resolved in the internal memory, the node data that has certain sense in the internal memory tree is extracted, store in the linked list data structure, be used for the customizing messages of trial function visit IEC 61850 configuration describing documents; When program withdraws from internal memory takes place and reveal, utilize the chained list internal memory to discharge function, node carries out manual release one by one;
(3) utilize the normal data template file to deposit standard " IEC 61850 engineering relay protection application models " 55 kinds of DOType of unified Definition, 15 kinds of DAType and 19 kinds of EnumType; Whether meet the definition of " IEC 61850 engineering relay protection application models " appendix D in order to the data type template of checking IEC 61850 configuration describing documents; Described normal data template file is the XML form;
(4) utilize the verification module that the element information of IEC 61850 configuration describing documents stored in the described chained list is carried out verification, if undesirablely then report to the police, and the type of output error and the index of object element in IEC 61850 configuration describing documents.
CN201110000749.2A 2011-01-05 2011-01-05 Method for testing IEC61850 configuration description file Active CN102043719B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110000749.2A CN102043719B (en) 2011-01-05 2011-01-05 Method for testing IEC61850 configuration description file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110000749.2A CN102043719B (en) 2011-01-05 2011-01-05 Method for testing IEC61850 configuration description file

Publications (2)

Publication Number Publication Date
CN102043719A true CN102043719A (en) 2011-05-04
CN102043719B CN102043719B (en) 2015-05-06

Family

ID=43909870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110000749.2A Active CN102043719B (en) 2011-01-05 2011-01-05 Method for testing IEC61850 configuration description file

Country Status (1)

Country Link
CN (1) CN102043719B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102654937A (en) * 2012-05-15 2012-09-05 东北电力科学研究院有限公司 IEC61850 detection platform of power quality monitoring terminal and detection method thereof
CN102799755A (en) * 2011-05-25 2012-11-28 霍尼韦尔国际公司 Systems and methods to configure condition based health maintenance systems
CN102902748A (en) * 2012-09-18 2013-01-30 上海移远通信技术有限公司 Establishing method and managing method for file systems and random access memory (RAM) and communication chip of file systems
CN103324413A (en) * 2013-06-13 2013-09-25 青岛海信移动通信技术股份有限公司 Mobile terminal and method for processing memo information by using mobile terminal
CN103439612A (en) * 2013-09-02 2013-12-11 上海毅昊自动化有限公司 Intelligent transformer substation automatic testing system based on SCD
CN104360948A (en) * 2014-12-01 2015-02-18 国网重庆市电力公司江津供电分公司 IEC 61850 configuration file engineering consistency test method based on fuzzy algorithm
CN104795897A (en) * 2015-04-23 2015-07-22 广东电网有限责任公司电力调度控制中心 Intelligent substation configurable relay protecting method and system
WO2015139473A1 (en) * 2014-03-18 2015-09-24 国家电网公司 Method for managing and controlling system configuration document in intelligent substation
CN105279085A (en) * 2015-10-08 2016-01-27 国网天津市电力公司 Rule self-defining based smart substation configuration file test system and method
CN106338975A (en) * 2016-09-21 2017-01-18 浙江中控技术股份有限公司 Alarm merging method and alarm merging system
CN106656614A (en) * 2016-12-29 2017-05-10 山东鲁能智能技术有限公司 Method and system for generating custom-made forwarding table based on power distribution terminal device XML file
CN108270595A (en) * 2016-12-30 2018-07-10 北京亿阳信通科技有限公司 A kind of networking configuration method and device
CN109933523A (en) * 2019-01-30 2019-06-25 山东鲁能智能技术有限公司 IEC61850 model checking method, system, terminal device, computer readable storage medium
CN113010230A (en) * 2021-03-26 2021-06-22 广州市百果园网络科技有限公司 Configuration information processing method, device, equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
兰森林等: "基于SCL模型的IED配置器的设计与实现", 《继电器》 *
缪文贵等: "基于IEC61850的数字化变电站中的规约测试技术", 《江苏电机工程》 *
陈少君等: "智能电子装置的SCL文档配置工具的设计与实现", 《继电器》 *

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799755B (en) * 2011-05-25 2017-03-01 霍尼韦尔国际公司 System and method for the health maintenance system based on situation for the configuration
CN102799755A (en) * 2011-05-25 2012-11-28 霍尼韦尔国际公司 Systems and methods to configure condition based health maintenance systems
CN102654937B (en) * 2012-05-15 2014-01-15 东北电力科学研究院有限公司 IEC61850 detection platform of power quality monitoring terminal and detection method thereof
CN102654937A (en) * 2012-05-15 2012-09-05 东北电力科学研究院有限公司 IEC61850 detection platform of power quality monitoring terminal and detection method thereof
CN102902748A (en) * 2012-09-18 2013-01-30 上海移远通信技术有限公司 Establishing method and managing method for file systems and random access memory (RAM) and communication chip of file systems
CN103324413A (en) * 2013-06-13 2013-09-25 青岛海信移动通信技术股份有限公司 Mobile terminal and method for processing memo information by using mobile terminal
CN103439612A (en) * 2013-09-02 2013-12-11 上海毅昊自动化有限公司 Intelligent transformer substation automatic testing system based on SCD
CN103439612B (en) * 2013-09-02 2015-11-11 上海毅昊自动化有限公司 Based on the intelligent substation Auto-Test System of SCD
WO2015139473A1 (en) * 2014-03-18 2015-09-24 国家电网公司 Method for managing and controlling system configuration document in intelligent substation
CN104360948A (en) * 2014-12-01 2015-02-18 国网重庆市电力公司江津供电分公司 IEC 61850 configuration file engineering consistency test method based on fuzzy algorithm
CN104795897A (en) * 2015-04-23 2015-07-22 广东电网有限责任公司电力调度控制中心 Intelligent substation configurable relay protecting method and system
CN104795897B (en) * 2015-04-23 2016-08-24 广东电网有限责任公司电力调度控制中心 The configurable relay protecting method of intelligent substation and system
CN105279085A (en) * 2015-10-08 2016-01-27 国网天津市电力公司 Rule self-defining based smart substation configuration file test system and method
CN106338975A (en) * 2016-09-21 2017-01-18 浙江中控技术股份有限公司 Alarm merging method and alarm merging system
CN106338975B (en) * 2016-09-21 2018-12-04 浙江中控技术股份有限公司 A kind of alarm merging method and merger system of alarming
CN106656614A (en) * 2016-12-29 2017-05-10 山东鲁能智能技术有限公司 Method and system for generating custom-made forwarding table based on power distribution terminal device XML file
CN106656614B (en) * 2016-12-29 2019-07-26 山东鲁能智能技术有限公司 Customization forwarding table generation method and system based on distribution terminal equipment XML file
CN108270595A (en) * 2016-12-30 2018-07-10 北京亿阳信通科技有限公司 A kind of networking configuration method and device
CN109933523A (en) * 2019-01-30 2019-06-25 山东鲁能智能技术有限公司 IEC61850 model checking method, system, terminal device, computer readable storage medium
CN113010230A (en) * 2021-03-26 2021-06-22 广州市百果园网络科技有限公司 Configuration information processing method, device, equipment and storage medium
CN113010230B (en) * 2021-03-26 2024-02-09 广州市百果园网络科技有限公司 Configuration information processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN102043719B (en) 2015-05-06

Similar Documents

Publication Publication Date Title
CN102043719B (en) Method for testing IEC61850 configuration description file
CN103353871A (en) Interoperation picture file checking method based on CIM/G standard
CN101713823B (en) Satellite telemetry data reduction processing method
CN104598376A (en) Data driving layered automation test system and method
CN102750301B (en) Blueprint generating method for integrated avionic system model aiming at architecture analysis and design language (AADL) description
CN103218402B (en) General database data structure and data mover system and method thereof
CN103578048A (en) Method for checking and comparing configuration related information of intelligent substation SCL documents
CN102426525B (en) Panoramic modeling method of multi-application system
CN108229799B (en) Multi-source heterogeneous power grid operation real-time data access system and method
CN103441900A (en) Centralization cross-platform automated testing system and control method thereof
CN102750406A (en) Multi-version management method for model set and difference model-based power grid model
CN101867501A (en) Method and system for automatically testing consistence of SNMP (Simple Network Management Protocol) interface information model
CN111857777B (en) System updating method and device based on double-core intelligent ammeter and computer equipment
CN103268325A (en) Dynamic checking method of intelligent substation IED (intelligent electronic device) model configuration correctness based on SCD (security coding device) files
CN109274178B (en) Automatic analysis system and method for power dispatching preposed operation information
CN103208087A (en) Power distribution network data checking method based on international electrotechnical commission (IEC) 61968 standard
CN108595390B (en) Method for verifying parameter consistency of SCD and IED of intelligent substation
CN114328278B (en) Distributed simulation test method, system, readable storage medium and computer equipment
CN104516953B (en) A kind of black box subsystem for power dispatching automation magnanimity message
CN103633736B (en) From the on-line monitoring communication means of power transformation substation to main website
CN112486841A (en) Method and device for checking data collected by buried point
CN108337133B (en) Multi-type intermodal message analysis tool
CN100573376C (en) The factory information system and the method for new data more thereof
Barth et al. Efficient use of data exchange formats in engineering projects by means of language integrated queries—Engineers LINQ to XML
CN102310950B (en) Experiment intelligent interpretation system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: STATE GRID CORPORATION OF CHINA HEBEI ELECTRIC POW

Effective date: 20121219

Owner name: HEBEI ELECTRIC POWER CORPORATION ELECTRIC POWER RE

Free format text: FORMER OWNER: HEBEI ELECTRIC POWER RESEARCH INSTITUTE

Effective date: 20121219

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20121219

Address after: 050021 No. 238 South Sports street, Yuhua Road, Hebei, Shijiazhuang

Applicant after: Electric Power Research Institute of Hebei Electric Power Corporation

Applicant after: State Grid Corporation of China

Applicant after: Hebei Electric Power Construction & Adjustment Research Institute

Address before: 050021 No. 238 South Sports street, Hebei, Shijiazhuang

Applicant before: Hebei Electric Power Research Institute

C53 Correction of patent of invention or patent application
CB03 Change of inventor or designer information

Inventor after: He Lei

Inventor after: Hao Xiaoguang

Inventor after: Li Tiecheng

Inventor after: Zhang Binghai

Inventor after: Fan Hui

Inventor before: Wang Xiaowei

Inventor before: Fan Hui

Inventor before: Wang Peng

Inventor before: Tang Lei

Inventor before: Yang Xiao

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: WANG XIAOWEI FAN HUI WANG PENG TANG LEI YANG XIAO TO: HE LEI HAO XIAOGUANGLI TIECHENG ZHANG BINGHAI FAN HUI

C14 Grant of patent or utility model
GR01 Patent grant