Methods, systems, devices, and media for mapping packets to deterministic network services

By extracting dataset information from the report control block, calculating message length and transmission delay, and establishing mapping relationships, the business messages of the substation automation system are efficiently mapped to deterministic network services. This solves the problems of network transmission delay uncertainty and equipment fault coupling in the substation automation system, and achieves deterministic transmission and efficient mapping.

CN116248602BActive Publication Date: 2026-02-10CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD +2
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310213033.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-06
Publication Date
2026-02-10
Estimated Expiration
2043-03-06

AI Technical Summary

Technical Problem

In the existing technology, the network transmission of substation automation systems suffers from latency uncertainty and equipment fault coupling problems, which leads to a decline in control and protection performance. There is a lack of an automatic and efficient mapping method for IEC61850 service data messages to deterministic network services.

Method used

By extracting dataset information from the report control block, calculating message length and maximum transmission and forwarding delay, establishing a mapping relationship between messages and time-sensitive network transmission priorities, and mapping messages to CQF services, efficient mapping of deterministic network services is achieved.

Benefits of technology

It enables deterministic transmission of time-sensitive data such as SV and GOOSE in substation automation systems and maximizes the transmission of large-capacity non-real-time data, simplifying operation procedures and improving the determinism and efficiency of network transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116248602B_ABST
    Figure CN116248602B_ABST
Patent Text Reader

Abstract

The application discloses a method, system, device and medium for mapping a message to a deterministic network service, comprising: extracting dataset information from a report control block, calculating the length of a message corresponding to the dataset according to a key field in the name of the report control block and the dataset information; obtaining attribute parameters of the report control block, calculating the maximum transmission forwarding delay Td of the message in the end-to-end transmission in the network according to the attribute parameters of the report control block and the length of the message, and mapping the message transmission to a CQF service according to the maximum transmission forwarding delay Td. The method, system, device and medium can automatically and efficiently map a power transformation automation service message to a deterministic network.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the technical field of electric power automation system, and relates to a method, system, device and medium for mapping messages to deterministic network services. BACKGROUND

[0002] The substation network is a kind of local area network with high reliability and real-time performance, and is the basis for efficient, safe and reliable operation of the automation system. At present, the domestic substation automation system is constructed based on the IEC 61850 standard, and the SCD (Substation Configuration Description) / ICD (IED Configuration Description) model file realizes comprehensive modeling and description of the substation information model and communication services. In terms of communication services, the automation service messages are mainly transmitted through the manufacturing message specification MMS (Manufacturing Message Specification), the generic object oriented substation GOOSE (Generic Object Oriented Substation Event) and the sampled value SV (Sampled Values) protocol. In terms of network architecture, the substation automation system mainly adopts a three-layer two-network architecture, that is, a three-layer device including a station control layer, a bay layer and a process layer, and a two-layer Ethernet network composed of the station control layer and the process layer. Due to the flexibility of device networking, there are also more researches and pilots on the three-layer one-network architecture. In recent years, due to the uncertainty of network data transmission delay and the coupling of device faults, the network architecture of station control layer networking and point-to-point direct connection of bay layer devices and process layer devices is also adopted, but this method also has the problems of too many device network interfaces and complex connection.

[0003] IEC 61850-5 gives the transmission delay requirements of various types of service messages of substation automation, in which the transmission delay of trip and lockout messages (TT6) is required to be less than 3 ms, and the switching delay of the switch is required to be less than 10 μs. IEC 61850 has become a reference standard for substation automation systems (SAS) in smart grids. The current IEC 61850-compliant SAS uses Ethernet technology to transmit highly critical messages that require low delay guarantees for event-triggered (ET) and time-triggered (TT) traffic. However, real-time guarantees are usually achieved by over-provisioning network resources.

[0004] Deterministic network technology is the development direction of the new generation of network communication system. Deterministic network is a new technology that provides end-to-end deterministic quality of service guarantee for multiple services based on Ethernet. It is proposed to solve the high-reliability network demand of low packet loss and low latency. Deterministic network has the characteristics of bounded delay, low bounded jitter, zero congestion loss, and fusion network architecture. The transmission period can reach 10 μs, the time synchronization accuracy is less than 100 ns, and the gate scheduling accuracy can reach 1 μs. At present, deterministic network has been effectively used in audio and video transmission, industrial Internet of Things, Internet of Vehicles and other fields, and it is actively concerned at home and abroad. In 2021, IEC released the deterministic network technology report (IEC 61850-90-13), which specially studies the deterministic network technology, including the characteristics of deterministic network, the changes of deterministic network application to substation network design and facilities, network tools, IED hardware and application functions.

