Power system station automation protocol conversion method and device based on docker virtualization

By using Docker virtualization technology and a web-based centralized management platform, the device-level and semantic conversion of the IEC60870-5-103 protocol to the IEC61850 standard was achieved, solving the problem of interconnection between new and old equipment, improving system reliability and operation and maintenance efficiency, and adapting to the construction needs of smart substations.

CN122367375APending Publication Date: 2026-07-10WUXI POWER SUPPLY BRANCH OF STATE GRID JIANGSU ELECTRIC POWER CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
WUXI POWER SUPPLY BRANCH OF STATE GRID JIANGSU ELECTRIC POWER CO LTD
Filing Date
2026-03-30
Publication Date
2026-07-10

AI Technical Summary

Technical Problem

Existing technologies cannot achieve the equipment-level, standardized, and semantic conversion from the IEC60870-5-103 protocol to the IEC61850 standard, resulting in information silos between old and new equipment. This fails to meet the interconnection and interoperability requirements for the construction of digital twins in power systems, and also leads to poor system reliability and engineering reusability.

Method used

Employing Docker virtualization technology, an independent runtime environment container is built through a one-device-one-container deployment mode. It incorporates a 103 protocol parsing module, a 61850 data model, and a data mapping engine to realize the conversion of physical devices into virtual 61850 IED Servers, and is configured and managed through a centralized web management platform.

Benefits of technology

It achieves standardized and semantic conversion at the device level, supports bidirectional protocol conversion, breaks down information silos, improves operation and maintenance efficiency, reduces transformation costs, and provides a smooth transition path for the digital upgrade of the power system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122367375A_ABST
    Figure CN122367375A_ABST
Patent Text Reader

Abstract

The application discloses a power system station automation protocol conversion method and device based on docker virtualization, belongs to the technical field of power automation, adopts an isolated deployment mode of one device one container, creates an independent running container for each physical 103 protocol device, internally embeds a 103 protocol analysis, data mapping engine and a virtual 61850 IED Server, and builds a high-fidelity virtual 61850 IED Server digital twin body consistent with the real device; the data semantic recovery and intelligent bidirectional mapping are realized through the mapping engine, the whole life cycle management and standardized configuration of the virtual 61850 IED Server cluster are completed in combination with a centralized configuration and management platform and a container arrangement tool, the device-level and semantic protocol conversion is realized, the information islands of new and old devices are broken, the system reliability and operation and maintenance efficiency are improved, the technical life cycle of the stock device is prolonged, a smooth transition path is provided for the digitalization and twinning upgrade of the power system, and the full-scene construction demand of the intelligent substation is adapted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power automation technology, and in particular to a method and equipment for converting power system plant automation protocols based on Docker virtualization. Background Technology

[0002] Against the backdrop of intelligent power system development, IEC 61850 has become a universal standard for substation automation systems and is the core of building digital twins and intelligent operation and maintenance systems. However, a large number of existing protection and control devices conforming to the IEC 61850 standard are still deployed in power systems, which cannot directly interact with the IEC 61850 standard station control layer system. Protocol conversion devices have become the core of information exchange between heterogeneous devices. Currently, protocol conversion technologies in the power field are mainly divided into two categories: one is the mainstream traditional embedded protocol conversion technology, which uses embedded industrial control computers such as ARM and x86 as hardware, with built-in multiple power protocol libraries and equipped with multiple physical interfaces to achieve bidirectional protocol conversion; the other is containerized protocol conversion improvement technology. However, both types of existing technologies have significant defects and cannot adapt to the requirements of the IEC 61850 standard and the needs of digital twin construction. The core problems of traditional embedded devices are: protocol conversion only performs data pass-through, losing device and interval characteristics; 103 devices cannot simulate the characteristics of 61850 devices, creating information silos between old and new devices; all 103 data is concentrated in a single virtual 61850 IED Server, which is incompatible with the primary device structure; only basic data conversion is supported, lacking key functions such as 61850 waveform transmission; there is no standardized ICD / SCD model to support device replacement, resulting in poor engineering reusability; and data lacks device-level management, leading to low efficiency in fault location.

[0003] While existing containerization improvement technologies have introduced virtualization technology, their centralized deployment has not solved the core defects of traditional technologies and has added new shortcomings: there is no isolation mechanism for one device and one container, resulting in poor system reliability; there is no standardized virtual 61850 IED Server model built based on ICD / SCD files, making it impossible to seamlessly connect with the 61850 system; there is no intelligent data mapping engine, still relying on manual configuration, which is inefficient; and there is a lack of a unified web centralized management platform, resulting in decentralized management of container clusters and mapping rules, and high operational complexity.

