Method for transmitting relay protection service, and storage medium and electronic apparatus

WO2025185163A8PCT designated stage Publication Date: 2025-10-02ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/125045
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-03-05
Filing Date
2024-10-15
Publication Date
2025-10-02

AI Technical Summary

Technical Problem

The existing Sliced ​​Packet Network (SPN) fine-grained channels cannot guarantee the consistency of channel transmission and reception routes for power relay protection services, and cannot meet the power system's needs for rapid fault isolation.

Method used

The SPN network's fine-grained channel FGU bidirectional 1:1 path protection method is adopted. Through the status detection and switching mechanism of the working path and protection path, it ensures switching to the protection path in the event of a channel failure, and sets a waiting recovery time when the failure recovers, achieving complete consistency of the service path.

Benefits of technology

It achieves the consistency of the sending and receiving routes of the power relay protection service channel at any point in time, meets the power system's needs for rapid fault isolation, and ensures the safe and reliable operation of the power system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024125045_02102025_PF_FP_ABST
    Figure CN2024125045_02102025_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present disclosure are a method for transmitting a relay protection service, and a storage medium and an electronic apparatus. The method comprises: a first network element device and a second network element device of an SPN performing service transmission by means of a working path, wherein the working path and a protection path are provided between the first network element device and the second network element device; and when there is a failure in the working path, the second network element device switching from the working path to the protection path after a preset switching hold-off time elapses, such that the first network element device and the second network element device perform service transmission by means of the protection path.
Need to check novelty before this filing date? Find Prior Art

Description

Transmission method, storage medium and electronic device for relay protection service

[0001] Cross-references to related publications

[0002] This disclosure is based on Chinese Patent Publication No. 202410250600.7, filed on March 5, 2024, entitled “Transmission method, storage medium and electronic device for relay protection services”, and claims the priority of the patent disclosure, and all the contents disclosed therein are incorporated into this disclosure by reference. Technical Field

[0003] The embodiments of the present disclosure relate to the field of communications, and in particular, to a transmission method, storage medium, and electronic device for relay protection services. Background Art

[0004] The power system is a complex network comprised of numerous power plants, transmission lines, and substations. The safe and reliable operation of the grid is crucial. However, due to the widespread distribution of power facilities, equipment failures are inevitable, and natural disasters can also damage transmission lines. To avoid network-wide blackouts, faults must be quickly isolated. Relay protection devices continuously detect abnormal operating conditions in the power system and quickly take corrective action to isolate the fault and restore the system to normal operation. Speed ​​is a fundamental characteristic of relay protection systems, requiring a response time of within tens of milliseconds.

[0005] Current differential protection is the primary method of power relay protection currently in use. It calculates the differential current and the restraining current based on synchronously sampled currents on both sides to determine if an internal fault has occurred. It serves as the primary protection for transmission lines. The relay protection channel provided by the transmission equipment is configured to transmit analog, switching, and protection control information collected by the relay. Current differential protection relies on synchronous sampling based on channel delay measurement. Channel delay is calculated by dividing the sum of the delays in the transmit and receive directions by two. Only when the delays in the transmit and receive directions are consistent can the relay device calculate the correct channel delay. From a network topology perspective, strict consistency in the delays in the transmit and receive directions of the relay protection channel is essential, necessitating strict routing consistency. Furthermore, to ensure rapid protection, regulations require that the transmission channel delay be no greater than 12ms. The relay protection device monitors the communication channel for interruptions in real time. If the communication channel is interrupted, the relay device locks out protection. When communication is restored, the protection device automatically re-engages and re-measures the channel delay, thereby achieving synchronous sampling on both sides.

[0006] The Spicing Packet Network (SPN) is a new transmission standard following the Synchronous Digital Hierarchy (SDH) and supports Fine Granularity Unit (FGU) and E1 Constant Bit Rate (CBR) technology. SPN uses E1 CBR to encapsulate E1 signals using Time Division Multiplexing (TDM) to ensure service isolation. Services are then transmitted through SPN's fine-grained channels, meeting the low-latency and deterministic latency requirements of power relay protection channels. When SPN fine-grained channels are created, they ensure strict consistency of the transmit and receive paths in both directions. Current SPN fine-grained channels only support bidirectional 1+1 path protection and cannot guarantee the consistency of the transmit and receive routes of service channels at all times. Current SPN technical specifications do not meet the requirements of power relay protection channels.

[0007] Summary of the Invention

[0008] The embodiments of the present disclosure provide a transmission method, storage medium, and electronic device for relay protection services, so as to at least solve the problem in related technologies that the requirements of relay protection services cannot be met and the consistency of channel sending and receiving routes cannot be guaranteed.

