Implementation method and device of asymmetric cascade protection model, equipment and storage medium
By determining the number of nodes in the cascaded protection model to generate the APS processing state machine, the compatibility problem between the traditional tangent model and the telecom i2 model is solved, and the reliable transmission of APS bytes and protocol handshake are realized, thereby improving the real-time response capability and system robustness of network protection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- FIBERHOME TELECOMMUNICATION TECHNOLOGIES CO LTD
- Filing Date
- 2026-03-23
- Publication Date
- 2026-05-29
AI Technical Summary
In existing technologies, the traditional tangent model is incompatible with the telecom i2 model. Under asymmetric configuration, APS byte transmission is unreliable, and the lack of an APS processing state machine leads to protocol handshake failure.
By determining the number of entry nodes and exit nodes in the cascaded protection model, an APS processing state machine under the asymmetric cascaded protection model is generated, achieving seamless compatibility between the traditional tangent model and the telecom i2 tangent model, and ensuring reliable transmission of APS bytes and protocol handshake.
It achieves seamless compatibility between the traditional tangent model and the telecom i2 tangent model, ensuring reliable transmission of APS bytes under asymmetric configuration, reducing operation and maintenance complexity, avoiding erroneous switching, and improving the real-time response capability and system robustness of network protection.
Smart Images

