SPN system and protection switching method based on SPN system

By adopting a dual-node interconnection architecture and fault detection mechanism in the sliced ​​packet network, the problem of inability to achieve hard isolation of cross-domain services is solved, fault isolation and protection of cross-domain services are realized, inter-domain interoperability is simplified, and network reliability is improved. performance and availability.

WO2024222013A1PCT designated stage expired Publication Date: 2024-10-31ZTE CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/142293
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-25
Filing Date
2023-12-27
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

In Sliced ​​Packet Network (SPN), cross-domain dedicated line services cannot achieve end-to-end hard isolation and fault isolation, and traditional User Network Interface (UNI) docking cannot meet the cross-domain end-to-end fine-grained channel requirements of services.

Method used

Adopting the dual-node interconnection (DNI) architecture, a two-way bridging relationship is established through the channel between the DNI master node and the DNI backup node to achieve inter-domain fault isolation and cross-domain business protection. The fault detection mechanism of the PE node and the DNI node is used to detect faults when a fault occurs. Automatically switches to the backup channel when necessary to ensure the continuity of business flow.

Benefits of technology

It achieves fault isolation and protection of cross-domain services, simplifies inter-domain interoperability, meets the needs of MTN fine-grained channels for inter-domain interoperability and cross-domain protection, and improves network reliability and availability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023142293_31102024_PF_FP_ABST
    Figure CN2023142293_31102024_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present application are an SPN system and a protection switching method based on the SPN system. The system comprises a dual-node interconnection (DNI) master node and a DNI standby node which are used for carrying out DNI with a peer SPN system, wherein the DNI master node comprises a first DNI channel sub-port used for establishing a DNI channel with the DNI standby node, and the DNI standby node comprises a second DNI channel sub-port used for establishing the DNI channel with the DNI master node.
Need to check novelty before this filing date? Find Prior Art

Description

SPN system and protection switching method based on SPN system

[0001] Cross-references

[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on April 25, 2023, with application number 202310477058.4 and titled “SPN system and protection switching method based on SPN system”. The entire contents of the application are incorporated by reference into this application. Technical Field

[0003] The embodiments of the present application relate to the field of communication technology, and in particular to a Slicing Packet Network (SPN) system and a protection switching method based on the SPN system. Background Art

[0004] In the Slicing Packet Network (SNP), the fine-grained bearer technology (Fine Granularity Unit, FGU) can be integrated into the overall SPN architecture through hierarchical design. Among them, the FGU further divides and multiplexes the 5Gbps particles of the SPN channel layer into time slots to form an end-to-end fine-grained hard pipe with a bandwidth granularity of 10Mbps to meet the carrying needs of services with small bandwidth, hard isolation, and high security. The SPN after integrating FGU includes the Slicing Packet Layer (SPL), the Slicing Channel Layer (SCL), and the Slicing Transfer Layer (STL). Among them, the SCL provides an end-to-end fine-grained channel (FG Channel) with a rate of n*10Mbps and an end-to-end metropolitan transport network path channel (MTNP Channel) with a rate of n*5Gbps.

[0005] Some dedicated line services carried by the above two channels exist in scenarios across SPN metropolitan areas and SPN provincial trunks. Traditionally, SPN metropolitan area networks or SPN metropolitan areas and SPN provincial trunks are interconnected using User-Network Interface (UNI) to facilitate their respective operation and maintenance management and interconnection configuration. However, for cross-domain dedicated line services, if UNI interconnection is used between domains, cross-domain end-to-end FG channels cannot be provided, which cannot meet the service hard isolation requirements.

[0006] Summary of the Invention

[0007] The embodiments of the present application provide an SPN system and a protection switching method based on the SPN system.

[0008] In order to solve the above technical problems, this application is implemented as follows:

[0009] In a first aspect, a slice packet network (SPN) system is provided, comprising: a DNI master node and a DNI backup node for performing dual-node interconnection (DNI) with a peer SPN system; wherein the DNI master node comprises: a first DNI channel subport for establishing a DNI channel with the DNI backup node; and the DNI backup node comprises: a second DNI channel subport for establishing the DNI channel with the DNI master node.

[0010] In the second aspect, a protection switching method based on the SPN system is applied to the PE node in the above-mentioned SPN system, and the method includes: the PE node receives the service flow through the main FG channel within the domain of the SPN system; the PE node performs fault detection on the main FG channel within the domain of the SPN system and the backup FG channel within the domain of the SPN system; when the first condition is met, the PE node switches data reception from the main FG channel within the domain to the backup FG channel within the domain.

[0011] In a third aspect, a protection switching method based on an SPN system is provided, which is applied to a DNI master node in the SPN system as described in the first aspect. The method includes: the DNI master node operates in a first state; the DNI master node performs fault detection on the intra-domain primary FG channel, the inter-domain primary FG channel, and the DNI channel of the SPN system; when a second condition is met, the DNI master node switches to a second state, wherein in the first state and the second state, the bridging relationship between the sub-ports within the DNI master node is different.

[0012] In a fourth aspect, a protection switching method based on an SPN system is provided, which is applied to a DNI standby node in the SPN system as described in the first aspect, the method comprising: the DNI standby node operating in a third state; the DNI standby node performing fault detection on the intra-domain standby FG ​​channel, the inter-domain standby FG ​​channel, and the DNI channel of the SPN system; when a fourth condition is met, the DNI standby node switches to a fourth state, wherein in the third state and the fourth state, the bridging relationship between the sub-ports within the DNI standby node is different.

[0013] In a fifth aspect, an electronic device is provided, comprising a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the protection switching method based on the SPN system as described in the second aspect are implemented, or the steps of the protection switching method based on the SPN system as described in the third aspect are implemented, or the steps of the protection switching method based on the SPN system as described in the fourth aspect are implemented.

[0014] In a sixth aspect, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the protection switching method based on the SPN system as described in the second aspect are implemented, or the steps of the protection switching method based on the SPN system as described in the third aspect are implemented, or the steps of the protection switching method based on the SPN system as described in the fourth aspect are implemented.

[0015] In the seventh aspect, a computer program product is provided, which includes at least one computer program, and the computer program is loaded and executed by a processor to implement the steps of the protection switching method based on the SPN system as described in the second aspect, or implement the steps of the protection switching method based on the SPN system as described in the third aspect, or implement the steps of the protection switching method based on the SPN system as described in the fourth aspect.

[0016] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0018] FIG1 shows a schematic diagram of an end-to-end FG channel in a cross-domain networking scenario in the related art;

[0019] FIG2 shows a schematic structural diagram of a slicing packet network SPN system provided by an exemplary embodiment of the present application;

[0020] FIG3 is a schematic diagram showing a bridging relationship within a DNI node in an exemplary embodiment of the present application;

[0021] FIG4 shows a schematic diagram of inter-domain protection switching based on an SPN system provided by another exemplary embodiment of the present application;

[0022] FIG5 shows a schematic diagram of protection switching in a scenario where the active FG channel in a domain fails, provided by an exemplary embodiment of the present application;

[0023] FIG6 shows a schematic diagram of protection switching in a scenario where the inter-domain primary FG channel fails, provided by another exemplary embodiment of the present application;

[0024] FIG7 shows a schematic diagram of protection switching in a scenario where the active FG channel in the domain fails, provided by another exemplary embodiment of the present application;

[0025] FIG8 shows a schematic diagram of protection switching in a scenario where the active FG channel in the domain fails, provided by another exemplary embodiment of the present application;

[0026] FIG9 shows a schematic diagram of protection switching in a scenario where the active FG channel in the domain fails, provided by another exemplary embodiment of the present application;

[0027] FIG10 shows a schematic diagram of domain interconnection in two different protection modes provided by an exemplary embodiment of the present application;

[0028] FIG11 shows a flow chart of a protection switching method based on an SPN system provided by an exemplary embodiment of the present application;

[0029] FIG12 shows a flow chart of a protection switching method based on an SPN system provided by another exemplary embodiment of the present application;

[0030] FIG13 shows a flow chart of a protection switching method based on an SPN system provided by another exemplary embodiment of the present application;

[0031] FIG14 shows a structural block diagram of an electronic device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0032] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.

[0033] First, the relevant technologies involved in this application are introduced.

[0034] FIG1 shows a schematic diagram of an end-to-end FG channel in a cross-domain networking scenario in the related art. As shown in FIG1 , the end-to-end fine-grained (FG) channel carrying cross-domain services spans the Slicing Packet Network (SNP) metropolitan area 1, the SPN trunk domain, and the SPN metropolitan area 2. If end-to-end 1+1 path protection is adopted for the cross-domain FG channel, there will be problems such as a long protection path, a long switching time, and the failure generated within the domain will affect the switching action of other domains. In addition, because different operation and maintenance units and management and control systems are involved, operators generally monitor and operate cross-domain services separately. Therefore, for cross-domain networking scenarios, the needs of intra-domain monitoring and protection must be met, and the domains must be decoupled and have fault isolation between domains, that is, intra-domain failures should be restored through intra-domain protection and will not trigger protection switching in other domains. End-to-end monitoring of cross-domain services can be achieved through the operation, administration and maintenance (OAM) function of the end-to-end Metropolitan Transport Network (MTN) FG channel.

[0035] In view of this, the present application proposes an SPN system, which provides channel protection based on dual node interconnection (DNI), realizes inter-domain fault isolation and protection of cross-domain services, simplifies inter-domain intercommunication, and meets the requirements of inter-domain intercommunication and cross-domain protection of MTN fine-grained channels (MTN FG Channel: MTN Fine Granularity Channel) or MTNP channels (MTNP Channel: MTN Path Channel) in different SPN / MTN domains.

