A method for quickly starting the IEC61850 protocol library

By dividing the startup process of the IEC61850 protocol library into two parts: offline and online, and using the SCD configuration tool to generate offline basic data files, the startup speed problem caused by the large SCD data model in smart substations is solved and the protocol library is quickly started.

CN112416452BActive Publication Date: 2024-09-06XUCHANG XJ SOFTWARE TECHNOLOGIES LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011211879.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-03
Publication Date
2024-09-06
Estimated Expiration
2040-11-03

AI Technical Summary

Technical Problem

As the scale of smart substations expands, the SCD data model of the IEC61850 protocol used in microcomputer remote control devices is getting larger and larger, resulting in a slower initialization speed of dispatch data synchronization and affecting the startup speed of the protocol library.

Method used

Divide the startup process of the IEC61850 protocol library into two parts: offline and online. Use the SCD configuration tool to generate offline basic data files, parse and create part of the object space in advance, and reduce the time to build the object space through SCD files.

Benefits of technology

By parsing basic data files offline, the object space construction time is significantly saved and the IEC61850 protocol library is quickly started.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112416452B
    Figure CN112416452B
Patent Text Reader

Abstract

The present invention relates to a method for quickly starting an IEC61850 protocol library. An SCD configuration tool parses an SCD model file to generate an offline basic data file; an embedded microcomputer telecontrol device loads the basic data file and the SCD model file; during the startup of the IEC61850 protocol library, a part of the IEC61850 object space is created according to the basic data file; the SCD model file is parsed, data of the data template part is extracted, and is put into the IEC61850 object space; the initial value of the data instantiation value in the basic data file is assigned to complete the startup of the IEC61850 protocol library. The present invention uses an offline basic data file to create part of the content of the IEC61850 object space, saving a lot of time for constructing the object space through the SCD file, thereby quickly starting the IEC61850 protocol library.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intelligent substations, and in particular to a method for quickly starting an IEC61850 protocol library. Background Art

[0002] As the scale of smart substations continues to expand, the SCD data model using the IEC61850 protocol in the microcomputer telecontrol device is getting larger and larger, and even an SCD model file of nearly 200M has appeared, which directly affects the synchronization initialization speed of the dispatching data, thereby causing the startup speed of the embedded microcomputer telecontrol device to continue to slow down.

[0003] During the startup of the IEC61850 protocol library, the module needs to create the IEC61850 object space according to the SCD model file, such as Figure 1 As shown, in the process of generating the object space, it is necessary to traverse each object, search for the model of each object, generate the object's reference information, the object's data value type, the object type, the TYPEID of all LNs in each domain, and the object space offset of each object relative to its parent LN according to the model, and finally initialize the object's instantiation value according to the object's instantiation node. The time consumed by this retrieval process increases as the size of the SCD model file increases. Summary of the invention

[0004] In view of the problems existing in the prior art, the present invention provides a method for quickly starting an IEC61850 protocol library. The process of starting the protocol library is divided into two parts: offline and online. The SCD configuration tool is used to complete the parsing part of the basic data offline, and the offline basic data file is used to create part of the IEC61850 object space content, which saves a lot of time for building the object space through the SCD file, thereby quickly starting the IEC61850 protocol library.

[0005] To achieve the above object, the present invention provides a method for quickly starting an IEC61850 protocol library, comprising:

[0006] The SCD configuration tool parses the SCD model file to generate an offline basic data file; the embedded microcomputer telecontrol device loads the basic data file and the SCD model file;

[0007] During the startup of the IEC61850 protocol library, part of the IEC61850 object space is created according to the basic data file; the SCD model file is parsed, the data of the data template part is extracted, and the data is put into the IEC61850 object space;

[0008] Assign initial values ​​to the data instantiation values ​​in the basic data file to complete the startup of the IEC61850 protocol library.

[0009] Furthermore, the basic data file includes: IEC61850 data reference information, application layer data identification information, data unique identification, object type identification, object data type, data instantiation value, type number (TYPEID) of the logical node where the data is located, and the offset of the data relative to the object space of its parent logical node.

[0010] Furthermore, the process of generating an offline basic data file includes:

[0011] Parse the SCD model file and form an SCD node tree in memory;

[0012] Generate the type number (TYPEID) of the logical node where the data is located;

[0013] Generate IEC61850 data reference information;

[0014] Generate a unique identifier for the data (OBJID);

[0015] Generate object type identifier;

