CN103218398B - Intelligent substation SCL (substation configuration description language) file difference comparison method - Google Patents

Intelligent substation SCL (substation configuration description language) file difference comparison method Download PDF

Info

Publication number
CN103218398B
CN103218398B CN201310079206.3A CN201310079206A CN103218398B CN 103218398 B CN103218398 B CN 103218398B CN 201310079206 A CN201310079206 A CN 201310079206A CN 103218398 B CN103218398 B CN 103218398B
Authority
CN
China
Prior art keywords
comparison
key
scl
name
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310079206.3A
Other languages
Chinese (zh)
Other versions
CN103218398A (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.)
ELECTRIC POWER RESEARCH INSTITUTE OF JIANGSU ELECTRIC POWER Co
State Grid Corp of China SGCC
State Grid Jiangsu Electric Power Co Ltd
Original Assignee
ELECTRIC POWER RESEARCH INSTITUTE OF JIANGSU ELECTRIC POWER Co
State Grid Corp of China SGCC
State Grid Jiangsu 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 JIANGSU ELECTRIC POWER Co, State Grid Corp of China SGCC, State Grid Jiangsu Electric Power Co Ltd filed Critical ELECTRIC POWER RESEARCH INSTITUTE OF JIANGSU ELECTRIC POWER Co
Priority to CN201310079206.3A priority Critical patent/CN103218398B/en
Publication of CN103218398A publication Critical patent/CN103218398A/en
Application granted granted Critical
Publication of CN103218398B publication Critical patent/CN103218398B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses an intelligent substation SCL (substation configuration description language ) file difference comparison method, which is applicable to the situation that the SCL configuration file is changed in the building process, reconstruction and expansion process and the operation overhauling process of an intelligent substation. According to a definition of the SCL file in IEC61850-6 standard, a key word is defined for each key element, a two-dimensional table structure with a main key is formed, the difference of two SCL files on the aspects of the structure, element and attribute before and after the alternation can be rapidly found out by utilizing a circulating, sorting and cross comparison method, and an SCL file difference comparison software is developed on the basis of the obtained difference and can be used as a management tool of a configuration file in the operation maintenance of the intelligent substation.

Description