[0005] Deterministic network technology can provide low latency, low jitter and zero packet loss deterministic transmission service. Time sensitive network mainly works in data link layer, and its advantage is to establish a general standard for data deterministic transmission in fusion network, so that the development of new technology has a clear direction, which is conducive to improving the compatibility of various Ethernet technology solutions. At present, TSN products are gradually emerging, such as TSN standard protocol supporting test bed, switch chip, etc.

[0006] In order to solve the above problems, time sensitive network emerges as the times require. In 2006, IEEE802.1 working group established audio video bridging (AVB) working group, which is mainly committed to solving the problems of time synchronization, low delay and bandwidth reservation in audio and video transmission field. AVB requires that the delay of data transmission is not more than 2 ms within 7 hops. The related research of audio video bridging technology provides basic support for the development of TSN. In fact, the predecessor of TSN technology is AVB technology. However, due to its limited technical content and relatively single application scene, AVB is difficult to meet the data transmission demand in different scenes. IEEE improves AVB and expands its vision to various industrial control systems, and establishes TSN working group in 2012. TSN is the supplement and enhancement of IEEE802.1 standard, which tries to regulate the general deterministic transmission mechanism. Figure 1The document lists the officially released TSN-related standards. TSN is used in complex, large-scale networks with limited bandwidth and multiple nodes, where various types of traffic with different QoS requirements can be generated and transmitted simultaneously. For example, the IEC / IEEE 60802 TSN industrial automation configuration file specifies that for synchronous traffic, the maximum packet length is 100 bytes, and the end-to-end latency should not exceed 2ms; for cyclic traffic, the maximum packet length is 1000 bytes, and the latency is between 2 and 20ms. The latest standard, IEEE Std802.1Qcp-2018, was released by IEEE in 2018, primarily adding support for Young's data model. Standardization work on Time-Sensitive Networking (TSN) is still ongoing. Figure 2 The document lists the standards that are currently under revision.

[0007] There are four main traffic scheduling methods in TSN: credit-based shaping, time-aware shaping, periodic queuing and forwarding, and frame preemption. Credit-based shaping (CBS) was initially used to buffer the data stream during real-time audio and video signal transmission over Ethernet, resolving packet loss caused by buffer congestion due to sudden multimedia data streams. To meet the stringent latency and deterministic transmission requirements of real-time systems, TSN defined the Time Awareness Shaper (TAS) in the IEEE 802.1Qbv standard, aiming to provide better real-time transmission for time-sensitive streams. Different channels are allocated for different types of traffic at the switching node port. Within a specific time slice, only one or a few designated channels are opened, allowing the time-sensitive stream on that channel to transmit. This ensures that interference from other types of traffic to time-sensitive traffic is isolated in the time dimension, guaranteeing the timeliness of time-sensitive stream transmission.

[0008] While TAS can guarantee the immediate transmission of time-sensitive streams, this requires that the stream be located at the entrance of the gating channel within the permitted transmission window. If the time-sensitive stream misses the gating window due to transmission path delays, switching equipment processing delays, or other reasons, the signal will either wait, be discarded, or be postponed to the next GCL time cycle. For example, if the GCL gating window for a time-sensitive signal is 100μs and the GCL is 1ms, and the signal misses the gating window, it can only be transmitted after 1ms. To address the deterministic nature of real-time signal transmission, the TSN working group developed the IEEE 802.1Qch protocol, which promotes the Periodic Queuing and Forwarding (CQF) mechanism (also known as a creeping shaper), featuring frame synchronous enqueueing and dequeueing.

