CN106452684A - Self-checking method for IEC61850 report data transmission message - Google Patents

Self-checking method for IEC61850 report data transmission message Download PDF

Info

Publication number
CN106452684A
CN106452684A CN201611122880.5A CN201611122880A CN106452684A CN 106452684 A CN106452684 A CN 106452684A CN 201611122880 A CN201611122880 A CN 201611122880A CN 106452684 A CN106452684 A CN 106452684A
Authority
CN
China
Prior art keywords
message
informationreport
data
code
pdu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611122880.5A
Other languages
Chinese (zh)
Inventor
龙庆麟
李爱民
张庆光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Ke Teng Information Technology Co Ltd
Original Assignee
Guangzhou Ke Teng Information Technology 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 Guangzhou Ke Teng Information Technology Co Ltd filed Critical Guangzhou Ke Teng Information Technology Co Ltd
Priority to CN201611122880.5A priority Critical patent/CN106452684A/en
Publication of CN106452684A publication Critical patent/CN106452684A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • H04L63/123Applying verification of the received information received data contents, e.g. message integrity

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Communication Control (AREA)

Abstract

The invention discloses a self-checking method for an IEC61850 report data transmission message. The self-checking method is characterized by particularly including the steps: A, expanding an unconfirmed PDU (protocol data unit) structure of an MMS (manufacturing message specification) by an MMS server, and increasing an MD5 (message digest 5) check code for an information report message structure to generate a report message with the check code; B, transmitting the report message with the check code on a TCP (transmission control protocol)/IP (internet protocol); C, analyzing the unconfirmed-PDU after the report message with the check code is received by an MMS client to obtain a 128-bit MD5 code and an information report message TLV (threshold limit value) with the check code; D, comparing the MD5 code and the value obtained in the step C, and indicating that data transmission is correct, and information report data are credible if the MD5 code is equal to the value. According to the method, by the aid of expansion flexibility in the transmission process of the TLV, unconfirmed-PDU definition in an IEC61850 is expanded, MD5 codes of information report message data are increased, messages can be checked when the message data are received by a data receiver, and the correct identification rate of report message transmission is greatly increased.

Description