[0004] In summary, existing technologies cannot achieve device-level, standardized, and semantic conversion from the IEC 103 protocol to the IEC 61850 standard. They fail to address the interoperability issues between existing equipment and 61850 systems, nor can they provide a standardized data foundation for power digital twins. Furthermore, the system reliability, scalability, and engineering reusability are insufficient to meet the requirements of smart substation construction. Therefore, there is an urgent need to develop a new protocol conversion method and equipment, optimize the Docker virtualization deployment mode, and construct a standardized virtual 61850 IED Server model to address the pain points of existing technologies and provide a smooth transition path for the digital upgrade of power systems. Summary of the Invention

[0005] To address the aforementioned technical problems, this invention proposes a method for converting power system substation automation protocols based on Docker virtualization, used to convert the IEC60870-5-103 protocol to the IEC61850 standard, comprising the following steps: S1: For each physical IEC60870-5-103 compliant device in the power system, dynamically create and manage an independent runtime environment container for it in the container virtualization node cluster; S2: Deploy core functional modules within each independent runtime environment container. These core functional modules include at least: an I03 protocol parsing module, a 61850 data model, a data mapping engine, and a virtual 61850 IED Server; the virtual 61850 IED Server is a digital twin. S3: Receive the original message of the corresponding physical IEC60870-5-103 protocol device through the 103 protocol parsing module, and parse the original message to convert the remote signaling, telemetry, and event sequence record data into internal data objects with semantic information. S4: The data mapping engine maps internal data objects to the corresponding data attributes in the 61850 data model of the virtual 61850IED Server in real time according to the preset mapping configuration. S5: The virtual 61850 IED Server loads the standardized 61850 data model and provides an MMS server that conforms to the IEC61850 standard, enabling the station control layer to recognize the virtual 61850 IED Server as a standard 61850 device and perform data interaction.

[0006] Furthermore, step S1 adopts a one-device-one-container deployment mode to achieve service isolation, resource isolation, and fault isolation between the operating environment containers corresponding to the physical IEC60870-5-103 compliant device; the container virtualization node cluster, combined with container orchestration tools, realizes the automated deployment, health check, and fault self-healing of the virtual 61850IED cluster deployed on the container virtualization node cluster.

[0007] Furthermore, before step S1, step S0 is also included: uploading or selecting the corresponding ICD file for the physical IEC60870-5-103 protocol device through the Web-based centralized configuration and management platform; the Web-based centralized configuration and management platform parses the ICD file, automatically identifies the logical node (LN) type of the measurement unit, circuit breaker, and switch controller, constructs an engineering model, ensures that the engineering model is consistent with the primary equipment structure, drives the container orchestration engine to create the corresponding runtime environment container for the physical IEC60870-5-103 protocol device, and completes the instantiation of the virtual 61850 IED Server.

[0008] Furthermore, the web-based centralized configuration and management platform provides a visual interface for configuring and managing the mapping relationship table between 103 data points and 61850 data attributes. The web-based centralized configuration and management platform also supports the learning, exporting, and reuse of mapping rules. The web-based centralized configuration and management platform provides model configuration, status monitoring, data browsing, and project management functions.

[0009] Furthermore, in step S4, the data mapping engine continuously monitors the state changes of the 61850 data model. When it detects a change in the value or quality code of a data point, it immediately triggers a mapping operation, writes the changed data value, timestamp, and quality code into the corresponding data attribute in the virtual 61850 IED Server, and triggers the virtual 61850 IED Server to provide standard IEC61850 reporting services to the outside world.

[0010] Furthermore, it also includes the downlink control process: the client at the station control layer sends control commands to the virtual 61850 IEDServer via the MMS protocol; after receiving and verifying the control commands, the virtual 61850 IEDServer sends them to the data mapping engine, which performs a reverse lookup to convert the control commands into the corresponding IEC60870-5-103 protocol control messages and sends them to the corresponding physical IEC60870-5-103 protocol devices for execution.

[0011] Furthermore, the Virtual 61850 IED Server fully implements the services specified in the IEC 61850 standard, including at least: data model browsing and reading / writing services, reporting services, control services, setpoint group management services, file services, and log services.

[0012] Furthermore, in step S3, the 103 protocol parsing module is compatible with parsing IEC60870-5-103 protocol variants from different manufacturers. During the parsing process, it supplements internal data objects with timestamps, quality bits, and engineering unit semantic information. It also completes the conversion of raw code values ​​to floating-point numbers with engineering units, the mapping of status points to semantic tags, and the conversion of waveform files to standard formats. It automatically obtains protection action waveforms to achieve semantic data recovery. The data mapping engine supports automatic mapping recommendations between 103 data points and 61850 data attributes.

[0013] This invention also proposes a power system substation automation protocol conversion device, including a hardware platform and a software system deployed on the hardware platform; the hardware platform is an industrial-grade hardware platform, including a multi-core processor supporting CPU virtualization technology, ECC memory, serial port, and Ethernet interface; the virtual IEC61850IED formed by the software system has the same data model and service interface as the real IEC61850 device; the software system is used to run a container virtualization node cluster and a web-based centralized configuration and management platform, supporting flexible deployment of containerized architecture, and executing the above-mentioned power system substation automation protocol conversion method based on Docker virtualization.