[0036] Figure 2 shows a schematic diagram of the structure of an SPN system provided by an exemplary embodiment of the present application. As shown in Figure 2, the system primarily includes a DNI master node 21 and a DNI backup node 22 for performing DNI with a peer SPN system. As shown in Figure 2, the DNI master node 21 includes a first DNI channel subport 213 for establishing a DNI channel with the DNI backup node 22; the DNI backup node 22 includes a second DNI channel subport 223 for establishing the DNI channel with the DNI master node. In this embodiment of the present application, the first DNI channel subport 213 of the DNI master node 21 is connected to the second DNI channel subport 223 of the DNI backup node 22, thereby establishing a DNI channel between the DNI master node 21 and the DNI backup node 22. This allows for a failure in a channel within the SPN system domain to switch to another intra-domain channel. This DNI channel establishes a transmission channel with the inter-domain channel that existed before the failure (i.e., DNI-FG protection switching), thereby achieving inter-domain fault isolation and cross-domain service protection.

[0037] In one possible implementation, as shown in FIG2 , the SPN system may further include a provider edge (PE) node 23. As shown in FIG2 , the PE node 23 includes an intra-domain primary FG channel subport 231 for establishing an intra-domain primary FG channel with the DNI master node 21; and an intra-domain backup FG channel subport 232 for establishing an intra-domain backup FG channel with the DNI backup node 22. The DNI master node 21 may further include a first intra-domain FG channel subport 211 for establishing the intra-domain primary FG channel with the PE node; and a first inter-domain FG channel subport 212 for establishing an inter-domain primary FG channel with a peer SPN system. The DNI backup node 22 may further include a second intra-domain FG channel subport 221 for establishing the intra-domain backup FG channel with the PE node 23; and a second inter-domain FG channel subport 222 for establishing an inter-domain backup FG channel with a peer SPN system.

[0038] In the embodiment of the present application, the PE node 23 does not need to distinguish whether the received cross-domain peer FG OAM is the peer active FG channel or the peer backup FG channel, so as to ensure the isolation between domains, that is, when a fault occurs in a domain and protection switching is performed, other domains are not affected as much as possible.

[0039] In one implementation, the intra-domain active FG channel, the intra-domain backup FG channel, the DNI channel, the inter-domain active FG channel, and the inter-domain backup FG channel are all SPN fine-grained channels and have the same bandwidth.

[0040] In one implementation, as shown in Figure 2 , the PE node 23 also includes a client subport 233 for accessing fine-grained services. The client subport 233 simultaneously sends service flows to the intra-domain active FG channel subport 231 and the intra-domain standby FG ​​channel subport 232, and receives service flows from either the intra-domain active FG channel subport 231 or the intra-domain standby FG ​​channel subport 232. In this implementation, the PE node simultaneously sends service flows to both the intra-domain active FG channel subport 231 and the intra-domain standby FG ​​channel subport 232. This allows both the DNI master node 21 and the DNI standby node 22 to receive service flows sent by the PE node under normal circumstances. Receiving service flows from either node allows for intra-domain FG channel switching in the event of a failure.

[0041] In the SPN system provided in the embodiment of the present application, the intra-domain FG channel subport and the intra-domain backup FG channel subport can provide 1+1 protection for the client subport of the FG service, and the 1+1 protection can be 1+1 unidirectional protection or 1+1 bidirectional protection; in the direction of sending service flow, the client subport simultaneously sends service flows to the intra-domain main FG channel and the intra-domain backup FG channel concurrently; in the direction of receiving service flow, in the initial state, that is, under normal and fault-free conditions, the client subport receives the service flow from the intra-domain main FG channel. In the event of a fault in the intra-domain main FG channel, the client subport switches to the intra-domain backup FG channel to receive the service flow.

[0042] In one implementation, two of the first intra-domain FG channel subport 211, the first inter-domain FG channel subport 212, and the first DNI channel subport 213 within the DNI master node 21 establish a bidirectional bridge connection, and the other subport establishes a unidirectional receive bridge connection with one of the two subports or is left unconnected. Furthermore, two of the second intra-domain FG channel subport 221, the second inter-domain FG channel subport 222, and the second DNI channel subport 223 within the DNI standby node 22 establish a bidirectional bridge connection, and the other subport establishes a unidirectional receive bridge connection with one of the two subports or is left unconnected.

[0043] FIG3 is a schematic diagram illustrating a bridging relationship within a DNI node provided by an exemplary embodiment of the present application. As shown in FIG3 , the first intra-domain FG channel subport 211 within the DNI master node 21 establishes a bidirectional connection with the first inter-domain FG channel subport 212, and the first DNI channel subport 213 establishes a unidirectional receive bridge with the first intra-domain FG channel subport 21.

[0044] In the above implementation, within the DNI node, at any moment, two of the three FG channel subports establish a bidirectional bridge connection, while the other subport can choose to receive data from one of the two subports, that is, establish a unidirectional receive bridge connection.

[0045] In one implementation, in the initial state, that is, in a normal and fault-free state, as shown in FIG2 , the PE node 23 receives a service flow from the intra-domain active FG channel subport 231; the first intra-domain FG channel subport 211 of the DNI master node 21 establishes a bidirectional bridge with the first inter-domain FG channel subport 212, and the first DNI channel subport 213 establishes a unidirectional receiving bridge with the first intra-domain FG channel subport 211 or leaves it unconnected; the second intra-domain FG channel subport 221 of the DNI backup node 22 establishes a bidirectional bridge with the second inter-domain FG channel subport 222, and the second DNI channel subport 223 establishes a unidirectional receiving bridge with the second intra-domain FG channel subport 221 or leaves it unconnected.

[0046] In one implementation, in an initial state, that is, in a normal and fault-free state, as shown in FIG4 , the PE node 23 (e.g., PE 1 or PE 2 in FIG4 ) receives a service flow from the intra-domain active FG channel subport 231: the first intra-domain FG channel subport 211 of the DNI master node 21 (e.g., DNI master node P1 or DNI master node P3 in FIG4 ) establishes a bidirectional bridge with the first inter-domain FG channel subport 212, and the first DNI channel subport 213 establishes a unidirectional receive bridge with the first intra-domain FG channel subport 211; the second inter-domain FG channel subport 222 of the DNI standby node 22 (e.g., DNI standby node P2 or DNI standby node P4 in FIG4 ) establishes a bidirectional bridge with the second DNI channel subport 223, and the second intra-domain FG channel subport 221 establishes a unidirectional receive bridge with the second inter-domain FG channel subport 222.

[0047] In specific applications, the initial state can be set through the management and control system to adopt one of the above implementation methods.

[0048] In one implementation, the PE node 23 can be used to perform fault detection on the intra-domain primary FG channel and the intra-domain backup FG channel in the receiving direction; the DNI master node 21 can be used to perform fault detection on the intra-domain primary FG channel, the inter-domain primary FG channel, and the DNI channel in the receiving direction; the DNI backup node 22 can be used to perform fault detection on the intra-domain backup FG channel, the inter-domain backup FG channel, and the DNI channel in the receiving direction.

[0049] In the embodiment of the present application, referring to FIG2 , the PE node 23, the DNI master node 21, and the DNI standby node 22 can optionally perform fault detection on the active FG channel, the standby FG ​​channel, and the DNI channel within the domain through the Tandem Connection Monitoring (TCM) OAM function of the FG channel. The TCM OAM function of the active FG channel within the domain can be enabled on the PE node 23 and the DNI master node 21; the TCM OAM function of the standby FG ​​channel within the domain can be enabled on the PE node 23 and the DNI standby node 22; and the TCM OAM function of the DNI channel can be enabled on the DNI master node 21 and the DNI standby node 22. In addition, since the DNI channel generally has only one hop, the monitoring capabilities and alarms of the service layer MTN section layer (MTN Section, MTNS) can optionally be utilized for the DNI channel without enabling the TCM OAM function of the DNI channel.

[0050] In addition, it should be noted that the TCM OAM function is generally enabled within the domain. Therefore, fault detection of the inter-domain primary FG channel and the inter-domain backup FG channel can generally be completed by performing non-intrusive monitoring (NIM) of the end-to-end FG channel OAM sent by the DNI master node and the DNI backup node through the peer PE node. If the DNI nodes of the two docking domains (i.e., the peer SPN system) both support the TCM OAM function, TCM OAM can also be used to monitor the inter-domain primary FG channel and the inter-domain backup FG channel. That is, the TCM OAM function of the inter-domain primary FG channel is enabled on the local DNI master node 21 and the DNI master node of the peer SPN system, and the TCM OAM function of the inter-domain backup FG channel is enabled on the local DNI backup node 22 and the DNI backup node of the peer SPN system.

[0051] In the embodiment of the present application, the peer SPN system may adopt the same protection switching structure as the local SPN system, as shown in FIG2 or FIG4 . Alternatively, the peer SPN system may also adopt a protection switching structure different from that of the local SPN system. As shown in FIG5 , in the peer SPN system (i.e., domain 2), only PE2 is configured with 1+1 path protection of the FG channel, while the peer DNI master and backup nodes (P3 and P4) are configured in a fixed cross-connection configuration without any protection configuration. That is, the intra-domain primary channel and the inter-domain primary channel are fixedly connected at the DNI master node, and the intra-domain backup channel and the inter-domain backup channel are also fixedly connected at the DNI backup node.

[0052] In one implementation, the PE node 23 is further configured to determine whether a fault has occurred in the end-to-end FG channel by detecting OAM information about the end-to-end FG channel sent by the peer PE node of the peer SPN system. In this implementation, the PE node 23 may terminate and monitor the OAM information of the end-to-end FG channel sent by the PE node of the peer SPN system. For example, in Figures 2 and 4 , the PE node 23 and the PE node of the peer SPN system transmit data via the end-to-end working FG channel. Upon detecting a fault in the end-to-end working FG channel through the OAM information of the end-to-end FG channel, the PE node 23 may switch to the end-to-end protection FG channel.

[0053] In one implementation, the PE node 23 is further configured to, when detecting that a failure occurs in the primary FG channel within the domain and that the backup FG channel within the domain is in a normal state, switch data reception from the primary FG channel within the domain to the backup FG channel within the domain, and send first indication information to the DNI standby node, wherein the first indication information is used to indicate that the PE node is in the backup FG channel receiving state within the domain.