[0016] The data type of the generated object;

[0017] Generate data instantiation values;

[0018] The offset of the generated data relative to the object space of its parent logical node;

[0019] Generate application layer data identification information.

[0020] Furthermore, generating a type number (TYPEID) of a logical node where the data is located includes:

[0021] (1) Generate a type description string (tdl) for each LN;

[0022] Traverse all child data object (DO) child nodes of the logical node type (LNodeType) node, extract the child node name (name) attribute and type (type) attribute; traverse all data object (DO) type child nodes of the data type template (DataTypeTemplates) according to the data object (DO) child node type (type) attribute value to find the data object (DO) type node of this data object (DO);

[0023] Traverse all data object attribute (DA) child nodes of the data object (DO) type node, extract the name (name) attribute, type (type) attribute and basic data type (btype) attribute; if the basic data type (btype) attribute value is Struct, it indicates that this da is a nested da, then traverse all data object attribute (DA) type child nodes of the data type template (DataTypeTemplates) according to the type (type) attribute value to find the data object attribute (DA) type node of this data object attribute (DA);

[0024] Repeat traversing all the basic data object attributes (BDA) child nodes of the DA type node, extracting the name attribute, type attribute and basic data type (btype) attribute, until the basic data type (btype) attribute value is the basic data type, indicating that this data object attribute (DA) is a simple data type, and the data object attribute (DA) processing process is completed;

[0025] (2) Generate an LN type description structure based on the LN type description string (tdl) and convert its storage location index into a type code (TYPEID) value;

[0026] The LN type description structure members mainly include the data name, type, size, and offset relative to the LN data header.

[0027] Furthermore, generating IEC61850 data reference information includes:

[0028] (1) Traverse the IED nodes and extract the name attribute value;

[0029] (2) Traverse all AccessPoint subnodes of the IED node and search for the access point of the MMS layer of the message manufacturing specification, which is the first AccessPoint subnode by default;

[0030] Find the Server subnode of the AccessPoint subnode;

[0031] Traverse all logical device (LDevice) subnodes of the service (Server) subnode, extract the instance inst attribute value as the name of the LD.

[0032] Traverse all LN child nodes of the logical device (LDevice) and the child nodes of the logical node 0LN0, extract the LN node prefix refix, the logical node 0LLN0, and the instance inst attribute value to generate the LN name, and extract the logical node type lnType attribute value to find the LN type description structure, that is, the LN type code identifier (TYPEID);

[0033] Find the names of all data objects (DO) / basic data object attributes (DA) under this LN according to the LN type description structure;

[0034] A reference to the name data of all data objects (DO) / basic data object attributes (DA) under LN. The reference format is device name logical device name / logical node name.object name.object attribute name.object attribute name.

[0035] Furthermore, generating a unique identifier (OBJID) of an object includes:

[0036] The process of generating a unique data identifier is the same as the process of generating a data reference. First, the total number of references to all data objects is counted, and the information structure array of all data objects is applied. Then, the above process is repeated to fill the object information structure. Its content includes the type of data object, the data type of data object, the corresponding application layer data information, the type structure of data object, the data object space pointer, the LN where the data object is located, and the object pointer.

[0037] Furthermore, the steps for generating the object type identifier and the data type of the object are as follows:

[0038] (1) Traverse the IED nodes and generate the object type of the IED object;

[0039] (2) Traverse all AccessPoint subnodes of the IED node and search for the access point of the MMS layer of the message manufacturing specification, which is the first AccessPoint subnode by default;

[0040] (3) Find the service (Server) subnode of the access point (AccessPoint) subnode;

[0041] (4) Traverse all logical device LDevice subnodes of the service (Server) subnode and generate the object type of LD.

[0042] (5) Traverse all LN child nodes of the logical device LDevice and generate the object type of the LN;

[0043] (6) Find the LNodeType node according to the LN node attribute logical node class lnclass;

[0044] (7) Traverse all data object (DO) child nodes under the LNodeType node and generate the object type of the data object (DO);

[0045] (8) According to the data object (DO) child node type (type) attribute value, traverse all data object (DO) type child nodes of the data type template (DataTypeTemplates) to find the data object (DO) type node of this data object (DO); traverse all data object attribute (DA) child nodes of the data object (DO) type node, extract the name (name) attribute, the type (type) attribute and the basic data type (btype) attribute; generate the object type of the data object attribute (DA);

