Network protection method with clear primary and backup functions

By creating an NH_MNG entity in the forwarding chip to manage NHFE main and backup entities, and using switching control switches and lock switches, the problem of low performance of existing network protection technology is solved, and the effect of fast switching and avoiding service interruptions is achieved.

CN115190004BActive Publication Date: 2024-12-20YUNHE ZHIWANG (SHANGHAI) TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210709611.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-22
Publication Date
2024-12-20
Estimated Expiration
2042-06-22

AI Technical Summary

Technical Problem

The existing network protection technology has low performance during failure recovery and cannot meet the requirements of telecommunications-level networks for fast and reliable failure recovery, especially in single protection group path scenarios, service interruption problems caused by mistakes are prone to occur.

Method used

Create service bearer forwarding table entries and NH_MNG entities in the forwarding chip, manage NHFE main and backup entities through the NH_MNG entity, and use the switching control switch and lock switch to achieve fast switching and path locking to ensure the fast switching performance of the protection group.

Benefits of technology

It effectively improves the switching performance of the network protection solution, avoids service interruptions caused by mistaken handover, and realizes rapid failure recovery in a single protection group path scenario.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115190004B_ABST
    Figure CN115190004B_ABST
Patent Text Reader

Abstract

The present invention discloses a network protection method with clear primary and standby, comprising the following steps: creating a plurality of service-bearing forwarding table items in a forwarding chip; creating a plurality of NH_MNG entities in any service-bearing forwarding table item; the input ends of the plurality of NH_MNG entities are connected to the prefix entity of the service-bearing forwarding table item, for obtaining the message information in the prefix entity; the output end of any NH_MNG entity is respectively connected to the NHFE primary entity of any NHFE table item of the service-bearing forwarding table item and the NHFE standby entity of the NHFE table item; creating an execution switch component in any NH_MNG entity, for controlling the bearer path information of the message information to be forwarded. The present invention solves the defect of low protection switching performance existing in the network protection scheme in the prior art, effectively realizes the rapid switching of various protection groups, and avoids the problem of service interruption caused by erroneous switching in the single protection group path scenario.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data transmission, and in particular to a network protection method with clear primary and backup functions. Background Art

[0002] In order to achieve higher reliability, Ethernet, MPLS-TP, MPLS, VXLAN, SR, GRE and other bearer networks usually configure various network protection technologies when deploying services. Network protection technologies can be divided into linear protection, multi-homing protection, ring network protection, etc. according to specific usage scenarios. Different protection schemes for different network bearer technologies correspond to different standard drafts or standards.

[0003] Analyzing the protection modes of various protection groups, backup paths are pre-set. When a failure occurs, the backup path is directly used to carry the service. Figure 1 As shown, the original various services directly point to the NHFE table entries through prefix table entries such as MAC_TBL, ROUTE_TBL, ELINE_TBL, and MC_TBL. When switching occurs, it is necessary to update the content of the NHFE table entry or update the NHFE index pointed to by the prefix table entry.

[0004] The core feature of network protection technology is to provide fast and reliable fault recovery capabilities. Telecom-grade network applications require that the bearer network has a latency of less than sub50ms. However, conventional standards or drafts only provide basic implementation solutions for network protection technology, which have the defect of low protection switching performance. Summary of the invention

[0005] According to an embodiment of the present invention, a network protection method with clear primary and backup functions is provided, comprising the following steps:

[0006] Create several service bearer forwarding table entries in the forwarding chip;

[0007] Create several NH_MNG entities in any service bearer forwarding table entry;

[0008] The input ends of several NH_MNG entities are connected to the prefix entity of the service bearer forwarding table entry, and are used to obtain message information through the prefix entity;

[0009] The output end of any NH_MNG entity is respectively connected to the NHFE main entity of any NHFE table entry of the service bearer forwarding table and the NHFE standby entity of the NHFE table entry;

[0010] An execution switch component is created in any NH_MNG entity to control the bearer path information of the message information to be forwarded.

[0011] Furthermore, the execution switch component includes: a switching control switch for selecting the NHFE main entity or the NHFE backup entity to forward the message information.

[0012] Furthermore, the execution switch component also includes: a locking switch for locking the forwarding path of the message information.

[0013] Furthermore, both the NHFE master entity and the NHFE backup entity may be served by a common NHFE forwarding entry entity.

[0014] Furthermore, the prefix entities of the plurality of service bearer forwarding table entries are respectively a MAC_TBL prefix entity, a ROUTE_TBL prefix entity, an ELINE_TBL prefix entity and a MC_TBL prefix entity.