[0054] Alternatively, in another implementation, the PE node 23 may be further configured to switch data reception from the intra-domain primary FG channel to the intra-domain backup FG channel upon receiving second indication information sent by the DNI standby node 22, wherein the second indication information indicates that the DNI standby node is in the intra-domain backup FG channel receiving state. For example, the DNI standby node 22 may determine that a switch to the intra-domain backup FG channel is required based on the detection results obtained from fault detection performed on the intra-domain backup FG channel, the inter-domain backup FG channel, and the DNI channel in the receiving direction and the notification from the DNI master node 21. The DNI standby node 22 may then send the second indication information to the PE node 23.

[0055] Optionally, the PE node 23 may notify the DNI standby node of its APS status information via the Automatic Protection Switch (APS) protocol, where the PE node's APS status information includes the first indication information. For example, the APS protocol function is enabled between the PE node 23 and the DNI standby node 22, and APS messages are transmitted via the TCM OAM function of the intra-domain standby FG ​​channel. The PE node 23 transmits its APS status information to indicate that the PE node is in the intra-domain standby FG ​​channel receiving state, thereby enabling the DNI standby node 22 to perform protection switching based on this information.

[0056] In the above implementation, the standby DNI node optionally notifies the PE node of its APS status information via the APS protocol, where the APS status information includes the second indication information. For example, the APS protocol function is enabled between the PE node 23 and the standby DNI node 22, and APS messages are transmitted via the TCM OAM function of the intra-domain standby FG ​​channel. The standby DNI node 22 sends its APS status information to indicate that it is in the intra-domain standby FG ​​channel receiving state, thereby enabling the PE node 23 to perform protection switching based on this information.

[0057] Optionally, the PE node may also detect a fault in the interconnected domain by detecting OAM conditions of the end-to-end FG channel sent by the opposite PE. Optionally, upon detecting the fault, the PE node switches to a backup FG channel within the domain.

[0058] In one implementation, the DNI master node 21 is further configured to, upon detecting that a fault occurs in at least one of the intra-domain primary FG channel, the inter-domain primary FG channel, and the DNI channel, send detected first fault information to the DNI standby node, and upon receiving third indication information sent by the DNI standby node, reset the bridging between the first intra-domain FG channel subport, the first inter-domain FG channel subport, and the first DNI channel subport within the DNI master node in accordance with the third indication information, wherein the third indication information is used to indicate a first bridging relationship between the first intra-domain FG channel subport, the first inter-domain FG channel subport, and the first DNI channel subport; The DNI standby node 22 is further configured to determine, based on the fault detection results of the intra-domain backup FG channel, the inter-domain backup FG channel, and the DNI channel and the first fault information, a first bridging relationship between the first intra-domain FG channel subport, the first inter-domain FG channel subport, and the first DNI channel subport, and a second bridging relationship between the second intra-domain FG channel subport, the second inter-domain FG channel subport, and the second DNI channel subport; and to set up bridging between the second intra-domain FG channel subport, the second inter-domain FG channel subport, and the second DNI channel subport of the DNI standby node according to the determined second bridging relationship, and to send the third indication information to the DNI master node. In this embodiment of the present application, the DNI standby node 22 decides whether to perform protection switching and, if it is determined to perform protection switching, notifies the DNI master node of the bridging relationship between its subports, so that the DNI master node sets up the bridging relationship between its subports according to the third indication information sent by the DNI standby node.

[0059] In one implementation, the DNI standby node 23 is further configured to, upon determining that the inter-domain primary FG channel fails, or that both the inter-domain primary FG information and the DNI channel fail simultaneously, send second indication information to the PE node, wherein the second indication information is used to indicate that the DNI standby node is in an intra-domain standby FG ​​channel receiving state; or, upon receiving the first indication information sent by the PE node, determine a first bridging relationship between the first intra-domain FG channel subport, the first inter-domain FG channel subport, and the first DNI channel subport of the DNI master node, and a second bridging relationship between the first intra-domain FG channel subport, the first inter-domain FG channel subport, and the first DNI channel subport of the DNI standby node, wherein the first indication information is used to indicate that the PE node is in an intra-domain standby FG ​​channel receiving state.

[0060] In this embodiment of the present application, the DNI standby node makes all protection switching decisions. In the event of a fault, the DNI master node notifies the standby node of fault information detected locally on the intra-domain primary FG channel, inter-domain primary FG channel, or DNI channel. The standby node then determines the bridging relationship between the three FG channel subports within each standby node based on the detected status information of the intra-domain backup FG channel, inter-domain backup FG channel, and DNI channel, combined with the received fault information from the DNI master node and the received APS status information from the PE node. The standby node then notifies the DNI master node of the decision, thereby collaboratively completing the protection switching of the standby node.

[0061] Optionally, protection switching within a domain should generally be faster than protection switching between domains to ensure fault isolation. Therefore, during fault detection, the DNI master node is configured to have a NIM detection period for inter-domain primary FG channels that is longer than the TCM detection period for intra-domain primary FG channels. In other words, the DNI master node's fault detection period for inter-domain primary FG channels is longer than the fault detection period for intra-domain primary FG channels.

[0062] Optionally, the DNI standby node can set a protection switching delay time for the protection switching in the inter-domain primary FG channel failure scenario. That is, when the DNI standby node determines to perform inter-domain FG channel protection switching, it can delay the inter-domain switching for a period of time.

[0063] In one implementation, the DNI master node 21 may send the first fault information to the DNI standby node 22 via a target protocol channel established between the master node and the standby node. The target protocol channel includes a DNI-based general communication channel (GCC), a management communication channel (MCC) at the metropolitan area transport network (MTN) segment layer, or a local Ethernet channel. The standby node may send the third indication information to the master node via the target protocol channel established between the master node and the standby node. In other words, the master node 21 and the standby node 22 may transmit the third indication information and the first fault information via the target protocol channel.

[0064] In an embodiment of the present application, optionally, if the DNI master node detects a protocol channel failure between DNI standby nodes, that is, the DNI master node cannot receive information such as protection switching decisions from the DNI standby node, the DNI master node can switch to an autonomous decision-making state, that is, the DNI master node autonomously decides and completes protection switching based on the fault information of the intra-domain primary FG channel, the inter-domain primary FG channel, and the DNI channel detected by the local end.

[0065] In different fault scenarios, service protection and recovery are achieved by switching the DNI master and backup nodes to different bridging states and by switching the PE nodes to protection. When the fault is cleared, the state should return to the initial state.

[0066] In one implementation, the DNI standby node 23 may determine, when it is determined that the intra-domain primary FG channel fails or receives the above-mentioned first indication information, the inter-domain primary FG channel is in normal status, the intra-domain standby FG ​​channel is in normal status, and the DNI channel is in normal status, that the first bridging relationship is: the connection between the first inter-domain FG channel subport 212 and the first DNI channel subport 213 is a bidirectional connection, and the connection between the first intra-domain FG channel subport 211 and the first inter-domain FG channel subport 212 is a unidirectional receiving bridge; and determine the second bridging relationship is: the connection between the second intra-domain FG channel subport 221 and the second DNI channel subport 223 is a bidirectional connection, and the connection between the second inter-domain FG channel subport 222 and the second intra-domain FG channel subport 221 is a unidirectional receiving bridge.

[0067] As shown in Figure 6, when a failure occurs on the active FG channel within a domain, PE1 and the DNI master node P1 detect the failure by monitoring the TCM OAM messages received on that channel. When PE1 detects the failure on the receiving side, it switches to the backup channel within the domain and notifies the DNI backup node P2 of the switchover status via the APS protocol.

[0068] When a fault is detected on the receiving side of subport 1 of the DNI master node P1, the DNI master node notifies the DNI backup node of the fault information. Based on the received fault information from DNI master node P1 or the APS switching status information sent by PE1, the DNI backup node P2 determines the bridging relationship between the three FG channel subports within each of the DNI master and backup nodes, and notifies the DNI master node of the decision result, thereby collaboratively completing the bridging switching between the DNI master and backup nodes. Simultaneously, the DNI backup node notifies PE1 of the switching status via the APS protocol. PE1 then completes the local switching to the intra-domain backup channel based on the received APS status information (if PE1 is already in the intra-domain backup channel, this status is maintained).

[0069] Specifically, when the DNI standby node P2 determines that the intra-domain primary FG channel fails or receives the first indication information, the inter-domain primary FG channel is in normal status, and the DNI channel is in normal status, the connection between subport 2 of the DNI master node P1 and subport 3 of the DNI master node is set to a bidirectional connection, and the connection device between subport 1 and subport 2 of the DNI master node is set to a unidirectional receiving bridge; the bridge between subport 3 of the DNI standby node P2 and subport 1 of the DNI standby node is set to a bidirectional connection, and the bridge between subport 2 and subport 1 of the DNI standby node is set to a unidirectional receiving bridge, so that the service flow can reach the DNI standby node P2 from PE 1 through the intra-domain backup FG channel, then reach the DNI master node P1 through the DNI channel, and then reach the opposite DNI master node P3 through the inter-domain primary FG channel. In this implementation, even if the active FG channel in a domain fails, the other end will not feel the failure or switching, thus ensuring inter-domain isolation. That is, failures and protection switching within a domain will have minimal impact on other domains.

[0070] In another implementation, when it is determined that the status of the intra-domain main FG channel is normal, the inter-domain main FG channel fails, and the DNI channel status is normal, the first bridging relationship is determined as follows: the connection between the first intra-domain FG channel subport and the first DNI channel subport is a bidirectional connection, and the connection between the first inter-domain FG channel subport and the first intra-domain FG channel subport is a unidirectional receive bridge; the second bridging relationship is determined as follows: the connection between the second inter-domain FG channel subport and the second DNI channel subport is a bidirectional connection, and the connection between the second intra-domain FG channel subport and the second inter-domain FG channel subport is a unidirectional receive bridge.