[0046] (9) If the btype attribute value is Struct, it indicates that this da is a nested da. Then, according to the type attribute value, all data object attribute (DA) type child nodes of the data type template (DataTypeTemplates) are traversed to find the data object attribute (DA) type node of this data object attribute (DA);

[0047] Repeat traversing all basic data object attributes (BDA) child nodes of the DA type node, extracting the name (name) attribute, type (type) attribute and basic data type (btype) attribute, until the basic data type (btype) attribute value is the basic data type, indicating that this data object attribute (DA) is a simple data type, and generating the object type of the data object attribute (DA) and generating the object data type of this data object attribute (DA).

[0048] Furthermore, generating data instantiation values ​​includes: traversing all logical devices (LDevice) under the IED node; traversing all LNs under the logical device (LDevice); traversing all data attribute instance (DAI) nodes under the LN, extracting the initial value of the data object in the data attribute instance (DAI); traversing the information structure array of the data object to find this data object, and storing the initial value of the object in the object space.

[0049] Furthermore, generating the offset of the data relative to the object space of its parent logical node includes: generating it during the LN data type structure generation process, and accumulating all data sizes between the data and the parent LN object.

[0050] Furthermore, generating the application layer data identification information includes: the application layer data identification information is defined by a user, manually input by a user through a tool, or automatically generated by a tool according to a user-defined rule.

[0051] Further, creating a portion of the IEC61850 object space according to the basic data file includes:

[0052] Create a data structure array for each data object, where the array subscript is the unique identifier of the data in the basic data file; the data structure content includes the data type, the type number (TYPEID) of the logical node where the data is located, the offset of the data in the data object space of the parent logical node where the data is located, and the value of the data instantiation;

[0053] Create a HASH table of IEC61850 parameter index and data unique identifier for fast positioning of IEC61850 parameter index to data unique identifier.

[0054] A HASH table of application data identification and data unique identification is created for fast positioning of application data to data unique identification. The above technical solution of the present invention has the following beneficial technical effects: the present invention divides the process of starting the protocol library into two parts: offline and online. The SCD configuration tool is used to complete the parsing part of the basic data offline, and the offline basic data file is used to create part of the IEC61850 object space content, which saves a lot of time for building the object space through the SCD file, thereby quickly starting the EC61850 protocol library. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1 It is a schematic diagram of the construction process of the object space;

[0056] Figure 2 This is a quick start flow diagram for the IEC61850 protocol library;

[0057] Figure 3 This is a diagram of an example of a basic data file. DETAILED DESCRIPTION

[0058] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. In addition, in the following description, the description of well-known structures and technologies is omitted to avoid unnecessary confusion of the concept of the present invention.

[0059] The invention provides a method for quickly starting an IEC61850 protocol library in an embedded microcomputer telecontrol device. Figure 2 Flowchart of the quick start process for the IEC61850 protocol library.

[0060] (1) Substation configuration description file SCD configuration tool parses SCD model file and generates offline basic data file; embedded microcomputer telecontrol device loads basic data file and SCD model file.

[0061] The basic data file includes IEC61850 data reference information, application layer data identification information, data unique identification, data object type, data value type, data instantiation value, type number TYPEID of the logical node LN where the data is located, and the data offset relative to the object space of its parent LN. Table 1 describes the fields in the basic file.

[0062] The process of generating an offline basic data file includes: parsing the SCD file and forming an SCD node tree in the memory.

[0063] Generate the type number (TYPEID) of the logical node where the data is located: Generate the TYPEID of the type template of each LN by traversing the LNodeType tree node under the DataTypeTemplates tree node.

[0064] The first step is to generate the type description string (tdl) for each LN

[0065] (1) Traverse all DO child nodes of the LNodeType node and extract the name attribute and type attribute of the child nodes.

[0066] (2) According to the type attribute value of the DO node, traverse all DOType child nodes of DataTypeTemplates to find the DOType node of this DO.

[0067] (3) Traverse all DA child nodes of the DOType node and extract the name attribute value, type attribute value, and btype attribute value.

[0068] (4) If the btype attribute value is Struct, it indicates that this DA is a nested DA. Then, according to the type attribute value, all DAType child nodes of DataTypeTemplates are traversed to find the DAType node of this DA.

[0069] (5) Traverse all BDA child nodes of the DAType node and extract the name attribute value, type attribute value, and btype attribute value.

[0070] (6) The same process as step 4 is repeated until the btype attribute value is a basic data type, indicating that the DA is a simple data type, and the DA processing process is completed.

[0071] The second step is to generate an LNTYPE description structure based on the LN type description string (tdl) and convert its storage location index into a TYPEID value.

[0072] The LNTYPE description structure members mainly include the data name, type, size, and offset relative to the LN data header.

[0073] Generate IEC61850 data reference information: Data reference is the full path name of each data, and the generation steps are as follows:

[0074] (1) Traverse the IED nodes and extract the name attribute value

[0075] (2) Traverse all AccessPoint child nodes of the IED node and search for the access point of the mms layer, which defaults to the first AccessPoint child node.

[0076] (3) Find the Server child node of the AccessPoint node.

[0077] (4) Traverse all LDevice child nodes of the Server node and extract the inst attribute value as the name of the LD.

[0078] (5) Traverse all LN child nodes and LN0 child nodes of LDevice, extract the prefix, LLN0, and inst attribute values ​​of the LN node to generate the LN name, and extract the lnType attribute value to find the type description structure of the LN, that is, the TYPEID of the LN.

[0079] (6) Find the names of all DO / DA under this LN according to the LN type description structure.

[0080] (7) Reference to all DO / DA data under LN. The reference format is IEDNAMELDNAME / LNNAME.DONAME.DANAME.DANAME.

[0081] Generate a unique identifier (OBJID) for data: The unique identifier of data is the full path reference of the data. However, the performance of searching for data based on the full reference is low when accessing data at the user layer. To improve access speed, the reference is mapped to the data OBJID, which can quickly locate the data. The mapping creation process is as follows:

[0082] The process of generating a unique data identifier is the same as the process of generating a data reference. First, the total number of all data objects is counted, and the information structure array (data object space) of all data objects is applied. Then, the above process is repeated to fill the object information structure. Its content includes the type of data object, the data type of data object, the corresponding application layer data information, the type structure of data object, the data object space pointer, the LN where the data object is located, and the object pointer.

[0083] Generate object type identification: This data is stored in the object's information structure array. Its generation is similar to the reference generation process. In this process, the type information of each data is extracted. For specific type definitions, refer to Table 1.

[0084] Generate the data type of the object: This data is stored in the information structure array of the object. Its generation is similar to the reference generation process. In this process, the value type information of each data is extracted. For the specific data value type definition, refer to Table 1.

[0085] Generate data instantiation value: Data instantiation initializes the data objects initialized in the file. The steps are as follows:

[0086] (1) Traverse all LDevice under the IED node;

[0087] (2) Traverse all LNs under LDevice;

[0088] (3) Traverse all data attribute instance DAI nodes under LN and extract the initial value of the data object in DAI;

[0089] (4) Traverse the data in the object's information structure array to find the data object and store the object's initial value in the object space.

[0090] The offset of the generated data relative to the object space of its parent logical node: This data is generated during the generation of the LN data type structure. It is the accumulation of all data sizes between this data and the parent LN object.

[0091] Generate application layer data identification information: The application layer data identification information is defined by the user, and the input method is that the user manually inputs it through the tool or automatically generates it through the tool according to the user-defined rules.

[0092] Table 1 Description of each field in the basic data file

[0093]

[0094]

[0095] (2) After receiving the startup command, the IEC61850 protocol library creates part of the IEC61850 object space according to the offline basic data file during startup; the data in the basic data file is placed in the object space; the SCD model file is parsed, the data in the data template part is extracted, and also placed in the object space;

[0096] Parse the data templates except the basic data in the SCD model file and partially create the remaining IEC61850 object space. The SCD file includes data templates, each of which corresponds to a specific data model of IEC61850.

[0097] (3) Instantiate the created object space and complete the startup process of the IEC61850 protocol library. Figure 3 , assign the initial value instantiated in the basic data.

[0098] It can be seen that there is no need to retrieve basic data during the startup process, which saves startup time.

[0099] Further, creating a portion of the IEC61850 object space according to the basic data file includes:

[0100] a) Create TYPEID of report control block, log control block, GOOSE control block and constant value control block.

[0101] b) Create a data structure array for each data object. The array subscript is the unique identifier of the data in the basic file, which is an unsigned integer starting from 0. The data structure content includes the data type, the TYPEID of the LN where the data is located, the offset of the data in the parent LN data object space, and the value of the data instantiation.

[0102] c) Create a HASH table of IEC61850 references and data unique identifiers for fast positioning of IEC61850 references to data unique identifiers.

[0103] d) Create a HASH table of application data identifiers and data unique identifiers for fast location of application data to data unique identifiers.

[0104] Furthermore, when parsing the data template online, a TYPEID of each LN is created according to the data template node.

[0105] In summary, the present invention relates to a method for quickly starting an IEC61850 protocol library. The SCD configuration tool parses the SCD model file to generate an offline basic data file; the embedded microcomputer telecontrol device loads the basic data file and the SCD model file; during the startup of the IEC61850 protocol library, part of the IEC61850 object space is created according to the basic data file; the SCD model file is parsed, the data of the data template part is extracted, and put into the IEC61850 object space; the initial value of the data instantiation value in the basic data file is assigned to complete the startup of the IEC61850 protocol library. The present invention uses an offline basic data file to create part of the content of the IEC61850 object space, saving a lot of time for constructing the object space through the SCD file, thereby quickly starting the EC61850 protocol library.

[0106] It should be understood that the above specific embodiments of the present invention are only used to illustrate or explain the principles of the present invention, and do not constitute a limitation of the present invention. Therefore, any modifications, equivalent substitutions, improvements, etc. made without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention. In addition, the appended claims of the present invention are intended to cover all changes and modifications that fall within the scope and boundaries of the appended claims, or the equivalent forms of such scope and boundaries.

Claims

1. A method for quickly starting an IEC61850 protocol library, characterized in that: include: The SCD configuration tool parses the SCD model file to generate an offline basic data file, including: parsing the SCD model file to form an SCD node tree in the memory; generating a type number (TYPEID) of the logical node where the data is located; generating IEC61850 data reference information; generating a unique identifier (OBJID) of the data; generating an object type identifier; generating an object data type; generating a data instantiation value; generating an offset of the data relative to the object space of its parent logical node; generating application layer data identification information; the basic data file includes: IEC61850 data reference information, application layer data identification information, a unique identifier of the data, an object type identifier, an object data type, a data instantiation value, a type number (TYPEID) of the logical node where the data is located, and an offset of the data relative to the object space of its parent logical node; the embedded microcomputer telecontrol device loads the basic data file and the SCD model file; During the startup of the IEC61850 protocol library, part of the IEC61850 object space is created according to the basic data file; the SCD model file is parsed, the data of the data template part is extracted, and the data is put into the IEC61850 object space; Assign initial values ​​to the data instantiation values ​​in the basic data file to complete the startup of the IEC61850 protocol library.

2. The method for quickly starting the IEC61850 protocol library according to claim 1, characterized in that: The type number (TYPEID) of the logical node where the generated data is located includes: (1) Generate a type description string (tdl) for each LN; Traverse all child data object (DO) child nodes of the logical node type (LNodeType) node, extract the child node name (name) attribute and type (type) attribute; traverse all data object (DO) type child nodes of the data type template (DataTypeTemplates) according to the data object (DO) child node type (type) attribute value to find the data object (DO) type node of this data object (DO); Traverse all data object attribute (DA) child nodes of the data object (DO) type node, extract the name (name) attribute, type (type) attribute and basic data type (btype) attribute; if the basic data type (btype) attribute value is Struct, it indicates that this da is a nested da, then traverse all data object attribute (DA) type child nodes of the data type template (DataTypeTemplates) according to the type (type) attribute value to find the data object attribute (DA) type node of this data object attribute (DA); Repeat traversing all the basic data object attributes (BDA) child nodes of the DA type node, extracting the name attribute, type attribute and basic data type (btype) attribute, until the basic data type (btype) attribute value is the basic data type, indicating that this data object attribute (DA) is a simple data type, and the data object attribute (DA) processing process is completed; (2) Generate an LN type description structure based on the LN type description string (tdl) and convert its storage location index into a type code (TYPEID) value; The LN type description structure members mainly include the data name, type, size, and offset relative to the LN data header.

3. The method for quickly starting the IEC61850 protocol library according to claim 1, characterized in that: Generate IEC61850 data reference information including: (1) Traverse the IED nodes and extract the name attribute value; (2) Traverse all AccessPoint subnodes of the IED node and search for the access point of the MMS layer of the message manufacturing specification, which is the first AccessPoint subnode by default; Find the Server subnode of the AccessPoint subnode; Traverse all logical device (LDevice) subnodes of the service (Server) subnode, extract the instance inst attribute value as the name of the LD; Traverse all LN child nodes of the logical device (LDevice) and the child nodes of the logical node 0LN0, extract the LN node prefix refix, the logical node 0LLN0, and the instance inst attribute value to generate the LN name, and extract the logical node type lnType attribute value to find the LN type description structure, that is, the LN type code identifier (TYPEID); Find the names of all data objects (DO) / basic data object attributes (DA) under this LN according to the LN type description structure; A reference to the name data of all data objects (DO) / basic data object attributes (DA) under LN. The reference format is device name logical device name / logical node name.object name.object attribute name.object attribute name.

4. The method for quickly starting the IEC61850 protocol library according to claim 1, characterized in that: The unique identifier (OBJID) of the generated object includes: The process of generating a unique data identifier is the same as the process of forming a data reference. First, count the total number of references to all data objects, apply for the information structure array of all data objects, and then repeat the above process to fill the object's information structure. Its content includes the type of data object, the data type of the data object, the corresponding application layer data information, the type structure of the data object, the data object space pointer, the LN where the data object is located, and the object pointer.

5. The method for quickly starting the IEC61850 protocol library according to claim 1, characterized in that: The steps to generate the object type identifier and the object data type are as follows: (1) Traverse the IED nodes and generate the object type of the IED object; (2) Traverse all AccessPoint subnodes of the IED node and search for the access point of the MMS layer of the message manufacturing specification, which is the first AccessPoint subnode by default; (3) Find the service (Server) subnode of the access point (AccessPoint) subnode; (4) Traverse all logical device LDevice subnodes of the service (Server) subnode and generate the object type of LD; (5) Traverse all LN child nodes of the logical device LDevice and generate the object type of the LN; (6) Find the LNodeType node according to the LN node attribute logical node class lnclass; (7) Traverse all data object (DO) child nodes under the LNodeType node and generate the object type of the data object (DO); (8) According to the data object (DO) child node type (type) attribute value, traverse all data object (DO) type child nodes of the data type template (DataTypeTemplates) to find the data object (DO) type node of this data object (DO); traverse all data object attribute (DA) child nodes of the data object (DO) type node, extract the name (name) attribute, the type (type) attribute and the basic data type (btype) attribute; generate the object type of the data object attribute (DA); (9) If the btype attribute value is Struct, it indicates that this da is a nested da. Then, according to the type attribute value, all data object attribute (DA) type child nodes of the data type template (DataTypeTemplates) are traversed to find the data object attribute (DA) type node of this data object attribute (DA); Repeat traversing all basic data object attributes (BDA) child nodes of the DA type node, extracting the name (name) attribute, type (type) attribute and basic data type (btype) attribute, until the basic data type (btype) attribute value is the basic data type, indicating that this data object attribute (DA) is a simple data type, and generating the object type of the data object attribute (DA) and generating the object data type of this data object attribute (DA).

6. The method for quickly starting the IEC61850 protocol library according to claim 1, characterized in that: Generating data instantiation values ​​includes: traversing all logical devices (LDevice) under the IED node; traversing all LNs under the logical device (LDevice); traversing all data attribute instance (DAI) nodes under the LN, extracting the initial value of the data object in the data attribute instance (DAI); traversing the data in the information structure array of the object to find this data object, and storing the initial value of the object in the object space.

7. The method for quickly starting the IEC61850 protocol library according to claim 1, characterized in that: The offset of the generated data relative to the object space of its parent logical node includes: generating during the LN data type structure generation process, and accumulating all data sizes between the data and the parent LN object.

8. The method for quickly starting the IEC61850 protocol library according to claim 1, characterized in that: Generating application layer data identification information includes: the application layer data identification information is defined by a user, manually input by a user through a tool, or automatically generated by a tool according to a user-defined rule.

9. The method for quickly starting the IEC61850 protocol library according to claim 1, characterized in that: Creating part of the IEC61850 object space according to the basic data file includes: Create a data structure array for each data object, where the array subscript is the unique identifier of the data in the basic data file; the data structure content includes the data type, the type number (TYPEID) of the logical node where the data is located, the offset of the data in the data object space of the parent logical node where the data is located, and the value of the data instantiation; Create a HASH table of IEC61850 parameter index and data unique identifier for fast positioning from IEC61850 parameter index to data unique identifier; Create a HASH table of application data identifiers and data unique identifiers for fast location of application data to data unique identifiers.