[0009] According to one embodiment of the present disclosure, a method for transmitting relay protection services is provided, including: a first network element device and a second network element device of a slice packet network SPN transmit services through a working path, wherein the working path and a protection path are set between the first network element device and the second network element device; in the event of a failure of the working path, the second network element device switches from the working path to the protection path after a preset switching delay time, so that the first network element device and the second network element device transmit services through the protection path.

[0010] According to another embodiment of the present disclosure, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is configured to execute the steps of any one of the above method embodiments when running.

[0011] According to another embodiment of the present disclosure, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any one of the above method embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] FIG1 is a schematic diagram of a 1+1 bidirectional path protection principle 1;

[0013] FIG2 is a schematic diagram of the second principle of 1+1 bidirectional path protection;

[0014] FIG3 is a schematic diagram of 1+1 bidirectional path protection principle 3;

[0015] FIG4 is a hardware structure block diagram of a mobile terminal of a method for transmitting relay protection services according to an embodiment of the present disclosure;

[0016] FIG5 is a flow chart of a method for transmitting relay protection services according to an embodiment of the present disclosure;

[0017] FIG6 is a schematic diagram showing the principle of bidirectional 1:1 path protection according to the first embodiment of the present disclosure;

[0018] FIG7 is a schematic diagram showing the principle of the return process after the working path failure disappears in the second embodiment of the present disclosure;

[0019] FIG8 is a schematic diagram showing the principle of a switching process 1 of a bidirectional 1:1 path protection according to the third embodiment of the present disclosure;

[0020] FIG9 is a schematic diagram showing the principle of the return process 1 of the bidirectional 1:1 path protection according to the third embodiment of the present disclosure;

[0021] FIG10 is a schematic diagram showing the principle of the switching process 2 of the bidirectional 1:1 path protection according to the third embodiment of the present disclosure;

[0022] FIG11 is a schematic diagram showing the principle of the return process 2 of the bidirectional 1:1 path protection according to the third embodiment of the present disclosure;

[0023] FIG12 is a schematic diagram of a control-plane-based path restoration principle for bidirectional path protection according to a fourth embodiment of the present disclosure;

[0024] FIG13 is a schematic diagram showing the principle of the SPN device carrying the power relay protection service networking in the fifth embodiment of the present disclosure. DETAILED DESCRIPTION

[0025] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings and in conjunction with embodiments.

[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0027] In related technologies, SPN is a new transmission standard following SDH, supporting FGU and E1 CBR technologies. SPN uses E1 CBR to encapsulate E1 signals in TDM format, ensuring service isolation. Services are then transmitted through SPN's fine-grained channels, meeting the low-latency and deterministic latency requirements of power relay protection channels. When SPN fine-grained channels are created, they ensure strict consistency of the transmit and receive paths in both directions. Currently, SPN fine-grained channels only support bidirectional 1+1 path protection. The following section analyzes the consistency of the transmit and receive paths during switchover.

[0028] Figure 1 is a schematic diagram of Principle 1 of 1+1 bidirectional path protection. As shown in Figure 1, for SPN FGU bidirectional 1+1 path protection (1-phase), the transmitting side performs concurrent transmission, while the receiving side selectively receives. If the 1-phase method is used, when a single fiber failure occurs in the A->Z direction, the near-end Z node triggers a switchover, receiving from the protection channel. Simultaneously, Z sends an APS message with the switching status and request to A. At this point, traffic in the A->Z direction flows through the protection channel; traffic in the Z->A direction remains flowing through the working channel, resulting in inconsistent bidirectional traffic paths. After receiving the APS information from Z node, the far-end A node receives traffic through the protection channel. At this point, bidirectional traffic flows, and the transmit and receive routes are consistent. Therefore, the 1-phase method of bidirectional 1+1 path protection can cause momentary inconsistencies in the transmit and receive routes during protection switching, failing to meet the requirement for consistent transmit and receive route routing for power relay channels at all times.

[0029] Figure 2 illustrates the second principle of 1+1 bidirectional path protection. For an SPN's FGU bidirectional 1+1 path protection (2-phase), when a single fiber fails in the A->Z direction, end Z sends a request to end A. After receiving the request, end A bridges the connection and receives it from the protection path. Simultaneously, it sends the switching status and request to end Z via the protection path. At this point, traffic flows in the Z->A direction, but not in the A->Z direction. After end Z receives the confirmation information from end A, it receives it from the protection path. Now, traffic flows in both directions, and the transmit and receive paths are consistent. Therefore, using the 2-phase method, switching in the event of a fault will not result in inconsistent transmit and receive paths, but there may be a momentary unidirectional connection.

[0030] Figure 3 illustrates the third principle of 1+1 bidirectional path protection. As shown in Figure 3, during the return process after fault recovery for SPN FGU bidirectional 1+1 path protection (2-phase), end Z sends a request to end A. After receiving the request, end A bridges and receives from the working channel, simultaneously sending the switching status and request to end Z. At this point, traffic in the Z->A direction remains uninterrupted, using the working channel; traffic in the A->Z direction also remains uninterrupted, remaining on the protection channel. Therefore, the bidirectional paths are inconsistent. After end Z receives the confirmation message from end A, it receives from the working channel. Traffic now remains uninterrupted in both directions, and the transmit and receive paths are consistent. Therefore, using the 2-phase method, the return switching process after fault recovery can still result in momentary inconsistencies in the transmit and receive paths.