[0014] Furthermore, the hardware platform is equipped with a high-speed solid-state drive (SSD). The SSD categorizes and stores data, and standardizes the management of short-term historical data. It is used to store container images, ICD / SCD files, mapping configuration information, device operation logs, and short-term historical data. The software system also includes a database storage module and a virtual 61850 IED Server mapping management service module. The database storage module stores the configuration information of the virtual 61850 IED Server, the mapping relationship information between 103 data points and 61850 data attributes, and device operation status information. The virtual 61850 IED Server mapping management service module establishes a bidirectional data interaction link with the Web-based centralized configuration and management platform, container orchestration tool, ICD / SCD file parsing module, and database storage module.

[0015] Compared with the prior art, the present invention has the following beneficial technical effects: This invention deeply integrates Docker container virtualization technology with power protocol conversion. Addressing the technical shortcomings of traditional embedded systems and existing containerized protocol conversion solutions, it focuses on one-device-one-container deployment, device-level standardized virtual 61850IEDServer construction, and intelligent data mapping as its core invention points. This achieves device-level, semantic, and standardized conversion of the IEC60870-5-103 protocol to the IEC61850 standard, solving industry pain points such as interconnection between new and old equipment and chaotic virtual nodes. It lays the foundation for the construction of digital twins for power systems and has multiple technical and engineering advantages.

[0016] This invention employs a one-device-one-container isolation deployment model to achieve isolation of business, resources, and faults, avoiding the fault propagation problem of centralized deployment. Each container corresponds to a high-fidelity device-level virtual 61850 IED Server, with models and service interfaces consistent with real 61850 devices, matching the primary device structure and meeting the digital twin device-level mapping requirements. It also achieves 103 data semantic recovery and intelligent mapping, supports bidirectional protocol conversion, breaks down information silos between new and old devices, and the virtual 61850 IED Server fully implements all 61850 standard services, compensating for the limitations of traditional devices with limited functionality. Based on ICD / SCD files, a standardized model is built, requiring only the replacement of the corresponding container or modification of the IP address when changing devices; no reconfiguration is needed at the station control layer, improving configuration reusability and reducing transformation costs. Relying on a centralized web management platform, it enables device-level data management and full-process operation and maintenance, accurately locating device-level faults, supporting uninterrupted remote monitoring and testing, and significantly improving operation and maintenance efficiency. Furthermore, the 61850 standardization upgrade can be completed without modifying existing 103 equipment, effectively extending the technical life cycle of existing equipment, saving renovation costs, providing a smooth transition path for the digital and intelligent upgrade of the power system, and adapting to the construction needs of smart substations in all scenarios. Attached Figure Description

[0017] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used together with the embodiments of the invention to explain the invention and do not constitute a limitation thereof.

[0018] Figure 1 This is a system architecture diagram of the present invention; Figure 2 This is a diagram illustrating the virtualization data flow transformation of the present invention. Detailed Implementation

[0019] The present invention will now be described in detail with reference to specific embodiments. These embodiments will help those skilled in the art to further understand the present invention, but do not limit the invention in any way. It should be noted that those skilled in the art can make several changes and improvements without departing from the concept of the present invention. These all fall within the protection scope of the present invention.

[0020] Example 1 I. Overall System Architecture Design This embodiment addresses the interconnection and interoperability needs of power automation systems, resolving the issue that a large number of existing physical IEC60870-5-103 protocol devices (referred to as physical 103 devices) cannot directly interface with station control layer systems such as SCADA based on the IEC61850 standard. By constructing a containerized, platform-based virtual gateway system, non-standard 103 device data is converted into the standard IEC61850 model in real time and accurately, and then connected to the upper-layer network in the form of Virtual IED (Virtual Intelligent Electronic Device). This achieves the overall digitalization and standardization upgrade of the system without modifying existing equipment.

[0021] like Figure 1 As shown, the system framework includes: 1. Container virtualization node cluster The node cluster is built using containerization technologies such as Docker, dynamically creating and managing an independent runtime environment container Pod for each physical device (103). This one-device-one-container model achieves complete business isolation, resource isolation, and fault isolation. The failure, upgrade, or configuration change of a single device will not affect the normal operation of other devices in the cluster, greatly improving the system's reliability and maintainability. The containerized architecture has flexible deployment characteristics, can be adapted to industrial servers, edge computing platforms, or cloud environments, and supports dynamic scaling of the system according to business needs.