[0071] As shown in Figure 7, when the primary interdomain FG channel fails, subport 2 of DNI master node P1 detects the failure by monitoring the end-to-end FG channel OAM status sent by the peer PE. DNI master node P1 notifies DNI backup node P2 of the failure information. Based on this information, backup node P2 determines the bridging relationship between the three FG channel subports within each DNI master and backup node, and notifies the DNI master of the decision, thereby coordinating the bridge switching between the DNI master and backup nodes. In the scenario of a primary interdomain channel failure, protection switching is performed entirely at the DNI master and backup nodes. PE1 is unaware of the failure and does not trigger a switching action.

[0072] In another implementation, if it is determined that the intra-domain backup FG channel is normal, the intra-domain primary FG channel is faulty or has received first indication information, or the inter-domain primary FG channel is faulty, the second bridging relationship is determined as follows: the connection between the second intra-domain FG channel subport and the second inter-domain FG channel subport is a bidirectional connection, and the connection between the second inter-domain FG channel subport and the second DNI channel subport is a unidirectional receive bridge. In the event of a fault in the intra-domain primary FG channel or an inter-domain primary FG channel, service flows are no longer transmitted through the DNI master node. Therefore, there is no need to determine the bridging relationship between the subports within the DNI master node.

[0073] As shown in Figure 8, when a fault occurs on the intra-domain primary FG channel in Domain 1 (the local SPN system), PE1 and subport 1 of DNI master node P1 detect the fault by monitoring the TCM OAM messages received on that channel. For inter-domain primary channel faults, subport 2 of DNI master node P1 detects the fault by monitoring the end-to-end FG channel OAM messages sent by the peer PE.

[0074] When a fault is detected on the receiving side of PE1, PE1 switches to the backup FG channel within the domain and notifies the DNI backup node P2 of the switching status through the APS protocol.

[0075] When the receiving side of subport 1 of the DNI master node P1 detects a failure of the intra-domain active channel and the receiving side of subport 2 detects a failure of the inter-domain active channel, the DNI master node notifies the DNI backup node P2 of the failure information.

[0076] The DNI backup node P2 determines the bridging relationship between the three FG channel subports within the DNI master and backup nodes based on the fault information received from the DNI master node P1 or the APS switching status information sent by PE1. For example, the bridging relationship of the subports within the DNI master node can remain unchanged, while the connection between subport 1 and subport 2 of the DNI backup node P2 is a bidirectional connection, and the connection between subport 3 and subport 2 is a unidirectional receive bridge. The decision result is notified to the DNI master node, thereby collaboratively completing the bridging switching between the DNI master and backup nodes. At the same time, the DNI backup node notifies PE1 of the switching status via the APS protocol. PE1 completes the local switching to the intra-domain backup channel based on the received APS status information (if PE1 is already in the intra-domain backup channel, this status is maintained).

[0077] In another implementation, when it is determined that the status of the intra-domain backup FG channel is normal, the intra-domain main FG channel is faulty or the first indication information is received, and the DNI channel is faulty, the second bridging relationship is determined as follows: the connection between the second intra-domain FG channel subport and the second inter-domain FG channel subport is a bidirectional connection, and the connection between the second DNI channel subport and the second inter-domain FG channel subport is a unidirectional receiving connection.

[0078] As shown in Figure 9, if the active FG channel in domain 1 fails, PE1 and subport 1 of the DNI master node P1 can detect the failure by monitoring the received TCM OAM messages for that channel. If the DNI channel in domain 1 fails, subport 3 of the DNI master node P1 and subport 3 of the DNI backup node P2 can detect the failure by monitoring the DNI channel's TCM OAM messages or by receiving alarms from the server layer MTNS.

[0079] When a fault is detected on the receiving side of PE1, PE1 switches to the backup channel within the domain and notifies the DNI backup node P2 of the switching status through the APS protocol.

[0080] When the receiving side of subport 1 of the DNI master node P1 detects a failure in the active channel within the domain, and the receiving side of subport 3 detects a failure in the DNI-channel, the DNI master node notifies the DNI backup node P2 of the failure information.

[0081] The DNI backup node P2 determines the bridging relationship between the three FG channel subports within the DNI master and backup nodes based on the received intra-domain primary channel fault information and DNI-channel fault information from the DNI master node P1, or the DNI-channel fault detected by P2's own subport 3, as well as the APS switching status information sent by PE1. For example, the bridging relationship within the DNI master node can remain unchanged, while the connection between subport 1 and subport 2 of the DNI backup node P2 is a bidirectional connection, and the connection between subport 3 and subport 2 is a unidirectional receive bridge. The backup node notifies the DNI master node of the decision result, thereby collaboratively completing the bridging switchover between the DNI master and backup nodes. Simultaneously, the backup node notifies PE1 of the switching status via the APS protocol. Based on the received APS status information, PE1 switches its local end to the intra-domain backup channel (if PE1 is already in the intra-domain backup channel, it maintains that state).

[0082] In the fault scenario shown in FIG9 , subport 2 of the DNI master node P3 in domain 2 detects the fault by detecting the OAM status of the end-to-end FG channel sent by the peer PE. That is, domain 2 detects the fault of the inter-domain primary FG channel.

[0083] In another implementation, when it is determined that the status of the intra-domain backup FG channel is normal, the inter-domain main FG channel is faulty, and the DNI channel is faulty, the second bridging relationship is determined as follows: the connection between the second intra-domain FG channel subport and the second inter-domain FG channel subport is a bidirectional connection, and the connection between the second DNI channel subport and the second inter-domain FG channel subport is a unidirectional receiving connection.

[0084] As shown in Figure 10, if an inter-domain active channel fails, both PE1 and subport 2 of the DNI master node P1 can detect the fault by monitoring the OAM status of the end-to-end FG channel sent by the peer PE. If a DNI channel failure occurs in domain 1, subport 3 of the DNI master node P1 and subport 3 of the DNI backup node P2 can detect the fault by monitoring the TCM OAM status of the DNI channel or by detecting alarms from the server layer MTNS.

[0085] Optionally, when a fault is detected on the receiving side of PE1, PE1 switches to the backup channel within the domain and notifies the DNI backup node P2 of the switching status through the APS protocol.

[0086] When the receiving side of subport 2 of the DNI master node P1 detects a fault in the inter-domain primary channel and the receiving side of subport 3 detects a fault in the DNI-channel, the DNI master node notifies the DNI backup node P2 of the fault information.

[0087] The DNI backup node P2 then determines the bridging relationship between the three FG channel subports within the DNI master and backup nodes based on the inter-domain primary channel fault information and DNI-channel fault information received from the DNI master node P1, or the DNI-channel fault detected by P2's own subport 3, or the APS switching status information sent by PE1. For example, the bridging relationship within the DNI master node's subports can remain unchanged, while the connection between subport 1 and subport 2 of the DNI backup node P2 is a bidirectional connection, and the connection between subport 3 and subport 2 is a unidirectional receive bridge. The backup node notifies the DNI master of the decision, thereby collaboratively completing the bridging switchover between the DNI master and backup nodes. Simultaneously, the backup node notifies PE1 of the switchover status via the APS protocol. Based on the received APS status information, PE1 switches its local end to the intra-domain backup channel (if PE1 is already in the intra-domain backup channel, it maintains that state).

[0088] In the embodiment of the present application, in different fault scenarios, the protection and recovery of services are achieved by switching the DNI master and backup nodes to different bridging states and the protection switching of the PE nodes; and after the fault is cleared, it returns to the initial state.

[0089] It should also be noted that the DNI-FG protection solution of the present application is also applicable to cross-domain protection of optical service units (OSUs) of optical transport networks (OTNs).

[0090] FIG11 is a flow chart of a protection switching method based on an SPN system provided by an exemplary embodiment of the present application. The method 1100 is applied to a PE node in the SPN system described above. As shown in FIG11 , the method 1100 may include the following steps:

[0091] Step 1101: The PE node receives a service flow through the primary FG channel within the domain of the SPN system.

[0092] For example, in the initial state, the client subport of the PE node can send service flows to the active FG channel subport and the backup FG channel subport in the domain at the same time, and the client subport is from the active FG channel subport in the domain.

[0093] Step 1102: The PE node performs fault detection on the active FG channel within the SPN system domain and the standby FG ​​channel within the SPN system domain.

[0094] In one implementation, the PE node can enable the TCM OAM function for the active FG channel in the domain to perform fault detection by communicating with the DNI master node; and the PE node can enable the TCM OAM function for the standby FG ​​channel in the domain to perform fault detection by communicating with the DNI standby node.

[0095] Step 1103: When the first condition is met, the PE node switches data reception from the active FG channel within the domain to the standby FG ​​channel within the domain.

[0096] Optionally, the first condition includes at least one of the following:

[0097] (1) A failure of the active FG channel in the domain is detected;

[0098] (2) receiving second indication information sent by the DNI standby node of the SPN system, wherein the second indication information is used to indicate that the DNI standby node is in a standby FG ​​channel receiving state within the domain.

[0099] In one implementation, upon detecting a failure of the active FG channel within the domain, the PE node sends first indication information to the DNI standby node, wherein the first indication information is used to indicate that the PE node is in a standby FG ​​channel receiving state within the domain, thereby enabling the DNI standby node to execute a corresponding switching decision.

[0100] In one implementation, the PE node sending the first indication information to the DNI standby node may include: the PE node notifying the DNI standby node of the PE node's APS status information via the APS protocol, wherein the PE node's APS status information includes the first indication information; and receiving the second indication information sent by the DNI standby node may include: the PE node receiving the APS status information of the DNI standby node sent by the DNI standby node via the APS protocol, wherein the APS status information of the DNI standby node includes the second indication information. In this implementation, the APS protocol is enabled between the PE node and the DNI standby node, and the PE node notifies the other node of which intra-domain FG channel it is using via its own APS status information.

[0101] In one implementation, the above-mentioned method 1100 may further include: when the PE node determines that a fault has occurred in the end-to-end FG channel by detecting the OAM information of the end-to-end FG channel sent by the opposite PE node of the opposite SPN system, switching from the active end-to-end FG channel to the standby end-to-end FG channel, wherein the active end-to-end FG channel includes: the active FG channel within the domain of the SPN system and the active FG channel between the SPN system and the opposite SPN system, as well as the active FG channel within the domain of the opposite SPN system; the standby end-to-end FG channel includes: the standby FG ​​channel within the domain of the SPN system and the standby FG ​​channel between the SPN system and the opposite SPN system, as well as the standby FG ​​channel within the domain of the opposite SPN system.