[0009] In the TAS mechanism, guard slots are typically set to protect time-sensitive flows from interference. However, the existence of guard slots consumes network bandwidth. Therefore, TSN's 802.1Qbu and IEEE 802.3br jointly agreed on a frame preemption mechanism. The frame preemption mechanism allows users to interrupt the transmission of low-priority data one or more times with higher-priority data. After the high-priority data is transmitted, the low-priority data resumes transmission. Before frame preemption, data frames are divided into high-speed frames and low-speed frames based on their latency sensitivity. Latency-sensitive frames are called high-speed frames (Express), and the remaining frames are called low-speed frames (Preemptable), also known as preemptible frames. The pMAC layer transmits high-speed frames, and the eMAC layer transmits low-speed frames, with eMAC having higher priority than pMAC. If a high-speed frame arrives during pMAC transmission, pMAC is preempted by eMAC, and the uncompleted low-speed frame waits in the data stack for eMAC data transmission to complete before being transmitted. Frame preemption occurs in the MAC aggregation sublayer, specifically executing the slicing operation, slice restoration, and verification functions of frame preemption. This is part of the flow control standard for time-sensitive network services. To address the deterministic nature of real-time signal transmission, the TSN working group developed the IEEE 802.1Qch protocol, promoting the Periodic Queuing and Forwarding (CQF) mechanism (also known as a creeping shaper), which features synchronized frame enqueueing and dequeueing. To support deterministic switching, CQF combines the flow gate control mechanism defined in 802.1Qci's PSFP (Per-Stream Filtering and Policing) with the queue flow scheduling mechanism defined in 802.1Qbv. PSFP directs received data frames to one of a pair of outbound queues according to a certain cycle period. Queue flow scheduling ensures that data frames are transmitted from the appropriate queue using the same cycle period.

[0010] General Ethernet, lacking mechanisms such as bandwidth reservation and traffic scheduling, cannot provide strictly real-time transmission services. To control transmission latency within a certain range, the maximum data traffic is typically designed at around 40% of the network bandwidth, resulting in low bandwidth utilization. Message transmission relies on collision detection mechanisms and lacks deterministic control mechanisms; when individual nodes fail, the transmission latency of messages to other nodes cannot be guaranteed. Under power grid disturbances, sudden network traffic will exacerbate transmission latency jitter, affecting the transmission of interlocking and tripping signals, and causing a decline in control and protection performance.

[0011] 802.1q is not actually encapsulated in the original frame. Instead, in the Ethernet frame format, a 32-bit field is added to the original frame containing the MAC address source and Ethernet type / length. The VLAN tag field must conform to the format shown in Table 1.

[0012] Table 1

[0013] 16 bits 3 bits 1 bit 12 bits TPID PCP CFI VID

[0014] Tag Protocol Identifier (TPID): A 16-bit field with a value set to 0x8100, used to identify an IEEE 802.1q frame as "tagged". The location of this field is the same as the field of the Ethernet format / length of the untagged frame, which is used to distinguish untagged frames.

[0015] Priority Code Point (PCP): A set of 3-bit fields serves as a reference for IEEE 802.1p priorities, ranging from 0 (lowest) to 7 (highest), used to prioritize the transmission of data streams (audio, video, files, etc.).

[0016] Canonical Format Indicator (CFI): A 1-bit field. A value of 1 indicates a non-standard MAC address format; a value of 0 indicates a standard format. In Ethernet switches, it is typically set to 0 by default. In both Ethernet and Token Ring, the CFI is used for compatibility. If a frame receives data at the Ethernet end, the CFI value must be set to 1, and this port cannot be bridged to other untagged ports.

[0017] VLAN Identifier (VID): A 12-bit field used to specifically identify which VLAN a frame belongs to. A value of 0 indicates that the frame does not belong to any VLAN; in this case, the 802.1q tag represents priority. The 12-bit values ​​0x000 and 0xFFF are reserved; other values ​​can be used as identifiers for a total of 4094 VLANs. On the bridge, VLAN 1 is reserved for management purposes. This 12-bit field can be divided into two 6-bit fields to extend the 48-bit address for the destination and source. An 18-bit triple-tagging can be added to the original 48 bits to form a 66-bit address.

[0018] In summary, deterministic networking technology (time-sensitive network services) can effectively solve the shortcomings of general Ethernet in terms of latency and jitter when transmitting substation automation business data, but it lacks an automatic and efficient method for mapping IEC61850 business data packets to deterministic network services. Summary of the Invention

[0019] The purpose of this invention is to overcome the shortcomings of the prior art and provide a method, system, device and medium for mapping messages to deterministic network services. This method, system, device and medium can automatically and efficiently map substation automation service messages to a deterministic network.

[0020] To achieve the above objectives, the present invention adopts the following technical solution:

[0021] In one aspect, the present invention provides a method for mapping messages to deterministic network services, comprising:

[0022] Extract dataset information from the report control block, and calculate the message length corresponding to the dataset based on the key fields in the name of the report control block and the dataset information;