[0031] In summary, the fine-grained bidirectional 1+1 path protection of SPN in related technologies cannot guarantee the consistency of the service channel's sending and receiving routes at any time. The current SPN technical specifications cannot meet the requirements of power relay protection channels.

[0032] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a computer terminal as an example, FIG4 is a hardware structure block diagram of a mobile terminal of the transmission method of the relay protection service of the embodiment of the present disclosure. As shown in FIG4 , the computer terminal may include one or more (only one is shown in FIG4 ) processors 402 (the processor 402 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 404 configured to store data, wherein the above-mentioned computer terminal may also include a transmission device 406 and an input and output device 408 configured to have a communication function. It can be understood by those skilled in the art that the structure shown in FIG4 is only for illustration, and it does not limit the structure of the above-mentioned computer terminal. For example, the computer terminal may also include more or fewer components than those shown in FIG4 , or have a configuration different from that shown in FIG4 .

[0033] The memory 404 can be configured to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the transmission method of the relay protection service in the embodiment of the present disclosure. The processor 402 executes the computer program stored in the memory 404 to perform various functional applications and data processing, that is, to implement the above-mentioned method. The memory 404 may include a high-speed random access memory and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 404 may further include a memory remotely located relative to the processor 402, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0034] Transmission device 406 is configured to receive or transmit data via a network. Specific examples of the aforementioned network may include a wireless network provided by a communications provider of a computer terminal. In one embodiment, transmission device 406 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, transmission device 406 may be a radio frequency (RF) module configured to communicate with the Internet wirelessly.

[0035] In an embodiment of the present disclosure, a method for transmitting a relay protection service is provided. FIG5 is a flow chart of the method for transmitting a relay protection service according to an embodiment of the present disclosure. As shown in FIG5 , the flow chart includes the following steps:

[0036] Step S502: A first network element device and a second network element device of the slice packet network SPN transmit services through a working path, wherein a working path and a protection path are set between the first network element device and the second network element device;

[0037] In the disclosed embodiments, a bidirectional 1:1 path protection scheme using fine-grained SPN channels (FGUs) is employed, replacing the FGU bidirectional 1+1 path protection scheme used in related technologies. The main difference between bidirectional 1:1 path protection and bidirectional 1+1 path protection is that the sending side of bidirectional 1+1 path protection concurrently transmits on both the working path and the protection path, while the sending side of bidirectional 1:1 path protection selectively transmits based on the channel status or the APS protocol, and the receiving side selectively receives based on the channel status or the APS protocol. This means that the sending side only selectively transmits, normally only on the working channel. Therefore, under normal circumstances, in the disclosed embodiments, the protection channel, or protection path, can also carry additional services.

[0038] In an exemplary embodiment, the first network element device and the second network element device perform status detection on the working path and / or the protection path through an operation, administration, and maintenance (OAM) mechanism of a fine-grained unit FGU.

[0039] In the embodiment of the present disclosure, the bidirectional 1:1 path protection of the FGU of the SPN network completes the switching process based on the Application Performance Monitoring Protocol (APS).

[0040] In one embodiment, the APS protocol is transmitted via the APS OAM code block of the FGU, and the "Protection Type" field in the corresponding APS OAM code block is set to "1:1", "Dual-End Switching" and "Return Mode".

[0041] Step S504: When the working path fails, the second network element device switches from the working path to the protection path after a preset switching delay time, so that the first network element device and the second network element device perform service transmission through the protection path.

[0042] In an exemplary embodiment, the switching delay time is greater than the channel interruption alarm triggering time of the relay protection equipment on both sides of the slice packet network SPN.

[0043] In this disclosed embodiment, to ensure the protection device resynchronizes after a channel switch, a manually configurable wait time is added between the failure of the original channel and the establishment of the new channel. This triggers the protection device to lock, recalculate the delay, and automatically synchronize. Brief frame loss does not trigger a channel interruption switch alarm in the protection device, and the relay cannot record the channel switch time and status.

[0044] In one embodiment, the switching delay time of the transmission channel should be greater than the channel interruption alarm triggering time of the relay protection device (for example, 5 seconds) so that the protection device can record the channel interruption and self-healing events.

[0045] In an exemplary embodiment, after the second network element device switches from the working path to the protection path after a preset switching delay time, it also includes: the second network element device sends an APS message to the first network element device through the protection path to notify the first network element device to perform path switching; the first network element device switches from the working path to the protection path, and sends an APS message to the second network element device to complete the path switching confirmation.