A kind of self checking method of IEC61850 reported data transmission message
Technical field
The present invention relates to communication technical field, the message checking method in particularly a kind of data transmission procedure.
Background technology
IEC61850 standard is the unique international standard of electric substation automation system based on universal network communication platform, be by 3 working groups 10,11,12 (WG10/11/12) of technical committee of International Electrotechnical Commission the 57th (IEC TC57) are responsible to define 's.The application of IEC61850 standard so that the engineering construction of intelligent substation becomes specification, unification and transparent, whether which The intelligent substation engineering that system integrator sets up, can understand the knot of whole transformer station by SCD (system configuration) file Structure and layout, have irreplaceable effect for Intelligent transformer station development.
IEC61850, as the seamless communication consensus standard of transformer station of future generation, has fully used for reference transformer substation communication, calculating The protracted experience in the fields such as machine, Industry Control, equipment transformer station being related to using Target-oriented thought is carried out with communication service The a set of abstract communication interface of function modeling, data modeling, and specification, makes the agreement have enough openings to adapt to not The requirement of the transformer substation communication development coming.IEC61850 it is critical only that the ACSI (Abstract realizing specification in agreement Communication Service Interface) to MMS (Manufacturing Message Specification) or The mapping of other middlewares.
It is abstract to the practical experience of real world devices that the generation of ACSI derives from people, main definitions various types of communication service with Communication object and parameter, independent with underlay communication system, unrelated with the communication protocol adopting and concrete implementation method.ACSI master Set all kinds of service models:Connection Service model, variables access service model, data transport service model, equipment control Service model, file transfer services model, clock synchronous service model etc., these service models define communication object and such as What conducts interviews it is achieved that the communication of Client application end server application end to these objects, completes the access of real time data With retrieval, the control to equipment, time report and record, self portrait of equipment etc..
IEC61850 report services are very important ACSI services, can lead to the remote measurement of device and remote signalling data Cross the mode of data set, client request side is issued in packing;Client is passed through to send form to the IEC61850 service end of device Control block (RCB) is reported to ask to return.
ACSI report is mapped to the InformationReport in MMS by SCSM (system communication service mapping).MMS It is the defined communication packet specification for industrial control system of ISO/IEC9506 standard, transmission data adopts ASN.1 to compile Code.The data cell of MMS transmission is PDU (protocol data unit), and report services are packaged as in UnconfirmedPDU UnconfirmedService, UnconfirmedPDU data will carry out on TCP/IP by BER coded system in ASN.1 Transmission.
In practice, often occur data value network transmission or through MTU (integrated treatment unit, many for concentrating Main website is reported and submitted in the data unification of individual device) etc. node forward after data value changes mistake, and the data of current IEC61850 passes It is impossible to whether audit report message mistake in transmitting procedure during defeated, data receiver therefore also just cannot be ensured Receive the correctness of message.
Content of the invention
The technical problem to be solved in the invention is to provide a kind of self-correcting proved recipe of IEC61850 reported data transmission message Method, provides the means of data check for data receiver, improves the correct detectability of data-message transmission.
For solving above-mentioned technical problem, the technical solution used in the present invention is as follows.
A kind of self checking method of IEC61850 reported data transmission message, specifically includes following steps:
A.MMS server end is extended to the UnconfirmedPDU structure of MMS, and it is right to increase The MD5 check code of InformationReport message structure, generates the report message of tape verifying code further;
B., the report message of transmission belt check code is carried out on TCP/IP;
After C.MMS client receives the report message of tape verifying code, parse Unconfirmed-PDU, obtain 128 MD5 Code and the InformationReport message TLV of tape verifying code;
D. comparison step C draws MD5 code and VALUE value, such as equal, then data transfer is correct, InformationReport data is credible;If then data transfer has exception, and InformationReport data can not Letter.
A kind of self checking method of above-mentioned IEC61850 reported data transmission message, step A specifically includes following steps:
A1. normal InformationReport structured data and Unconfirmed-PDU are generated;
A2. InformationReport structured data is carried out with MD5 calculating, produces 128 MD5 codes;
A3. according to MD5 code, generate the TLV of InformationReport-MD5 byte serial;
A4. revise length value in the TLV of PDU;
A5. complete the assembling of the Unconfirmed-PDU with MD5 check code, generate the report message of tape verifying code.
A kind of self checking method of above-mentioned IEC61850 reported data transmission message, step C specifically includes following steps:
C1. parse Unconfirmed-PDU, obtain InformationReport structure message;
C2. calculate the MD5 of InformationReport structure message, obtain 128 MD5 codes;
C3. parse Unconfirmed-PDU, take out informationreport-md5 message TLV, obtain VALUE value.
Due to employing above technical scheme, the invention technological progress is as follows.
The present invention extends flexible nature using in the transmitting procedure of TLV, and Unconfirmed-PDU in IEC61850 is defined It is extended, increase the MD5 check code to InformationReport message data so that data receiver receives message number According to when, message can be verified, if it is believable for verifying the data successfully, receiving;If verifying unsuccessfully, The data receiving is insincere, illustrates that data has been likely to occur mistake in transmitting procedure;It is greatly improved data-message transmission Correct detectability.The present invention is not only data receiver and provides a kind of means of data check, but also does not interfere with existing Between some IEC61850 equipment and the MD5 verification decoding apparatus achieving InformationReport message data IEC61850 communication, compatibility is good.
Specific embodiment
A kind of self checking method of IEC61850 reported data transmission message, the method is in MMS It is extended on the basis of UnconfirmedPDU structure, increasing MD5 check code to InformationReport message structure is InformationReportMd5, type is OCTET STRING (byte serial);Then, after client is parsed, compare school Test code and VALUE value, thus judging the correctness of data transfer.
Concrete steps below in conjunction with specific embodiment the present invention will be described in further detail this method.
A.MMS server end is extended to the UnconfirmedPDU structure of MMS, and it is right to increase The MD5 check code of InformationReport message structure, generates the report message of tape verifying code further.Concrete steps are such as Under.
A1. normal InformationReport structured data and Unconfirmed-PDU are generated.
InformationReport::=SEQUENCE
variableAccessSpecification VariableAccessSpecification,
listOfAccessResult[0]IMPLICIT SEQUENCE OF AccessResult}
Normal InformationReport structured data is as shown in following table:
A2. InformationReport structured data is carried out with MD5 calculating, produces 128 MD5 codes, as above in list Inframe part, adds the Tag (a0) before it and Length (82 02 ab) two parts, calculating its md5 value is:03 53 88 c1 37 c5 9d 52 00 84 20 a3 ca c4 9f b5.
A3. according to MD5 code, generate the TLV of InformationReport-MD5 byte serial.
Wherein:T:0x04
L:0x10
V:03 53 88 c1 37 c5 9d 52 00 84 20 a3 ca c4 9f b5
A4. revise length value in the TLV of PDU, the byte string length of revised InformationReport-MD5 is than former Length increased 18.
Raw footage is encoded to " 82 02 af ", and that is, length is 0x2af, after having added md5 check code, should be 0x2c1, after correction Length coding be " 82 02 c1 ".
A5. complete the assembling of the Unconfirmed-PDU with MD5 check code, generate the report message of tape verifying code, such as following Table.
B., the report message of transmission belt check code is carried out on TCP/IP.
Unconfirmed-PDU data presses BER coded system in ASN.1, is transmitted on TCP/IP.BER(Basic Encoding Rules) it is the coding rule defining earliest in ASN.1, core is exactly TLV tlv triple<Type、Length、 Value>It is also possible to be considered<Tag、Length、Value>.Each domain of TLV is a series of eight hytes, for combinative structure, Wherein V can also be TLV tlv triple.BER transfer syntax is the coding of the self-delimiting based on eight hytes, (in order to avoid not homology Obscuring on system, does not adopt Byte to be unit) because wherein L has clearly defined the length of eight hytes.
After C.MMS client receives the report message of tape verifying code, parse Unconfirmed-PDU, obtain 128 MD5 Code and the InformationReport message TLV of tape verifying code.Comprise the following steps that.
C1. parse Unconfirmed-PDU, obtain InformationReport structure message.
InformationReport::=SEQUENCE
variableAccessSpecification VariableAccessSpecification,
listOfAccessResult[0]IMPLICIT SEQUENCE OF AccessResult}
C2. calculate the MD5 of InformationReport structure message, obtain 128 MD5 codes, i.e. 16 eight hytes, note For MD5_1.
C3. parse Unconfirmed-PDU, take out InformationReport-MD5 message TLV,
Wherein:T:0x04
L:0x10
V:MD5 code (128,16 eight hytes)
Obtain VALUE value, be designated as MD5_2.
D. comparison step C draws MD5 code and VALUE value, that is, compare MD5_1 and MD5_2, such as equal, then data transfer Correctly, InformationReport data is credible;If then data transfer has exception, InformationReport data Insincere.
The present invention is extended in UnconfirmedPDU, has advantages below:1) due to informationReport Structure is located in UnconfirmedService, and InformationReport-MD5 and UnconfirmedService is same One level, thus without the integrity generation impact on InformationReport structure;2) due to the presence of TLV structure, The increase of InformationReport-MD5 word string, correctly identifies the length of each structure thus without impact MMS client program Degree;3) because InformationReport-MD5 is optional, therefore for the MMS client program having supported this extension, Do not interfere with it and correctly process the byte serial without InformationReport-MD5 that original MMS serve end program sends Message.