[0015] Furthermore, in any service bearer forwarding table entry, the NH_MNG entity, the NHFE active entity and the NHFE standby entity do not need to rely on a specific creation order.

[0016] The network protection method with clear primary and backup functions according to the embodiment of the present invention solves the defect of low protection switching performance in the network protection scheme in the prior art, effectively realizes the rapid switching of various protection groups, and avoids the service interruption problem caused by erroneous switching in the single protection group path scenario.

[0017] It is to be understood that both the foregoing general description and the following detailed description are exemplary, and are intended to provide further explanation of the technology as claimed. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a schematic diagram of a service bearer forwarding table entry in the prior art;

[0019] Figure 2 A flowchart of the steps of a network protection method with clear master and backup functions according to an embodiment of the present invention;

[0020] Figure 3 Schematic diagram of association relationship among NH_MNG entity, NHFE main entity and NHFE standby entity according to an embodiment of the present invention;

[0021] Figure 4 A schematic diagram of the association relationship between the NH_MNG entity and the prefix entity according to an embodiment of the present invention;

[0022] Figure 5 The figure is a schematic diagram of an application principle of an embodiment of the present invention in a ring network protection scenario. DETAILED DESCRIPTION

[0023] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings to further illustrate the present invention.

[0024] First, combine Figures 2~5 A network protection method with clear primary and backup functions according to an embodiment of the present invention is described, which is used to forward message information and has a wide range of application scenarios.

[0025] like Figures 2~4 As shown, the network protection method with clear master and backup in the embodiment of the present invention comprises the following steps:

[0026] In S1, Figures 2~4 As shown, several service bearer forwarding entries with different prefixes are created in the forwarding chip.

[0027] Further, if Figures 2~4 As shown, the prefix entities of several service bearer forwarding table entries are respectively a MAC_TBL prefix entity, a ROUTE_TBL prefix entity, an ELINE_TBL prefix entity and a MC_TBL prefix entity.

[0028] In S2, if Figures 2~4 As shown, several NH_MNG entities are created in the service bearer forwarding table entry of any prefix.

[0029] In S3, such as Figures 2~4 As shown, the input ends of several NH_MNG entities are connected to the prefix entity of the service bearer forwarding table entry, which is used to obtain message information through the prefix entity.

[0030] In S4, Figures 2~4 As shown, the output end of any NH_MNG entity is respectively connected to the NHFE primary entity (NHFE_PRI) of any NHFE table entry (NHFE_m~NHFE_n) of the service bearer forwarding table and the NHFE backup entity (NHFE_SEC) of the NHFE table entry (NHFE_m~NHFE_n), which is used to manage and bind the NHFE primary entity (NHFE_PRI) and the NHFE backup entity (NHFE_SEC).

[0031] Furthermore, both the NHFE primary entity (NHFE_PRI) and the NHFE backup entity (NHFE_SEC) can use ordinary NHFE forwarding table entry entities as their roles, that is, the creation process of the NHFE primary entity (NHFE_PRI) and the NHFE backup entity is the same as that of the ordinary NHFE entity.

[0032] In S5, Figures 2~4 As shown, an execution switch component is created in any NH_MNG entity to control the bearer path information of the message information to be forwarded.

[0033] Furthermore, the execution switch component includes: a switching control switch for selecting the NHFE primary entity (NHFE_PRI) or the NHFE backup entity (NHFE_SEC) to forward the message information.

[0034] Furthermore, the execution switch component also includes: a locking switch for locking the forwarding path of the message information. If the lock is set using the locking switch, forwarding is forced on the NHFE primary entity (NHFE_PRI) or the NHFE backup entity (NHFE_SEC), and the switching control switch is no longer effective. When the protection group implementation scheme allows the existence of the NH_MNG main body and a single NHFE primary entity (NHFE_PRI) or a single NHFE backup entity (NHFE_SEC), the locking switch can be used to fix the use of a single existing NHFE primary entity (NHFE_PRI) or NHFE backup entity (NHFE_SEC) to forward the message information. Only when the NHFE primary entity (NHFE_PRI), NHFE backup entity (NHFE_SEC) and NH_MNG entity exist at the same time, the protection switching switch can normally control the switching operation and select the forwarding path of the message information.