[0046] In the disclosed embodiment, when a working path fails, one end network element (i.e., the second network element device) detects the failure, initiates a bridge to the protection path, receives services from the protection path, and sends an APS switching status notification from the protection path to the other end network element (i.e., the first network element device). After receiving the APS message, the other end network element initiates a bridge to the protection path, receives services from the protection path, and sends an APS confirmation message back to the one end network element, completing the switching process.

[0047] In an exemplary embodiment, when the working path recovers from a fault, the second network element device switches back to the working path from the protection path after a preset waiting recovery time; after the switching delay time, the second network element device sends an application performance monitoring protocol APS message to the first network element device, so that the first network element device switches back to the working path.

[0048] In the disclosed embodiment, after the working channel fault disappears, the service will return from the protection channel to the working channel. To avoid the oscillation phenomenon when the working channel fault just disappears, a waiting recovery time WTR should be set for the return. After the waiting recovery time has passed, the return action will be initiated.

[0049] In one embodiment, the waiting time for recovery WTR can be set by the network management, and the minimum waiting time is 1 minute.

[0050] In an exemplary embodiment, before the waiting recovery time or the switching delay time is reached, the service transmission between the first network element device and the second network element device is interrupted, and the relay protection devices on both sides of the slice packet network SPN are in a locked state.

[0051] In the disclosed embodiment, a switching delay time and a waiting recovery time are set for path protection switching so that the relay protection device can monitor the interruption of the communication channel in real time and block the protection of the relay protection device when the channel is interrupted.

[0052] In an exemplary embodiment, after the first network element device switches back to the working path, it also includes: the relay protection devices on both sides of the slice packet network SPN switch back to the working path, and perform channel delay measurement on the working path.

[0053] In the disclosed embodiment, during the return process, after the switchover delay, when the first network element receives the APS request message from the second network element, it also transmits and receives data on the working channel. At this point, bidirectional traffic is normal, both transmitting and receiving data on the working channel, and the traffic paths are consistent. After the relay devices on both sides detect that the channel is normal, they automatically switch to the working channel, allowing the relay devices on both sides to perform channel delay measurement and achieve synchronous sampling.

[0054] In an exemplary embodiment, when both the working path and the protection path fail, the working path and / or the protection path are restored and rebuilt after a switching delay time.

[0055] In the disclosed embodiments, power relay protection services have extremely high reliability requirements. The SPN-provided relay protection transmission channel must be secure and reliable in the event of multiple faults. When the working path of the SPN transmission channel fails, it can switch to the protection path as described above. If the protection path also fails, it can switch to the recovery path established on the control plane.

[0056] Through the above steps, a method for transmitting relay protection services is provided, in which a first network element device and a second network element device of an SPN network transmit services via a working path, wherein a working path and a protection path are provided between the first network element device and the second network element device; in the event of a working path failure, the second network element device switches from the working path to the protection path after a preset switching delay time, so that the first network element device and the second network element device transmit services via the protection path. This solves the problem in related technologies that the requirements of power relay protection services cannot be met and the consistency of channel transceiver routing cannot be ensured, thereby achieving the effect of ensuring the consistency of channel transceiver routing for power relay protection services and meeting the requirements of power relay protection services.

[0057] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present disclosure is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present disclosure.

[0058] This embodiment also provides a device for transmitting relay protection services. This device is configured to implement the above-mentioned embodiments and preferred implementations, and details already described will not be repeated. As used below, the term "module" may refer to a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.

[0059] The transmission device for relay protection services provided by the embodiment of the present disclosure includes: a first transmission module, which is configured so that the first network element device of the sliced ​​packet network SPN and the second network element device transmit services through a working path, wherein a working path and a protection path are set between the first network element device and the second network element device; a switching module, which is configured so that in the event of a working path failure, the second network element device switches from the working path to the protection path after a preset switching delay time, so that the first network element device and the second network element device transmit services through the protection path. In the actual implementation process, the module naming and functional division in the above-mentioned transmission device can be determined according to actual conditions, and no specific restrictions are made here, as long as the steps of the transmission method of the relay protection service in the above-mentioned embodiment can be implemented.

[0060] It should be noted that the above modules can be implemented through software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0061] An embodiment of the present disclosure further provides a computer-readable storage medium, in which a computer program is stored. The computer program is configured to execute the steps of any one of the above method embodiments when run.

[0062] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.

[0063] An embodiment of the present disclosure further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.

[0064] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0065] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail here.

[0066] Obviously, those skilled in the art should understand that the modules or steps of the present disclosure described above can be implemented using a general-purpose computing device, they can be concentrated on a single computing device, or distributed across a network composed of multiple computing devices, they can be implemented using program code executable by the computing device, and thus, they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be performed in a different order than herein, or they can be fabricated into separate integrated circuit modules, or multiple modules or steps can be fabricated into a single integrated circuit module for implementation. Thus, the present disclosure is not limited to any particular combination of hardware and software.