[0022] 2. Deployment of functional modules inside the container Each container deploys four types of core functional modules, which work together to complete the protocol conversion from 103 to 61850: The 103 protocol parsing module is responsible for communication with the physical 103 device and is compatible with parsing protocol variants from different mainstream manufacturers. This module implements message sending and receiving, verification, and frame splitting operations, and parses raw binary data such as remote signaling, telemetry, and event sequence records into internal data objects with semantic information such as timestamps and quality bits.

[0023] 61850 Data Model: Establishing a unified, vendor-independent internal data model. This 61850 data model serves as an intermediate layer in the conversion process, receiving structured data from the 103 parsing module and providing a standardized data format and semantic foundation for subsequent mapping to the IEC 61850 model.

[0024] Data Mapping Engine: As the core transformation algorithm of the system, it maps data points in the internal intermediate model to the corresponding data attributes (DA) in the virtual 61850 IED Server data model in real time and accurately, based on the mapping configuration table issued from the Web platform. The engine supports automatic mapping recommendations based on rules or machine learning, while also allowing manual adjustment of mapping rules and supporting rule reuse.

[0025] Virtual 61850 IED Server: Runs a complete MMS server compliant with the IEC 61850 standard within a container. This server is typically implemented based on open-source libraries such as libiec61850, loading a complete data model generated from ICD files and providing standard IEC 61850 services. These services include data model browsing and read / write services, report services (cached / uncached reports), control services with a select-execute-cancel mechanism, setpoint group management services, file services such as waveform file transfer, and log services. From the perspective of the SCADA client at the station control layer, this virtual 61850 IED Server is completely equivalent to a real 61850 device and can be directly accessed and data exchanged.

[0026] In a preferred embodiment, to improve the system's reliability under abnormal operating conditions, a heartbeat detection and cache retransmission mechanism is introduced. Periodic heartbeat communication is established between the virtual 61850 IED Server and the physical 103 device. When no heartbeat response is received for several consecutive cycles, the link is considered interrupted, and quality flags such as "communication lost" and "invalid" are added to the relevant data. For data update anomalies, a timeout criterion is set; if valid data is not received for a set period, it is automatically marked as old data. Simultaneously, a data cache queue is built within the container to locally cache key telemetry, teleindication, and SOE data. When communication is restored, data is retransmitted and supplemented according to the time sequence to ensure data integrity and timing consistency. The virtual 61850 IED Server reports data quality changes and communication status in real time through the Report Control Block (RCB), triggering alarm reports when necessary, thereby ensuring that the station control layer can accurately perceive the system's operating status and improving the overall system reliability and engineering applicability.

[0027] 3. Building a Web-based centralized configuration and management platform A graphical web user interface was built as the core management hub of the entire system, enabling unified management of all virtual 61850IED Servers and conversion rules. Core functions include: Model configuration: Supports importing, parsing, and editing standard ICD files, and automatically constructs hierarchical data models of IED, LD, LN, DO, and DA.

[0028] Mapping Management: Provides a visual operation interface for configuring the mapping relationship table between 103 data points and 61850 data attributes, and completing the distribution of the configuration table.

[0029] Status monitoring: Real-time monitoring of the running status, communication status, and data quality of all virtual 61850 IED Servers across the entire site, and timely feedback on device malfunctions.

[0030] Data browsing: Supports online browsing of real-time data, historical reports, and system logs of the virtual 61850 IED Server, facilitating operation and maintenance analysis.

[0031] Project Management: Unified management of ICD files, mapping configurations, and point table information for all devices, supporting batch distribution of configurations and version control.

[0032] This system, through the construction of a containerized virtual gateway system, achieves seamless integration between traditional power equipment and the modern 61850 standard station control layer system without modifying existing physical devices. The one-device-one-container deployment model ensures system stability and maintainability. Standardized protocol conversion and a unified web management platform significantly improve the digitalization and standardization level of the power automation system, reduce system upgrade and transformation costs, and provide flexible support for subsequent system expansion and operation and maintenance management. It should be noted that each substation typically has no more than 100 devices, and the memory consumption of virtualizing one device is 200M-300M; virtualizing one device is sufficient to meet the needs of a substation.

[0033] II. Key Technology Components 1. ICD Automatic Modeling and Analysis Technology ICD files, or IED capability description files, are standardized description files for IEC 61850 equipment models. This system supports importing standard ICD files provided by manufacturers, automatically parsing their internal structure, and identifying logic node (LN) types, including measurement unit logic nodes (MMXU), circuit breaker logic nodes (XCBR), and switch controller logic nodes (CSWI), etc. Simultaneously, it automatically constructs a complete engineering model from IED to data attribute (DA). This technology effectively reduces manual data entry workload, lowers the error rate, and ensures that the constructed engineering model maintains a high degree of consistency with the primary equipment structure, laying a standardized foundation for subsequent protocol conversion and data interaction.