Figure CN122120143A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electrical layer linear protection technology for communication networks, and in particular to a method, apparatus, device, and storage medium for implementing an asymmetric cascaded protection model. Background Technology
[0002] Tangent protection traditional models and telecom i2 models cannot coexist and each has its own advantages and disadvantages: Traditional models have fewer protection groups, giving them an advantage in terms of switchover time. Traditional models, due to concurrent entry points, switch simultaneously on two concurrent cross-channels during switching, allowing downstream devices to detect simultaneous dual-channel interruptions. In other words, G808.1 describes the advantages of the i2 model in alarm isolation.
[0003] i2 model device processing is decoupled, eliminating the need to handle cross-connection and protection relationships; i2 model limitation: Cannot support bidirectional protection. Reason: Current Automatic Protection Switching (APS) standards (including but not limited to OTN's G.873.1) only define priority decisions and APS byte definitions within a single protection.
[0004] In the i2 model, every two groups of protection are identical (primary and backup). If the switching commands for the two groups are inconsistent, the APS bytes sent by the APS state machine decision will be different.
[0005] In this situation, it becomes crucial to clarify which set of protection decisions' APS bytes should be used to transmit the APS bytes for the primary / backup multiplexed Optical Channel Data Unit-k (ODUK) channel.
[0006] Different protection groups are understood to be equal from a standard perspective, and cannot be defined or determined according to current standards.
[0007] Further expansion and discussion are needed at the standard level. Based on this, if bidirectional protection is used, the two protections will reuse the same channel. The transmission APS of this channel will have two sources. Currently, it can only be transmitted randomly and will be affected by the APS of the two protections at the same time, causing it to be disordered. In extreme cases, repeated oscillations between network elements will cause repeated service interruptions. Summary of the Invention
[0008] The main objective of this invention is to provide a method, apparatus, device, and storage medium for implementing an asymmetric cascaded protection model, aiming to solve the technical problems in the prior art where the traditional tangent model is incompatible with the telecom i2 tangent model, the APS byte transmission is unreliable under asymmetric configuration, and the protocol handshake failure is caused by the lack of an APS processing state machine.
[0009] In a first aspect, the present invention provides a method for implementing an asymmetric cascaded protection model, the method comprising the following steps: The model type of the cascaded protection model is determined based on the number of inlet nodes and outlet nodes of the protection group in the cascaded protection model. According to the model type, the automatic protection switching (APS) information of the auxiliary node is attached to the protocol bridging field; Based on the type of the cascaded protection model and the APS information, an APS processing state machine under the asymmetric cascaded protection model is generated.
[0010] Optionally, determining the model type of the cascaded protection model based on the number of ingress nodes and the number of egress nodes of the protection group in the cascaded protection model includes: Obtain the number of ingress nodes and outgress nodes of the protection group in the cascaded protection model; When the number of inlet nodes is 2 and the number of outlet nodes is 2, the model type of the cascade protection model is determined to be the traditional tangent model. When the number of entry nodes is 2 and the number of exit nodes is 1, the model type of the cascaded protection model is determined to be the Telecom i2 tangent model.
[0011] Optionally, the step of including the automatic protection switching (APS) information of the secondary node in the protocol bridging field according to the model type includes: When the model type is a traditional tangent model, the standard automatic protection switching APS processing procedure is adopted, and auxiliary node APS information is not attached. When the model type is the Telecom i2 tangent model, the Automatic Protection Switching (APS) information of the auxiliary node is encoded into the protocol bridging field.
[0012] Optionally, when the model type is a telecom i2 tangent model, encoding the automatic protection switching (APS) information of the secondary node into the protocol bridging field includes: When the model type is the Telecom i2 tangent model, the APS request byte value in the APS information of the secondary node is encoded into a specific bit in the protocol bridging field of the 1+1 permanent bridge.
[0013] Optionally, generating the APS processing state machine under the asymmetric cascade protection model based on the type of the cascade protection model and the APS information includes: When the model type is a traditional tangent model, a standard truth table is used to define preset standard truth table rules, and an APS processing state machine under the cascade protection model is generated according to the preset standard truth table rules. When the model type is the telecom i2 tangent model, the APS processing state machine under the asymmetric cascade protection model is generated according to the preset asymmetric processing rules.
[0014] Optionally, when the model type is a telecom i2 tangent model, generating an APS processing state machine under the asymmetric cascade protection model according to preset asymmetric processing rules includes: When the type of the cascaded protection model is the telecommunications i2 tangent model, the asymmetric combination of the master node APS request and the auxiliary node APS request is mapped to the independent transition path of the APS processing state machine under the asymmetric cascaded protection model according to the preset asymmetric processing rules. The independent transition path includes the state transition logic and output action defined by the rules. The independent transfer paths are integrated to generate the APS processing state machine, which contains complete asymmetric request combination processing logic.
[0015] Optionally, the input conditions for the independent transfer path include the primary node APS request byte value and the secondary node APS request byte value, wherein the primary node APS request byte value indicates a forced switchover to the backup, and the secondary node APS request byte value indicates that the working path signal has failed.
[0016] Secondly, to achieve the above objectives, the present invention also proposes an apparatus for implementing an asymmetric cascaded protection model, the apparatus comprising: The model classification module is used to determine the model type of the cascaded protection model based on the number of inlet nodes and outlet nodes of the protection group in the cascaded protection model. The APS module is used to include automatic protection switching (APS) information for auxiliary nodes in the protocol bridging field, based on the model type. The state machine generation module is used to generate an APS processing state machine under the asymmetric cascade protection model based on the type of the cascade protection model and the APS information.
[0017] Thirdly, to achieve the above objectives, the present invention also proposes an implementation device for an asymmetric cascaded protection model, the implementation device comprising: a memory, a processor, and an implementation program for the asymmetric cascaded protection model stored in the memory and executable on the processor, the implementation program for the asymmetric cascaded protection model being configured to implement the steps of the implementation method for the asymmetric cascaded protection model as described above.
[0018] Fourthly, to achieve the above objectives, the present invention also proposes a storage medium storing an implementation program for an asymmetric cascade protection model, wherein the implementation program for the asymmetric cascade protection model, when executed by a processor, implements the steps of the implementation method for the asymmetric cascade protection model as described above.
[0019] The proposed method for implementing an asymmetric cascaded protection model determines the model type of the cascaded protection model by the number of entry nodes and exit nodes of the protection group. Based on the model type, automatic protection switching (APS) information for auxiliary nodes is appended to the protocol bridging field. An APS processing state machine under the asymmetric cascaded protection model is generated based on the model type and the APS information. This method enables seamless compatibility between traditional tangent models and telecom i2 tangent models, ensuring reliable transmission of APS bytes under asymmetric configurations and successfully completing protocol handshakes and path switching between the two ends of the device. It significantly reduces operational complexity, effectively avoids erroneous switching, improves the real-time response capability and system robustness of network protection, provides a standardized solution for interoperability of multi-vendor devices, and improves the speed and efficiency of implementing the asymmetric cascaded protection model. Attached Figure Description
[0020] Figure 1 This is a schematic diagram of the device structure of the hardware operating environment involved in the embodiments of the present invention; Figure 2 This is a flowchart illustrating the first embodiment of the implementation method of the asymmetric cascade protection model of the present invention. Figure 3 This is a flowchart illustrating the second embodiment of the implementation method of the asymmetric cascade protection model of the present invention; Figure 4 This is a flowchart illustrating the third embodiment of the implementation method of the asymmetric cascade protection model of the present invention. Figure 5 This is a flowchart illustrating the fourth embodiment of the implementation method of the asymmetric cascade protection model of the present invention. Figure 6 This is a schematic diagram of a traditional cascading method in the implementation of the asymmetric cascading protection model of the present invention; Figure 7 This is a schematic diagram illustrating the classification of telecommunications i2 scenario process design in the implementation method of the asymmetric cascaded protection model of the present invention; Figure 8 This is a schematic diagram of the asymmetric cascaded state machine in the implementation method of the asymmetric cascaded protection model of the present invention; Figure 9 This is a schematic diagram of the state transition process in the implementation method of the asymmetric cascaded protection model of the present invention; Figure 10This is a functional block diagram of the first embodiment of the device for implementing the asymmetric cascade protection model of the present invention.
[0021] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0022] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0023] The solution of this invention mainly involves: determining the model type of the cascaded protection model by the number of entry nodes and exit nodes of the protection group; attaching automatic protection switching (APS) information of auxiliary nodes to the protocol bridging field according to the model type; generating an APS processing state machine under the asymmetric cascaded protection model based on the type of the cascaded protection model and the APS information; achieving seamless compatibility between the traditional tangent model and the telecom i2 tangent model, ensuring reliable transmission of APS bytes under asymmetric configuration, and successfully completing the protocol handshake and path switching of the two-end devices, significantly reducing the complexity of operation and maintenance, effectively avoiding erroneous switching, improving the real-time response capability and system robustness of network protection, providing a standardized solution for interoperability of multi-vendor devices, improving the speed and efficiency of implementing the asymmetric cascaded protection model, and solving the technical problems in the prior art such as the incompatibility between the traditional tangent model and the telecom i2 tangent model, unreliable transmission of APS bytes under asymmetric configuration, and protocol handshake failure caused by the lack of an APS processing state machine.
[0024] Reference Figure 1 , Figure 1 This is a schematic diagram of the device structure of the hardware operating environment involved in the embodiments of the present invention.
[0025] like Figure 1 As shown, the device may include: a processor 1001, such as a CPU; a communication bus 1002; a user interface 1003; a network interface 1004; and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen or an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be high-speed RAM or non-volatile memory, such as a disk drive. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0026] Those skilled in the art will understand that Figure 1 The device structure shown does not constitute a limitation on the device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0027] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating device, a network communication module, a user interface module, and an implementation program for an asymmetric cascade protection model.
[0028] The device of the present invention calls the implementation program of the asymmetric cascade protection model stored in the memory 1005 through the processor 1001, and performs the following operations: The model type of the cascaded protection model is determined based on the number of inlet nodes and outlet nodes of the protection group in the cascaded protection model. According to the model type, the automatic protection switching (APS) information of the auxiliary node is attached to the protocol bridging field; Based on the type of the cascaded protection model and the APS information, an APS processing state machine under the asymmetric cascaded protection model is generated.
[0029] The device of the present invention, through processor 1001 calling the implementation program of the asymmetric cascade protection model stored in memory 1005, also performs the following operations: Obtain the number of ingress nodes and outgress nodes of the protection group in the cascaded protection model; When the number of inlet nodes is 2 and the number of outlet nodes is 2, the model type of the cascade protection model is determined to be the traditional tangent model. When the number of entry nodes is 2 and the number of exit nodes is 1, the model type of the cascaded protection model is determined to be the Telecom i2 tangent model.
[0030] The device of the present invention, through processor 1001 calling the implementation program of the asymmetric cascade protection model stored in memory 1005, also performs the following operations: When the model type is a traditional tangent model, the standard automatic protection switching APS processing procedure is adopted, and auxiliary node APS information is not attached. When the model type is the Telecom i2 tangent model, the Automatic Protection Switching (APS) information of the auxiliary node is encoded into the protocol bridging field.
[0031] The device of the present invention, through processor 1001 calling the implementation program of the asymmetric cascade protection model stored in memory 1005, also performs the following operations: When the model type is the Telecom i2 tangent model, the APS request byte value in the APS information of the secondary node is encoded into a specific bit in the protocol bridging field of the 1+1 permanent bridge.
[0032] The device of the present invention, through processor 1001 calling the implementation program of the asymmetric cascade protection model stored in memory 1005, also performs the following operations: When the model type is a traditional tangent model, a standard truth table is used to define preset standard truth table rules, and an APS processing state machine under the cascade protection model is generated according to the preset standard truth table rules. When the model type is the telecom i2 tangent model, the APS processing state machine under the asymmetric cascade protection model is generated according to the preset asymmetric processing rules.
[0033] The device of the present invention, through processor 1001 calling the implementation program of the asymmetric cascade protection model stored in memory 1005, also performs the following operations: When the type of the cascaded protection model is the telecommunications i2 tangent model, the asymmetric combination of the master node APS request and the auxiliary node APS request is mapped to the independent transition path of the APS processing state machine under the asymmetric cascaded protection model according to the preset asymmetric processing rules. The independent transition path includes the state transition logic and output action defined by the rules. The independent transfer paths are integrated to generate the APS processing state machine, which contains complete asymmetric request combination processing logic.
[0034] The device of the present invention, through processor 1001 calling the implementation program of the asymmetric cascade protection model stored in memory 1005, also performs the following operations: The input conditions for the independent transfer path include the primary node APS request byte value and the secondary node APS request byte value, wherein the primary node APS request byte value indicates a forced switchover to the backup, and the secondary node APS request byte value indicates that the working path signal has failed.
[0035] This embodiment, through the above scheme, determines the model type of the cascaded protection model by the number of entry nodes and exit nodes of the protection group in the cascaded protection model; according to the model type, it attaches the automatic protection switching (APS) information of the auxiliary nodes in the protocol bridging field; and generates an APS processing state machine under the asymmetric cascaded protection model based on the type of the cascaded protection model and the APS information. This enables seamless compatibility between the traditional tangent model and the telecom i2 tangent model, ensures reliable transmission of APS bytes under asymmetric configuration, and successfully completes the protocol handshake and path switching between the two ends of the device. It significantly reduces operational complexity, effectively avoids erroneous switching, improves the real-time response capability and system robustness of network protection, provides a standardized solution for interoperability of multi-vendor equipment, and improves the speed and efficiency of implementing the asymmetric cascaded protection model.
[0036] Based on the above hardware structure, an implementation method embodiment of the asymmetric cascade protection model of the present invention is proposed.
[0037] Reference Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the implementation method of the asymmetric cascade protection model of the present invention.
[0038] In the first embodiment, the implementation method of the asymmetric cascade protection model includes the following steps: Step S10: Determine the model type of the cascaded protection model based on the number of inlet nodes and outlet nodes of the protection group in the cascaded protection model.
[0039] It should be noted that the model type of the cascaded protection model can be determined based on the number of entry nodes and exit nodes of the protection group in the cascaded protection model. This enables compatibility and dynamic switching between the two tangent protection models in the G.808.1 standard, ensuring that the system can still reliably execute the APS protocol handshake and switching process under asymmetric configuration.
[0040] Step S20: According to the model type, attach the Automatic Protection Switching (APS) information of the auxiliary node to the protocol bridging field.
[0041] It should be understood that, depending on the model type, the automatic protection switching (APS) information of the auxiliary node can be attached to the protocol bridging field to ensure the reliability and real-time performance of APS byte transmission and avoid reliability issues caused by overhead frame transmission methods in existing solutions.
[0042] Step S30: Generate an APS processing state machine under the asymmetric cascaded protection model based on the type of the cascaded protection model and the APS information.
[0043] It is understood that, based on the type of the cascaded protection model and the APS information, an APS processing state machine under the asymmetric cascaded protection model is generated to ensure the reliability and real-time performance of APS byte transmission under the asymmetric configuration, thereby realizing closed-loop control of the system.
[0044] This embodiment, through the above scheme, determines the model type of the cascaded protection model by the number of entry nodes and exit nodes of the protection group in the cascaded protection model; according to the model type, it attaches the automatic protection switching (APS) information of the auxiliary nodes in the protocol bridging field; and generates an APS processing state machine under the asymmetric cascaded protection model based on the type of the cascaded protection model and the APS information. This enables seamless compatibility between the traditional tangent model and the telecom i2 tangent model, ensures reliable transmission of APS bytes under asymmetric configuration, and successfully completes the protocol handshake and path switching between the two ends of the device. It significantly reduces operational complexity, effectively avoids erroneous switching, improves the real-time response capability and system robustness of network protection, provides a standardized solution for interoperability of multi-vendor equipment, and improves the speed and efficiency of implementing the asymmetric cascaded protection model.
[0045] Furthermore, Figure 3 This is a flowchart illustrating the second embodiment of the implementation method of the asymmetric cascade protection model of the present invention, as shown below. Figure 3 As shown, based on the first embodiment, a second embodiment of the implementation method of the asymmetric cascade protection model of the present invention is proposed. In this embodiment, step S10 specifically includes the following steps: Step S11: Obtain the number of ingress nodes and outgress nodes of the protection group in the cascaded protection model.
[0046] It should be noted that obtaining the number of entry nodes and exit nodes of the protection group in the cascaded protection model can provide key input basis for subsequent model type determination and APS information transmission.
[0047] In practical implementation, during the configuration and operation of the cascaded protection model, the number of entry nodes (i.e., the number of input endpoints of the protection group, defined as the number of nodes for services to enter the protection domain) and the number of exit nodes (i.e., the number of output endpoints of the protection group, defined as the number of nodes for services to leave the protection domain) of the protection group can be automatically counted and obtained by parsing the network topology and protocol configuration parameters of the protection group. This acquisition process is completed in real time by the network management system or device control plane.
[0048] Step S12: When the number of inlet nodes is 2 and the number of outlet nodes is 2, determine that the model type of the cascade protection model is the traditional tangent model.
[0049] It is understandable that when the number of ingress nodes and the number of egress nodes in the protection group of the cascaded protection model are 2, since the number of ingress nodes and the number of egress nodes are equal, it meets the definition conditions of the traditional tangent model in the G.808.1 standard (i.e., the number of input endpoints and output endpoints of the protection group are the same). Therefore, the model type of the cascaded protection model is automatically determined to be the traditional tangent model, ensuring that the subsequent APS processing adopts the standard protocol rules and avoiding protocol handshake conflicts caused by asymmetric configuration.
[0050] Step S13: When the number of entry nodes is 2 and the number of exit nodes is 1, determine that the model type of the cascaded protection model is the Telecom i2 tangent model.
[0051] It should be understood that when the number of entry nodes of the protection group in the cascaded protection model is 2 and the number of exit nodes is 1, since the number of entry nodes (2) and the number of exit nodes (1) are not equal (2≠1), it meets the definition conditions of the telecommunications i2 tangent model in the G.808.1 standard (that is, there is an asymmetric configuration of the number of input endpoints and output endpoints of the protection group). Therefore, the model type of the cascaded protection model is automatically determined to be the telecommunications i2 tangent model, which provides a key model basis for attaching auxiliary node APS information in the protocol bridging field and generating an asymmetric APS processing state machine through the 1+1 permanent bridging feature.
[0052] This embodiment, through the above-described scheme, obtains the number of entry nodes and exit nodes of the protection group of the cascaded protection model; when the number of entry nodes is 2 and the number of exit nodes is 2, the model type of the cascaded protection model is determined to be the traditional tangent model; when the number of entry nodes is 2 and the number of exit nodes is 1, the model type of the cascaded protection model is determined to be the telecom i2 tangent model. This ensures that the system can reliably execute APS protocol handshake and switching processing under asymmetric network configuration, avoiding the entry concurrency problem and insufficient reliability of APS byte transmission caused by model conflicts in existing schemes, and significantly improving the flexibility, reliability, and real-time performance of OTN, PTN, and SDH electrical layer linear protection systems.
[0053] Furthermore, Figure 4 This is a flowchart illustrating the third embodiment of the implementation method of the asymmetric cascade protection model of the present invention, as shown below. Figure 4 As shown, a third embodiment of the implementation method of the asymmetric cascade protection model of the present invention is proposed based on the first embodiment. In this embodiment, step S20 specifically includes the following steps: Step S21: When the model type is a traditional tangent model, the standard automatic protection switching APS processing procedure is adopted, and the auxiliary node APS information is not attached.
[0054] It should be noted that when the cascaded protection model is determined to be a traditional tangent model (i.e., the number of ingress nodes equals the number of egress nodes, such as 2=2), the standardized automatic protection switching (APS) process defined by the G.808.1 standard is directly adopted. There is no need to attach the APS information of the auxiliary nodes in the protocol bridging field, thereby avoiding unnecessary data addition, ensuring seamless compatibility with existing standard protocols, and simplifying the processing logic and reducing equipment processing overhead.
[0055] Step S22: When the model type is Telecom i2 tangent model, the automatic protection switching (APS) information of the auxiliary node is encoded into the protocol bridging field.
[0056] It is understandable that when the model type of the cascaded protection model is determined to be the telecom i2 tangent model, the automatic protection switching (APS) information of the secondary node is embedded in the protocol bridging field through encoding, so that the same overhead frame can transmit the APS requests of the primary and secondary nodes simultaneously.
[0057] Furthermore, step S22 specifically includes the following steps: When the model type is the Telecom i2 tangent model, the APS request byte value in the APS information of the secondary node is encoded into a specific bit in the protocol bridging field of the 1+1 permanent bridge.
[0058] It should be understood that when the model type of the cascaded protection model is determined to be the telecom i2 tangent model, the system encodes the automatic protection switching (APS) request byte value of the secondary node into the reserved bits (such as bits 4-7) in the bridging field of the 1+1 permanent bridging protocol. These bits are specifically used to carry the secondary node's APS information, thereby enabling the synchronous transmission of the APS requests of the primary and secondary nodes within the same overhead frame.
[0059] This embodiment, through the above-described scheme, adopts the standard automatic protection switching (APS) processing flow without attaching auxiliary node APS information when the model type is the traditional tangent model; and when the model type is the telecom i2 tangent model, the automatic protection switching APS information of the auxiliary node is encoded into the protocol bridging field. This completely solves the defects of the existing scheme, such as the entry concurrency problem caused by model conflict and the insufficient reliability of APS byte transmission. At the same time, by optimizing the transmission mechanism, the switching efficiency and real-time performance of the system under asymmetric configuration are significantly improved.
[0060] Furthermore, Figure 5 This is a flowchart illustrating the fourth embodiment of the implementation method of the asymmetric cascade protection model of the present invention, as shown below. Figure 5 As shown, based on the first embodiment, a fourth embodiment of the implementation method of the asymmetric cascade protection model of the present invention is proposed. In this embodiment, step S30 specifically includes the following steps: Step S31: When the model type is a traditional tangent model, a standard truth table is used to define a preset standard truth table rule, and an APS processing state machine under the cascade protection model is generated according to the preset standard truth table rule.
[0061] It should be noted that when the model type of the cascade protection model is determined to be the traditional tangent model, the system directly adopts the standardized truth table rules predefined in the G.808.1 standard. These rules strictly define the conditions and output behavior of APS state transitions. Based on these standard rules, the APS processing state machine under the cascade protection model is generated.
[0062] Step S32: When the model type is the Telecom i2 tangent model, generate the APS processing state machine under the asymmetric cascade protection model according to the preset asymmetric processing rules.
[0063] Understandably, when the model type of the cascaded protection model is determined to be the telecom i2 tangent model, an APS processing state machine under the asymmetric cascaded protection model can be generated according to the preset asymmetric processing rules to ensure that the protocol handshake and switching process can be correctly executed when the APS requests of the primary and secondary nodes are inconsistent.
[0064] Furthermore, step S32 specifically includes the following steps: When the type of the cascaded protection model is the telecommunications i2 tangent model, the asymmetric combination of the master node APS request and the auxiliary node APS request is mapped to the independent transition path of the APS processing state machine under the asymmetric cascaded protection model according to the preset asymmetric processing rules. The independent transition path includes the state transition logic and output action defined by the rules. The independent transfer paths are integrated to generate the APS processing state machine, which contains complete asymmetric request combination processing logic.
[0065] It should be understood that when the cascaded protection model is a telecom i2 tangent model, according to the preset asymmetric processing rules, the asymmetric combination of the master node APS request and the slave node APS request is mapped to an independent transition path in the APS processing state machine. Each independent transition path contains explicit state transition logic and corresponding output actions. Subsequently, all such independent transition paths are structurally integrated to generate an APS processing state machine that covers the complete asymmetric request combination, ensuring that the differences between the master and slave nodes can be accurately processed under asymmetric configuration, and realizing the real-time performance and reliability of the protocol handshake.
[0066] Further step S32 specifically includes the following steps: The input conditions for the independent transfer path include the primary node APS request byte value and the secondary node APS request byte value, wherein the primary node APS request byte value indicates a forced switchover to the backup, and the secondary node APS request byte value indicates that the working path signal has failed.
[0067] Understandably, in the asymmetric APS processing state machine of the telecom i2 tangent model, the input conditions for independent transition paths are composed of the APS request byte values of the primary node and the secondary node. This combination of conditions precisely triggers the predefined independent transition paths in the state machine, ensuring that protocol handshake and switchover logic can be executed in real time under asymmetric configuration, avoiding switchover conflicts or delays caused by inconsistencies in APS requests from the primary and secondary nodes.
[0068] In the specific implementation, see Figure 6 , Figure 6 This is a schematic diagram of a traditional cascading method in the implementation of the asymmetric cascading protection model of the present invention, as shown below. Figure 6 As shown, only one entry board can be selected. Services enter the protection group from either entry board 1 or entry board 2. The standard Automatic Protection Switching (APS) protocol is executed by the main control cross-connect board, and finally outputs from exit boards 4 and 6, forming a symmetrical network topology where the number of entry nodes (2) is strictly equal to the number of exit nodes (2). This ensures that the system directly uses the G.808.1 standard truth table rules for APS state machine processing without the need for additional auxiliary node APS information, thus avoiding the common problem of intermittent interruption of entry nodes under asymmetric configuration, and realizing efficient and reliable transmission of services in the standard protection group.
[0069] Accordingly, see Figure 7 , Figure 7 This is a schematic diagram illustrating the classification of telecommunications i2 scenario process design in the implementation method of the asymmetric cascaded protection model of this invention, as shown below. Figure 7 As shown, the entry disk can be freely selected. The service enters the protection group from two entry points, entry disk 1 and entry disk 2. The number of entry nodes (2) and the number of exit nodes (1, only exit disk 4 is a valid exit, and exit disk 6 is not enabled or redundant in the asymmetric configuration) are not equal by the main control cross-connect disk. It is determined to be the telecom i2 tangent model. The main control cross-connect disk encodes the auxiliary node APS information (such as auxiliary node signal failure request) into the bridging field of the 1+1 permanent bridging protocol to ensure that the main and auxiliary node APS requests are transmitted synchronously within the same overhead frame. The service is finally output only from exit disk 4 (exit disk 6 does not participate in service transmission), forming an asymmetric network topology. This effectively avoids the problem of concurrent interruption of entry in the traditional model and improves the real-time performance and reliability of switching by optimizing the APS byte transmission mechanism.
[0070] Accordingly, see Figure 8 , Figure 8This is a schematic diagram of the asymmetric cascaded state machine in the implementation method of the asymmetric cascaded protection model of the present invention, as shown below. Figure 8 As shown, INPUT1 (Master Node Requests APS) and INPUT2 (Secondary Node Requests APS) serve as core inputs, and INPUT4 (Primary Channel Alarm) and INPUT5 (Backup Channel Alarm) trigger state transitions. INPUT6 (Current Node State) provides the current operating context, and INPUT3 (Current Node Control Command) supports manual intervention. The state machine dynamically processes input combinations based on preset asymmetric rules (such as S0-S15 states), generating OUTPUT1 (Sent to Master Node Response APS) and OUTPUT2 (Sent to Secondary Node Response APS) to realize master-slave node protocol handshake. At the same time, it outputs OUTPUT3 (Current Node Switchover Result) and OUTPUT4 (Current Node State) to feed back the system state, ensuring accurate handling of master-slave APS request differences under the telecom i2 tangent model (such as an asymmetric configuration with 2 entry nodes and 1 exit node), avoiding concurrent interruptions at the entry point, and achieving highly reliable, low-latency automatic protection switching.
[0071] It should be noted that the traditional cascading method's scenario processing flow is as follows: In a cascaded (tangential) scenario, when a protection group is configured with two inlets and two outlets, it is considered to be using the traditional cascaded method. In this case: When the primary access disk 1 is in use and there are no alarms, the multicast access point is established at the service port of the primary access disk 1, the service port of the primary access disk 2 is blocked, and the cross-connect disk broadcasts the service to the egress disks 4 and 6.
[0072] When an alarm is detected on ingress disk 1, the original ingress port of MC is deleted and replaced with the port at ingress disk 2. Services will flow in from ingress disk 2, and the cross-connect disk will broadcast the services to egress disks 4 and 6. The entire protection switching process is now complete.
[0073] The processing flow for the telecom i2 scenario is as follows: In a cascading (tangential) scenario, when a protection group is configured with two ingress points and one egress point, it is assumed that the telecom i2 cascading method is being used. In this case: At the same time, multicast is established at the service ports of ingress disk 1 and ingress disk 2. Egress disk 4 selects whether to establish the egress in the multicast group with the port of ingress disk 1 as the ingress port or the port of ingress disk 2 as the ingress port based on the priority and alarm information of ingress disk 1 and ingress disk 2. Similarly, egress disk 6 also needs to make a new selection.
[0074] Assuming that the service port of egress disk 4 originally receives the service port from the entry disk 2, when an alarm occurs on the entry disk 2, the service port of egress disk 4 is removed from the MC exit member list of the entry disk 2, and then the service port of egress disk 4 is added to the MC exit member list of the entry disk 1. Then, egress disk 6 must also perform the above actions, and only then will one state machine polling cycle be completed.
[0075] Since 1+1 is a permanent bridge, this bit can be expanded into a secondary node request code. This code is then sent to both the primary and secondary nodes for their respective processing.
[0076] In the specific implementation, see Figure 9 , Figure 9 This is a schematic diagram of the state transition process in the implementation method of the asymmetric cascaded protection model of the present invention, as shown below. Figure 9 As shown, starting from the initial state (manual switchover to backup), when a primary channel alarm (INPUT) and a primary node APS input are detected, the state machine transitions to the forced switchover state (state code 8) according to preset rules; if the manual switchover fails (INPUT), the state transition is triggered to the waiting recovery state (state code F); after the primary channel alarm disappears (INPUT), the system automatically returns to the normal state (state code 0); at the same time, the backup channel alarm (INPUT) and the secondary node APS input jointly drive the state machine to enter the switchover state (state code 2), where state codes 0 / 2 / E / F / 8 (corresponding to S0, S2, S14, S15) identify key state points, ensuring accurate handling of differences in APS requests between primary and secondary nodes under the telecom i2 tangent model (such as a forced switchover by the primary node while the secondary node reports signal failure), achieving seamless automatic protection switchover closed-loop control.
[0077] It should be noted that, in the case of manual handover in the initial state, the state machine receives the APS from the primary and secondary nodes as a dual input condition, and the flow state machine performs state transition.
[0078] When the primary and secondary nodes have different aps, the state machine operates according to this patent.
[0079] When the primary and secondary nodes have the same aps, the state machine can output according to the standard truth table.
[0080] See Table 1 below, which shows examples of the states and their numbers in a state machine:
[0081] See Table 2 below. Table 2 is the truth table of the state machine, where A1-A6 represent the state machine inputs and B1-B4 represent the state machine outputs.
[0082]
[0083] It should be noted that this embodiment distinguishes between the traditional model and the i2 model through different configurations and performs different processing. Utilizing the characteristic of 1+1 permanent bridging, auxiliary node ASP information is attached to the protocol bridging field. An ASP processing state machine under the asymmetric model is designed. By designing a protection model compatible with both tangent models and switchable as needed, the ASP byte transmission method is optimized, increasing transmission reliability. An ASP processing flow under the asymmetric model is defined, enabling protocol handshake between the two ends. This solves the problems in the prior art where the existing technical solution does not support the i2 model and different overhead frames are required for the transmission of ASPs of different nodes, which cannot guarantee the reliability and real-time performance of ASP overhead.
[0084] This embodiment, through the above-described scheme, uses a standard truth table to define preset standard truth table rules when the model type is a traditional tangent model, and generates an APS processing state machine under the cascaded protection model according to the preset standard truth table rules; when the model type is a telecom i2 tangent model, it generates an APS processing state machine under the asymmetric cascaded protection model according to preset asymmetric processing rules. This enables seamless compatibility between the traditional tangent model and the telecom i2 tangent model, ensuring reliable transmission of APS bytes under asymmetric configuration, and successfully completing protocol handshake and path switching between the two ends of the device. This significantly reduces operational complexity, effectively avoids erroneous switching, improves the real-time response capability and system robustness of network protection, provides a standardized solution for interoperability of multi-vendor devices, and improves the speed and efficiency of implementing the asymmetric cascaded protection model.
[0085] Accordingly, the present invention further provides an apparatus for implementing an asymmetric cascade protection model.
[0086] Reference Figure 10 , Figure 10 This is a functional block diagram of the first embodiment of the device for implementing the asymmetric cascade protection model of the present invention.
[0087] In the first embodiment of the implementation apparatus for the asymmetric cascaded protection model of the present invention, the implementation apparatus includes: The model classification module 10 is used to determine the model type of the cascaded protection model based on the number of inlet nodes and outlet nodes of the protection group of the cascaded protection model.
[0088] APS Attached Module 20 is used to attach Automatic Protection Switching (APS) information for auxiliary nodes in the Protocol Bridging field according to the model type.
[0089] The state machine generation module 30 is used to generate an APS processing state machine under the asymmetric cascade protection model based on the type of the cascade protection model and the APS information.
[0090] The model classification module 10 is also used to obtain the number of entry nodes and the number of exit nodes of the protection group of the cascaded protection model; when the number of entry nodes is 2 and the number of exit nodes is 2, the model type of the cascaded protection model is determined to be the traditional tangent model; when the number of entry nodes is 2 and the number of exit nodes is 1, the model type of the cascaded protection model is determined to be the telecommunications i2 tangent model.
[0091] The APS-attached module 20 is also used to, when the model type is a traditional tangent model, adopt the standard automatic protection switching APS processing procedure without attaching the auxiliary node APS information; when the model type is a telecom i2 tangent model, encode the automatic protection switching APS information of the auxiliary node into the protocol bridging field.
[0092] The APS-attached module 20 is also used to encode the APS request byte value in the APS information of the auxiliary node into a specific bit in the protocol bridging field of the 1+1 permanent bridge when the model type is the Telecom i2 tangent model.
[0093] The state machine generation module 30 is further configured to, when the model type is a traditional tangent model, define a preset standard truth table rule using a standard truth table and generate an APS processing state machine under the cascaded protection model according to the preset standard truth table rule; and when the model type is a telecom i2 tangent model, generate an APS processing state machine under the asymmetric cascaded protection model according to the preset asymmetric processing rule.
[0094] The state machine generation module 30 is further configured to, when the type of the cascaded protection model is the Telecom i2 tangent model, map the asymmetric combination of the master node APS request and the auxiliary node APS request to an independent transition path of the APS processing state machine under the asymmetric cascaded protection model according to the preset asymmetric processing rules, wherein the independent transition path includes the state transition logic and output action defined by the rules; and integrate the independent transition paths to generate the APS processing state machine containing the complete asymmetric request combination processing logic.
[0095] The state machine generation module 30 is also used to input the independent transfer path with the primary node APS request byte value and the secondary node APS request byte value, wherein the primary node APS request byte value indicates a forced switchover to the backup, and the secondary node APS request byte value indicates that the working path signal has failed.
[0096] The steps for implementing each functional module of the asymmetric cascade protection model implementation device can be referred to in the various embodiments of the asymmetric cascade protection model implementation method of the present invention, and will not be repeated here.
[0097] Furthermore, this embodiment of the invention also proposes a storage medium storing an implementation program for an asymmetric cascade protection model. When the implementation program for the asymmetric cascade protection model is executed by a processor, it performs the following operations: The model type of the cascaded protection model is determined based on the number of inlet nodes and outlet nodes of the protection group in the cascaded protection model. According to the model type, the automatic protection switching (APS) information of the auxiliary node is attached to the protocol bridging field; Based on the type of the cascaded protection model and the APS information, an APS processing state machine under the asymmetric cascaded protection model is generated.
[0098] Furthermore, when the implementation program of the asymmetric cascade protection model is executed by the processor, it also performs the following operations: Obtain the number of ingress nodes and outgress nodes of the protection group in the cascaded protection model; When the number of inlet nodes is 2 and the number of outlet nodes is 2, the model type of the cascade protection model is determined to be the traditional tangent model. When the number of entry nodes is 2 and the number of exit nodes is 1, the model type of the cascaded protection model is determined to be the Telecom i2 tangent model.
[0099] Furthermore, when the implementation program of the asymmetric cascade protection model is executed by the processor, it also performs the following operations: When the model type is a traditional tangent model, the standard automatic protection switching APS processing procedure is adopted, and auxiliary node APS information is not attached. When the model type is the Telecom i2 tangent model, the Automatic Protection Switching (APS) information of the auxiliary node is encoded into the protocol bridging field.
[0100] Furthermore, when the implementation program of the asymmetric cascade protection model is executed by the processor, it also performs the following operations: When the model type is the Telecom i2 tangent model, the APS request byte value in the APS information of the secondary node is encoded into a specific bit in the protocol bridging field of the 1+1 permanent bridge.
[0101] Furthermore, when the implementation program of the asymmetric cascade protection model is executed by the processor, it also performs the following operations: When the model type is a traditional tangent model, a standard truth table is used to define preset standard truth table rules, and an APS processing state machine under the cascade protection model is generated according to the preset standard truth table rules. When the model type is the telecom i2 tangent model, the APS processing state machine under the asymmetric cascade protection model is generated according to the preset asymmetric processing rules.
[0102] Furthermore, when the implementation program of the asymmetric cascade protection model is executed by the processor, it also performs the following operations: When the type of the cascaded protection model is the telecommunications i2 tangent model, the asymmetric combination of the master node APS request and the auxiliary node APS request is mapped to the independent transition path of the APS processing state machine under the asymmetric cascaded protection model according to the preset asymmetric processing rules. The independent transition path includes the state transition logic and output action defined by the rules. The independent transfer paths are integrated to generate the APS processing state machine, which contains complete asymmetric request combination processing logic.
[0103] Furthermore, when the implementation program of the asymmetric cascade protection model is executed by the processor, it also performs the following operations: The input conditions for the independent transfer path include the primary node APS request byte value and the secondary node APS request byte value, wherein the primary node APS request byte value indicates a forced switchover to the backup, and the secondary node APS request byte value indicates that the working path signal has failed.
[0104] Those skilled in the art will understand that all or part of the steps in the methods described above can be implemented by a program instructing related hardware. The program is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium is a computer-readable storage medium, including: USB flash drive, mobile hard drive, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, and other media that can store program code.
[0105] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0106] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0107] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. A method for implementing an asymmetric cascaded protection model, characterized in that, The implementation method of the asymmetric cascaded protection model includes: The model type of the cascaded protection model is determined based on the number of inlet nodes and outlet nodes of the protection group in the cascaded protection model. According to the model type, the automatic protection switching (APS) information of the auxiliary node is attached to the protocol bridging field; Based on the type of the cascaded protection model and the APS information, an APS processing state machine under the asymmetric cascaded protection model is generated.
2. The implementation method of the asymmetric cascaded protection model as described in claim 1, characterized in that, The process of determining the model type of the cascaded protection model based on the number of ingress nodes and the number of egress nodes of the protection group in the cascaded protection model includes: Obtain the number of ingress nodes and outgress nodes of the protection group in the cascaded protection model; When the number of inlet nodes is 2 and the number of outlet nodes is 2, the model type of the cascade protection model is determined to be the traditional tangent model. When the number of entry nodes is 2 and the number of exit nodes is 1, the model type of the cascaded protection model is determined to be the Telecom i2 tangent model.
3. The implementation method of the asymmetric cascaded protection model as described in claim 1, characterized in that, The step of including the Automatic Protection Switching (APS) information of the secondary node in the protocol bridging field according to the model type includes: When the model type is a traditional tangent model, the standard automatic protection switching APS processing procedure is adopted, and auxiliary node APS information is not attached. When the model type is the Telecom i2 tangent model, the Automatic Protection Switching (APS) information of the auxiliary node is encoded into the protocol bridging field.
4. The implementation method of the asymmetric cascaded protection model as described in claim 3, characterized in that, When the model type is the Telecom i2 tangent model, the Automatic Protection Switching (APS) information of the auxiliary node is encoded into the protocol bridging field, including: When the model type is the Telecom i2 tangent model, the APS request byte value in the APS information of the secondary node is encoded into a specific bit in the protocol bridging field of the 1+1 permanent bridge.
5. The implementation method of the asymmetric cascaded protection model as described in claim 1, characterized in that, The step of generating an APS processing state machine under the asymmetric cascaded protection model based on the type of the cascaded protection model and the APS information includes: When the model type is a traditional tangent model, a standard truth table is used to define preset standard truth table rules, and an APS processing state machine under the cascade protection model is generated according to the preset standard truth table rules. When the model type is the telecom i2 tangent model, the APS processing state machine under the asymmetric cascade protection model is generated according to the preset asymmetric processing rules.
6. The implementation method of the asymmetric cascaded protection model as described in claim 5, characterized in that, When the model type is the telecommunications i2 phase-tangent model, the APS processing state machine under the asymmetric cascade protection model is generated according to the preset asymmetric processing rules, including: When the type of the cascaded protection model is the telecommunications i2 tangent model, the asymmetric combination of the master node APS request and the auxiliary node APS request is mapped to the independent transition path of the APS processing state machine under the asymmetric cascaded protection model according to the preset asymmetric processing rules. The independent transition path includes the state transition logic and output action defined by the rules. The independent transfer paths are integrated to generate the APS processing state machine, which contains complete asymmetric request combination processing logic.
7. The implementation method of the asymmetric cascaded protection model as described in claim 6, characterized in that, The input conditions for the independent transfer path include the primary node APS request byte value and the secondary node APS request byte value, wherein the primary node APS request byte value indicates a forced switchover to the backup, and the secondary node APS request byte value indicates that the working path signal has failed.
8. A device for implementing an asymmetric cascaded protection model, characterized in that, The implementation device of the asymmetric cascade protection model includes: The model classification module is used to determine the model type of the cascaded protection model based on the number of inlet nodes and outlet nodes of the protection group in the cascaded protection model. The APS module is used to include automatic protection switching (APS) information for auxiliary nodes in the protocol bridging field, based on the model type. The state machine generation module is used to generate an APS processing state machine under the asymmetric cascade protection model based on the type of the cascade protection model and the APS information.
9. A device for implementing an asymmetric cascaded protection model, characterized in that, The device for implementing the asymmetric cascaded protection model includes: a memory, a processor, and an implementation program for the asymmetric cascaded protection model stored in the memory and executable on the processor. The implementation program for the asymmetric cascaded protection model is configured to implement the steps of the implementation method for the asymmetric cascaded protection model as described in any one of claims 1 to 7.
10. A storage medium, characterized in that, The storage medium stores an implementation program for an asymmetric cascaded protection model, which, when executed by a processor, implements the steps of the implementation method for the asymmetric cascaded protection model as described in any one of claims 1 to 7.