Intelligent substation SCL file difference comparative approach
Technical field
The present invention relates to a kind of intelligent substation SCL file difference comparative approach, belong to technical field of electric power automation.
Background technology
Substation configuration description language SCL(Substation Configuration description Language) be the configuration and the communication system that are used for describing intelligent electronic device IED that define in IEC61850-6 standard.By this language, the relativeness of electric substation automation system and transformer station itself can be described to specification.The grammatical norm of XML grammatically followed in SCL language, semantically comprising the types of objects involved by transformer station's configuration as far as possible.
Intelligent substation SCL file is mainly divided into ICD, SCD, CID file, ICD file describes the function of smart machine IED, constitute the SCD file describing full station smart machine behavior and logical communication link after the instantiation of dissimilar IED equipment I CD file, after SCD file being split, form the CID file that every platform IED plant running uses.In, reorganization and expansion newly-built at intelligent substation, operation maintenance process, if any one file there occurs change, all may affect the normal operation of IED device, and often this change is stealthy, is difficult to distinguish.Therefore, a kind of method that can find out rapidly the change of SCL file difference, and on this basis, establishment test and acceptance scheme, will improve intelligent substation equipment operation management level greatly.
Summary of the invention
The object of the present invention is to provide a kind of otherness comparative approach of intelligent substation SCL file, in order to solve, intelligent substation is newly-built, reorganization and expansion, when SCL configuration file occurs to change in operating maintenance process, be difficult to distinguish and affect the situation of the normal operation of IED device.
For achieving the above object, the technological means that the present invention adopts is: intelligent substation SCL file difference comparative approach, comprises the following steps:
1) define the key assignments of SCL file key element, described key assignments is unique in the territory of key element, in order to identify different entry;
2) according to the key assignments of SCL file key element of definition, SCL File Mapping is become a series of bivariate table structure that is nested, band major key, often open the entry of bivariate table all with the formal modeling that " major key-key assignments " is right;
3) comparison of otherness between the bivariate table carrying out being with major key.
Abovementioned steps 3) in, the comparison of otherness between the bivariate table of band major key, is specially:
3-1) bivariate table that two SCL documents map is sorted according to Major key, form " major key-key assignments " of ascending order arrangement to list;
3-2) according to Major key, " major key-key assignments " after two SCL documents sequences is carried out intersection comparison to list.
Abovementioned steps 3-2) in, the comparison that intersects is specially: as occurred that major key increases in same comparison domain, be then judged to be that SCL file key element increases item; As occurred, major key reduces, be then judged to be that SCL file key element deletes item; As occurred, major key is identical, then determine whether according to key assignments identical, if difference, be judged to be modification item.
Abovementioned steps 1) in the key assignments of SCL file key element be defined as: Communication---Communication, SubNetwork---name, ConnectedAp---iedName+apName, Address---Address, GSE---ldInst+cbName, SMV---ldInst+cbName, IED---name, AccessPoint---name, LDevice---inst, DataSet---name, FCDA---index, GSEControl---name, SampledValueControl---name, Inputs---Inputs, ExtRef---intAddr, LN---prefix+lnClass+lnInst, DOI---name.
When aforementioned major key is identical, the comparison criterion according to the comparison of key assignments intersection is:
Communication: comparison SubNetwork shows;
SubNetwork: comparison desc, type and ConnectedAp show;
ConnectedAp: comparison Address, GSE, SMV show;
Address: comparison IP, IP_SUBNET;
GSE: comparison MAC_Address, VLAN_ID, VLAN_PRIORITY, APPID, MinTime, MaxTime;
SMV: comparison MAC_Address, VLAN_ID, VLAN_PRIORITY, APPID;
IED: comparison desc, type, AccessPoint show;
AccessPoint: comparison LDevice shows;
Ldevice: comparison LN table, DataSet table, GSEControl table, SampledValueControl table, Inputs;
DataSet: show by index comparison FCDA;
FCDA: comparison " ldInst+ "/"+prefix+lnClass+lnInst+ " $ "+fc+ " $ "+doName+ " $ "+daName " field, bType;
GSEControl: comparison appID, datSet, confRev;
SampledValueControl: comparison smvID, datSet, confRev, nofASDU, smpRate;
Inputs: comparison ExtRef shows;
ExtRef: comparison " ldInst+ "/"+prefix+lnClass+lnInst+ ". "+doName+ ". "+daName " field;
LN: comparison DOI shows;
DOI: comparison desc.
Adopt above-mentioned technological means, the beneficial effect that the present invention has is: by adopting mode key element being defined to unique key assignments, adopt the method for circulation, sequence, cross validation, the otherness of structure, element, attribute between two SCL files before changing can be found out rapidly, more traditional txt text is more optimized by character alignments, effectively improve efficiency and the correctness of the amendment of intelligent substation SCD configuration file, and the management to different revision configuration file in specification test process.
Accompanying drawing explanation
Fig. 1 for based on IED key element in SCL file of the present invention before changing after otherness compare schematic diagram.
Embodiment
Below in conjunction with embodiment, the present invention will be further elaborated.
Intelligent substation SCL file difference comparative approach of the present invention, comprises the following steps:
1) key assignments of SCL file key element is defined
SCL file is a kind of file following XML standard, according to the definition of IEC61850-6 standard, SCL file is made up of elements such as Communication, SubNetwork, ConnectedAP, IED, AccessPoint, LDevice, DataSet, FCDA, GSEControl, SampledValueControl, Inputs, ExtRef, LN, DOI, DAI, forms a kind of structural language of nested, self-described, band relation.The first step of SCL file difference comparative approach is exactly the key word of definition key element, also key assignments (Key Value) is referred to as, this key assignments is a property value or the combination of several property value of corresponding SCL key element, unique in the territory of an element, in order to identify different entry.The key assignments that in the SCL file that table 1 is definition, key element is corresponding.
The key assignments of table 1SCL file key element
SCL key element Key assignments
Communication Communication
SubNetwoik name
ConnectedAp iedName+apName
Address Address
GSE ldInst+cbName
SMV ldInst+cbName
IED name
AccessPoint name
LDevice inst
DataSet name
FCDA index
GSEControl name
SampledValueContro1 name
Inputs lnputs
ExtRef intAddr
LN prefix+lnClass+lnInst
DOI name
In table, each name uses in the element fields corresponding with it, and name key assignments as corresponding in IED key element is the name attribute of IED element fields, and the name key assignments that DOI key element is corresponding is the name attribute of DOI element fields.
2) according to the key assignments of SCL file key element of definition, SCL File Mapping is become a series of bivariate table structure that is nested, band major key, the entry of often opening bivariate table can with " major key-key assignments " right formal modeling; Here major key refers to the index entry of a tables of data, has the feature of uniqueness.
3) comparison of otherness between the bivariate table carrying out being with major key.
Between bivariate table with major key, the comparative approach of otherness is specially, and is first sorted according to Major key by the bivariate table that two SCL documents map, and forms " major key-key assignments " of ascending order arrangement to list; Again according to Major key, " major key-key assignments " after two SCL documents sequences is carried out intersection comparison to list (mapping SCL element).Concrete grammar is: as occurred that major key increases in same comparison domain, be then judged to be that SCL file key element increases item; As occurred, major key reduces, be then judged to be that SCL file key element deletes item; As occurred, major key is identical, then determine whether identical according to key assignments, if difference, is judged to be amendment.
When major key is identical, the comparison criterion of carrying out intersection comparison according to key assignments is listed in table 2,
The comparison criterion of the comparison item that table 2 major key is identical
In table, the comparison criterion of each SCL key element is its property value in corresponding key or the combination of several property value.
As an embodiment, Fig. 1 gives IED key element rear otherness comparison procedure before changing in SCL file.
In figure, carry out ascending order arrangement according to name key assignments, after change, between PL5022A and PB5023A, add PB5031A key assignments item, show that creating IED key element increases item PB5031A; Between PL5022A and PL5032A, decrease PL5022B key assignments item, show that creating IED key element deletes a PL5022B; Key assignments PL5032B item is identical, desc comparison criterion item, protects B to become 500kV days intelligent 5621 lines protect A, show that IED key element there occurs amendment by 500kV before changing days intelligent 5621 lines; Key assignments PM5002B item is identical, desc comparison criterion item is also identical with type comparison criterion item, because SCL is nested definition, containing AccessPoint element in IED key element, so continue the comparison item of comparison Accesspoint element, in Accesspoint comparison list, decrease M1 between G1 key assignments and S1 key assignments, this shows to create deleted entry, by that analogy, if the name key assignments item in Accesspoint comparison list is identical, continue comparison desc comparison criterion item
Further, according to the Software tool SCL Compare that the exploitation of SCL file difference comparative approach compares to different editions configuration file, can according to the structure of the class of configuration file definition, adopt the method compared by semanteme, more traditional txt text is more optimized by character alignments, and be applied to 220kV transformer station, in 110kV transformer station and 500kV transformer station, effectively improve efficiency and the correctness of the amendment of intelligent substation SCD configuration file, and the management to different revision configuration file in specification test process.
Below disclose the present invention with preferred embodiment, so it is not intended to limiting the invention, and all employings are equal to replacement or the technical scheme that obtains of equivalent transformation mode, all drop within protection scope of the present invention.