[0034] 2. Virtual 61850 IED Server Technology Each container runs a lightweight MMS Server, implemented using open-source libraries such as libiec61850, enabling SCADA or testing systems to access all LN data and services. This virtual 61850 IED Server fully implements multiple standard functions, including standard list browsing, data value reading and writing, setpoint group management, report services, DataSet publishing, file services (including waveform recording), and control services. Its functionality is completely equivalent to a real IED; therefore, the station control layer system does not need to concern itself with its virtual attributes and can directly connect it as a standard 61850 device for seamless interaction.

[0035] 3. 103 message parsing and data semantic recovery technology 103 message parsing needs to handle various device types and manufacturer differences, with different mainstream manufacturers using different encoding methods. This system constructs a complete parsing framework that can efficiently parse various types of data, including remote signaling, telemetry, event sequence records, protection actions, and device alarms. It automatically maps the parsed data to an internal unified data model, restoring the data's timestamps, change flags, and additional attributes. It also supports the automatic acquisition of protection action waveforms. The internal data model is built based on a data object table, with a clear structure that facilitates subsequent conversion processing by the mapping engine.

[0036] It should be noted that, considering the differences in information body structure, address definition, and encoding methods among different manufacturers' IEC60870-5-103 protocols, this system constructs a layered parsing framework based on standard templates and manufacturer-adaptive plugins. The lower layer implements general message structure parsing, including ASDU type identification, information body splitting, and time stamp extraction. The upper layer, through an extensible manufacturer-adaptive rule base, performs secondary parsing on proprietary information body formats, scaling factors, and status codes, achieving the conversion of raw code values ​​to floating-point numbers with engineering units, and the unified mapping of single-point and double-point information to semantic tags such as combined / separated positions. The adaptation rules support configurable extension and online loading, automatically matching parsing strategies based on point table description information, thereby ensuring the accuracy and universality of data semantic recovery in multi-vendor environments.

[0037] 4. Mapping Engine Technology The mapping engine is the core of the system's intelligence, responsible for the accurate conversion from 103 data points to 61850 data attributes. Specifically, it has the following functions: Automatic Mapping Recommendation: The system has a built-in matching rule library based on IEC61850 logical node semantics. By parsing the keywords (such as current, voltage, switch status, etc.) and data types in the 103-point table description, it automatically matches them to the corresponding logical nodes and data attributes. For example, telemetry measurements are mapped to the corresponding measurement attributes of MMXU type nodes according to phase and physical quantity type, and switch quantities are mapped to the relevant status attributes of XCBR.Pos or CSWI. The 103-point table is a systematic and standardized registration of all valid data points on the physical 103 device, with each record corresponding to a unique 103 data point.

[0038] Manual adjustment and verification: Provides a web-based visual configuration interface, supports point-to-point drag-and-drop binding, rule verification and conflict prompts, and stores mapping relationships in standardized JSON or XML format, supporting templated export and reuse.

[0039] Rule Learning and Reuse: The system learns mapping patterns from a large number of historical engineering cases using machine learning models, continuously improving the accuracy of automatic matching. It employs a supervised learning-based classification model (such as decision trees or lightweight neural networks), with training data sourced from a historical engineering mapping case library. Model training and iterative optimization are performed by extracting name text features, data type features, and contextual semantic features, achieving automatic recommendation and continuous optimization of mapping relationships. Mature mapping rules can be exported and saved for reuse in engineering deployments on similar devices, significantly improving engineering implementation efficiency. The system supports batch configuration distribution (based on HTTP or MQTT protocols) and establishes a version management mechanism (version number and timestamp) to ensure traceability of configuration changes. Simultaneously, the virtual 61850 IED Server's operational status monitoring covers key indicators such as communication status, data update cycle, data quality indicators, and resource usage.

[0040] 5. Containerized isolation deployment technology Container technology enables rapid system deployment, elastic scaling, and unified operation and maintenance. Each virtual 61850 IEDServer runs independently in a dedicated container, achieving complete isolation of processes, networks, and file systems, effectively ensuring system security and operational stability. Combined with container orchestration tools such as Kubernetes, automated deployment, health checks, fault self-healing, and resource scheduling of the virtual 61850 IED Server cluster can be achieved, giving the system cloud-native agility and adaptability to different deployment environment requirements.

[0041] This embodiment can uniformly convert heterogeneous Physical 103 devices into the standard IEC61850 interface, effectively solving the information silo problem in power automation systems and achieving unified modeling and interoperability of equipment within the station. Simultaneously, it eliminates the need to replace or upgrade existing Physical 103 devices, maximizing the protection of existing investments and reducing the risks and costs of system transformation. Containerized isolation deployment ensures that devices do not interfere with each other, improving overall system reliability and facilitating independent upgrades and maintenance of individual devices. Furthermore, by combining a web platform with various key technologies, remote centralized configuration, monitoring, and management of all devices are achieved, significantly reducing operational complexity and improving operational efficiency. The system architecture supports horizontal scaling, easily connecting new devices, and its containerized nature allows for flexible deployment in various environments from the edge to the cloud, adapting to the application needs of different scenarios.