[0102] In one or more implementations, the PE node may also return to the initial state, i.e., switch data reception back to the inter-domain primary FG channel, when detecting that the intra-domain primary FG channel is restored or the received APS status information of the DNI standby node indicates that the DNI standby node is in the intra-domain primary FG channel receiving state.

[0103] In an embodiment of the present application, after the PE node receives the service flow through the intra-domain main FG channel of the SPN system, it can enable the serial monitoring TCM OAM function through the intra-domain main FG channel or the intra-domain backup FG channel to perform fault detection on the intra-domain main FG channel of the SPN system and the intra-domain backup FG channel of the SPN system, and then perform corresponding processing operations according to the detected fault situation, for example, switching to the intra-domain backup FG channel to send a first indication information to the DNI standby node, or switching to the intra-domain backup FG channel when receiving the second indication information sent by the DNI standby node, thereby realizing inter-domain fault isolation and cross-domain service protection, simplifying inter-domain intercommunication, and meeting the requirements of inter-domain intercommunication and cross-domain protection of MTN FG channels or MTNP channels in different SPN or MTN domains.

[0104] FIG12 is a flow chart of a protection switching method based on an SPN system provided by another exemplary embodiment of the present application. The method 1200 is applied to the DNI master node in the SPN system described above. As shown in FIG12 , the method 1200 may include the following steps:

[0105] Step 1201: The DNI master node operates in a first state.

[0106] Optionally, in the first state, the connection between the first intra-domain FG channel subport of the DNI master node and the first inter-domain FG channel subport is set to bidirectional bridging, and the first DNI channel subport of the DNI master node establishes a unidirectional receive bridge with the first intra-domain FG channel subport.

[0107] Step 1202: The DNI master node performs fault detection on the intra-domain primary FG channel, the inter-domain primary FG channel, and the DNI channel of the SPN system.

[0108] For example, the DNI master node enables the TCM OAM function on the active FG channel in the domain to perform fault detection through communication with the PE node of the SPN system.

[0109] For example, the DNI master node performs non-intrusive monitoring of the OAM of the end-to-end FG channel sent by the PE node of the opposite SPN system to detect faults of the inter-domain primary FG channel; or, the DNI master node performs fault detection by starting the TCM OAM function on the inter-domain primary FG channel with the DNI master node of the opposite SPN system.

[0110] For another example, the DNI master node performs fault detection on the DNI channel by starting the TCM OAM function with the DNI standby node, or the DNI master node performs fault detection on the DNI channel through the monitoring capability of the MTN segment layer.

[0111] Step 1203: If a second condition is met, the DNI master node switches to a second state, wherein the bridging relationships between subports within the DNI master node are different in the first state and the second state.

[0112] In one implementation, the second condition may include: receiving third indication information sent by the DNI standby node, where the third indication information is used to indicate a first bridging relationship between a first intra-domain FG channel subport, a first inter-domain FG channel subport, and a first DNI channel subport of the DNI master node. Specifically, the third indication information is used to indicate a bridging relationship between subports within the DNI master node in the second state.

[0113] In one implementation, when a fault is detected in at least one of the intra-domain primary FG channel, the inter-domain primary FG channel, and the DNI channel, first fault information is sent to the DNI standby node. The first fault information indicates that a fault has occurred in at least one of the intra-domain primary FG channel, the inter-domain primary FG channel, and the DNI channel. The DNI standby node can then make a switching decision based on the first fault information.

[0114] In one implementation, the DNI master node switches to the second state, including one of the following:

[0115] (1) Based on the third indication information, the connection between the first inter-domain FG channel subport and the first DNI channel subport is set to bidirectional bridging, and the connection between the first intra-domain FG channel subport and the first inter-domain FG channel subport is set to unidirectional receive bridging; for example, the bridging relationship of the internal subports of the DNI master node in the fault scenario shown in FIG6 .

[0116] (2) Based on the third indication information, a bidirectional connection is established between the first intra-domain FG channel subport and the first DNI channel subport, and a unidirectional receive bridge is established between the first inter-domain FG channel subport and the first intra-domain FG channel subport. For example, the bridge relationship of the internal subports of the DNI master node in the fault scenario shown in Figure 7 is shown.

[0117] In one implementation, after step 1203, the method 1300 may further include: if a third condition is met, the DNI master node returns to the first state.

[0118] Optionally, the third condition includes: receiving fourth indication information sent by the DNI standby node, wherein the fourth indication information instructs the DNI master node to return to the first state. For example, the DNI standby node may send the fourth indication information when determining that the fault is recovered.

[0119] In an embodiment of the present application, when the DNI master node operates in the first state, it performs fault detection on the intra-domain primary FG channel, the inter-domain primary FG channel, and the DNI channel of the SPN system, and then sends second fault information to the DNI standby node based on the detected fault condition to inform the DNI standby node of the fault condition of each channel. After receiving the third indication information sent by the DNI standby node, the DNI master node resets the bridging between each sub-port to achieve protection switching within the node by adjusting the bridging between each sub-port. After the fault is recovered, the DNI master node returns to the initial state and operates normally again.

[0120] FIG13 is a flow chart of a protection switching method based on an SPN system provided in another exemplary embodiment of the present application. The method 1300 is applied to a DNI standby node in the SPN system described above. As shown in FIG13 , the method 1300 may include the following steps:

[0121] Step 1301: The DNI standby node operates in a third state.

[0122] In the third state, the second intra-domain FG channel subport of the DNI standby node establishes a bidirectional bridge with the second inter-domain FG channel subport, and the second DNI channel subport establishes a unidirectional receive bridge with the second intra-domain FG channel subport, or the second inter-domain FG channel subport of the DNI standby node establishes a bidirectional bridge with the second DNI channel subport, and the second intra-domain FG channel subport establishes a unidirectional receive bridge with the second inter-domain FG channel subport.

[0123] Step 1302: The DNI standby node performs fault detection on the intra-domain standby FG ​​channel, the inter-domain standby FG ​​channel, and the DNI channel of the SPN system.

[0124] In one implementation, the DNI standby node detecting a fault on the intra-domain standby FG ​​channel of the SPN system may include: the DNI standby node enabling a TCM OAM function on the intra-domain standby FG ​​channel to detect a fault by communicating with a PE node of the SPN system.

[0125] In one implementation, the DNI standby node performing fault detection on the inter-domain primary FG channel of the SPN system may include: the DNI standby node performing fault detection on the inter-domain backup FG channel by performing non-intrusive monitoring on the OAM of the end-to-end FG channel sent by the PE node of the opposite SPN system; or, the DNI standby node performing fault detection on the inter-domain backup FG channel by initiating the TCM OAM function with the DNI standby node of the opposite SPN system.

[0126] In one implementation, the DNI standby node performing fault detection on the DNI channel of the SPN system may include: the DNI standby node performing fault detection on the DNI channel by initiating a TCM OAM function with the DNI master node; or, the DNI standby node performing fault detection on the DNI channel by using a monitoring capability of an MTN segment layer.

[0127] Step 1303: If the fourth condition is met, the DNI standby node switches to a fourth state, wherein the bridging relationships between subports within the DNI standby node are different in the third state and the fourth state.

[0128] In one implementation, before the DNI standby node switches to the fourth state, the DNI standby node receives first fault information sent by the DNI master node of the SPN system and / or first indication information sent by the PE node, wherein the first fault information is used to indicate that a fault occurs in at least one of the intra-domain primary FG channel, the inter-domain primary FG channel, and the DNI channel, and the first indication information is used to indicate that the PE node is in a standby state.

[0129] In one implementation, the fourth condition may include: determining that at least one of the inter-domain main FG channel, the intra-domain backup FG channel, the inter-domain backup FG channel and the DNI channel has a fault based on the detected fault information and the first fault information and / or the first indication information received.

[0130] In one implementation, when the fourth condition is met, the DNI standby node can determine the first bridging relationship between the first intra-domain FG channel subport, the first inter-domain FG channel subport, and the first DNI channel subport of the DNI master node based on the detected fault information and the received first fault information and / or the first indication information; and send third indication information to the DNI master node, wherein the third indication information is used to indicate the first bridging relationship.

[0131] In one implementation, when the fourth condition is met, the method may further include: when it is determined based on the detected fault information and the first fault information that the inter-domain main FG channel has failed, or the inter-domain main FG information and the DNI channel have failed at the same time, sending second indication information to the PE node, wherein the second indication information is used to indicate that the DNI standby node is in a standby state.

[0132] In one implementation, the DNI standby node determines, based on the detected fault information and the received first fault information and / or the first indication information, that the intra-domain main FG channel has failed, the inter-domain main FG channel is in normal status, the intra-domain standby FG ​​channel is in normal status, and the DNI channel is in normal status, and determines that the first bridging relationship is: the connection between the first inter-domain FG channel subport and the first DNI channel subport is set to a bidirectional connection, and the connection device between the first intra-domain FG channel subport and the first inter-domain FG channel subport is a unidirectional receiving bridge.

[0133] In one implementation, the DNI standby node determines, based on the detected fault information and the received first fault information and / or the first indication information, that the status of the intra-domain main FG channel is normal, the inter-domain main FG channel has a fault, the intra-domain standby FG ​​channel is normal, and the DNI channel is normal, and determines that the first bridging relationship is: the first intra-domain FG channel subport and the first DNI channel subport are set to a bidirectional connection, and the connection device between the first inter-domain FG channel subport and the first intra-domain FG channel subport is a unidirectional receiving bridge.

[0134] In one implementation, when the fourth condition is met, the DNI standby node switches to the fourth state, including:

[0135] When it is determined, based on the detected fault information and the received first fault information and / or the first indication information, that the intra-domain backup FG channel is in normal state, the inter-domain main FG channel is in normal state, the intra-domain main FG channel is faulty and the DNI channel is normal, it is determined to switch to the fourth state, wherein, in the fourth state, the bridging relationship between the sub-ports inside the DNI standby node is: the connection between the second intra-domain FG channel sub-port and the second DNI channel sub-port is set to a bidirectional connection, and the connection device between the second inter-domain FG channel sub-port and the second intra-domain FG channel sub-port is a unidirectional receiving bridge; for example, the switching under the fault scenario shown in Figure 6.

[0136] When it is determined based on the detected fault information and the received first fault information and / or the first indication information that the intra-domain backup FG channel is in normal state, the inter-domain main FG channel is faulty, the intra-domain main FG channel is in normal state, and the DNI channel is in normal state, it is determined to switch to the fourth state, wherein, in the fourth state, the bridging relationship between the sub-ports inside the DNI standby node is: the connection between the second inter-domain FG channel sub-port and the second DNI channel sub-port is set to a bidirectional connection, and the connection device between the second intra-domain FG channel sub-port and the second inter-domain FG channel sub-port is a unidirectional receiving bridge; for example, the switching under the fault scenario shown in Figure 7.

[0137] When it is determined, based on the detected fault information and the received first fault information and / or the first indication information, that the intra-domain backup FG channel is in normal state, the intra-domain main FG channel is faulty, the inter-domain main FG channel is faulty, and the DNI channel is in normal state, it is determined to switch to the fourth state, wherein, in the fourth state, the bridging relationship between the sub-ports inside the DNI standby node is: the connection between the second intra-domain FG channel sub-port and the second inter-domain FG channel sub-port is set to a bidirectional connection, and the connection device between the second inter-domain FG channel sub-port and the second DNI channel sub-port is set to a unidirectional receiving bridge; for example, the switching under the fault scenario shown in Figure 8.

[0138] When it is determined based on the detected fault information and the received first fault information and / or the first indication information that the status of the intra-domain backup FG channel is normal, the intra-domain main FG channel is faulty, and the DNI channel is faulty, it is determined to switch to the fourth state, wherein, in the fourth state, the bridging relationship between the sub-ports inside the DNI standby node is: the connection between the second intra-domain FG channel sub-port and the second inter-domain FG channel sub-port is set to a bidirectional connection, and the connection device between the second inter-domain FG channel sub-port and the second DNI channel sub-port is a unidirectional receiving connection; for example, the switching under the fault scenario shown in Figure 9.

[0139] If, based on the detected fault information and the received first fault information and / or the first indication information, it is determined that the intra-domain backup FG channel is normal, the inter-domain primary FG channel is faulty, and the DNI channel is faulty, a switch is determined to a fourth state. In the fourth state, the bridging relationship between the subports within the standby DNI node is as follows: the connection between the second intra-domain FG channel subport and the second inter-domain FG channel subport is set to a bidirectional connection, and the connection between the second inter-domain FG channel subport and the second DNI channel subport is a unidirectional receive connection. For example, the switchover in the fault scenario shown in Figure 10.

[0140] In one implementation, after the DNI standby node switches to the fourth state, the method further includes: restoring to the third state when it is determined that the fault is recovered based on the detected fault information and the received first fault information and / or first indication information.

[0141] In the above implementation, when the fault is recovered, the DNI standby node may further send fourth indication information to the DNI master node, instructing the DNI master node to return to the first state, and send fifth indication information to the PE node, instructing the PE node to switch to the inter-domain primary FG channel.

[0142] In an embodiment of the present application, when the DNI standby node operates in the third state and satisfies the fourth condition, the node determines the bridging relationship between the subports. That is, based on different fault information, the node adjusts the bridging between the subports to complete protection switching within the node, and then sends an indication message to the node related to the fault. After the fault is recovered, the node returns to the initial state and resumes normal operation.

[0143] Figure 14 shows a block diagram of an electronic device provided by an exemplary embodiment of the present application. The electronic device 1400 includes a central processing unit (CPU) 1401, a system memory 1404 including a random access memory (RAM) 1402 and a read-only memory (ROM) 1403, and a system bus 1405 connecting the system memory 1404 and the CPU 1401. The electronic device 1400 also includes a mass storage device 1406 for storing an operating system 1409, a client 1410, and other program modules 1411.

[0144] Without loss of generality, the computer-readable medium may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data. Computer storage media include RAM, ROM, Erasable Programmable Read Only Memory (EPROM), Electronically Erasable Programmable Read-Only Memory (EEPROM), flash memory or other solid-state storage technologies, CD-ROM, Digital Versatile Disc (DVD) or other optical storage, tape cassettes, magnetic tape, disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage media are not limited to the above-mentioned ones. The above-mentioned system memory 1404 and mass storage device 1406 can be collectively referred to as memory.

[0145] According to various embodiments of the present disclosure, the electronic device 1400 may also be connected to a remote computer on a network via a network such as the Internet. That is, the electronic device 1400 may be connected to a network 1408 via a network interface unit 1407 connected to the system bus 1405, or the network interface unit 1407 may be used to connect to other types of networks or remote computer systems (not shown).

[0146] The memory also includes at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is stored in the memory. The central processing unit 1401 implements all or part of the steps in the protection switching method based on the SPN system shown in the above-mentioned embodiments by executing the at least one instruction, at least one program, code set or instruction set.

[0147] Those skilled in the art will understand that the structure shown in FIG14 does not constitute a limitation on the electronic device 1400 , and may include more or fewer components than shown, or combine certain components, or adopt a different component arrangement.

[0148] In an exemplary embodiment, a computer-readable storage medium is further provided. The computer-readable storage medium stores at least one computer program, which is loaded and executed by a processor to implement all or part of the steps in the above-described protection switching method based on the SPN system. For example, the computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, or an optical data storage device.

[0149] In an exemplary embodiment, a computer program product is further provided. The computer program product includes at least one computer program, which is loaded and executed by a processor to implement all or part of the steps in the above-mentioned protection switching method based on the SPN system.

[0150] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present application that follow the general principles of the present application and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered merely as exemplary, and the true scope and spirit of the present application are indicated by the claims.

[0151] It should be understood that the present application is not limited to the exact structures described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A slice packet network SPN system, include: The DNI master node and DNI standby node of the DNI that perform dual-node interconnection with the peer SPN system; The DNI master node includes: a first DNI channel subport, used to establish a DNI channel with the DNI standby node; The DNI standby node includes: a second DNI channel subport, which is used to establish the DNI channel with the DNI master node.

2. The system according to claim 1, in, The system also includes: an operator edge PE node; The PE node includes: The intra-domain master fine-grained FG channel subport is used to establish the intra-domain master FG channel with the DNI master node; An intra-domain standby FG ​​channel subport, used to establish an intra-domain standby FG ​​channel with the DNI standby node; The DNI master node also includes: A first intra-domain FG channel subport, used to establish the intra-domain main FG channel with the PE node; The first inter-domain FG channel subport is used to establish an inter-domain primary FG channel with the peer SPN system; The DNI standby node also includes: The second intra-domain FG channel subport is used to establish the intra-domain standby FG ​​channel with the PE node; The second inter-domain FG channel sub-port is used to establish an inter-domain backup FG channel with the opposite SPN system.

3. The system according to claim 2, in, The intra-domain main FG channel, the intra-domain backup FG channel, the DNI channel, the inter-domain main FG channel and the inter-domain backup FG channel are all SPN fine-grained channels and have the same bandwidth.

4. The system according to claim 2, in, The PE node also includes: a client subport for accessing fine-grained services, the client subport simultaneously sending service flows to the active FG channel subport within the domain and the standby FG ​​channel subport within the domain, and the client subport receiving service flows from the active FG channel subport within the domain or the standby FG ​​channel subport within the domain.

5. The system according to claim 2, in, Inside the DNI master node, the first intra-domain FG channel subport, the first inter-domain FG channel subport, and two of the first DNI channel subports establish a bidirectional bridge connection, and the other subport establishes a unidirectional receiving bridge connection with one of the two subports or is left unconnected; Inside the DNI standby node, two of the second intra-domain FG channel subport, the second inter-domain FG channel subport and the second DNI channel subport establish bidirectional bridging, while the other subport establishes a unidirectional receiving bridge with one of the two subports or is left hanging.

6. The system according to claim 5, in, In the initial state, The PE node receives a service flow from the primary fine-grained FG channel subport in the domain; The first intra-domain FG channel subport of the DNI master node establishes a bidirectional bridge with the first inter-domain FG channel subport, the first DNI channel subport establishes a unidirectional receiving bridge with the first intra-domain FG channel subport or is left unconnected, the second intra-domain FG channel subport of the DNI standby node establishes a bidirectional bridge with the second inter-domain FG channel subport, the second DNI channel subport establishes a unidirectional receiving bridge with the second intra-domain FG channel subport or is left unconnected; or, The first intra-domain FG channel subport of the DNI master node establishes a bidirectional bridge with the first inter-domain FG channel subport, the first DNI channel subport establishes a unidirectional receiving bridge with the first intra-domain FG channel subport, the second inter-domain FG channel subport of the DNI standby node establishes a bidirectional bridge with the second DNI channel subport, and the second intra-domain FG channel subport establishes a unidirectional receiving bridge with the second inter-domain FG channel subport.

7. A system according to any one of claims 2 to 5, in, The PE node is used to perform fault detection on the active FG channel and the standby FG ​​channel in the domain in the receiving direction; The DNI master node is used to receive the main FG channel in the domain and the inter-domain The main FG channel and the DNI channel perform fault detection; The DNI standby node is used to perform fault detection on the intra-domain standby FG ​​channel, the inter-domain standby FG ​​channel and the DNI channel in the receiving direction.

8. The system according to claim 7, in, The PE node is further used for: When it is detected that the active FG channel in the domain fails and the standby FG ​​channel in the domain is in a normal state, data reception is switched from the active FG channel in the domain to the standby FG ​​channel in the domain, and first indication information is sent to the DNI standby node, wherein the first indication information is used to indicate that the PE node is in a standby FG ​​channel receiving state in the domain; or, When receiving the second indication information sent by the DNI standby node, data reception is switched from the intra-domain active FG channel to the intra-domain standby FG ​​channel, wherein the second indication information is used to indicate that the DNI standby node is in the intra-domain standby FG ​​channel receiving state.