Claims (3)

1. intelligent substation SCL file difference comparative approach, is characterized in that, comprise the following steps:
1) define the key assignments of SCL file key element, described key assignments is unique in the territory of key element, in order to identify different entry;
2) according to the key assignments of SCL file key element of definition, SCL File Mapping is become a series of bivariate table structure that is nested, band major key, often open the entry of bivariate table all with the formal modeling that " major key-key assignments " is right;
3) comparison of otherness between the bivariate table carrying out being with major key, is specially:
3-1) bivariate table that two SCL documents map is sorted according to Major key, form " major key-key assignments " of ascending order arrangement to list;
3-2) according to Major key, " major key-key assignments " after two SCL documents sequences is carried out intersection comparison to list, and described intersection comparison is specially: as occurred that major key increases in same comparison domain, be then judged to be that SCL file key element increases item; As occurred, major key reduces, be then judged to be that SCL file key element deletes item; As occurred, major key is identical, then determine whether according to key assignments identical, if difference, be judged to be modification item.
2. intelligent substation SCL file difference comparative approach according to claim 1, it is characterized in that, in described step 1), the key assignments of SCL file key element is defined as: Communication---Communication, SubNetwork---name, ConnectedAp---iedName+apName, Address---Address, GSE---ldInst+cbName, SMV---ldInst+cbName, IED---name, AccessPoint---name, LDevice---inst, DataSet---name, FCDA---index, GSEControl---name, SampledValueControl---name, Inputs---Inputs, ExtRef---intAddr, LN---prefix+lnClass+lnInst, DOI---name.
3. intelligent substation SCL file difference comparative approach according to claim 2, is characterized in that, when described major key is identical, the comparison criterion according to the comparison of key assignments intersection is:
Communication: comparison SubNetwork shows;
SubNetwork: comparison desc, type and ConnectedAp show;
ConnectedAp: comparison Address, GSE, SMV show;
Address: comparison IP, IP_SUBNET;
GSE: comparison MAC_Address, VLAN_ID, VLAN_PRIORITY, APPID, MinTime, MaxTime;
SMV: comparison MAC_Address, VLAN_ID, VLAN_PRIORITY, APPID;
IED: comparison desc, type, AccessPoint show;
AccessPoint: comparison LDevice shows;
Ldevice: comparison LN table, DataSet table, GSEControl table, SampledValueControl table, Inputs;
DataSet: show by index comparison FCDA;
FCDA: comparison " ldInst+"/"+prefix+lnClass+lnInst+" $ "+fc+" $ "+doName+" $ "+daName " field, bType;
GSEControl: comparison appID, datSet, confRev;
SampledValueControl: comparison smvID, datSet, confRev, nofASDU, smpRate;
Inputs: comparison ExtRef shows;
ExtRef: comparison " ldInst+"/"+prefix+lnClass+lnInst+". "+doName+". "+daName " field;
LN: comparison DOI shows;
DOI: comparison desc.
CN201310079206.3A 2013-03-13 2013-03-13 Intelligent substation SCL (substation configuration description language) file difference comparison method Active CN103218398B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310079206.3A CN103218398B (en) 2013-03-13 2013-03-13 Intelligent substation SCL (substation configuration description language) file difference comparison method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310079206.3A CN103218398B (en) 2013-03-13 2013-03-13 Intelligent substation SCL (substation configuration description language) file difference comparison method