[0023] Obtain the attribute parameters of the report control block, calculate the maximum transmission and forwarding delay Td of the message between end-to-end in the network based on the attribute parameters of the report control block and the message length, and map the message transmission to the CQF service based on the maximum transmission and forwarding delay Td.

[0024] A further improvement of the method for mapping messages to deterministic network services described in this invention is that:

[0025] After mapping the message transmission to the CQF service according to the maximum transmission forwarding delay Td, the method further includes: establishing a mapping relationship between the message and the time-sensitive network transmission priority.

[0026] The specific operation of calculating the message length corresponding to the dataset based on the key fields in the name of the report control block and the dataset information is as follows:

[0027] Determine the type of the reporting control module based on the key fields in the name of the reporting control block;

[0028] The message length is calculated based on the type of the report control module and the dataset information.

[0029] The specific process of calculating the maximum transmission and forwarding delay Td of the packet between end-to-end within the network based on the attribute parameters of the report control block and the packet length is as follows:

[0030] Based on the attribute parameters of the report control block and the message length, calculate the data traffic and transmission time of the smart electronic device port;

[0031] Based on the data traffic and transmission time of the port of the intelligent electronic device, calculate the maximum transmission and forwarding delay Td of the message between end-to-end in the network.

[0032] The specific operation of calculating the maximum transmission and forwarding delay Td of the message between end-to-end in the network based on the data traffic and transmission time of the intelligent electronic device port is as follows:

[0033] Calculate the number of network nodes n through which the message passes during transmission;

[0034] The transmission delay constraint Tmax of the message is determined based on the data traffic and transmission time of the port of the intelligent electronic device;

[0035] Calculate the maximum transmission and forwarding delay Td = Tmax / (n+1) for the message to be transmitted between end-to-end within the network.

[0036] The data traffic of the smart electronic device port includes the minimum and maximum traffic of the smart electronic device port.

[0037] The transmission time of the intelligent electronic device port includes the maximum and minimum transmission delay of a single frame message of the intelligent electronic device port.

[0038] In a second aspect, the present invention provides a system for mapping messages to deterministic network services, comprising:

[0039] The calculation module is used to extract information of the report control block from the SCD file, extract dataset information from the report control block, and calculate the message length corresponding to the dataset based on the key fields in the report control block name and the dataset information.

[0040] The mapping module is used to obtain the attribute parameters of the report control block, calculate the maximum transmission and forwarding delay Td of each network node in the network based on the attribute parameters of the report control block and the report length, and map the packet transmission to the CQF service based on the maximum transmission and forwarding delay Td.

[0041] In three aspects, the present invention provides a computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of a method for mapping a message to a deterministic network service.

[0042] In four aspects, the present invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of a method for mapping a message to a deterministic network service.

[0043] The present invention has the following beneficial effects:

[0044] In practical operation, the method, system, device, and medium for mapping messages to deterministic network services described in this invention extract dataset information from the report control module, calculate the message length corresponding to the dataset based on the key fields in the name of the report control module, and calculate the maximum transmission and forwarding delay Td of the message between end-to-end in the network. This maximizes the deterministic transmission of time-sensitive data such as SV and GOOSE and the transmission of large-capacity non-real-time data in the substation automation system network. Then, based on the maximum transmission and forwarding delay Td, the message transmission is mapped to the CQF service, realizing the mapping of substation automation business messages to deterministic network services. The operation is simple, convenient, and highly practical. Attached Figure Description

[0045] The accompanying drawings, which form part of this specification, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an undue limitation of the invention. In the drawings:

[0046] Figure 1 A schematic diagram of Time-Sensitive Networking (TSN) related standards;

[0047] Figure 2 A diagram illustrating ongoing time-sensitive network services.

[0048] Figure 3 This is a flowchart of the present invention;

[0049] Figure 4 This is a typical network structure diagram of the substation automation system in Example 2;

[0050] Figure 5 This is a system structure diagram of the present invention. Detailed Implementation

[0051] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0052] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0053] The present invention will now be described in further detail with reference to the accompanying drawings:

[0054] In practical operation, the method for mapping messages to deterministic network services described in this invention configures various service report control blocks, dataset attribute characteristics, and transmission link topology relationships according to the substation SCD model. Based on the requirements of MMS (CMS), GOOSE, SV message classification, traffic, and real-time performance, it configures corresponding transmission priorities and traffic scheduling strategies for service messages, supporting time-sensitive network services and service quality customization for network terminal devices and node devices.

