CN105354137A - Static model detection method based on IEC61850 protocol - Google Patents

Static model detection method based on IEC61850 protocol Download PDF

Info

Publication number
CN105354137A
CN105354137A CN201510638054.5A CN201510638054A CN105354137A CN 105354137 A CN105354137 A CN 105354137A CN 201510638054 A CN201510638054 A CN 201510638054A CN 105354137 A CN105354137 A CN 105354137A
Authority
CN
China
Prior art keywords
static model
iec61850
meet
detection method
syntax rule
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
CN201510638054.5A
Other languages
Chinese (zh)
Other versions
CN105354137B (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)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)

Abstract

The present invention discloses a static model detection method based on an IEC61850 protocol. The method comprises: detecting whether a static model accords with an Schema grammatical rule or not; detecting whether the static model accords with an IEC61850 grammatical rule or not; and detecting whether the static model accords with an extensible semantic rule in the application field or not. Aiming at a configuration file of an intelligent electronic device in the field of substation online monitoring, detection of the static model can carry out grammatical and semantic detection under the condition of meeting a specific standard; aiming at different power industry standards, customized extensible entry detection can be carried out; and for new standard requirements in the application field, verification of new standards is implemented by adding corresponding grammatical and semantic checking entries in the customized configuration file.

Description

A kind of static model detection method based on IEC61850 agreement
Technical field
The present invention relates to the intelligent electronic device field of configuration in transformer station's on-line monitoring field, be specifically related to a kind of static model detection method based on IEC61850 agreement.
Background technology
Namely the uniformity test of IEC61850 standard verifies whether intelligent electronic device (IED) meets master pattern, because IEC61850 standard content is comparatively complicated, adopt the configuration file of this standard inevitably can occur various mistake in artificial layoutprocedure, cause in engineer applied, occurring that some violate the grammar issue of standards and norms, and use detection side's rule provided by the invention effectively can avoid the generation of this kind of mistake.
The XMLSpy etc. of IEDScout and Altova of SCLChecker, OMICRON of SCL file verification instrument such as KEMA can be carried out at present, but, although above-mentioned instrument is ripe but can only provide basic grammatical and semantic verification, do not provide the grammatical and semantic verification of using standard under transformer station's on-line monitoring field.As there is no the grammatical and semantic verification for the using standard such as " the converting equipment on-line monitoring system fire protection technology-QGDW_534-2010 " of national grid, " Zhejiang Electric Power Company power transmission and transformation equipment state monitoring main station system I1 interface network communication specification " of Zhejiang Electric Power Company.
In prior art, after this technical scheme of contrast, there is following defect in a kind of " method of testing IEC61850 configuration describing document " of patent CN201110000749.2:
1. system platform restriction, only provides the api interface function of MSXML4.0 under microsoft system;
2. extensibility is not enough, and prior art only provides detection for " IEC61850 engineering relay protection application model ".
Summary of the invention
The object of the invention is to propose a kind of static model detection method based on IEC61850 agreement, for be the configuration file of intelligent electronic device under transformer station's on-line monitoring field, static model detect and can carry out grammatical and semantic detection meeting under specific criteria, for different power industry standard, carry out self-defined extendible entry to detect, for standard-required new in application, by increasing the corresponding verification of grammatical and semantic verification entry realization to new standard in custom profile.
For reaching above object, the present invention realizes by the following technical solutions.
Based on a static model detection method for IEC61850 agreement, comprise the following steps:
S1, detects static model and whether meets Schema syntax rule, if meet Schema syntax rule, enter step S2, otherwise, perform step S4;
S2, detects static model and whether meets IEC61850 syntax rule, if meet IEC61850 syntax rule, performs step S3, otherwise, perform step S4;
S3, whether detection static model meet the easily extensible semantic rules under application, if meet easily extensible semantic rules, then termination detection, sends to user by result by detected state by detection, otherwise, perform step S4;
S4, termination detection flow process, sends to user by testing result and amending advice.Repeated execution of steps S1 after related personnel revises static model.
Step S3 builds under transformer station's on-line monitoring field or the rule with SCL semantic requirements of each province's grid company redaction using standard, and leaves in configuration file; Configuration file can add when static model detect or revise or delete.
S3 specifically comprises the following steps,
S301, sets up easily extensible semantic rules storehouse based on XMLScheme syntax gauge;
S302, reads and resolves XSD document, instantiation easily extensible semantic rules;
S303, judges whether there is element to be detected in easily extensible semantic rules, whether there is attribute to be detected and measured value to be checked whether in sensing range.
Step S1 detects static model and whether meets Schema syntax rule, specifically comprises the following steps:
Static model testing tool, when loading static model, selects MSXML4.0 resolver, detects SCL file and whether meets XMLScheme structural requirement, if meet XMLScheme structural requirement, then static model meet Schema syntax rule, otherwise, do not meet Schema syntax rule.
Step S2 detects static model and whether meets IEC61850 syntax rule, specifically comprises the following steps:
Build the class libraries based on IEC61850 syntax rule;
Call the detection method in class libraries, detect static model and whether meet IEC61850 grammer.
Step S4 testing result and amending advice comprise:
Based on fault warning message database, send amending advice and carry out static model amendment to user.
Fault warning message database comprises amending advice corresponding to error message or warning message, the position of generation information, error message or amending advice corresponding to warning message.
Compared with prior art, beneficial effect of the present invention comprises:
Static model of the present invention detect can carry out grammatical and semantic detection for the standard under transformer station's on-line monitoring field, such as: for different power industry standard, carries out self-defined extendible entry and detects;
The present invention proposes a kind of static model detection method based on IEC61850 agreement, for the configuration file of the intelligent electronic device under transformer station's on-line monitoring field, grammatical and semantic detection is carried out for the standard under transformer station's on-line monitoring field, especially for different power industry standard, carry out self-defined extendible entry to detect, for standard-required new in application, by increasing the corresponding verification of grammatical and semantic verification entry realization to new standard in custom profile.
Accompanying drawing explanation
Fig. 1 is a kind of static model detection method process flow diagram based on IEC61850 agreement of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the present invention is further described.
As shown in Figure 1, a kind of static model detection method based on IEC61850 agreement, comprises the following steps:
S1, detects static model and whether meets Schema syntax rule, if meet Schema syntax rule, enter step S2, otherwise, perform step S4;
S2, detects static model and whether meets IEC61850 syntax rule, if meet IEC61850 syntax rule, performs step S3, otherwise, perform step S4;
S3, whether detection static model meet the easily extensible semantic rules under application, if meet easily extensible semantic rules, then termination detection, sends to user by result by detected state by detection, otherwise, perform step S4;
S4, termination detection flow process, sends to user by testing result and amending advice.Repeated execution of steps S1 after related personnel revises static model.
Step S3 builds under transformer station's on-line monitoring field or the rule with SCL semantic requirements of each province's grid company redaction using standard, and leaves in configuration file; Configuration file can add when static model detect or revise or delete.
S3 specifically comprises the following steps,
S301, sets up easily extensible semantic rules storehouse based on XMLScheme syntax gauge;
S302, reads and resolves XSD document, instantiation easily extensible semantic rules;
S303, judges whether there is element to be detected in easily extensible semantic rules, whether there is attribute to be detected and measured value to be checked whether in sensing range.
Step S1 detects static model and whether meets Schema syntax rule, specifically comprises the following steps:
Static model testing tool, when loading static model, selects MSXML4.0 resolver, detects SCL file and whether meets XMLScheme structural requirement, if meet XMLScheme structural requirement, then static model meet Schema syntax rule, otherwise, do not meet Schema syntax rule.
Step S2 detects static model and whether meets IEC61850 syntax rule, specifically comprises the following steps:
Build the class libraries based on IEC61850 syntax rule;
Call the detection method in class libraries, detect static model and whether meet IEC61850 grammer.
Step S4 testing result and amending advice comprise:
Based on fault warning message database, send amending advice and carry out static model amendment to user.
Fault warning message database comprises amending advice corresponding to error message or warning message, the position of generation information, error message or amending advice corresponding to warning message.
Below be only the preferred embodiment of the present invention; be noted that for those skilled in the art; under the premise without departing from the principles of the invention, can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (6)