[0067] In order to enable those skilled in the art to better understand the technical solution of the present disclosure, it is described below in conjunction with scenario embodiments.

[0068] Example 1

[0069] In related technologies, for FGU bidirectional 1+1 path protection, the sending side performs concurrent transmission on the working path and the protection path, and the receiving side selects the receiving path based on the channel status or the APS protocol.

[0070] In the embodiment of the present disclosure, SPN is used to support bidirectional 1:1 path protection of the FGU channel to ensure that the relay protection service bearer channel provided by SPN meets the requirement of complete consistency of sending and receiving routes at any time; and a switching delay mechanism and a control plane-based recovery mechanism are proposed to meet the needs of power relay protection service bearing. Among them, the difference between bidirectional 1:1 path protection and bidirectional 1+1 path protection is mainly that the sending side of the bidirectional 1+1 path protection is concurrent on the working path and the protection path, while the sending side of the bidirectional 1:1 path protection selects sending according to the channel status or the APS protocol, and the receiving side selects receiving according to the channel status or the APS protocol. In this way, the sending side is only selective, and under normal circumstances it only sends on the working channel. Therefore, under normal circumstances, the protection channel can transmit additional services. The present disclosure uses the selection mechanism of the FGU bidirectional 1:1 path protection to ensure complete consistency of the sending and receiving directions at any time.

[0071] In the embodiments of the present disclosure, in combination with the specific drawings, network element A corresponds to the first network element device in the above embodiment, and network element Z corresponds to the second network element device in the above embodiment, and there is no substantial difference between the two. It is only for distinguishing different network element devices and distinguishing the sending and receiving ends of information.

[0072] FIG6 is a schematic diagram showing the principle of bidirectional 1:1 path protection according to the first embodiment of the present disclosure. As shown in FIG6 , the switching process of SPN FGU bidirectional 1:1 path protection when the working path fails has the following configuration requirements and switching steps:

[0073] 1) SPN FGU 1:1 bidirectional path protection, with switching performed based on the Application Performance Monitoring (APS) protocol. The APS protocol is transmitted via the FGU's APS OAM blocks. In this embodiment, the "Protection Type" field in the corresponding APS OAM blocks is set to "1:1," "Dual-End Switching," and "Fallback Mode."

[0074] 2) The OAM code block carrying APS information is inserted at the source network element, transmitted via the protection path, and extracted at the sink end.

[0075] 3) During normal operation, APS code blocks are sent periodically, and the period can be set. However, when the working status changes, the APS information must be sent immediately. To ensure reliability, multiple APS information can be sent continuously. The host triggers the corresponding action when it receives the first correct APS information.

[0076] 4) As shown in Figure 6, configure bidirectional 1:1 path protection of SPN FGU between SPN network element A and SPN network element Z. Also configure services between network element A and network element Z. As shown in the left part of Figure 6, under normal circumstances, services are carried on the working channel.

[0077] 5) As shown in the middle part of Figure 6, a fault occurs on the working path. End Z detects the fault, bridges to the protection channel, receives services from the protection channel, and sends an APS switching status notification to End A from the protection channel.

[0078] 6) As shown in the right part of Figure 6, after end A receives the APS message sent by end Z, end A bridges to the protection channel and receives services from the protection channel. At the same time, it sends back the APS confirmation information to end Z, and the switching process is completed.

[0079] Example 2

[0080] In the second embodiment, the return process after the working path fault of the bidirectional 1:1 path protection disappears is introduced.

[0081] FIG7 is a schematic diagram showing the principle of the return process after the working path failure disappears in the second embodiment of the present disclosure. As shown in FIG7 , the configuration requirements and return steps are as follows:

[0082] 1) SPN FGU's bidirectional 1:1 path protection is set to "fallback mode." This means that after a working channel fault clears, services will fall back from the protection channel to the working channel. To avoid oscillation immediately after the working channel fault clears, a Wait To Restore time (WTR) should be set. The fallback action is initiated after the WTR time has expired. In this embodiment, the WTR can be configured through the network management system, with a minimum wait time of 1 minute.

[0083] 2) As shown in Figure 7, bidirectional 1:1 path protection using an SPN FGU is configured between SPN A and SPN Z. Upon a working path failure, services automatically switch to the protection path. When the working path failure resolves, as shown on the left side of Figure 7, the Z end detects that the working path is normal and starts the WTR timer.

[0084] 3) As shown in the middle part of Figure 7, after the WTR timing is up, the Z-side bridge is connected to the working channel and receives services from the working channel. At the same time, the APS switching status notification is sent from the protection channel to the A-side.

[0085] 4) As shown in the right part of Figure 7, after end A receives the APS message sent by end Z, end A bridges to the working channel and receives services from the working channel. At the same time, it sends an APS confirmation message back to end Z through the protection channel, completing the return process.