Publications (2)

Publication Number Publication Date
CN103218398A CN103218398A (en) 2013-07-24
CN103218398B true CN103218398B (en) 2015-02-25

Family

ID=48816185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310079206.3A Active CN103218398B (en) 2013-03-13 2013-03-13 Intelligent substation SCL (substation configuration description language) file difference comparison method

Country Status (1)

Country Link
CN (1) CN103218398B (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103578048A (en) * 2013-11-13 2014-02-12 国家电网公司 Method for checking and comparing configuration related information of intelligent substation SCL documents
CN103942345B (en) * 2014-05-13 2017-04-19 国家电网公司 Method for automatically generating IED network graph
CN104063765A (en) * 2014-07-03 2014-09-24 国电南瑞科技股份有限公司 SCD file management method for intelligent substation
CN104601372B (en) * 2014-12-24 2018-06-05 中国能源建设集团江苏省电力设计院有限公司 A kind of intelligent substation void circuit visualization comparison method based on three layer patterns
CN104599060B (en) * 2015-01-09 2017-12-15 国家电网公司 The intelligent substation debugging plan generation method compared based on secondary circuit file
CN104657176A (en) * 2015-02-09 2015-05-27 南京南瑞继保电气有限公司 File updating method and electronic equipment
CN104732453B (en) * 2015-03-16 2018-05-15 国家电网公司 SCD file comparison method based on the factor of influence that interconnects
CN104850466B (en) * 2015-05-22 2018-07-20 中国电力科学研究院 For the consistency desired result method between intelligent substation ICD models
CN106503019A (en) * 2015-09-08 2017-03-15 中兴通讯股份有限公司 A kind of method and apparatus for obtaining databases comparison information
CN105787041B (en) * 2016-02-26 2019-08-13 中国银联股份有限公司 Big file comparison method and Compare System based on data characteristics code
CN107220072A (en) * 2016-03-21 2017-09-29 阿里巴巴集团控股有限公司 Configuration file method of calibration and device based on serialization format
CN106021119A (en) * 2016-08-03 2016-10-12 网易(杭州)网络有限公司 Configuration file calibration method and device
CN106372040B (en) * 2016-08-24 2019-03-12 长园深瑞继保自动化有限公司 Intelligent substation configuration file otherness comparison system
CN106354798B (en) * 2016-08-26 2019-10-25 山东电力工程咨询院有限公司 A kind of comparison SCD file transmitting terminal and receiving end data source methods of exhibiting
CN106326128B (en) * 2016-09-06 2018-09-18 网易(杭州)网络有限公司 The detection method and device of configuration file
CN108763327B (en) * 2018-05-07 2021-06-15 中山易能智达电子有限公司 Method for rapidly inquiring configuration file of light control system by using switch
CN109145167A (en) * 2018-06-29 2019-01-04 国网四川省电力公司雅安供电公司 The content deltas comparative approach of IED is corresponded in ICD file and SCD

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102867274A (en) * 2012-07-27 2013-01-09 江苏省电力公司电力科学研究院 Management and graphical display system for intelligent substation SCL (substation configuration description language) configuration files

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1973213B1 (en) * 2007-03-22 2017-12-06 Abb Research Ltd. Validating a standardized configuration description

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102867274A (en) * 2012-07-27 2013-01-09 江苏省电力公司电力科学研究院 Management and graphical display system for intelligent substation SCL (substation configuration description language) configuration files

Also Published As

Publication number Publication date
CN103218398A (en) 2013-07-24

Similar Documents

Publication Publication Date Title
CN103218398B (en) Intelligent substation SCL (substation configuration description language) file difference comparison method
CN102426525B (en) Panoramic modeling method of multi-application system
CN102403718B (en) Generating method for power grid topological relationship based on Arcgis
CN102608962B (en) A kind of power information collecting device automatic maintenance method from bottom to top
CN103578048A (en) Method for checking and comparing configuration related information of intelligent substation SCL documents
CN103887792B (en) A kind of low-voltage distribution network modeling method containing distributed power source
CN104317864A (en) Automatic identification method of information model based on IEC61850 logical nodes
CN104951620A (en) Business rule based method for auditing SCD (substation configuration description) files of smart substation
CN102915344A (en) SQL (structured query language) statement processing method and device
CN105138638A (en) Database distribution method based on application layer
CN106296456B (en) Intelligent substation secondary maintenance safety measure support system and construction method
CN103606032B (en) A kind of method in two dimension power grid GIS data set
CN105205039A (en) Customizable SCD (substation configuration description) file verification method
CN103441988B (en) Across GIS platform data migration method
CN105552880A (en) Electric power system typical fault set determination method based on state enumeration method
CN105095571A (en) Method for checking configuration solution of intelligent transformer substation intelligent apparatus based on business rule
Yisong et al. Study on the relationship between transmission line failure rate and lightning information based on Neo4j
CN111737655A (en) User authority management method, system and storage medium of cloud management platform
CN106055684A (en) SCD file comparison method of transformer substation
CN102880988A (en) Topology comparison-based method and device for importing substation model
CN103258051B (en) A kind of problem database system based on search and establishment method and application method
CN102521451B (en) A kind of electric network model file, generation method and the system of supporting accelerated model to splice
CN105160589A (en) Input virtual terminal and output virtual terminal check method for intelligent device of intelligent transformer station
CN107807963B (en) Method for rapidly searching power transmission network line collection area based on divide-and-conquer strategy
CN104463699A (en) Intelligent substation control layer information extraction 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
C14 Grant of patent or utility model
GR01 Patent grant