CN105354137B - A kind of static models detection method based on IEC61850 agreements - Google Patents

A kind of static models detection method based on IEC61850 agreements Download PDF

Info

Publication number
CN105354137B
CN105354137B CN201510638054.5A CN201510638054A CN105354137B CN 105354137 B CN105354137 B CN 105354137B CN 201510638054 A CN201510638054 A CN 201510638054A CN 105354137 B CN105354137 B CN 105354137B
Authority
CN
China
Prior art keywords
detection
static models
iec61850
rules
meet
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
CN201510638054.5A
Other languages
Chinese (zh)
Other versions
CN105354137A (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
State Grid Jiangsu Electric Power Co Ltd
Maintenance Branch of State Grid Jiangsu Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
State Grid Jiangsu Electric Power Co Ltd
Maintenance Branch of 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 State Grid Corp of China SGCC, State Grid Jiangsu Electric Power Co Ltd, Maintenance Branch of State Grid Jiangsu Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201510638054.5A priority Critical patent/CN105354137B/en
Publication of CN105354137A publication Critical patent/CN105354137A/en
Application granted granted Critical
Publication of CN105354137B publication Critical patent/CN105354137B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3604Software analysis for verifying properties of programs
    • G06F11/3616Software analysis for verifying properties of programs using software metrics

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of static models detection method based on IEC61850 agreements, whether meet Schema syntax rules including detection static models, whether detection static models meet IEC61850 syntax rules, and whether detection static models meet the expansible semantic rules under application field;For the configuration file of the intelligent electronic device under transformer station's on-line monitoring field, static models detection can carry out grammatical and semantic detection in the case where meeting specific criteria, for different power industry standards, carry out self-defined expansible entry detection, for standard requirement new in application field, verification of the entry realization to new standard is verified by grammatical and semantic corresponding to the increase in custom profile.

Description

A kind of static models detection method based on IEC61850 agreements
Technical field
The present invention relates to the intelligent electronic device field of configuration in transformer station's on-line monitoring field, and in particular to one kind is based on The static models detection method of IEC61850 agreements.
Background technology
The uniformity test of IEC61850 standards verifies whether intelligent electronic device (IED) meets master pattern, due to IEC61850 standard contents are complex, can inevitably be occurred in artificial configuration process using the configuration file of the standard Various mistakes, cause occur some grammar issues for violating standards and norms in engineer applied, and use inspection provided by the invention Survey method then can effectively avoid this kind of wrong generation.
Can carry out at present SCL file verifications instrument such as KEMA SCL Checker, OMICRON IEDScout and Altova XMLSpy etc., although above-mentioned instrument is ripe but can only provide basic grammatical and semantic verification, do not provide change Verified under the on-line monitoring field of power station using the grammatical and semantic of specification.As without for national grid《Transformer is supervised online Examining system fire protection technology-QGDW_534-2010》, Zhejiang Electric Power Company《Zhejiang Electric Power Company's power transmission and transformation equipment state prison Survey main station system I1 interface network communication specifications》Verified Deng using the grammatical and semantic of specification.
In the prior art, patent CN201110000749.2《It is a kind of that IEC61850 configuration describing documents are tested Method》, after the technical scheme is contrasted, following defect be present:
1. system platform limits, the api interface function of MSXML4.0 under microsoft system is only provided;
2. scalability is insufficient, prior art only for《IEC61850 engineering relay protection application models》Detection is provided;
The content of the invention
The purpose of the present invention is to propose to a kind of static models detection method based on IEC61850 agreements, power transformation is directed to The configuration file for the intelligent electronic device stood under on-line monitoring field, static models detection can be carried out in the case where meeting specific criteria Grammatical and semantic detects, and for different power industry standards, self-defined expansible entry detection is carried out, for new in application field Standard requirement, entry is verified by grammatical and semantic corresponding to increasing in custom profile and realized to the school of new standard Test.
To achieve the above objectives, the present invention is realized using following technical scheme.
A kind of static models detection method based on IEC61850 agreements, comprises the following steps:
S1, whether detection static models meet Schema syntax rules, if meeting Schema syntax rules, into step S2, otherwise, perform step S4;
S2, whether detection static models meet IEC61850 syntax rules, if meeting IEC61850 syntax rules, perform Step S3, otherwise, perform step S4;
S3, whether detection static models meet the expansible semantic rules under application field, if meeting expansible semanteme Rule, then termination detection, is sent to user by detection state by result by detection, otherwise, performs step S4;
S4, termination detection flow, testing result and amending advice are sent to user.Static models are changed in related personnel Step S1 is repeated afterwards.
Under step S3 structures transformer station's on-line monitoring field or each province's grid company redaction application specification has SCL The rule of semantic requirements, and be stored in configuration file;Configuration file can add or change when static models detect or Person deletes.
S3 specifically includes following steps,
S301, expansible semantic rules storehouse is established based on XML Schema syntax gauges;
S302, read and parse XSD documents, instantiate expansible semantic rules;
S303, judge in expansible semantic rules with the presence or absence of element to be detected, with the presence or absence of attribute to be detected and treat Whether detected value is in detection range.
Whether step S1 detection static models meet Schema syntax rules, specifically include following steps:
Static models detect instrument when loading static models, and from MSXML4.0 resolvers, whether detection SCL files are full Sufficient XML Schema structural requirements, if meeting XML Schema structural requirements, static models meet Schema syntax rules, Otherwise, Schema syntax rules are not met.
Whether step S2 detection static models meet IEC61850 syntax rules, specifically include following steps:
Build the class libraries based on IEC61850 syntax rules;
The detection method in class libraries is called, whether detection static models meet IEC61850 grammers.
Step S4 testing results and amending advice include:
Based on fault warning message database, send amending advice and carry out static models modification to user.
Fault warning message database includes error message or warning message, the position that information occurs, error message correspondingly Amending advice or warning message corresponding to amending advice.
Compared with prior art, beneficial effect of the present invention includes:
The standard that the static models detection of the present invention can be directed under transformer station's on-line monitoring field carries out grammatical and semantic inspection Survey, such as:For different power industry standards, self-defined expansible entry detection is carried out;
The present invention proposes a kind of static models detection method based on IEC61850 agreements, monitors on-line and leads for transformer station The configuration file of intelligent electronic device under domain, grammatical and semantic detection is carried out for the standard under transformer station's on-line monitoring field, Especially for different power industry standards, self-defined expansible entry detection is carried out, will for standard new in application field Ask, verification of the entry realization to new standard is verified by grammatical and semantic corresponding to the increase in custom profile.
Brief description of the drawings
Fig. 1 is a kind of static models detection method flow chart based on IEC61850 agreements of the present invention.
Embodiment
The present invention is further described below in conjunction with the accompanying drawings.
As shown in figure 1, a kind of static models detection method based on IEC61850 agreements, comprises the following steps:
S1, whether detection static models meet Schema syntax rules, if meeting Schema syntax rules, into step S2, otherwise, perform step S4;
S2, whether detection static models meet IEC61850 syntax rules, if meeting IEC61850 syntax rules, perform Step S3, otherwise, perform step S4;
S3, whether detection static models meet the expansible semantic rules under application field, if meeting expansible semanteme Rule, then termination detection, is sent to user by detection state by result by detection, otherwise, performs step S4;
S4, termination detection flow, testing result and amending advice are sent to user.Static models are changed in related personnel Step S1 is repeated afterwards.
Under step S3 structures transformer station's on-line monitoring field or each province's grid company redaction application specification has SCL The rule of semantic requirements, and be stored in configuration file;Configuration file can add or change when static models detect or Person deletes.
S3 specifically includes following steps,
S301, expansible semantic rules storehouse is established based on XML Schema syntax gauges;
S302, read and parse XSD documents, instantiate expansible semantic rules;
S303, judge in expansible semantic rules with the presence or absence of element to be detected, with the presence or absence of attribute to be detected and treat Whether detected value is in detection range.
Whether step S1 detection static models meet Schema syntax rules, specifically include following steps:
Static models detect instrument when loading static models, and from MSXML4.0 resolvers, whether detection SCL files are full Sufficient XML Schema structural requirements, if meeting XML Schema structural requirements, static models meet Schema syntax rules, Otherwise, Schema syntax rules are not met.
Whether step S2 detection static models meet IEC61850 syntax rules, specifically include following steps:
Build the class libraries based on IEC61850 syntax rules;
The detection method in class libraries is called, whether detection static models meet IEC61850 grammers.
Step S4 testing results and amending advice include:
Based on fault warning message database, send amending advice and carry out static models modification to user.
Fault warning message database includes error message or warning message, the position that information occurs, error message correspondingly Amending advice or warning message corresponding to amending advice.
It the above is only the preferred embodiment of the present invention, it should be pointed out that:Come for those skilled in the art Say, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should be regarded as Protection scope of the present invention.

Claims (3)

1. a kind of static models detection method based on IEC61850 agreements, it is characterised in that comprise the following steps:
S1, whether detection static models meet Schema syntax rules, if meeting Schema syntax rules, into step S2, Otherwise, step S4 is performed;
S2, whether detection static models meet IEC61850 syntax rules, if meeting IEC61850 syntax rules, perform step S3, otherwise, perform step S4;
Whether S3, detection static models meet the expansible semantic rules under application field, if meeting expansible semantic rule Then, then termination detection, detection is sent to user by result by detection state, otherwise, execution step S4;
S4, termination detection flow, testing result and amending advice are sent to user;
Step S3 specifically includes following steps,
S301, expansible semantic rules storehouse is established based on XML Schema syntax gauges;
S302, read and parse XSD documents, instantiate expansible semantic rules;
S303, judge in expansible semantic rules with the presence or absence of element to be detected, with the presence or absence of attribute to be detected and to be detected Whether value is in detection range;
Detect whether static models meet Schema syntax rules described in step S1, specifically include following steps:
Static models detect instrument when loading static models, and from MSXML4.0 resolvers, whether detection SCL files meet XML Schema structural requirements, if meeting XML Schema structural requirements, static models meet Schema syntax rules, no Then, Schema syntax rules are not met;
Detect whether static models meet IEC61850 syntax rules described in step S2, specifically include following steps:
Build the class libraries based on IEC61850 syntax rules;
The detection method in the class libraries is called, whether detection static models meet IEC61850 grammers.
A kind of 2. static models detection method based on IEC61850 agreements according to claim 1, it is characterised in that
Testing result and amending advice include described in step S4:
Based on fault warning message database, send amending advice and carry out static models modification to user.
A kind of 3. static models detection method based on IEC61850 agreements according to claim 2, it is characterised in that
The fault warning message database includes error message or warning message, the position that information occurs, error message correspondingly Amending advice or warning message corresponding to amending advice.
CN201510638054.5A 2015-09-30 2015-09-30 A kind of static models detection method based on IEC61850 agreements Active CN105354137B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510638054.5A CN105354137B (en) 2015-09-30 2015-09-30 A kind of static models detection method based on IEC61850 agreements

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510638054.5A CN105354137B (en) 2015-09-30 2015-09-30 A kind of static models detection method based on IEC61850 agreements

Publications (2)

Publication Number Publication Date
CN105354137A CN105354137A (en) 2016-02-24
CN105354137B true CN105354137B (en) 2018-03-02

Family

ID=55330111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510638054.5A Active CN105354137B (en) 2015-09-30 2015-09-30 A kind of static models detection method based on IEC61850 agreements

Country Status (1)

Country Link
CN (1) CN105354137B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105956410B (en) * 2016-07-01 2018-09-21 中国南方电网有限责任公司 A kind of Universal-purpose quick detection method of IEC61850 full models
CN106411747B (en) * 2016-08-31 2021-08-27 中国电力科学研究院 Method and system applied to intelligent substation switch message forwarding
CN109933523A (en) * 2019-01-30 2019-06-25 山东鲁能智能技术有限公司 IEC61850 model checking method, system, terminal device, computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017458A (en) * 2007-03-02 2007-08-15 北京邮电大学 Software safety code analyzer based on static analysis of source code and testing method therefor
CN101271330A (en) * 2007-03-22 2008-09-24 Abb研究有限公司 Validating a standardized configuration description

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SG153628A1 (en) * 2004-01-14 2009-07-29 Agency Science Tech & Res Method and system for data retrieval from heterogeneous data sources

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017458A (en) * 2007-03-02 2007-08-15 北京邮电大学 Software safety code analyzer based on static analysis of source code and testing method therefor
CN101271330A (en) * 2007-03-22 2008-09-24 Abb研究有限公司 Validating a standardized configuration description

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
数据校验器架构模式组;刘岳林;《IBM developerWorks》;20070115;第1-14页 *
继电保护装置IEC61850通信模型规范化测试软件开发;丁国兴等;《电力***保护与控制》;20140901;第42卷(第17期);第1-6页 *

Also Published As

Publication number Publication date
CN105354137A (en) 2016-02-24

Similar Documents

Publication Publication Date Title
CN103529377B (en) The Auto-Test System of intelligent transformer substation digital protection device and method
CN103593742A (en) Secondary circuit configuration controlling method and system for intelligent substation
CN104599060B (en) The intelligent substation debugging plan generation method compared based on secondary circuit file
CN105354137B (en) A kind of static models detection method based on IEC61850 agreements
CN104101791A (en) Relay protection device fixed vale automatic test method and system
CN105938502A (en) Validation method for design of system security of AltaRica model
CN105913334A (en) Visualized detection method for online abnormal movements of power distribution automation graph and model
CN105164691B (en) A kind of method and system for calculation machine software application
CN101893867A (en) Operation ticket management system and method
CN106682080A (en) Transformer fault analysis method and system
US20170011070A1 (en) Method and device for automatically processing static test data of rail transit vehicle
CN103905275A (en) Electric power telecontrol equipment testing method based on IEC61850 replacement services
CN106462812A (en) Supporting failure mode and effects analysis
WO2015149597A1 (en) Iec61850-based communication simulation method for sf6 gas on-line monitoring device
CN102967839A (en) Detection method and device for online monitoring communication system of transformer substation
Xie et al. Safety and reliability estimation of automatic train protection and block system
CN113095059A (en) Method, device, equipment and storage medium for verifying substation configuration description file
CN105717472A (en) Electric energy quality monitoring terminal simulator
CN106845244A (en) A kind of detection method and device
CN107563608A (en) A kind of power distribution communication net safety evaluation method
CN105843736A (en) Test method for power system state estimation software
CN104850466B (en) For the consistency desired result method between intelligent substation ICD models
CN103472818A (en) Protocol conformance test platform and test method for train control and management system
CN106204326B (en) Power distribution terminal IED equipment detection method for power distribution system
CN108304947A (en) The safety-optimized method and system of secondary device based on SCD file object model

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 58 -5, Suyuan Avenue, Jiangning Development Zone, Nanjing, Jiangsu Province, -5

Applicant after: State Grid Corporation of China

Applicant after: JIANGSU ELECTRIC POWER Co.

Applicant after: STATE GRID JIANGSU ELECTRIC POWER Co.,Ltd. MAINTENANCE BRANCH

Address before: 58 -5, Suyuan Avenue, Jiangning Development Zone, Nanjing, Jiangsu Province, -5

Applicant before: State Grid Corporation of China

Applicant before: JIANGSU ELECTRIC POWER Co.

Applicant before: MAINTENANCE DIVISION OF STATE GRID JIANGSU ELECTRIC POWER Co.

Address after: 58 -5, Suyuan Avenue, Jiangning Development Zone, Nanjing, Jiangsu Province, -5

Applicant after: State Grid Corporation of China

Applicant after: JIANGSU ELECTRIC POWER Co.

Applicant after: MAINTENANCE DIVISION OF STATE GRID JIANGSU ELECTRIC POWER Co.

Address before: 58 -5, Suyuan Avenue, Jiangning Development Zone, Nanjing, Jiangsu Province, -5

Applicant before: State Grid Corporation of China

Applicant before: JIANGSU ELECTRIC POWER Co.

Applicant before: JIANGSU ELECTRIC POWER COMPANY MAINTENANCE BRANCH

GR01 Patent grant
GR01 Patent grant