[0055] Example 1

[0056] The method for mapping messages to deterministic network services according to the present invention includes:

[0057] Extract dataset information from the report control block, and calculate the message length corresponding to the dataset based on the key fields in the name of the report control block and the dataset information;

[0058] Obtain the attribute parameters of the report control block, calculate the maximum transmission and forwarding delay Td of the message between end-to-end in the network based on the attribute parameters of the report control block and the message length, and map the message transmission to the CQF service based on the maximum transmission and forwarding delay Td.

[0059] It should be noted that this invention enables the deterministic transmission of time-sensitive data such as SV and GOOSE and the transmission of large-capacity non-real-time data in the substation automation system network to the maximum extent, realizing the mapping of substation automation business messages to deterministic network services.

[0060] Additionally, it should be noted that the Report Control Block (RCB) is a data model defined by the DL / T 860 (IEC 61850) standard for control parameters of reporting (specific business messages), and mainly includes the following attribute parameters:

[0061] a) Report identifier;

[0062] b) Report title;

[0063] c) The version number of the report configuration;

[0064] d) The corresponding dataset name;

[0065] e) Cache flags, where "1" represents the cache report control block, and "no" represents no cache;

[0066] f) Cache time;

[0067] g) Integrity cycle;

[0068] h) Description.

[0069] DL / T 860 defines non-cached reporting services, cached reporting services, general event reporting (GOOSE) services, and sampled value reporting (SV) services. The key fields of the instance object name of the corresponding report control block are urcb, brcb, gocb, and svcb, respectively. The report receiver (client) and sender (server) implement report subscription and publication based on the read and write access of the above-mentioned report control block instance object attribute parameters.

[0070] Example 2

[0071] refer to Figure 3 The method for mapping messages to deterministic network services according to the present invention includes the following steps:

[0072] 1) Extract the name information of Intelligent Electronic Devices (IEDs) and their Logic Devices (LDs) from the SCD file (system configuration file). Determine the service type of the Logic Device based on the key fields contained in its name information. According to Q / GDW 1396, the key fields, corresponding service types, and type codes in the LD's name information are shown in Table 2:

[0073] Table 2

[0074] Type code Service type of logical device Key field Type of transmission message 1 Public LD0 MMS 2 Measurement MEAS MMS 3 Protection PROT MMS 4 Control CTRL MMS 5 GOOSE process layer access point PIGO GOOSE 6 SV process layer access point PISV GOOSE 7 Intelligent terminal RPIT GOOSE / MMS 8 Recording RCD MMS 9 Merging unit GOOSE access point MUGO GOOSE 10 Merging unit SV access point MUSV GOOSE

[0075] 2) Extract the name information of the report control block from the SCD file. Classify the report control blocks according to the key fields contained in the name "inst" to obtain the type of the report control block. The key fields in the name of the report control block, the corresponding message type, and the type code are shown in Table 3:

[0076] Table 3

[0077] Type code Type of reporting control block Key field Type of transmission message 1 Buffered reporting control block brcb MMS 2 Unbuffered reporting control block urcb MMS 3 GOOSE control block gocb GOOSE 4 Sampled value reporting control block svcb SV

[0078] 3) Extract the associated dataset information from the report control block. The dataset information includes the dataset members and their attributes. Calculate the message length corresponding to the dataset based on the report control block type and the dataset information. Identify the dataset name prefix as "ds". The name and type code are shown in Table 4.

[0079] Table 4

[0080] Type code Type of data set Key field 1 Telemetering dsAin 2 Telesignaling dsDin 3 Protection event dsTripInfo 4 Protection telesignaling dsRelayDin 5 Protection relay dsRelayEna 6 Protection recording dsRelayRec 7 Protection telemetering dsRelayAin 8 Fault signal dsAlarm 9 Alarm signal dsWarning 10 Communication state dsCommState 11 Device parameter dsParameter 12 Interlock state dsInterLock 13 GOOSE output signal dsGOOSE 14 Sampled output value dsSV 15 Log record dsLog

[0081] 4) Based on the attribute parameters of the Report Control Block (RCB) and the length of the corresponding message in the dataset, calculate the data traffic and transmission time of the smart electronic device port according to the triggering types of time-triggered and event-triggered MMS, GOOSE, and SV messages. The data traffic includes the minimum and maximum traffic, and the transmission time includes the maximum and minimum transmission delay of a single frame message. The typical attribute parameters of the Report Control Block (RCB) used for calculation are shown in Table 5.

