CN109889387B - IEC61850 reconnection acceleration method - Google Patents
IEC61850 reconnection acceleration method Download PDFInfo
- Publication number
- CN109889387B CN109889387B CN201910171987.6A CN201910171987A CN109889387B CN 109889387 B CN109889387 B CN 109889387B CN 201910171987 A CN201910171987 A CN 201910171987A CN 109889387 B CN109889387 B CN 109889387B
- Authority
- CN
- China
- Prior art keywords
- iec61850
- tdl
- description file
- reading
- data
- 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
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses an IEC61850 reconnection acceleration method, which specifically comprises the steps of defining a TDL description file format; after the device is powered on or the device capability description file is downloaded, device-side IEC61850 software forms binary content described by TDL in a memory and stores a corresponding MD5 value; when the PC client software is connected with the device for the first time, a data model is read by adopting a standard IEC61850 communication protocol and a flow, and a TDL description file and an MD5 value are formed and stored; and when the connection is performed again, the MD5 value of the device side is obtained through the private protocol, whether the two ends are consistent or not is compared, if the two ends are consistent, the local TDL description file is read after the IEC61850 connection is successful, the data model is reconstructed, and the message for reading the data model is not issued any more. The method can effectively reduce the reconnection time and improve the debugging efficiency for the device which needs frequent debugging and disconnection and has a larger model.
Description
Technical Field
The invention relates to an IEC61850 reconnection acceleration method, and belongs to the technical field of IEC61850 communication.
Background
A unified information interface is needed among relay protection devices to achieve interoperation among the devices, and the IEC61850 standard is formulated under the background of the need, so that a communication protocol with wide usability and strong functions is provided, and various devices can achieve interoperation through the protocol. The IEC61850 content not only covers the communication protocols of the process layer and the station control layer, but also covers the contents of modeling, engineering integration and implementation methods, consistency requirements, testing and the like of data and devices, and can very effectively guide the engineering implementation of the control protection system.
In the communication process of the IEC61850 client and the server, the client reads the data model through the message, which is a time-consuming process, and the device with a large ICD (device capability description file) usually needs more than 5 minutes, so that in the debugging stage, the operation of setting a fixed value, restarting the device and reconnecting needs to be frequently carried out, and more time is consumed on repeatedly reading the data model. Since the embedded device has limited storage space and no redundant resources to store some intermediate files, a solution to the above problem needs to be provided.
Disclosure of Invention
The invention aims to provide an IEC61850 reconnection acceleration method, which reduces connection time consumption for reconnection and repeated connection in an IEC61850 station control layer MMS communication connection service process.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
an IEC61850 reconnection acceleration method comprises the following steps:
1) defining a Template Description Language (TDL) description file format suitable for forming an IEC61850 communication data model;
2) after the device is powered on or the device capability description file is downloaded, device capability description file in the device is read by the device side IEC61850 server software, a TDL description file is formed in the memory, and the MD5 value corresponding to the binary content is stored as a private file;
3) when the PC IEC61850 client software is connected with the device for the first time, a standard IEC61850 communication protocol and a flow reading data model are adopted to form and store a TDL description file and an MD5 value of the TDL description file; the data model refers to a model data instance in the device capability description file;
4) before the PC IEC61850 client software is connected with the device again, the MD5 value of the TDL description file of the device which is locally stored is obtained, and the MD5 value of the TDL description file stored on the device side is obtained through a private protocol;
5) comparing whether the MD5 value stored by the PC is consistent with the MD5 value stored by the device side, if so, initiating connection with IEC61850 of the device, reading the TDL description file generated in the step 2) after the connection is successful, reconstructing the data model, and not issuing a message for reading the data model any more; and if the data model is inconsistent with the TDL description file stored in the PC, reading the data model by adopting a standard IEC61850 communication protocol and a standard IEC 5 flow, and updating the TDL description file and the MD5 value stored in the PC by using the TDL description file and the MD5 value on the device side.
In the foregoing step 1), the TDL description file adopts an XML hierarchical format.
The TDL description file is divided according to a 6-layer structure of a Server, a logic device, LD, a logic node instance, LN, a function constraint FC, a data object DO and a data attribute DA.
The storage attributes of the logical node instance LN and the function constraint FC are: name, type, level reference name reference, ASN.1 codec type number type ID and TDL description strType of each layer 1 sub-member.
The foregoing data object DO and data attribute DA storage attributes are: name, type, level reference name reference, ASN.1 coding and decoding type number type ID, TDL description strType of each layer 1 sub-member, length of ASN.1 coding and decoding, and current value val.
In the foregoing step 2), the process of forming the TDL description file includes: and reading the model data instance in the device capability description file by the IEC61850 server side on the device side, converting the model data instance into a TDL language and storing the TDL language.
In the foregoing step 5), the data model reconstruction process includes the following steps:
11) reading a TDL description file at a local tool side by an IEC61850 client;
12) reading a logic device directory by an IEC61850 client;
13) reading LNs of each logic device under a logic device directory by an IEC61850 client;
14) reading a DO list under each LN by the IEC61850 client;
15) reading each DO attribute by the IEC61850 client;
16) reading DA under each DO by an IEC61850 client;
17) the IEC61850 client reads the attributes of each DA.
After the scheme is adopted, the invention has the following beneficial effects:
according to the method, under the condition that the device model file is not changed, the data model is constructed by reading the locally stored TDL description file in the 2 nd and subsequent connection processes of the PC debugging client software, the original process of connecting and reading the IEC61850 connection model needing 5 minutes is reduced to only 20 seconds, the efficiency is obviously improved, the change of the device side model file can be detected in time by checking the MD5 value, and the time consumed by subsequent connection is reduced by forming a new TDL description file again.
The method has wide application significance in-plant debugging and field debugging, particularly under the condition that the IEC61850 setting constant value needs to be reconnected by restarting the device, and the debugging efficiency is obviously improved.
Drawings
FIG. 1 is a flow chart of an IEC61850 reconnection acceleration method in the present invention;
FIG. 2 is a diagram of a TDL description file hierarchy according to the present invention;
FIG. 3 is an exemplary diagram of the construction of a data model by a TDL description file in the present invention.
Detailed Description
The invention is further described below. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
Referring to fig. 1, the IEC61850 reconnection acceleration method of the present invention is implemented as follows:
1) defining a template description language description file (TDL description file) format suitable for forming an IEC61850 communication data model; as shown in fig. 2, the TDL description file is divided in an XML hierarchical format according to a 6-layer structure of Server (Server) -LD (logical device) -LN (logical node instance) -FC (functional constraint) -DO (data object) -DA (data attribute).
Preferably, the LN and FC storage attributes are name, type, reference, type id (asn.1 codec type number), strType (TDL description of each level 1 sub-member).
DO and DA storage attributes are name, type, reference, type ID (ASN.1 codec type number), strType (TDL description of each layer 1 sub-member), size (ASN.1 codec length), val (current value), ASN.1 Abstract Syntax Notation (Abstract Syntax Notation One), ASN.1 is an ISO/ITU-T standard describing a data format for representing, encoding, transmitting and decoding data, which provides a whole set of regular formats for describing the structure of objects.
2) After the device is powered on or the device capability description file is downloaded, device capability description file in the device is read by the device side IEC61850 server software, data type information (type and bType attributes) of DO/DA of each logic node is obtained, a TDL description file is formed in the memory, and MD5 values corresponding to binary contents are stored as private files. bType is the minimum data type in the template in the device capability description file; each DO comprises a plurality of DAs, each DA comprises a plurality of bTypes, and the Type of each DO/DA is Type.
The Template Description Language (TDL) is an implementation of the extensible markup language (XML). The process of generating this file is to connect the device, read the device model data instance, because the device model data instance is converted to TDL language and stored.
3) When the PC IEC61850 client software is connected with the device for the first time, a standard IEC61850 communication protocol and a flow reading data model are adopted, and a TDL description file and an MD5 value of the file are formed and stored. The data model is an instance of the model data in the device capability description file. The full name of MD5 is message-digest algorithm 5, which functions to allow large volumes of information to be "compressed" into a secure format (i.e., a string of bytes of arbitrary length is converted into a large integer of fixed length) before the private key is signed by digital signature software.
4) Before the PC IEC61850 client software is connected with the device again, the MD5 value of the TDL description file of the device which is locally stored is obtained, and the MD5 value of the TDL description file of the device side is obtained through a private protocol.
5) And comparing whether the MD5 value stored by the PC is consistent with the MD5 value stored by the device side, if so, initiating connection with IEC61850 of the device, and reading the TDL description file generated after the device capability description file is downloaded in the step 2) after the connection is successful. And reconstructing the data model, and not issuing the message for reading the data model. And if the data model is inconsistent with the TDL description file, reading the data model by adopting a standard IEC61850 communication protocol and a standard IEC61850 flow, and updating the TDL description file and the MD5 value of the file, namely replacing the TDL description file and the MD5 value stored by the PC by the TDL description file and the MD5 value on the device side.
The data model reconstruction process is shown in fig. 3 and includes the following processes:
11) reading a TDL description file at a local tool side by an IEC61850 client;
12) reading a logic device directory by an IEC61850 client;
13) reading LNs of each logic device under a logic device directory by an IEC61850 client;
14) reading a DO list under each LN by the IEC61850 client;
15) reading each DO attribute by the IEC61850 client;
16) reading DA under each DO by an IEC61850 client;
17) the IEC61850 client reads the attributes of each DA.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.
Claims (6)
1. An IEC61850 reconnection acceleration method is characterized by comprising the following steps:
1) defining a Template Description Language (TDL) description file format suitable for forming an IEC61850 communication data model;
2) after the device is powered on or the device capability description file is downloaded, device capability description file in the device is read by the device side IEC61850 server software, a TDL description file is formed in the memory, and the MD5 value corresponding to the binary content is stored as a private file;
3) when the PC IEC61850 client software is connected with the device for the first time, a standard IEC61850 communication protocol and a flow reading data model are adopted to form and store a TDL description file and an MD5 value of the TDL description file; the data model refers to a model data instance in the device capability description file;
4) before the PC IEC61850 client software is connected with the device again, the MD5 value of the TDL description file of the device which is locally stored is obtained, and the MD5 value of the TDL description file stored on the device side is obtained through a private protocol;
5) comparing whether the MD5 value stored by the PC is consistent with the MD5 value stored by the device side, if so, initiating connection with IEC61850 of the device, reading the TDL description file generated in the step 2) after the connection is successful, reconstructing the data model, and not issuing a message for reading the data model any more; if the data model is inconsistent with the TDL description file stored in the PC, reading the data model by adopting a standard IEC61850 communication protocol and a standard IEC 5 flow, and updating the TDL description file and the MD5 value stored in the PC by using the TDL description file and the MD5 value on the device side;
the data model reconstruction process comprises the following steps:
11) reading a TDL description file at a local tool side by an IEC61850 client;
12) reading a logic device directory by an IEC61850 client;
13) reading a logic node instance LN of each logic device under a logic device directory by an IEC61850 client;
14) reading a data object DO list under each LN by the IEC61850 client;
15) reading the DO attribute of each data object by the IEC61850 client;
16) reading a data attribute DA under each data object DO by the IEC61850 client;
17) and reading the attribute of each data attribute DA by the IEC61850 client.
2. The IEC61850 reconnection acceleration method as claimed in claim 1, wherein in the step 1), the TDL description file adopts XML hierarchical format.
3. The IEC61850 reconnection acceleration method as claimed in claim 2, wherein the TDL description file is divided according to a 6-layer structure of Server-logical device LD-logical node instance LN-function constraint FC-data object DO-data attribute DA.
4. The IEC61850 reconnection acceleration method according to claim 3, wherein the storage attributes of the logical node instance LN and the functional constraint FC are: name, type, level reference name reference, ASN.1 codec type number type ID and TDL description strType of each layer 1 sub-member.
5. The IEC61850 reconnection acceleration method as claimed in claim 3, wherein the data object DO and data attribute DA storage attributes are: name, type, level reference name reference, ASN.1 coding and decoding type number type ID, TDL description strType of each layer 1 sub-member, length of ASN.1 coding and decoding, and current value val.
6. The IEC61850 reconnection acceleration method according to claim 1, wherein in the step 2), the process of forming the TDL description file is as follows: and reading the model data instance in the device capability description file by the IEC61850 server side on the device side, converting the model data instance into a TDL description file and storing the TDL description file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910171987.6A CN109889387B (en) | 2019-03-07 | 2019-03-07 | IEC61850 reconnection acceleration method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910171987.6A CN109889387B (en) | 2019-03-07 | 2019-03-07 | IEC61850 reconnection acceleration method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109889387A CN109889387A (en) | 2019-06-14 |
CN109889387B true CN109889387B (en) | 2021-12-10 |
Family
ID=66931185
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910171987.6A Active CN109889387B (en) | 2019-03-07 | 2019-03-07 | IEC61850 reconnection acceleration method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109889387B (en) |
Citations (4)
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 |
CN104486075A (en) * | 2014-10-13 | 2015-04-01 | 国家电网公司 | Intelligent substation ICD model file digital signature verification method |
CN106020139A (en) * | 2016-05-13 | 2016-10-12 | 国网辽宁省电力有限公司电力科学研究院 | Intelligent substation configuration file consistency guaranteeing method based on process control |
CN106452684A (en) * | 2016-12-08 | 2017-02-22 | 广州科腾信息技术有限公司 | Self-checking method for IEC61850 report data transmission message |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102646112A (en) * | 2012-02-17 | 2012-08-22 | 南京南瑞继保电气有限公司 | Visual modeling method for capability description file of direct-current protection control device |
US10437883B2 (en) * | 2015-11-24 | 2019-10-08 | Cisco Technology, Inc. | Efficient graph database traversal |
US10958435B2 (en) * | 2015-12-21 | 2021-03-23 | Electro Industries/ Gauge Tech | Providing security in an intelligent electronic device |
-
2019
- 2019-03-07 CN CN201910171987.6A patent/CN109889387B/en active Active
Patent Citations (4)
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 |
CN104486075A (en) * | 2014-10-13 | 2015-04-01 | 国家电网公司 | Intelligent substation ICD model file digital signature verification method |
CN106020139A (en) * | 2016-05-13 | 2016-10-12 | 国网辽宁省电力有限公司电力科学研究院 | Intelligent substation configuration file consistency guaranteeing method based on process control |
CN106452684A (en) * | 2016-12-08 | 2017-02-22 | 广州科腾信息技术有限公司 | Self-checking method for IEC61850 report data transmission message |
Non-Patent Citations (1)
Title |
---|
"基于IEC61850的PCS系列数字保护装置整定与调试";曾强等;《电子制作》;20140531;正文第34-35页 * |
Also Published As
Publication number | Publication date |
---|---|
CN109889387A (en) | 2019-06-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111683066B (en) | Heterogeneous system integration method, heterogeneous system integration device, computer equipment and storage medium | |
US8667506B2 (en) | Object oriented management device for ASN.1 message | |
CN108388622A (en) | Api interface dynamic creation method, device, computer equipment and storage medium | |
WO2008052453A1 (en) | Method of netwoek managing topology data synchronous refreshing as well as clent side and server side | |
CN111736762B (en) | Synchronous updating method, device, equipment and storage medium of data storage network | |
CN116340413A (en) | Internet of things edge data acquisition and storage method | |
CN101876990A (en) | Method for transmitting tree-structure object | |
CN109889387B (en) | IEC61850 reconnection acceleration method | |
CN103646015B (en) | Transmission, the method and system for receiving and transmitting XML message | |
CN113590161A (en) | Memory-controllable NB-IOT module differential upgrading method and system | |
KR20190088112A (en) | Method for transforming data for low volume transmission of meta model base protocol which monitors power amount data of new recycle energy, and data transmitting system for low volume transmission of meta model base protocol which monitors power amount data of new recycle energy | |
CN103139806A (en) | Method for decoupling web master and base station configuration data and base station | |
KR20180108505A (en) | Method for transforming data for low volume transmission of meta model base protocol, and data transmitting system for low volume transmission of meta model base protocol | |
CN101997864B (en) | System architecture for realizing electronic document packaging and constructing method thereof | |
CN118200074B (en) | CAN FD network bridge equipment and implementation method thereof | |
CN114172897B (en) | Method and system for transmitting files of PC (personal computer) end and Android end | |
CN114666406B (en) | Electric power Internet of things data compression method and device based on object model | |
CN118092982B (en) | Multi-cluster operation and maintenance method, equipment and medium for cloud native application | |
EP4345607A1 (en) | Computer-implemented method and computer program product for providing a software patch, apparatus and communication system | |
CN116954620A (en) | Data processing method, device, electronic equipment and computer readable storage medium | |
CN113407508A (en) | Method, system, equipment and medium for compressing log file | |
CN118200074A (en) | CAN FD network bridge equipment and implementation method thereof | |
CN114661955A (en) | Configured XML message analysis method, system, device and memory | |
KR20240104561A (en) | Method and device for updating document data | |
CN116016696A (en) | Data transmission method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |