CN109446254B - Implementation method of high-performance IEC61850 communication proxy - Google Patents

Implementation method of high-performance IEC61850 communication proxy Download PDF

Info

Publication number
CN109446254B
CN109446254B CN201811144548.8A CN201811144548A CN109446254B CN 109446254 B CN109446254 B CN 109446254B CN 201811144548 A CN201811144548 A CN 201811144548A CN 109446254 B CN109446254 B CN 109446254B
Authority
CN
China
Prior art keywords
data
model
server
iec61850
logic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811144548.8A
Other languages
Chinese (zh)
Other versions
CN109446254A (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.)
Integrated Electronic Systems Lab Co Ltd
Original Assignee
Integrated Electronic Systems Lab 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 Integrated Electronic Systems Lab Co Ltd filed Critical Integrated Electronic Systems Lab Co Ltd
Priority to CN201811144548.8A priority Critical patent/CN109446254B/en
Publication of CN109446254A publication Critical patent/CN109446254A/en
Application granted granted Critical
Publication of CN109446254B publication Critical patent/CN109446254B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a method for realizing a high-performance IEC61850 communication proxy.A server pre-analyzes a model and a server configuration file during initial operation; storing the pre-analysis results into a model storage database, and combining the pre-analysis results according to the data types in the storage process; the server component shares data in the model storage database with the client component. By adopting the technical means of model pre-analysis, data type combination, model data sharing between the client and the server and the like, the problems of low starting speed and large memory occupation of the current common IEC61850 communication agent program are solved; the client side component and the server component share the model information, so that the workload of configuring the model information by the client side is reduced.

Description

Implementation method of high-performance IEC61850 communication proxy
Technical Field
The invention belongs to the technical field of electric power automation application, and particularly relates to a method for realizing a high-performance IEC61850 communication proxy.
Background
With the continuous and wide application of IEC61850 in the field of power automation, the demand of communication agents based on IEC61850 protocol is gradually increased. For example, an intelligent gateway machine used for communication between an intelligent substation and a remote control center, an intelligent management unit used for background communication between local protection equipment and the substation, and the like. They are characterized by connecting to a plurality of IEC61850 devices as clients on the one hand, while providing IEC61850 services to the upper side. The information (mainly remote signaling, remote measuring and the like) sent by the connected IEC61850 equipment can be forwarded to the upper-layer client, and the control command (mainly remote control, fixed value modification and the like) sent by the upper-layer client is forwarded to the connected IEC61850 equipment.
As shown in fig. 1, it is a schematic diagram of a currently common IEC61850 communication proxy implementation scheme. As shown in the dotted line frame of the figure, the current implementation scheme of the IEC61850 communication proxy generally uses one IEC61850 client to establish connection with a plurality of IEC61850 devices, and uses one IEC61850 server to provide IEC61850 services. The two are configured separately, operate independently, and exchange data using some communication means. The method has the advantages that the used client and the server can directly use the original client and server programs, only the problem of communication between the client and the server needs to be solved, and the workload is low. However, this approach has problems that are difficult to avoid: firstly, compared with the service of the IEC61850 device, the proxy mode may need proxy service for hundreds of thousands of devices, and the original IEC61850 server architecture used for a single device has long starting time due to the huge model file resolution; secondly, due to the lack of optimization, a large amount of memory is occupied, so that the requirement of the scheme on hardware configuration is high, and the deployment cost is increased; and thirdly, the server and the client run independently, the model information used by the server and the client is independent and needs to be configured respectively, the redundancy of the model and the configuration information increases the memory occupation and the configuration workload.
Disclosure of Invention
In order to solve the technical problems, the invention adopts model pre-analysis, data type combination and model data sharing between the client and the server, solves the problems of low starting speed and large memory occupation of the existing IEC61850 communication proxy, and reduces the workload in the configuration process. The technical scheme adopted by the invention is as follows:
a method for realizing a high-performance IEC61850 communication proxy comprises the following steps:
step 1, the server pre-analyzes the model and the server configuration file during the initial operation.
When the model file is large in scale, the time spent on model analysis when the server and the client program are started is long. Testing has shown that hundreds of megabytes of model analysis can take several minutes. The process of analyzing the model file is to analyze and process the XML file, if the analysis result is stored in the database after the model file is successfully analyzed, the model file does not need to be analyzed again in the subsequent operation, but necessary information is loaded from the database according to the requirement, and the starting speed of the server and the client component can be greatly improved.
And 2, storing the result of the pre-analysis in the step 1 into a model storage database, and combining the pre-analysis result according to the data type in the storage process.
In the IEC61850 model, although the types and data included in each logical node class are different, the types of data included in the logical nodes are relatively limited. Especially, there are some domestic standards for IEC61850 application, the data types are basically defined in the standards, and in a substation model, the number of data types is not more than 100. If the same data types can be combined when the data type information is stored in the memory, the memory occupation can be reduced substantially.
And 3, sharing the data in the model storage database by the server component and the client component.
In the working mode of the IEC61850 communication proxy, the model of the proxy service provided by the server component pair is almost identical to the model used by the device connected with the client component, but the model of the service provided by the server component pair also adds some information to the proxy device itself. Under the condition, the client only needs to access the model information of the server component, and does not need to configure the model information of the client, so that the size of the configuration database and the memory occupation during operation can be reduced. In addition, the model information of the client does not need to be configured separately, so that the workload during configuration is reduced.
Preferably, the specific method for merging the results according to the data types in step 2 is: the logic nodes are divided into data objects to be stored, the data names and the data types are respectively stored in a data table and a data type table, and meanwhile, the type information of the data set entries is also stored in the data type table.
Preferably, the model storage database includes: the system comprises a logic device table, a data table, a server information table, a data type table, a data set table and a data set entry table, wherein the data table is respectively associated with the logic device table and the data type table, the logic device table is associated with the server information table, the data set table is associated with the logic device table, and the data set entry table is respectively associated with the data type table and the data set table. Only the ID whose type information is in the data type table is saved in the data table.
Preferably, the server component shares data in the model storage database with the client component through a database interface.
Preferably, the pre-analysis specifically includes analyzing the IEC61850 model file at the server side to obtain the logic devices, the logic nodes, the data sets, and the data types in the model, and storing the logic devices, the logic nodes, the data sets, and the data types in the model in the memory structure.
The invention has the beneficial effects that:
1) by adopting the technical means of model pre-analysis, data type combination, model data sharing between the client and the server and the like, the problems of low starting speed and large memory occupation of the current common IEC61850 communication agent program are solved;
2) according to the invention, the client component and the server component share the model information, so that the workload of configuring the model information by the client is reduced.
Drawings
Fig. 1 is a schematic diagram of a currently common IEC61850 communication proxy implementation scheme;
FIG. 2 is a schematic diagram of a high performance IEC61850 communication proxy implementation scheme adopted by the present invention;
FIG. 3 is a schematic diagram of a data table structure and its associations in a model database.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
As shown in fig. 2, it is a schematic diagram of a high-performance IEC61850 communication proxy implementation scheme adopted by the present invention. Compared with the scheme commonly used at present, the client does not analyze the IEC61850 model file any more, but the server analyzes the model file during the initial operation and stores the information in the model file into the model storage database. Therefore, the client program does not need to keep the code of the model analysis, and does not need to configure the information related to the model file. When the agent program runs, the server and the client directly acquire the model information from the model storage database, so that the time for analyzing the model file during starting is saved, and the starting speed of the agent program is accelerated.
A method for realizing a high-performance IEC61850 communication proxy comprises the following steps:
step 1, the server pre-analyzes the model and the server configuration file during the initial operation. The method comprises the specific steps of analyzing an IEC61850 model file of a server side to obtain information such as logic equipment, logic nodes, data sets and data types in the model, and storing the information in a memory structure. Present server programs typically do not save the results of the parsing to a database.
And 2, storing the result of the pre-analysis in the step 1 into a model storage database, and combining the pre-analysis result according to the data type in the storage process. The specific method comprises the following steps: the logic nodes are divided into data objects to be stored, the data names and the data types are respectively stored in a data table and a data type table, and meanwhile, the type information of the data set entries is also stored in the data type table. When the data type is added into the database every time, if the data type is repeated, the data type is not added, and only the original data type is referred to.
As shown in fig. 3, the schematic diagram of the data table structure and the association relationship thereof in the model storage database specifically includes: the system comprises a logic device table, a data table, a server information table, a data type table, a data set table and a data set entry table. The data table is respectively associated with a logic device table and a data type table, the logic device table is associated with a server information table, the data set table is associated with the logic device table, and the data set entry table is respectively associated with the data type table and the data set table. In the IEC61850 model, the data is organized in a hierarchical tree structure: the server comprises a plurality of logic devices; each logic device comprises a plurality of logic nodes; the logical node can contain data objects, data sets and various control blocks; the data set contains a plurality of data entries, and the data entries are references to data under the logical nodes. Generally, when model information is stored, data type information is stored in units of logical nodes, because many logical node types may be included in one model, which results in a large amount of stored type information. Because the types of basic data objects are limited, logic nodes are divided into data objects for storage, type information is stored in a special data type table, no repetition is guaranteed when the data types are stored, only the ID of the type information in the data type table is stored in the data table, and when the data are used, the type information is read from the data type table according to the type ID. Therefore, the number of data types stored in the model information database is greatly reduced, and the memory space occupied after the data types are loaded into the memory is also obviously reduced.
And 3, sharing the data in the model storage database by the server component and the client component through a database interface.

Claims (2)