[0042] Example 2 Virtualization conversion process as follows Figure 2 As shown, virtualization transformation is a continuous, real-time data flow process that maps the data and behavior of the physical 103 device to the services of a virtual 61850 IED Server based on the standard IEC 61850 in real time and accurately. This process includes the following stages: 1. Importing ICD files and instantiating a virtual 61850 IED Server This phase is the static configuration phase, which aims to create a corresponding standardized virtual digital twin device for each physical 103 device.

[0043] Device documentation and model selection: Users create a profile for each 103 device on the web management platform and upload or select the standard ICD file corresponding to its function. The ICD file defines the complete data model and service capabilities of the virtual 61850 IED Server.

[0044] Model parsing and container orchestration: The system backend automatically parses the ICD file and constructs a data model template for the virtual 61850 IED Server. Subsequently, the platform creates a new, independent container Pod for the device through the container orchestration engine.

[0045] Virtual 61850 IED Server Startup: In the newly created Pod, a lightweight IEC61850 MMS server based on open-source libraries such as libiec61850 starts. The server loads the parsed data model and begins listening for MMS client connections from the station control layer on the specified IP address and port.

[0046] Service Publication and Discovery: At this point, a standard IEC 61850 device discovery process can be performed in the station control layer network to identify a new IED with a fully functional and service-ready model. From the perspective of the upper-layer system, it is indistinguishable from a real 61850 device.

[0047] 2.103 Real-time message parsing and internal data model generation This stage processes real-time data streams from physical devices and is the source of the transformation data.

[0048] Message reception: The system receives various messages sent by the physical 103 device in real time through serial port or network driver, including remote signaling changes, telemetry values, event sequence records, remote control confirmations, device alarms and waveform files, etc.

[0049] Semantic parsing and recovery: The parsing module decodes the original binary message according to a pre-defined vendor specification library. This process not only extracts numerical values ​​but, more importantly, performs semantic recovery, such as converting the original code values ​​into floating-point numbers with engineering units, mapping status points to semantic labels such as "combined" and "partial," supplementing SOE event sequence records with precise timestamps, and converting waveform files to a standard format. During semantic recovery, the system establishes a standard conversion model between the original code values ​​and engineering units. For telemetry, based on the proportional coefficient K and range parameters in the IEC 61850 specification, the linear conversion formula Y=K×X+B is used to convert integer code values ​​into floating-point numbers with engineering units (such as current, voltage, power, etc.), with relevant parameters provided by the point table or vendor configuration library. For status quantities, a unified semantic mapping table is constructed, mapping single-point and two-point information to standard status labels such as "partial / combined" and "normal / fault," respectively, and maintaining consistency with the stVal semantics in the IEC 61850 data model.

[0050] For SOE events, the system obtains a high-precision time reference through device clock synchronization (supporting SNTP or master station time synchronization), and performs millisecond-level timestamp completion and unified encoding by combining the timestamp within the message. For waveform recording data, the system parses the original waveform file and converts it into a CFG / DAT file format conforming to the COMTRADE standard, completing channel definition, sampling rate matching, and data reconstruction, thereby achieving compatibility with IEC61850 file services.

[0051] Internal model update: The parsed structured data is published to an internal data model pool within the container. Each data object in this pool has a precise timestamp, quality markers, and a complete semantic description, providing standardized input for subsequent mapping.

[0052] 3. The mapping engine performs real-time data transformation. The mapping engine performs real-time data transformation to achieve real-time mapping from 103 semantics to 61850 semantics. The 103 semantics and 61850 semantics are standardized data meanings and attribute description systems assigned to power data based on the IEC60870-5-103 protocol and the IEC61850 standard, respectively.

[0053] Change monitoring: The mapping engine continuously monitors the internal data model pool, and the engine is immediately triggered once the value or quality code of a data point changes.

[0054] Mapping Relationship Lookup: Based on the mapping configuration table issued by the Web platform, the engine finds the specific data attribute in the target virtual 61850 IED Server data model corresponding to the changed 103 data points. For example, the semantic 1 circuit breaker closed position is mapped to the XCBR1.Pos.stVal attribute.

[0055] Value written to Virtual 61850 IED Server: The engine writes the new value, timestamp, and quality code to the corresponding DA in the Virtual 61850 IED Server's memory.

[0056] Standard service trigger: After detecting a change in the DA value, the virtual 61850 IED Server automatically generates a standard IEC61850 cached or non-cached report according to its pre-configured reporting control block rules, and actively sends it to all subscribed station control layer clients via the MMS protocol. This completes one uplink data conversion and reporting process.