[0086] Example 3

[0087] In the third embodiment, the consistency of the receiving and sending routes in the protection switching and return process under various modes of the FGU bidirectional 1:1 path protection of the SPN adopted in the embodiment of the present disclosure is introduced.

[0088] In the disclosed embodiments, FGU bidirectional 1:1 path protection can be divided into 1-phase and 2-phase modes, depending on the switching method of the Z-side network element. In the 1-phase mode, for example, when a fault occurs in the A-->Z direction, the Z-side immediately switches and bridges upon detection, without waiting for confirmation from A. In the 2-phase mode, for example, when a fault occurs in the A-->Z direction, the Z-side immediately switches and bridges upon detection, sending a request to the A-side. After receiving confirmation from A, the Z-side switches.

[0089] Figure 8 is a schematic diagram of the principle of the switching process 1 of the bidirectional 1:1 path protection of the third embodiment of the present disclosure. As shown in Figure 8, when a single fiber fault occurs in the A->Z direction, the Z node near the fault (i.e., network element Z) switches both sending and receiving to the backup channel according to the fault trigger, and sends the switching status and request to the A node (i.e., network element A) through the APS protocol. At this time, the A node is still sending and receiving on the working channel, so the bidirectional service is interrupted. However, the A node can receive the APS protocol sent by the Z node through the protection channel. After the faulty far-end A node receives the APS message from the Z node, it triggers switching based on the APS protocol, and both sending and receiving are switched to the backup channel. At this time, the service is bidirectional, and the sending and receiving routes are consistent. Therefore, the 1-phase method of bidirectional 1:1 path protection can ensure the consistency of the sending and receiving paths of the service channel during protection switching.

[0090] Figure 9 is a schematic diagram of the principle of the return process 1 of the bidirectional 1:1 path protection of the third embodiment of the present disclosure. As shown in Figure 9, after the working channel fault disappears and the WTR time has passed, the Z node switches to the working channel for transmission and reception, and at the same time notifies the A end of the switching status and request through the protection channel. However, at this time, the A end has not switched and is still transmitting and receiving from the protection channel, so that the service is interrupted in both directions. After the A end receives the APS information from Z through the protection channel, it also switches to the working channel for transmission and reception. At this time, the two-way service is normal, both are transmitted and received from the working channel, and the service paths are consistent. Therefore, there will be no inconsistency in the transmission and reception paths during recovery. It can be seen that the FGU bidirectional 1:1 path protection 1-phase method can meet the requirement that the transmission and reception of relay protection services are always on the same path.

[0091] Figure 10 is a schematic diagram of the principle of the switching process 2 of the bidirectional 1:1 path protection of the third embodiment of the present disclosure. As shown in Figure 10, when a single fiber fails in the A->Z direction, the Z end bridges to the protection channel and sends it, and sends the switching status and request to the A node through the APS protocol. After A receives the application, the A end bridges and receives it from the protection path. At this time, the Z->A service is connected and goes through the protection channel. At the same time, A sends the switching status and request to Z through the protection channel. Therefore, the A->Z service is disconnected at this time (A bridges to the protection channel, and Z still receives it from the working channel), so the service is unidirectional. After Z receives the APS confirmation information sent by A, it receives it from the protection channel. At this time, the bidirectional service is connected, both in the protection channel, and the sending and receiving paths are consistent. Therefore, in the FGU bidirectional 1:1 channel protection (2-phase) mode, there will be no inconsistency in the sending and receiving paths during switching.

[0092] Figure 11 is a schematic diagram of the second reversion process for bidirectional 1:1 path protection according to the third embodiment of the present disclosure. As shown in Figure 11, the reversion process after fault recovery occurs. After the working channel fault disappears and the WTR time has expired, node Z bridges to the working channel to transmit and sends the switching status and request to node A via the protection channel. After node A receives the APS message, node A bridges to the working channel. At this point, Z->A traffic flows through the working channel. At the same time, node A sends the switching status and request to node Z via the protection path. Therefore, A->Z traffic is blocked (node ​​A bridges to the working channel, while node Z still receives traffic via the protection channel), resulting in unidirectional traffic. After node Z receives the APS message from node A via the protection channel, it triggers bridging and receives traffic via the working channel. At this point, traffic flows in both directions, both on the working channel, and the transmit and receive paths are consistent. Therefore, with the FGU bidirectional 1:1 path protection (2-phase) scheme, inconsistent transmit and receive paths will not occur during recovery. This shows that the SPN FGU bidirectional 1:1 path protection scheme (2-phase) meets the requirement that relay services always transmit and receive along the same path.

[0093] In the disclosed embodiments, the E1 channel provided by the communication equipment serves as the transmission channel for the power relay device. If a fault such as a fiber break occurs between the communication devices, the communication equipment will initiate network protection. In this case, the working and protection paths of the service channel may have different routings, resulting in different latency for the E1 service on the working and protection channels. After the channel switchover occurs, the relay devices on both sides must be aware of the channel switchover.