1., based on a static model detection method for IEC61850 agreement, it is characterized in that, comprise the following steps:
S1, detects static model and whether meets Schema syntax rule, if meet Schema syntax rule, enter step S2, otherwise, perform step S4;
S2, detects static model and whether meets IEC61850 syntax rule, if meet IEC61850 syntax rule, performs step S3, otherwise, perform step S4;
S3, whether detection static model meet the easily extensible semantic rules under application, if meet easily extensible semantic rules, then termination detection, sends to user by result by detected state by detection, otherwise, perform step S4;
S4, termination detection flow process, sends to user by testing result and amending advice.
2. a kind of static model detection method based on IEC61850 agreement according to claim 1, it is characterized in that, step S3 specifically comprises the following steps,
S301, sets up easily extensible semantic rules storehouse based on XMLScheme syntax gauge;
S302, reads and resolves XSD document, instantiation easily extensible semantic rules;
S303, judges whether there is element to be detected in easily extensible semantic rules, whether there is attribute to be detected and measured value to be checked whether in sensing range.
3. a kind of static model detection method based on IEC61850 agreement according to claim 1, is characterized in that,
Detect static model described in step S1 and whether meet Schema syntax rule, specifically comprise the following steps:
Static model testing tool, when loading static model, selects MSXML4.0 resolver, detects SCL file and whether meets XMLScheme structural requirement, if meet XMLScheme structural requirement, then static model meet Schema syntax rule, otherwise, do not meet Schema syntax rule.
4. a kind of static model detection method based on IEC61850 agreement according to claim 1, is characterized in that,
Detect static model described in step S2 and whether meet IEC61850 syntax rule, specifically comprise the following steps:
Build the class libraries based on IEC61850 syntax rule;
Call the detection method in described class libraries, detect static model and whether meet IEC61850 grammer.
5. a kind of static model detection method based on IEC61850 agreement according to claim 1, is characterized in that,
Testing result described in step S4 and amending advice comprise:
Based on fault warning message database, send amending advice and carry out static model amendment to user.
6. a kind of static model detection method based on IEC61850 agreement according to claim 5, is characterized in that,
Described fault warning message database comprises amending advice corresponding to error message or warning message, the position of generation information, error message or amending advice corresponding to warning message.
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 true CN105354137A (en) 2016-02-24
CN105354137B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105956410A (en) * 2016-07-01 2016-09-21 中国南方电网有限责任公司 Rapid universal detection method for IEC61850 full model
CN106411747A (en) * 2016-08-31 2017-02-15 中国电力科学研究院 Switch message forwarding method and system for intelligent substation
CN109933523A (en) * 2019-01-30 2019-06-25 山东鲁能智能技术有限公司 IEC61850 model checking method, system, terminal device, computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050165754A1 (en) * 2004-01-14 2005-07-28 Ramasamy Valliappan Method and system for data retrieval from heterogeneous data sources
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050165754A1 (en) * 2004-01-14 2005-07-28 Ramasamy Valliappan Method and system for data retrieval from heterogeneous data sources
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
丁国兴等: "继电保护装置IEC61850通信模型规范化测试软件开发", 《电力***保护与控制》 *
刘岳林: "数据校验器架构模式组", 《IBM DEVELOPERWORKS》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105956410A (en) * 2016-07-01 2016-09-21 中国南方电网有限责任公司 Rapid universal detection method for IEC61850 full model
CN106411747A (en) * 2016-08-31 2017-02-15 中国电力科学研究院 Switch message forwarding method and system for intelligent substation
CN109933523A (en) * 2019-01-30 2019-06-25 山东鲁能智能技术有限公司 IEC61850 model checking method, system, terminal device, computer readable storage medium