[0057] 4. Two-way command transmission The system also supports reverse control from the station control layer to physical devices, achieving complete interoperability. During downlink control, the virtual 61850 IED Server performs integrity and legality checks on the received IEC61850 control commands, including control mode (select-execute), object consistency, permission, and status precondition checks, ensuring that the commands conform to the standard control flow. During reverse conversion, the mapping engine converts the control commands into corresponding 103 remote control messages according to pre-configured rules, completing the frame structure assembly of ASDU type selection, information body address filling, and control bit encoding (such as selection / execute bits, opening / closing command flags). After the command is sent to the physical device, the system receives the returned acknowledgment or denial messages in real time, performs parsing and status matching, and feeds back the execution result (success, rejection, timeout, etc.) to the data model and reporting service of the virtual 61850 IED Server, ensuring that the station control layer can obtain the complete control closed-loop status.

[0058] Control command issuance: The station control layer MMS client issues a control command conforming to the IEC61850 standard to the virtual 61850 IED Server.

[0059] Command reception and forwarding: The virtual 61850 IED Server receives and verifies the command, and then notifies the mapping engine through the internal interface.

[0060] Reverse mapping and frame assembly: The mapping engine performs a reverse lookup to find the corresponding 103 remote control point number and the predefined remote control command frame format based on the control target DA.

[0061] 103 Command Execution: Based on this format, the 103 driver module assembles a complete series of 103 remote control selection and execution messages, which are then sent to the physical 103 device via serial port or network. After execution, the device returns an acknowledgment message, which is then fed back to the station control layer via the uplink path, forming a complete downlink control feedback.

[0062] Example 3 To ensure stable and efficient system operation, the hardware platform supporting this containerized virtual gateway cluster must meet the following technical requirements: 1. Computing resource requirements Processor: It is recommended to use a high-performance multi-core processor that supports virtualization technology (such as Intel Xeon series or equivalent ARMv9 architecture processor) to meet the computing needs of multiple containers running in parallel.

[0063] Memory: Memory configuration is crucial for supporting large-scale virtualization. According to tests, each container pod running a full 103 parsing and mapping engine and a 61850 server stack consumes approximately 200MB of memory. Based on a maximum design capacity of 100 nodes, the container cluster itself requires approximately 20GB of memory. In addition, resources must be reserved for the host operating system, database, web management platform, and system buffer. Therefore, a minimum of 48GB of ECC memory is recommended to ensure system stability and responsiveness under high load.

[0064] 2. Communication Interface Requirements To connect a large number of traditional 103 devices and modern station control layer networks, the hardware platform needs to have a rich set of communication interfaces.

[0065] Serial port: Must support at least 32 RS-232 / 485 serial ports for direct connection to protection and control devices of multiple physical 103 devices.

[0066] Ethernet: Must support at least 8 10 / 100 / 1000M adaptive Ethernet interfaces. Some of these are used for accessing the station control layer MMS network, while others can be used to connect devices using the Network 103 protocol (such as IEC60870-5-104) or for managing network separation.

[0067] 3. Other requirements Storage: Configure high-speed solid-state drives (SSDs) for storing the operating system, container images, ICD files, mapping configurations, runtime logs, and short-term historical data.

[0068] Reliability: It is recommended to adopt industrial-grade hardware design, support wide temperature range, dustproof, and electromagnetic interference resistance, and consider reliability enhancement solutions such as power redundancy and disk RAID to adapt to harsh industrial environments such as substations.

[0069] Virtualization support: The hardware BIOS needs to enable CPU virtualization technology (such as Intel VT-x / AMD-V) to efficiently support containerized runtime environments such as Docker.

[0070] Through the above process design and hardware configuration, this invention constructs a highly reliable, scalable, and standardized protocol conversion platform that can seamlessly integrate a large number of heterogeneous traditional 103 devices into the modern IEC61850-based smart substation architecture.

[0071] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.

Claims

1. A method for converting power system substation automation protocols based on Docker virtualization, characterized in that, The conversion from the IEC 60870-5-103 standard to the IEC 61850 standard includes the following steps: S1: For each physical IEC60870-5-103 compliant device in the power system, dynamically create and manage an independent runtime environment container for it in the container virtualization node cluster; S2: Deploy core functional modules within each independent runtime environment container. These core functional modules include at least: an I03 protocol parsing module, a 61850 data model, a data mapping engine, and a virtual 61850 IED Server; the virtual 61850 IED Server is a digital twin. S3: Receive the original message of the corresponding physical IEC60870-5-103 protocol device through the 103 protocol parsing module, and parse the original message to convert the remote signaling, telemetry, and event sequence record data into internal data objects with semantic information. S4: The data mapping engine maps internal data objects to the corresponding data attributes in the 61850 data model of the virtual 61850 IEDServer in real time according to the preset mapping configuration. S5: The virtual 61850 IED Server loads the standardized 61850 data model and provides an MMS server that conforms to the IEC61850 standard, enabling the station control layer to recognize the virtual 61850 IED Server as a standard 61850 device and perform data interaction.