[0094] To ensure the protection device resynchronizes after a channel switch, a manually configurable wait time is added between the failure of the original channel and the establishment of the new channel. This triggers the protection device to lock, recalculate the delay, and automatically synchronize. Brief frame loss does not trigger the protection device's channel interruption switchover alarm, and the relay cannot record the channel switchover time and status. Therefore, the transmission channel's self-healing switchover delay should be greater than the relay's channel interruption alarm trigger time (5 seconds) to allow the protection device to record the channel interruption and self-healing events.

[0095] For protection switching using the SPN's FGU bidirectional 1:1 path protection (1-phasing) method, as shown in Figure 8, the switchover hold-off time (T1) can be configured on the network management system, ranging from 0 to 20 seconds in 100ms increments. When a single fiber failure occurs in the A->Z direction, service is interrupted in one direction, and the equipment maintains the status quo until T1 elapses, at which point the switchover process is initiated. This allows the relay equipment on both sides to detect the transmission path failure.

[0096] Figure 9 illustrates the fallback process after fault recovery in SPN FGU bidirectional 1:1 path protection (1-phase). The wait-for-recovery time (T2) and the switchover delay (T1) must be configured. T2 can be set from 1 to 12 minutes, with a default of 5 minutes. T1 defaults to 5 seconds. After the working channel fault disappears and the WTR time has expired, the fallback process is initiated to prevent frequent channel switching caused by intermittent transmission channel failures. During fallback, node Z switches to the working channel for transmission and reception, delaying T1 before sending an APS request message to notify end A. However, end A has not yet switched and continues to transmit and receive on the protection channel, resulting in service interruption in both directions. This state persists for T1, allowing the relay equipment on both sides to detect the transmission channel fault. After T1, when end A receives the APS request message from end Z, it also transmits and receives on the working channel. At this point, bidirectional service returns to normal, both transmitting and receiving on the working channel, and the service path remains consistent. After the relay protection devices on both sides detect that the channel is normal, they are automatically put into the working channel. The relay protection devices on both sides can then perform channel delay measurement and achieve synchronous sampling.

[0097] Example 4

[0098] In the fourth embodiment, it is described how to provide a restoration path for the relay protection transmission channel provided by the SPN in the event of multiple faults.

[0099] In the disclosed embodiments, power relay protection services have extremely high reliability requirements, and the safety and reliability of the relay protection transmission channels provided by the SPN should be considered in the event of multiple faults. Figure 12 is a schematic diagram of the control-plane-based path recovery principle for bidirectional path protection in the fourth embodiment of the disclosed embodiment. As shown in Figure 12, when the working path of the SPN transmission channel fails, it can switch to the protection path as described above. If the protection path also fails, it can switch to the recovery path established based on the control plane.

[0100] The recovery path is established based on the control plane, which can be a distributed control plane or a centralized control plane. The established recovery path must also meet the complete consistency of the bidirectional sending and receiving paths to ensure the consistency of the transmission delay of the sending and receiving paths. In addition, the switching delay time T1 and the waiting recovery time T2 should also be set. When both the working and protection paths fail, the service is interrupted in one direction, and the equipment maintains the status quo. After T1 time, the recovery process is started again, so that the relay protection equipment on both sides can sense the failure of the transmission channel. When the failure of the working path or the protection path disappears, the return process is started again after T2 time to avoid intermittent failures of the transmission channel causing frequent channel switching; when returning, the Z node switches to the working channel for sending and receiving, and delays T1 time before sending the APS message to notify the A end to ensure that the relay protection equipment on both sides can sense the failure of the transmission channel.

[0101] The communication channel of the power relay protection equipment basically adopts the E1 mode. If the Ethernet FE / GE mode is adopted, as shown in Figure 12, the SPN equipment can encapsulate the relay protection business in packet form and map it to the FGU channel of the SPN. At this time, the 1:1 bidirectional path protection mechanism of the FGU channel and the control plane-based recovery path mechanism also comply with the above requirements of this technical solution.

[0102] Example 5

[0103] FIG13 is a schematic diagram of the principle of the SPN device carrying the power relay protection service networking of the fifth embodiment of the present disclosure. As shown in FIG13 , in the power relay protection service carrying, the relay protection device 1 is connected to the SPN-A device through the E1 interface, and the relay protection device 2 is connected to the SPN-Z device through the E1 interface. The SPN-A / SPN-Z device carries the E1 service in the E1 CBR mode, completes the encapsulation, multiplexing and mapping of the E1 signal, and uses the SPN's FGU channel to carry the E1 service through the network management configuration. At the same time, the bidirectional 1:1 path protection of the FGU channel is configured, and the default configuration is 1-phase mode. The waiting recovery time T2 and the switching delay time T1 are set through the network management. The default setting of T2 is 5 minutes, and the default setting of T1 is 5 seconds.