[0035] In the implementation of the protection group of this embodiment, all members of the protection group are divided into primary paths and backup paths, which correspond to the NHFE primary entity (NHFE_PRI) and the NHFE backup entity (NHFE_SEC) respectively. Taking the linear protection group as an example, the working link corresponds to the NHFE primary entity (NHFE_PRI) of the forwarding chip, the protection link corresponds to the NHFE backup entity of the forwarding chip, and the protection group corresponds to the NH_MNG entity of the forwarding table;

[0036] Furthermore, in any service bearer forwarding table entry, the NH_MNG entity, the NHFE active entity and the NHFE standby entity do not need to rely on a specific creation order.

[0037] like Figure 5 In the ring network protection scenario shown, the protection link of the east-west port is the west port (w), and the protection link of the west port (w) is the east port (e). In this way, the protection group corresponding to the ring network protection manages two NH_MNG entities, namely the NH_MNG entity corresponding to the east-west protection group and the NH_MNG entity corresponding to the west protection group. The east port (e) corresponds to the main path of the east protection group and the backup path of the west protection group, and the west port (w) corresponds to the main path of the west protection group and the backup path of the east protection group.

[0038] In the dual-BYPASS dual-homing protection scenario, in the service decapsulation direction of E-LINE, the AC member is the working link, the ACBYPASS PW is the protection link, and an abstract AC protection group is used to complete the protection group operation. In the service encapsulation direction of E-LINE, the PW member is the working link, the PWBYPASS PW is the protection link, and an abstract PW protection group is used to complete the protection group operation.

[0039] In the dual-homing protection scenario of a single BYPASS, in the service decapsulation direction of the E-LINE, the AC member is the working link, the BYPASS PW is the protection link, and an abstract AC protection group is used to complete the protection group operation. In the service encapsulation direction of the E-LINE, the PW member is the working link, the BYPASS PW is the protection link, and an abstract PW protection group is used to complete the protection group operation. In the decapsulation direction of the BYPASS PW, the AC member is the working link, the PW is the protection link, and an abstract AC protection group is used to complete the protection group operation.

[0040] This embodiment designs the NH_MNG entity to implement the management and binding of the NHFE primary entity (NHFE_PRI) and the NHFE backup entity (NHFE_SEC), implement the switching operation of the protection group, effectively ensure the switching performance of various protection groups, and implement the locking operation of the protection group; after the NH_MNG entity, the NHFE primary entity, and the NHFE backup entity are all created, the switching control switch of the NH_MNG entity can be used to select the use of the NHFE primary entity (NHFE_PRI) or the NHFE backup entity (NHFE_SEC) to forward the message information, so that the protection switching operation can be quickly implemented.

[0041] Above, refer to Figures 2~5 A network protection method with clear primary and backup functions according to an embodiment of the present invention is described, which solves the defect of low protection switching performance in the network protection scheme in the prior art, effectively realizes fast switching of various protection groups, and avoids service interruption caused by erroneous switching in a single protection group path scenario.

[0042] It should be noted that, in this specification, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprises..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0043] Although the content of the present invention has been described in detail through the above preferred embodiments, it should be appreciated that the above description should not be considered as a limitation of the present invention. After reading the above content, it will be apparent to those skilled in the art that various modifications and substitutions of the present invention will occur. Therefore, the protection scope of the present invention should be limited by the appended claims.

Claims

1. A network protection method with clear primary and backup functions, characterized in that: The following steps are included: Create several service bearer forwarding table entries in the forwarding chip; Creating a plurality of NH_MNG entities in any of the service bearer forwarding entries; The input ends of the plurality of NH_MNG entities are connected to the prefix entity of the service bearer forwarding table entry, and are used to obtain message information through the prefix entity; The output end of any of the NH_MNG entities is respectively connected to the NHFE main entity of any NHFE table entry of the service bearer forwarding table and the NHFE standby entity of the NHFE table entry; An execution switch component is created in any of the NH_MNG entities to control the bearer path information of the message information to be forwarded; the execution switch component includes: a switching control switch, which is used to select the NHFE main entity or the NHFE backup entity to forward the message information; the execution switch component also includes: a locking switch, which is used to lock the forwarding path of the message information; The NHFE main entity and the NHFE standby entity are both common NHFE forwarding table entities; The prefix entities of the plurality of service bearer forwarding entries are respectively a MAC_TBL prefix entity, a ROUTE_TBL prefix entity, an ELINE_TBL prefix entity and a MC_TBL prefix entity; In any of the service bearer forwarding entries, the NH_MNG entity, the NHFE active entity and the NHFE standby entity do not need to rely on a specific creation order.