Claims (3)

1. a kind of self checking method of IEC61850 reported data transmission message is it is characterised in that specifically include following steps:
A.MMS server end is extended to the UnconfirmedPDU structure of MMS, increases and InformationReport is reported The MD5 check code of civilian structure, generates the report message of tape verifying code further;
B., the report message of transmission belt check code is carried out on TCP/IP;
After C.MMS client receives the report message of tape verifying code, parse Unconfirmed-PDU, obtain 128 MD5 codes and The InformationReport message TLV of tape verifying code;
D. comparison step C draws MD5 code and VALUE value, such as equal, then data transfer is correct, InformationReport number According to credible;If then data transfer has exception, and InformationReport data is insincere.
2. a kind of IEC61850 reported data transmission message according to claim 1 self checking method it is characterised in that Step A specifically includes following steps:
A1. normal InformationReport structured data and Unconfirmed-PDU are generated;
A2. InformationReport structured data is carried out with MD5 calculating, produces 128 MD5 codes;
A3. according to MD5 code, generate the TLV of InformationReport-MD5 byte serial;
A4. revise length value in the TLV of PDU;
A5. complete the assembling of the Unconfirmed-PDU with MD5 check code, generate the report message of tape verifying code.
3. a kind of IEC61850 reported data transmission message according to claim 1 self checking method it is characterised in that Step C specifically includes following steps:
C1. parse Unconfirmed-PDU, obtain InformationReport structure message;
C2. calculate the MD5 of InformationReport structure message, obtain 128 MD5 codes;
C3. parse Unconfirmed-PDU, take out InformationReport-MD5 message TLV, obtain VALUE value.
CN201611122880.5A 2016-12-08 2016-12-08 Self-checking method for IEC61850 report data transmission message Pending CN106452684A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611122880.5A CN106452684A (en) 2016-12-08 2016-12-08 Self-checking method for IEC61850 report data transmission message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611122880.5A CN106452684A (en) 2016-12-08 2016-12-08 Self-checking method for IEC61850 report data transmission message