2. The method for converting power system substation automation protocols based on Docker virtualization according to claim 1, characterized in that, Step S1 adopts a one-device-one-container deployment mode to achieve service isolation, resource isolation and fault isolation between the operating environment containers corresponding to the physical IEC60870-5-103 compliant device; the container virtualization node cluster, combined with container orchestration tools, realizes the automated deployment, health check and fault self-healing of the virtual 61850 IED Server cluster deployed on the container virtualization node cluster.

3. The method for converting power system substation automation protocols based on Docker virtualization according to claim 1, characterized in that, Before step S1, step S0 is also included: uploading or selecting the corresponding ICD file for the physical IEC60870-5-103 protocol device through the Web-based centralized configuration and management platform. The Web-based centralized configuration and management platform parses the ICD file, automatically identifies the logical node (LN) type of the measurement unit, circuit breaker, and switch controller, builds an engineering model, ensures that the engineering model is consistent with the primary equipment structure, drives the container orchestration engine to create the corresponding runtime environment container for the physical IEC60870-5-103 protocol device, and completes the instantiation of the virtual 61850 IED Server.

4. The power system substation automation protocol conversion method based on Docker virtualization according to claim 3, characterized in that, The web-based centralized configuration and management platform provides a visual interface for configuring and managing the mapping relationship table between 103 data points and 61850 data attributes. The platform also supports learning, exporting, and reusing mapping rules, and provides model configuration, status monitoring, data browsing, and project management functions.

5. The method for converting power system substation automation protocols based on Docker virtualization according to claim 1, characterized in that, In step S4, the data mapping engine continuously monitors the state changes of the 61850 data model. When it detects a change in the value or quality code of a data point, it immediately triggers a mapping operation, writes the changed data value, timestamp, and quality code into the corresponding data attribute in the virtual 61850 IED Server, and triggers the virtual 61850 IED Server to provide standard IEC61850 reporting services to the outside world.

6. The method for converting power system substation automation protocols based on Docker virtualization according to claim 1, characterized in that, It also includes the downlink control process: the station control layer client sends control commands to the virtual 61850 IED Server via the MMS protocol; after receiving and verifying the control commands, the virtual 61850 IED Server sends them to the data mapping engine, which performs a reverse lookup to convert the control commands into the corresponding IEC60870-5-103 protocol control messages and sends them to the corresponding physical IEC60870-5-103 protocol devices for execution.

7. The method for converting power system substation automation protocols based on Docker virtualization according to claim 1, characterized in that, The Virtual 61850 IED Server fully implements the services specified in the IEC 61850 standard, including at least: data model browsing and reading / writing services, reporting services, control services, setpoint group management services, file services, and log services.

8. The method for converting power system substation automation protocols based on Docker virtualization according to claim 1, characterized in that, In step S3, the 103 protocol parsing module is compatible with parsing IEC60870-5-103 protocol variants from different manufacturers. During the parsing process, it supplements internal data objects with timestamps, quality bits, and engineering unit semantic information. It also completes the conversion from raw code values ​​to floating-point numbers with engineering units, the mapping from status points to semantic tags, and the conversion from waveform files to standard formats. It automatically acquires protection action waveforms to achieve semantic data recovery. The data mapping engine supports automatic mapping recommendations between 103 data points and 61850 data attributes.

9. A power system substation automation protocol conversion device, characterized in that, The system includes a hardware platform and a software system deployed on the hardware platform. The hardware platform is an industrial-grade hardware platform, including a multi-core processor supporting CPU virtualization technology, ECC memory, serial ports, and Ethernet interfaces. The virtual IEC61850 IED Server formed by the software system has a consistent data model and service interface with the real IEC61850 equipment. The software system is used to run a container virtualization node cluster and a web-based centralized configuration and management platform to execute the power system substation automation protocol conversion method based on Docker virtualization as described in any one of claims 1-8.

10. The power system substation automation protocol conversion equipment according to claim 9, characterized in that, The hardware platform is equipped with a high-speed solid-state drive (SSD). The SSD categorizes and stores data, and standardizes short-term historical data for storage. It stores container images, ICD / SCD files, mapping configuration information, device operation logs, and short-term historical data. The software system also includes a database storage module and a virtual 61850 IED Server mapping management service module. The database storage module stores the configuration information of the virtual 61850 IED Server, the mapping relationship between 103 data points and 61850 data attributes, and device operating status information. The virtual 61850 IED Server mapping management service module establishes a bidirectional data interaction link with the web-based centralized configuration and management platform, container orchestration tools, ICD / SCD file parsing module, and database storage module.