[0104] When a single fiber failure occurs in the SPN-A->SPN-Z direction, SPN-Z, the node near the fault, triggers a switchover of both sending and receiving to the backup channel. However, SPN-A continues to send and receive on the working channel, interrupting bidirectional services. Upon receiving the switchover status and APS message from SPN-Z, SPN-A, the node far from the fault, triggers a switchover according to the APS protocol, switching both sending and receiving to the backup channel. At this point, bidirectional services are available, and the routes for sending and receiving services are consistent.

[0105] When the working channel fault disappears and the WTR time has passed, the return process is initiated. When returning, the SPN-Z node switches to the working channel for transmission and reception, and at the same time sends an APS request message to notify the SPN-A end after a delay of T1. However, at this time, the SPN-A end has not yet switched and is still transmitting and receiving from the protection channel. In this way, the service is interrupted in both directions. This state lasts for T1, so that the relay equipment on both sides can sense the failure of the transmission channel. After T1 time, when the SPN-A end receives the APS information from SPN-Z, it also transmits and receives from the working channel. At this time, the two-way service is normal, both transmitting and receiving from the working channel, and the service transmission and reception direction paths are consistent. After the relay equipment on both sides detects that the channel is normal, it automatically switches to the working channel and re-measures the channel delay to achieve synchronous sampling.

[0106] Therefore, the bidirectional 1:1 path protection of the SPN FGU channel in the embodiment of the present disclosure can meet the requirement that the relay protection service channel always sends and receives on the same path, and during the service switching and return process, the channel interruption time of 5 seconds (default) can be achieved based on the switching delay, ensuring the relay protection equipment's perception of the service channel switching.

[0107] In summary, the disclosed embodiments provide a method for transmitting relay protection services, which supports 1:1 bidirectional path protection of FGU channels through SPN, ensuring that the relay protection channels provided by SPN meet the requirement of completely consistent routing in the sending and receiving directions at all times. Through the bidirectional 1:1 path protection and recovery method of the fine-grained channel FGU of SPN, it is ensured that the service channels provided by SPN meet the characteristics of completely consistent routing in the sending and receiving directions at all times, and meet the carrying requirements of the power relay protection services. At the same time, the switching delay time and the waiting recovery time are set for the protection switching, so that the relay protection device can monitor the interruption of the communication channel in real time, lock the protection of the relay protection equipment when the channel is interrupted, and automatically start the protection device when the communication is restored and realize the synchronous sampling of the relay protection equipment on both sides based on the new channel delay.

[0108] The foregoing description is merely a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Those skilled in the art will readily appreciate that various modifications and variations of the present disclosure are possible. Any modifications, equivalent substitutions, or improvements made within the principles of the present disclosure shall be included within the scope of protection of the present disclosure.

Claims

1. A method for transmitting relay protection services, comprising: A first network element device and a second network element device of a slice packet network SPN transmit services through a working path, wherein the working path and a protection path are set between the first network element device and the second network element device; In the event of a failure on the working path, the second network element device switches from the working path to the protection path after a preset switching delay time, so that the first network element device and the second network element device transmit services through the protection path.

2. The method according to claim 1, wherein in, The first network element device and the second network element device perform status detection on the working path and / or the protection path through an operation management and maintenance OAM mechanism of a fine-grained unit FGU.

3. The method according to claim 1, wherein After the second network element device switches from the working path to the protection path after a preset switching delay time, the method further includes: The second network element device sends an APS message to the first network element device through the protection path, instructing the first network element device to perform path switching; The first network element device switches from the working path to the protection path, and sends an APS message to the second network element device to complete the path switching confirmation.

4. The method according to claim 1, wherein The switching delay time is greater than the channel interruption alarm triggering time of the relay protection equipment on both sides of the slice packet network SPN.

5. The method according to claim 1, wherein Also includes: When the working path recovers from a fault, the second network element device switches from the protection path back to the working path after a preset waiting time for recovery; The second network element device sends an application performance monitoring protocol APS message to the first network element device after the switching delay time, so that the first network element device switches back to the working path.

6. The method according to claim 5, wherein: After the first network element device switches back to the working path, the method further includes: The relay protection devices on both sides of the slice packet network SPN switch back to the working path and perform channel delay measurement on the working path.

7. The method according to claim 5, wherein: Before the waiting recovery time or the switching delay time is reached, the service transmission between the first network element device and the second network element device is interrupted, and the relay protection devices on both sides of the slice packet network SPN are in a locked state.

8. The method according to claim 1, wherein In the case that both the working path and the protection path fail, the working path and / or the protection path are restored and rebuilt after the switching delay time.

9. A computer-readable storage medium having a computer program stored therein, wherein: When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the method according to any one of claims 1 to 8 is implemented.