[0082] Table 5

[0083]

[0084]

[0085] 5) SV messages are typical time-triggered messages. SV message transmission is mapped to Time Awareness (TAS) traffic service. The time slot guard band length is set to the transmission time of the longest SV message transmitted or forwarded by the same intelligent electronic device port as calculated in step 4), so that its transmission is not affected by GOOSE. SV messages are marked as high-speed frames (Express) as defined by IEEE 802.1Qbu / 802.3Qbr, so that SV messages cannot be preempted. The settings are converted into IED port transmission and switch forwarding traffic scheduling policy parameters, and the queuing delay of SV messages is zero under network time synchronization.

[0086] 6) GOOSE messages have both time-triggered and event-triggered characteristics. As a time-triggered heartbeat message, the transmission interval T0 is on the order of seconds, and the requirements for latency and jitter are not high. However, during the triggering phase, millisecond-level low-latency transmission is required. Therefore, GOOSE messages are marked as high-speed frames (Express) as defined by IEEE 802.1Qbu / 802.3Qbr, allowing them to preempt low-speed frames (Preemptable) and achieve priority transmission.

[0087] 7) Based on the GOOSE and SV access points “ConnectedAP”, “MAC-Address”, and “VLAN-ID”, calculate the number of nodes n through which SV and GOOSE packets pass. Based on the transmission delay constraint Tmax of each type of packet in IEC61850, calculate the maximum transmission and forwarding delay Td = Tmax / (n+1) of each network node, and use it as the periodic queuing and forwarding (CQF) service parameter of the passing switches. Map the transmission of GOOSE and SV packets to the CQF service (deterministic network service) to achieve bounded delay transmission of packets in the case of network time synchronization failure.

[0088] Table 6

[0089] Transmission time level Maximum delay (Tmax) Application example Message type PCP priority TTO >1000 ms File, log MMS 0 TT1 1000 ms Event, alarm MMS 1 TT2 500 ms Operation instruction MMS 2 TT3 100 ms State change MMS / GOOSE 3 TT4 10 ms Synchronized phasor MMS / GB26865.2 4 TT5 3 ms Protection tripping, interlock GOOSE 1A / 1B 5 TT6 1 ms Sampled value message SV 6 TT7 100 ns Time synchronization message IEEE802.1AS 7

[0090] 8) Establish the mapping relationship between MMS messages, SV messages, GOOSE messages, and synchronization phasor messages and Time-Sensitive Network Transmission Priority (PCP) according to Table 6. Specifically, file, event, and log MMS messages (TT0) are mapped to time-sensitive network service transmissions with PCP priority of 0; event and alarm MMS messages (TT1) are mapped to time-sensitive network service transmissions with PCP priority of 1; operation command MMS messages (TT2) are mapped to time-sensitive network service transmissions with priority of 2; slow automation coordination MMS messages (TT3) are mapped to time-sensitive network service transmissions with priority of 3; synchronization phasor messages (TT4) are mapped to time-sensitive network service transmissions with priority of 4; protection trip and interlocking GOOSE messages (TT5) are mapped to time-sensitive network service transmissions with priority of 5; and sampled value messages (TT6) have a PCP priority of 6. The PCP priority of IEEE 802.1AS network time synchronization messages is 7.

[0091] Example 3

[0092] like Figure 4 The substation automation system shown adopts a three-layer, two-network structure, with separate networks for the process layer and the station control layer. The process layer network mainly transmits sampled value (SV) messages and trip / blocking (GOOSE) messages, and each area is bridged through switches. The station control layer network includes areas connected by switches and mainly transmits MMS / GOOSE messages. The mapping process between the substation business message transmission and time-sensitive network services is as follows:

[0093] 1) Extract the name information of the logical device (LD) contained in the intelligent electronic device (IED) from the SCD file. Based on the key fields contained in the instance name of the LD, determine the service type of the LD and the type of its corresponding transmission message according to, but not limited to, the Q / GDW 1396 "IEC 61850 Engineering Relay Protection Application Model" standard, as shown in Table 1.

[0094] 2) Extract the information of the report control block from the SCD file, and determine the type of the report control block and the corresponding message type based on the key fields contained in the instance name "inst" of the report control block, including: gocb, smvcb, brcb and ubcb.