9. The system according to claim 7, in, The DNI master node is further configured to, when detecting that at least one of the intra-domain primary FG channel, the inter-domain primary FG channel, and the DNI channel fails, send detected first fault information to the DNI standby node, and, when receiving third indication information sent by the DNI standby node, reset the bridging between the first intra-domain FG channel subport, the first inter-domain FG channel subport, and the first DNI channel subport inside the DNI master node according to the third indication information, wherein the third indication information is used to indicate a first bridging relationship between the first intra-domain FG channel subport, the first inter-domain FG channel subport, and the first DNI channel subport; The DNI standby node is further used to determine, according to the detection result of fault detection on the intra-domain standby FG ​​channel, the inter-domain standby FG ​​channel and the DNI channel and the first fault information, a first bridging relationship between the first intra-domain FG channel subport, the first inter-domain FG channel subport and the first DNI channel subport, and a second bridging relationship between the second intra-domain FG channel subport, the second inter-domain FG channel subport and the second DNI channel subport, and set the second domain of the DNI standby node according to the determined second bridging relationship. The intra-FG channel subport, the second inter-domain FG channel subport and the second DNI channel subport are bridged, and the third indication information is sent to the DNI master node.

10. The system according to claim 9, in, The DNI standby node is also used for: When it is determined that the inter-domain main FG channel fails, or the inter-domain main FG information and the DNI channel fail at the same time, second indication information is sent to the PE node, wherein the second indication information is used to indicate that the DNI standby node is in a domain standby FG ​​channel receiving state; or, Upon receiving the first indication information sent by the PE node, a first bridging relationship between the first intra-domain FG channel subport, the first inter-domain FG channel subport and the first DNI channel subport of the DNI master node and a second bridging relationship between the first intra-domain FG channel subport, the first inter-domain FG channel subport and the first DNI channel subport of the DNI standby node are determined, wherein the first indication information is used to indicate that the PE node is in an intra-domain standby FG ​​channel receiving state.

11. The system according to claim 8 or 10, in, The PE node notifies the DNI standby node of the APS state information of the PE node through the automatic protection switching APS protocol, wherein the APS state information of the PE node includes the first indication information; The DNI standby node notifies the PE node of APS status information of the DNI standby node through the APS protocol, wherein the APS status information of the DNI standby node includes the second indication information.

12. The system according to claim 9, in, The DNI master node sends the first fault information to the DNI standby node through a target protocol channel established between the DNI master node and the DNI standby node, wherein the target protocol channel includes: a general information channel GCC based on a DNI channel, or a management communication channel MCC of a metropolitan area transport network MTN segment layer, or a local area Ethernet channel; The DNI standby node establishes the target protocol channel with the DNI standby node, The third indication information is sent to the DNI master node.

13. The system according to claim 9, in, The DNI standby node determines a first bridging relationship between the first intra-domain FG channel subport, the first inter-domain FG channel subport, and the first DNI channel subport, and a second bridging relationship between the second intra-domain FG channel subport, the second inter-domain FG channel subport, and the second DNI channel subport, including: When it is determined that the main FG channel within the domain fails or receives the first indication information, the inter-domain main FG channel is in normal status, the intra-domain standby FG ​​channel is in normal status, and the DNI channel is in normal status, the first bridging relationship is determined as follows: the connection between the first inter-domain FG channel subport and the first DNI channel subport is a bidirectional connection, and the connection between the first intra-domain FG channel subport and the first inter-domain FG channel subport is a unidirectional receiving bridge, and the second bridging relationship is determined as follows: the connection between the second intra-domain FG channel subport and the second DNI channel subport is a bidirectional connection, and the connection between the second inter-domain FG channel subport and the second intra-domain FG channel subport is a unidirectional receiving bridge.

14. The system according to claim 9, in, The DNI standby node determines a first bridging relationship among the first intra-domain FG channel subport, the first inter-domain FG channel subport, and the first DNI channel subport, and a second bridging relationship among the second intra-domain FG channel subport, the second inter-domain FG channel subport, and the second DNI channel subport, and according to the determined second bridging relationship, includes: When it is determined that the status of the intra-domain main FG channel is normal, the inter-domain main FG channel fails and the DNI channel status is normal, the first bridging relationship is determined as follows: the connection between the first intra-domain FG channel subport and the first DNI channel subport is a bidirectional connection, and the connection between the first inter-domain FG channel subport and the first intra-domain FG channel subport is a unidirectional receiving bridge, and the second bridging relationship is determined as follows: the connection between the second inter-domain FG channel subport and the second DNI channel subport is a bidirectional connection, and the connection between the second intra-domain FG channel subport and the second inter-domain FG channel subport is a unidirectional receiving bridge.

15. The system according to claim 9, in, The DNI standby node determines a second bridging relationship between the second intra-domain FG channel subport, the second inter-domain FG channel subport, and the second DNI channel subport, and according to the determined second bridging relationship, includes: When it is determined that the status of the backup FG channel within the domain is normal, the main FG channel within the domain is faulty or the first indication information is received, and the main FG channel between domains is faulty, the second bridging relationship is determined as follows: the connection between the second intra-domain FG channel subport and the second inter-domain FG channel subport is a bidirectional connection, and the connection between the second inter-domain FG channel subport and the second DNI channel subport is a unidirectional receive bridge.

16. The system according to claim 9, in, The DNI standby node determines a second bridging relationship between the second intra-domain FG channel subport, the second inter-domain FG channel subport, and the second DNI channel subport, and according to the determined second bridging relationship, includes: When it is determined that the status of the backup FG channel within the domain is normal, the main FG channel within the domain fails or receives the first indication information, and the DNI channel fails, the second bridging relationship is determined as follows: the connection between the second intra-domain FG channel subport and the second inter-domain FG channel subport is a bidirectional connection, and the connection between the second inter-domain FG channel subport and the second DNI channel subport is a unidirectional receiving connection.

17. The system according to claim 9, in, The DNI standby node determines a second bridging relationship between the second intra-domain FG channel subport, the second inter-domain FG channel subport, and the second DNI channel subport, and according to the determined second bridging relationship, includes: When it is determined that the status of the backup FG channel within the domain is normal, the main FG channel between domains is faulty, and the DNI channel is faulty, the second bridging relationship is determined as follows: the connection between the second intra-domain FG channel subport and the second inter-domain FG channel subport is a bidirectional connection, and the connection between the second inter-domain FG channel subport and the second DNI channel subport is a unidirectional receiving connection.

18. The system according to claim 7, in, The PE node is further used to determine whether the end-to-end FG channel is No malfunction occurred.

19. A protection switching method based on an SPN system, applied to a PE node in the SPN system according to any one of claims 2 to 18, in, The method comprises: The PE node receives the service flow through the main FG channel in the domain of the SPN system; The PE node performs fault detection on the active FG channel in the domain of the SPN system and the standby FG ​​channel in the domain of the SPN system; When the first condition is met, the PE node switches data reception from the active FG channel within the domain to the standby FG ​​channel within the domain.

20. The method according to claim 19, in, The first condition includes at least one of the following: It is detected that a failure occurs on the main FG channel in the domain; Second indication information sent by the DNI standby node of the SPN system is received, wherein the second indication information is used to indicate that the DNI standby node is in a standby FG ​​channel receiving state within the domain.

21. The method according to claim 19, in, The PE node performs fault detection on the active FG channel in the domain of the SPN system and the standby FG ​​channel in the domain of the SPN system, including: The PE node performs fault detection on the active FG channel in the domain by enabling the TCM OAM function of serial monitoring through the DNI master node of the SPN system; The PE node starts the TCM OAM function for fault detection on the standby FG ​​channel in the domain through the DNI standby node of the SPN system.

22. The method according to claim 19, in, The method further comprises: When a failure of the active FG channel in the domain is detected, the PE node sends first indication information to the DNI standby node, wherein the first indication information is used to indicate that the PE node is in a standby FG ​​channel receiving state in the domain.

23. The method according to claim 22, in, The PE node sends the first indication information to the DNI standby node, including: the PE The node notifies the DNI standby node of the APS status information of the PE node through the APS protocol, wherein the APS status information of the PE node includes the first indication information; Receiving the second indication information sent by the DNI standby node includes: the PE node receiving APS status information of the DNI standby node sent by the DNI standby node through the APS protocol, wherein the APS status information of the DNI standby node includes the second indication information.

24. A protection switching method based on an SPN system, applied to a DNI master node in the SPN system according to any one of claims 1 to 18, wherein the method include: The DNI master node operates in a first state; The DNI master node performs fault detection on the intra-domain primary FG channel, the inter-domain primary FG channel and the DNI channel of the SPN system; When the second condition is met, the DNI master node switches to a second state, wherein the bridging relationship between the subports inside the DNI master node is different in the first state and the second state.

25. The method according to claim 24, in, The second condition includes: Receive third indication information sent by the DNI standby node, wherein the third indication information is used to indicate a first bridging relationship between a first intra-domain FG channel subport, a first inter-domain FG channel subport, and a first DNI channel subport of the DNI master node.

26. The method according to claim 25, in, Before receiving the third indication information sent by the DNI standby node, the method further includes: When it is detected that at least one of the intra-domain main FG channel, the inter-domain main FG channel and the DNI channel fails, the detected first fault information is sent to the DNI standby node, wherein the first fault information is used to indicate that at least one of the intra-domain main FG channel, the inter-domain main FG channel and the DNI channel fails.

27. The method according to claim 25, in, The DNI master node switches to the second state, including one of the following: Based on the third indication information, the first inter-domain FG channel subport is associated with the first DNI The connection between the channel subports is set to bidirectional bridging, and the connection device between the first intra-domain FG channel subport and the first inter-domain FG channel subport is set to unidirectional receiving bridging; Based on the third indication information, the first intra-domain FG channel subport and the first DNI channel subport are set to be bidirectionally connected, and the connection device between the first inter-domain FG channel subport and the first intra-domain FG channel subport is set to be a unidirectional receiving bridge.