Publications (1)

Publication Number Publication Date
CN106452684A true CN106452684A (en) 2017-02-22

Family

ID=58216724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611122880.5A Pending CN106452684A (en) 2016-12-08 2016-12-08 Self-checking method for IEC61850 report data transmission message

Country Status (1)

Country Link
CN (1) CN106452684A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107733932A (en) * 2017-11-30 2018-02-23 广州科腾信息技术有限公司 A kind of verification of IEC61850 reported data transmissions message and self checking method
CN107979446A (en) * 2017-11-30 2018-05-01 广州科腾信息技术有限公司 A kind of bcc exclusive or check methods of IEC61850 reported data transmissions message
CN109167762A (en) * 2018-08-14 2019-01-08 杭州迪普科技股份有限公司 A kind of IEC104 message checking method and device
CN109257359A (en) * 2018-10-09 2019-01-22 积成电子股份有限公司 MMS packet parsing to IEC61850 project operation layer method
CN109889387A (en) * 2019-03-07 2019-06-14 南京南瑞继保电气有限公司 A kind of IEC61850 is again coupled to accelerated method
CN111049815A (en) * 2019-12-05 2020-04-21 北京天诚同创电气有限公司 Micro-grid communication system, communication device and control method thereof
CN114500328A (en) * 2022-01-20 2022-05-13 深圳市迈睿迈特环境科技有限公司 Data communication method, device and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103326471A (en) * 2013-07-11 2013-09-25 国家电网公司 Real-time analyzing method of SV (Sampling Value) message of intelligent substation
CN103746962A (en) * 2013-12-12 2014-04-23 华南理工大学 GOOSE electric real-time message encryption and decryption method
CN103873461A (en) * 2014-02-14 2014-06-18 中国南方电网有限责任公司 IEC62351-based security interaction method for GOOSE message
CN104506500A (en) * 2014-12-11 2015-04-08 广东电网有限责任公司电力科学研究院 GOOSE message authentication method based on transformer substation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103326471A (en) * 2013-07-11 2013-09-25 国家电网公司 Real-time analyzing method of SV (Sampling Value) message of intelligent substation
CN103746962A (en) * 2013-12-12 2014-04-23 华南理工大学 GOOSE electric real-time message encryption and decryption method
CN103873461A (en) * 2014-02-14 2014-06-18 中国南方电网有限责任公司 IEC62351-based security interaction method for GOOSE message
CN104506500A (en) * 2014-12-11 2015-04-08 广东电网有限责任公司电力科学研究院 GOOSE message authentication method based on transformer substation

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107733932A (en) * 2017-11-30 2018-02-23 广州科腾信息技术有限公司 A kind of verification of IEC61850 reported data transmissions message and self checking method
CN107979446A (en) * 2017-11-30 2018-05-01 广州科腾信息技术有限公司 A kind of bcc exclusive or check methods of IEC61850 reported data transmissions message
CN109167762A (en) * 2018-08-14 2019-01-08 杭州迪普科技股份有限公司 A kind of IEC104 message checking method and device
CN109257359A (en) * 2018-10-09 2019-01-22 积成电子股份有限公司 MMS packet parsing to IEC61850 project operation layer method
CN109889387A (en) * 2019-03-07 2019-06-14 南京南瑞继保电气有限公司 A kind of IEC61850 is again coupled to accelerated method
CN109889387B (en) * 2019-03-07 2021-12-10 南京南瑞继保电气有限公司 IEC61850 reconnection acceleration method
CN111049815A (en) * 2019-12-05 2020-04-21 北京天诚同创电气有限公司 Micro-grid communication system, communication device and control method thereof
CN111049815B (en) * 2019-12-05 2022-03-01 北京天诚同创电气有限公司 Micro-grid communication system, communication device and control method thereof
CN114500328A (en) * 2022-01-20 2022-05-13 深圳市迈睿迈特环境科技有限公司 Data communication method, device and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN106452684A (en) Self-checking method for IEC61850 report data transmission message
CN108965484B (en) Internet of things data transmission method, system and terminal
CN112822276B (en) Substation control layer communication method and system, electronic equipment and storage medium
CN104702466B (en) A kind of process layer safety test system and method based on IEC62351
CN106571979A (en) Link detection method for process-level switch of intelligent substation and switch
CN104750911A (en) Transformer substation information protection sub-station simulation modeling method
CN109274636B (en) Data safety transmission method and device, system and train thereof
CN107979446A (en) A kind of bcc exclusive or check methods of IEC61850 reported data transmissions message
CN107566370A (en) A kind of intelligent grid message transmitting method
CN113783860B (en) Message processing method, device, equipment and storage medium based on visual configuration
KR101639930B1 (en) Communication device and communication method
CN106027686A (en) Enhanced type MODBUS communication protocol based on MPEG-2
CN107733932A (en) A kind of verification of IEC61850 reported data transmissions message and self checking method
Hussain et al. An open-source framework for publishing/subscribing IEC 61850 R-GOOSE and R-SV
CN110322385A (en) Watermark insertion and extracting method, device and electronic equipment
CN104795892B (en) GOOSE message implementation method applied to traditional electric microcomputer experiment device
CN107864199A (en) The realization device of Internet of Things communication means, device and Internet of Things Network Communication
CN111131213A (en) Method for realizing R-GOOSE electric power message
CN104901972A (en) File receiving and making-up method
CN102655441A (en) Communication automatic error correction coding method and system
CN112486885B (en) Data frame generation method, storage medium and computer equipment
CN109254952A (en) A kind of intelligent substation configuration file legitimacy verifies method
CN106204326B (en) Power distribution terminal IED equipment detection method for power distribution system
CN108347292A (en) A kind of the data decoding method and device of Physical Coding Sublayer
KR101389646B1 (en) Communication device and communication 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170222