[0095] 3) Extract the associated dataset information from the report control block instance. Calculate the length of the business message based on the report control block type, dataset members, and their triggering attributes. Identify the keyword as the prefix "ds" based on the Q / GDW1396 (but not limited to) dataset. The business message length is calculated based on the MMS, GOOSE, and SV message headers and the content of the application data. For application data content with variable length, calculate the maximum and minimum message lengths.

[0096] 4) Based on the message length and the parameters of the report triggering and transmission control, including but not limited to smpRate (sampling frequency), nofASDU (number of ASDUs per frame), MinTime (shortest retransmission interval), MaxTime (heartbeat interval), IntgPd (refresh cycle), etc., calculate the minimum flow, maximum flow, maximum transmission delay and minimum transmission delay of MMS, GOOSE and SV messages on the port and transmission path.

[0097] 5) SV is a time-triggered message. The SV message transmission is mapped to the Time-Aware (TAS) traffic service. The time slot guard band length is set to the transmission delay of the longest SV message transmitted or forwarded on the same port as calculated in step 4). The SV message is marked as a high-speed frame (Express) as defined by IEEE 802.1Qbu / 802.3Qbr, so that the SV message cannot be preempted and the queuing delay of the SV message under network time synchronization conditions is zero. The parameters are used for the traffic scheduling policy configuration of IED port transmission and switch forwarding.

[0098] 6) Based on the time-triggered and event-triggered characteristics of GOOSE messages, as time-triggered heartbeat messages, the transmission interval T0 is on the order of seconds; during the event-triggered phase, GOOSE messages are marked as high-speed frames (Express) as defined by IEEE 802.1Qbu / 802.3Qbr, so that they can preempt low-speed frames (Preemptable) and achieve priority transmission.

[0099] 7) To achieve bounded delay transmission of messages in the event of network time synchronization failure, GOOSE and SV message transmissions are mapped to the CQF (IEEE 802.1Qch) service. Based on the "MAC-Address" and "VLAN-ID" under the "ConnectedAP" access point for GOOSE and SV, the number of nodes n traversed by the transmission of SV and GOOSE messages is calculated. According to the message transmission delay constraint Tmax, the maximum transmission and forwarding delay Td = Tmax / (n+1) of each network node is calculated and used for the periodic queuing and forwarding (CQF) service parameter settings of the switches along the route.

[0100] 8) Based on the IEEE 802.1AS time synchronization message with a transmission priority of 7, to ensure that the SV message transmission is not preempted by the GOOSE message, the transmission priority of the SV message is set to 6, the transmission priority of the GOOSE 1A / 1B message for tripping / locking instructions is set to 5, and other automation service messages are set to priorities of 0 to 4. At the message source end, the "PCP" field of the 802.1q Ethernet frame is set to this priority.

[0101] Example 4

[0102] refer to Figure 5 The system for mapping messages to deterministic network services according to the present invention includes:

[0103] The first calculation module 1 is used to extract dataset information from the report control block and calculate the message length corresponding to the dataset based on the key fields in the name of the report control block and the dataset information.

[0104] The first mapping module 2 is used to obtain the attribute parameters of the report control block, calculate the maximum transmission and forwarding delay Td of the message between end-to-end in the network based on the attribute parameters of the report control block and the message length, and map the message transmission to the CQF service based on the maximum transmission and forwarding delay Td.

[0105] The second mapping module 3 is used to establish a mapping relationship between messages and time-sensitive network transmission priorities.

[0106] The first computing module 1 includes:

[0107] The first determining module 11 is used to determine the type of the report control module based on the key fields in the name of the report control block;

[0108] The second calculation module 12 is used to calculate the message length based on the type of the report control module and the dataset information.

[0109] The first mapping module 2 includes:

[0110] The third calculation module 21 is used to obtain the attribute parameters of the report control block, and calculate the data traffic and transmission time of the smart electronic device port based on the attribute parameters of the report control block and the message length.

[0111] The fourth calculation module 22 is used to calculate the maximum transmission and forwarding delay Td of the message between end-to-end in the network based on the data traffic and transmission time of the port of the intelligent electronic device.

[0112] The fourth computing module 22 includes:

[0113] The fifth calculation module 221 is used to calculate the number of network nodes n through which the message is transmitted;