28. A method according to any one of claims 24 to 27, in, The DNI master node performs fault detection on the active FG channel in the domain of the SPN system, including: the DNI master node performs fault detection on the active FG channel in the domain by enabling the TCM OAM function with the PE node of the SPN system; or The DNI master node performs fault detection on the inter-domain main FG channel of the SPN system, including: the DNI master node performs non-intrusive monitoring of the OAM of the end-to-end FG channel sent by the PE node of the opposite SPN system to perform fault detection on the inter-domain main FG channel; or, the DNI master node performs fault detection on the inter-domain main FG channel by starting the TCM OAM function with the DNI master node of the opposite SPN system; The DNI master node performs fault detection on the DNI channel of the SPN system, including: the DNI master node performs fault detection on the DNI channel by starting the TCM OAM function with the DNI standby node, or the DNI master node performs fault detection on the DNI channel through the monitoring capability of the MTN segment layer.

29. The method according to any one of claims 24 to 27, in, In the first state, the connection between the first intra-domain FG channel subport of the DNI master node and the first inter-domain FG channel subport is set to bidirectional bridging, and the first DNI channel subport of the DNI master node establishes a unidirectional receiving bridge with the first intra-domain FG channel subport.

30. The method according to claim 29, in, After the DNI master node switches to the second state, the method further includes: When the third condition is met, the DNI master node returns to the first state.

31. The method according to claim 30, in, The third condition includes: receiving fourth indication information sent by the DNI standby node, wherein the fourth indication information instructs the DNI master node to return to the first state.

32. A protection switching method based on an SPN system, applied to a DNI standby node in the SPN system according to any one of claims 1 to 18, wherein the method include: The DNI standby node operates in a third state; The DNI standby node performs fault detection on the intra-domain standby FG ​​channel, the inter-domain standby FG ​​channel and the DNI channel of the SPN system; When the fourth condition is met, the DNI standby node switches to a fourth state, wherein the bridging relationship between the subports inside the DNI standby node is different in the third state and the fourth state.

33. The method according to claim 32, in, Before the DNI standby node switches to the fourth state, the method further includes: The DNI standby node receives the first fault information sent by the DNI master node of the SPN system and / or the first indication information sent by the PE node, wherein the first fault information is used to indicate that at least one of the intra-domain main FG channel, the inter-domain main FG channel and the DNI channel has a fault, and the first indication information is used to indicate that the PE node is in a standby state.

34. The method according to claim 33, in, The fourth condition includes: Based on the detected fault information and the received first fault information and / or the first indication information, it is determined that at least one of the inter-domain active FG channel, the intra-domain backup FG channel, the inter-domain backup FG channel and the DNI channel fails.

35. The method according to claim 33, in, When the fourth condition is met, the method further includes: The DNI standby node determines, based on the detected fault information and the received first fault information and / or the first indication information, a first bridging relationship between the first intra-domain FG channel subport, the first inter-domain FG channel subport, and the first DNI channel subport of the DNI master node; Send third indication information to the DNI master node, wherein the third indication information is used to indicate the first bridging relationship.

36. The method according to claim 33, in, When the fourth condition is met, the method further includes: When it is determined based on the detected fault information and the first fault information that the inter-domain main FG channel fails, or the inter-domain main FG information and the DNI channel fail at the same time, second indication information is sent to the PE node, wherein the second indication information is used to indicate that the DNI standby node is in a standby state.

37. The method according to claim 35, in, The DNI standby node determines, based on the detected fault information and the received first fault information and / or the first indication information, a first bridging relationship between the first intra-domain FG channel subport, the first inter-domain FG channel subport, and the first DNI channel subport of the DNI master node, including: When it is determined based on the detected fault information and the received first fault information and / or the first indication information that the intra-domain main FG channel fails, the inter-domain main FG channel is in a normal state, the intra-domain standby FG ​​channel is in a normal state, and the DNI channel is in a normal state, the first bridging relationship is determined as follows: the connection between the first inter-domain FG channel subport and the first DNI channel subport is set to a bidirectional connection, and the connection device between the first intra-domain FG channel subport and the first inter-domain FG channel subport is a unidirectional receiving bridge; When it is determined, based on the detected fault information and the first fault information and / or the first indication information received, that the status of the intra-domain main FG channel is normal, the inter-domain main FG channel fails, the intra-domain backup FG channel is normal, and the DNI channel is normal, the first bridging relationship is determined as follows: the first intra-domain FG channel subport and the first DNI channel subport are set to a bidirectional connection, and the connection device between the first inter-domain FG channel subport and the first intra-domain FG channel subport is a unidirectional receiving bridge.

38. The method according to claim 34, in, When the fourth condition is met, the DNI standby node switches to a fourth state, including: When it is determined based on the detected fault information and the received first fault information and / or the first indication information that the intra-domain standby FG ​​channel is in a normal state, the inter-domain main FG channel is in a normal state, the intra-domain main FG channel is faulty and the DNI channel is in a normal state, it is determined to switch to a fourth state, wherein in the fourth state, the bridging relationship between the subports inside the DNI standby node is: the connection between the second intra-domain FG channel subport and the second DNI channel subport is set to a bidirectional connection, and the connection device between the second inter-domain FG channel subport and the second intra-domain FG channel subport is a unidirectional receiving bridge; When it is determined based on the detected fault information and the received first fault information and / or the first indication information that the intra-domain standby FG ​​channel is in a normal state, the inter-domain main FG channel is faulty, the intra-domain main FG channel is in a normal state, and the DNI channel is in a normal state, it is determined to switch to a fourth state, wherein in the fourth state, the bridging relationship between the subports inside the DNI standby node is: the connection between the second inter-domain FG channel subport and the second DNI channel subport is set to a bidirectional connection, and the connection device between the second intra-domain FG channel subport and the second inter-domain FG channel subport is a unidirectional receiving bridge; When it is determined based on the detected fault information and the received first fault information and / or the first indication information that the intra-domain standby FG ​​channel is in a normal state, the intra-domain main FG channel is faulty, the inter-domain main FG channel is faulty and the DNI channel is in a normal state, it is determined to switch to a fourth state, wherein in the fourth state, the bridging relationship between the subports inside the DNI standby node is: the connection between the second intra-domain FG channel subport and the second inter-domain FG channel subport is set to a bidirectional connection, and the connection device between the second inter-domain FG channel subport and the second DNI channel subport is set to a unidirectional receiving bridge; In the case where it is determined based on the detected fault information and the received first fault information and / or the first indication information that the intra-domain standby FG ​​channel state is normal, the intra-domain main FG channel is faulty, and the DNI channel is faulty, it is determined to switch to the fourth state, wherein in the fourth state, the bridging relationship between the subports inside the DNI standby node is: the connection between the second intra-domain FG channel subport and the second inter-domain FG channel subport is set to a bidirectional connection, The connection device between the second inter-domain FG channel subport and the second DNI channel subport is a unidirectional receiving connection; When it is determined based on the detected fault information and the first fault information and / or the first indication information received that the status of the intra-domain backup FG channel is normal, the inter-domain main FG channel is faulty, and the DNI channel is faulty, it is determined to switch to the fourth state, wherein in the fourth state, the bridging relationship between the sub-ports inside the DNI standby node is: the connection between the second intra-domain FG channel sub-port and the second inter-domain FG channel sub-port is set to a bidirectional connection, and the connection device between the second inter-domain FG channel sub-port and the second DNI channel sub-port is a unidirectional receiving connection.

39. The method according to any one of claims 32 to 38, in, The DNI standby node detecting faults on the intra-domain standby FG ​​channel of the SPN system includes: the DNI standby node enabling the TCM OAM function to detect faults on the intra-domain standby FG ​​channel through the PE node of the SPN system; or The DNI standby node performs fault detection on the inter-domain active FG channel of the SPN system, including: the DNI standby node performs non-intrusive monitoring of the OAM of the end-to-end FG channel sent by the PE node of the opposite SPN system, and performs fault detection on the inter-domain standby FG ​​channel; or, the DNI standby node performs fault detection on the inter-domain standby FG ​​channel by starting the TCM OAM function with the DNI standby node of the opposite SPN system; The DNI standby node performing fault detection on the DNI channel of the SPN system includes: the DNI standby node performing fault detection on the DNI channel by starting a TCM OAM function with the DNI master node, or the DNI standby node performing fault detection on the DNI channel through the monitoring capability of the MTN segment layer.

40. The method according to any one of claims 32 to 38, in, In the third state, the second intra-domain FG channel subport of the DNI standby node establishes a bidirectional bridge with the second inter-domain FG channel subport, and the second DNI channel subport establishes a unidirectional receiving bridge with the second intra-domain FG channel subport, or the second inter-domain FG channel subport of the DNI standby node establishes a bidirectional bridge with the second DNI channel subport, and the second intra-domain FG channel subport establishes a unidirectional receiving bridge with the second inter-domain FG channel subport.

41. The method according to claim 40, in, After the DNI standby node switches to the fourth state, the method further includes: When it is determined that the fault is recovered based on the detected fault information and the received first fault information and / or first indication information, the state is restored to the third state.

42. An electronic device, comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the protection switching method based on the SPN system as described in any one of claims 19 to 41 are implemented.

43. A readable storage medium storing a program or instruction, wherein the program or instruction, when executed by a processor, implements the steps of the protection switching method based on the SPN system as described in any one of claims 19 to 41.

Citation Information

Patent Citations

  • Method and system for service protection based on dual node interconnection protection structure in transmission network

    CN102142975A

  • Cross-domain service processing method, device and system

    CN105337856A

  • APS (Auto-Protection Switch) redundancy method based on SpaceWire bus

    CN106100954A

  • Hybrid configuration dual-homing protection switching method, device and system for packet transmission network

    CN106452813A

  • Network system, and pseudo-wire (PW) business processing method

    CN108075968A