1. A method for realizing a high-performance IEC61850 communication proxy is characterized by comprising the following steps:
step 1, a server pre-analyzes a model and a server configuration file during initial operation;
the pre-analysis comprises the specific steps of analyzing an IEC61850 model file of a server side to obtain logic equipment, logic nodes, data sets and data types in the model, and storing the logic equipment, the logic nodes, the data sets and the data types in a memory structure;
step 2, storing the result of the pre-analysis in the step 1 into a model storage database, and merging the pre-analysis result according to the data type in the storage process;
the specific method for merging the pre-analysis results according to the data types in the step 2 is as follows: splitting the logic node into data objects for storage, respectively storing the data names and the data types in a data table and a data type table, and simultaneously storing the type information of the data set entries in the data type table;
step 3, the server component and the client component share the data in the model storage database;
the model storage database comprises: the system comprises a logic device table, a data table, a server information table, a data type table, a data set table and a data set entry table, wherein the data table is respectively associated with the logic device table and the data type table;
the server component and the client component share the data in the model storage database through the database interface.
2. The method as claimed in claim 1, wherein only ID of type information in data type table is stored in data table.
CN201811144548.8A 2018-09-29 2018-09-29 Implementation method of high-performance IEC61850 communication proxy Active CN109446254B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811144548.8A CN109446254B (en) 2018-09-29 2018-09-29 Implementation method of high-performance IEC61850 communication proxy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811144548.8A CN109446254B (en) 2018-09-29 2018-09-29 Implementation method of high-performance IEC61850 communication proxy

Publications (2)

Publication Number Publication Date
CN109446254A CN109446254A (en) 2019-03-08
CN109446254B true CN109446254B (en) 2022-03-08

Family

ID=65544773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811144548.8A Active CN109446254B (en) 2018-09-29 2018-09-29 Implementation method of high-performance IEC61850 communication proxy

Country Status (1)

Country Link
CN (1) CN109446254B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999367A (en) * 2012-12-14 2013-03-27 北京四方继保自动化股份有限公司 Method for rapidly initializing client communication of IEC61850 intelligent device
CN105515819A (en) * 2015-07-14 2016-04-20 国家电网公司 IEC61850-based communication component and application component data interface method
CN106021396A (en) * 2016-05-13 2016-10-12 国网辽宁省电力有限公司电力科学研究院 B/S framework-based SCD configuration file graphic display method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101397381B1 (en) * 2013-09-10 2014-05-27 명지대학교 산학협력단 Method for integrating meta-modeling

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999367A (en) * 2012-12-14 2013-03-27 北京四方继保自动化股份有限公司 Method for rapidly initializing client communication of IEC61850 intelligent device
CN105515819A (en) * 2015-07-14 2016-04-20 国家电网公司 IEC61850-based communication component and application component data interface method
CN106021396A (en) * 2016-05-13 2016-10-12 国网辽宁省电力有限公司电力科学研究院 B/S framework-based SCD configuration file graphic display method

Also Published As

Publication number Publication date
CN109446254A (en) 2019-03-08

Similar Documents

Publication Publication Date Title
CN110365644B (en) Method for constructing high-performance monitoring platform of networking equipment
CN103778212B (en) Parallel mass data processing method based on back end
CN104167817B (en) Power equipment real-time information integration system and method
CN110138876B (en) Task deployment method, device, equipment and platform
CN111064626B (en) Configuration updating method, device, server and readable storage medium
CN110008005B (en) Cloud platform-based power grid communication resource virtual machine migration system and method
CN105183299A (en) Human-computer interface service processing system and method
CN106375362A (en) Cache synchronization method and system for distributed server
CN115086379B (en) Numerical control machine tool data acquisition method based on edge calculation and virtualization technology
CN113900810A (en) Distributed graph processing method, system and storage medium
CN110008267B (en) Data processing system and method
CN108111578B (en) Method for accessing power distribution terminal data acquisition platform into terminal equipment based on NIO
CN109918221A (en) A kind of hard disk reports an error analytic method, system, terminal and storage medium
CN109446254B (en) Implementation method of high-performance IEC61850 communication proxy
CN112817539A (en) Industrial data storage method and system, electronic device and storage medium
CN112417050A (en) Data synchronization method and device, system, storage medium and electronic device
CN113157796A (en) Data acquisition display system based on micro-service
CN115022351A (en) Storage method, device and system of battery swapping data and storage medium
CN112685486B (en) Data management method and device for database cluster, electronic equipment and storage medium
CN116781717A (en) Method and system for synchronizing hybrid cloud data
CN113570347A (en) RPA operation and maintenance method for micro-service architecture system
CN114070889A (en) Configuration method, traffic forwarding method, device, storage medium, and program product
CN115374101A (en) Rail transit station level data management system
CN112231405A (en) Data storage device
CN106991129B (en) Real-time database system based on SOA (service oriented architecture) framework power dispatching system and implementation method

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