[0114] The second determining module 222 is used to determine the transmission delay constraint Tmax of the message based on the data flow and transmission time of the port of the smart electronic device;

[0115] The sixth calculation module 223 is used to calculate the maximum transmission and forwarding delay Td = Tmax / (n+1) of the message being transmitted between end-to-end within the network.

[0116] Example 5

[0117] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the steps of a method for mapping a message to a deterministic network service.

[0118] The memory may include main memory, such as high-speed random access memory (RAM), or non-volatile memory, such as at least one disk storage device. The processor, network interface, and memory are interconnected via an internal bus, which may be an industry-standard architecture bus, a peripheral component interconnection standard bus, or an extended industry-standard architecture bus. The bus can be categorized as an address bus, data bus, or control bus. The memory stores programs; specifically, the program may include program code, which includes computer operation instructions. The memory may include main memory and non-volatile memory, and provides instructions and data to the processor.

[0119] Example 6

[0120] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of a method for mapping a message to a deterministic network service.

[0121] Specifically, the computer-readable storage medium includes, but is not limited to, volatile memory and / or non-volatile memory. The volatile memory may include random access memory (RAM) and / or cache memory, etc. The non-volatile memory may include read-only memory (ROM), hard disk, flash memory, optical disk, magnetic disk, etc.

[0122] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0123] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0124] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0125] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0126] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the specific implementation of the present invention. Any modifications or equivalent substitutions that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for mapping messages to deterministic network services, characterized in that, include: Extract dataset information from the report control block, and calculate the message length corresponding to the dataset based on the key fields in the name of the report control block and the dataset information; Obtain the attribute parameters of the report control block, calculate the maximum transmission and forwarding delay Td of the message between end-to-end in the network based on the attribute parameters and the message length, and map the message transmission to the CQF service based on the maximum transmission and forwarding delay Td.

2. The method for mapping messages to deterministic network services according to claim 1, characterized in that, After mapping the message transmission to the CQF service based on the maximum transmission forwarding delay Td, the method further includes: establishing a mapping relationship between the message and the time-sensitive network transmission priority.

3. The method for mapping messages to deterministic network services according to claim 1, characterized in that, The specific operation of calculating the message length corresponding to the dataset based on the key fields in the name of the report control block and the dataset information is as follows: Determine the type of the report control block based on the key fields in its name; The message length is calculated based on the type of the report control block and the dataset information.

4. The method for mapping messages to deterministic network services according to claim 1, characterized in that, The specific process of calculating the maximum transmission and forwarding delay Td of the packet between end-to-end within the network based on the attribute parameters and the packet length is as follows: Based on the attribute parameters of the report control block and the message length, calculate the data traffic and transmission time of the smart electronic device port; Based on the data traffic and transmission time of the port of the intelligent electronic device, calculate the maximum transmission and forwarding delay Td of the message between end-to-end in the network.

5. The method for mapping messages to deterministic network services according to claim 4, characterized in that, The specific operation of calculating the maximum transmission and forwarding delay Td of the message between end-to-end in the network based on the data traffic and transmission time of the intelligent electronic device port is as follows: Calculate the number of network nodes n through which the message passes during transmission; The transmission delay constraint Tmax of the message is determined based on the data traffic and transmission time of the port of the intelligent electronic device; Calculate the maximum transmission and forwarding delay Td = Tmax / (n+1) for the message to be transmitted between end-to-end within the network.

6. The method for mapping messages to deterministic network services according to claim 4, characterized in that, The data traffic of the smart electronic device port includes the minimum and maximum traffic of the smart electronic device port.

7. The method for mapping messages to deterministic network services according to claim 4, characterized in that, The transmission time of the intelligent electronic device port includes the maximum and minimum transmission delay of a single frame message of the intelligent electronic device port.

8. A system for mapping messages to deterministic network services, characterized in that, include: The calculation module (1) is used to extract dataset information from the report control block and calculate the message length corresponding to the dataset based on the key fields in the name of the report control block and the dataset information. The mapping module (2) is used to obtain the attribute parameters of the report control block, calculate the maximum transmission and forwarding delay Td of the message between end-to-end in the network according to the attribute parameters and the message length, and map the message transmission to the CQF service according to the maximum transmission and forwarding delay Td.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method for mapping messages to deterministic network services as described in any one of claims 1-7.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method for mapping messages to deterministic network services as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Test script configuration method and device for IEC61850 consistency test

    CN110928775A