Also Published As

Publication number Publication date
CN105354137B (en) 2018-03-02

Similar Documents

Publication Publication Date Title
CN103326469B (en) Method and device for monitoring GOOSE communication status of intelligent substation
CN101425681B (en) Relay protection on-line check method for electric grid system
CN102622463B (en) Drawing-model uniformity based method for automatic check of design drawings
CN105490387B (en) The online capacity checking device of intelligent substation relay protection device safety measure and method
WO2015149594A1 (en) Iec61850-based communication simulation method for partial discharge on-line monitoring device
WO2015149593A1 (en) Iec61850-based communication simulation method for transformer grounding on-line monitoring device
CN103593742A (en) Secondary circuit configuration controlling method and system for intelligent substation
WO2015149596A1 (en) Iec61850-based communication simulation method for leakage current on-line monitoring device
CN202758062U (en) Overall metering error detection system of digital transformer station electric energy metering device
CN103902763A (en) Automatic matching method of virtual terminals of cross-interval device of intelligent substation
WO2015149595A1 (en) Iec61850-based communication simulation method for insulation on-line monitoring device
CN105354137A (en) Static model detection method based on IEC61850 protocol
CN103383681B (en) A kind of file type identification method and system
CN104319891B (en) Maintenance O&M device and method for transformer station process layer
CN104361105A (en) Power distribution network model and topology checking method based on ontology reasoning
WO2015149592A1 (en) Iec61850-based communication simulation method for lightning arrester on-line monitoring device
WO2015149597A1 (en) Iec61850-based communication simulation method for sf6 gas on-line monitoring device
CN104618064A (en) Monitoring method and device for static information based on CRC (Cyclic Redundancy Check) inspection
CN105119237A (en) Method of operating and checking under relay protection
CN105068035B (en) A kind of voltage transformer error horizontal dynamic detection method and system
CN104267284A (en) One-click cooperative testing and detecting method and device for stability control system
CN103472818A (en) Protocol conformance test platform and test method for train control and management system
CN203178469U (en) Portable transmitter verification meter
CN203233425U (en) A message checking control apparatus of a digital value input electric energy meter in an intelligent transformer station
CN105137776A (en) Metering automation terminal control assistant system

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

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

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant