Tunnel path switching method, path configuration method, device, system and medium
By pre-configuring escape paths for SR-TP tunnels and quickly switching over when tunnels fail, the problem of service discontinuity caused by SR-TP tunnel protection failure is solved, improving network robustness and service switching speed.
Patent Information
- Application Number
- CN202010531065.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-11
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2040-06-11
AI Technical Summary
In existing technologies for SR-TP tunnel protection, if all tunnel protection fails, it will lead to service discontinuity and prolonged service disruption, especially when the SR-TP tunnel carries most of the network traffic, the impact is very large and difficult to resolve in a short time.
A tunnel path switching method is provided, which pre-configures the escape path of the bearer tunnel for a predetermined service and quickly switches to the escape path when the tunnel fails, thereby reducing the number of tunnel configurations and improving network robustness.
It enables rapid switching to a new path in the event of tunnel protection failure, reducing network damage, improving network robustness, and enabling short-term service switching.
Smart Images

Figure CN113810278B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of tunnel path switching methods, path configuration methods, devices, systems and media. BACKGROUND
[0002] Segment Routing Transport Profile (SR-TP) tunnels can be used to carry 5th Generation Wireless Systems (5G) services, and strict requirements are placed on the robustness of services.
[0003] Current technologies for protecting SR-TP tunnels will result in service discontinuity and long service damage time if all tunnel protection fails, especially when SR-TP tunnels carry most of the network traffic. Once the service is damaged, the impact is very large and difficult to resolve in a short time. SUMMARY
[0004] The present application provides a tunnel path switching method, a path configuration method, a device, a system and a medium.
[0005] The present application provides a tunnel path switching method, including: obtaining an escape path of a carrying tunnel of a predetermined service from preset tunnel configuration information of the predetermined service according to received tunnel failure information of the predetermined service, the escape path being used for service escape; and switching the predetermined service to the obtained escape path to forward the predetermined service using the escape path.
[0006] The present application provides a tunnel configuration method, including: configuring a carrying tunnel of a predetermined service and calculating an escape path of the carrying tunnel of the predetermined service, the escape path being used for service escape; generating tunnel configuration information, the tunnel configuration information at least including the escape path of the carrying tunnel; and sending the tunnel configuration information to a designated network node device.
[0007] The present application provides a tunnel path switching device, including: an escape path obtaining module configured to obtain an escape path of a carrying tunnel of a predetermined service from preset tunnel configuration information of the predetermined service according to received tunnel failure information of the predetermined service, the escape path being used for service escape; and an escape path switching module configured to switch the predetermined service to the obtained escape path to forward the predetermined service using the escape path.
[0008] The embodiment of the present application provides a tunnel configuration device, comprising: an escape path calculation module, configured to configure a carrying tunnel of a predetermined service, and calculate an escape path of the carrying tunnel of the predetermined service, wherein the escape path is used for service escape; a configuration information generation module, configured to generate tunnel configuration information, wherein the tunnel configuration information at least comprises the escape path of the carrying tunnel; and a configuration information sending module, configured to send the tunnel configuration information to a designated network node device.
[0009] The embodiment of the present application provides a network node device, comprising: one or more processors; a memory having one or more programs stored thereon, when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the tunnel path switching methods in the embodiment of the present application.
[0010] The embodiment of the present application provides a network management controller, comprising: one or more processors; a memory having one or more programs stored thereon, when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the tunnel configuration methods in the embodiment of the present application.
[0011] The embodiment of the present application provides a network management system, comprising: a network management controller, configured to implement any one of the tunnel configuration methods in the embodiment of the present application; and a plurality of network node devices, each of which is configured to implement any one of the tunnel path switching methods in the embodiment of the present application.
[0012] The embodiment of the present application provides a storage medium, the storage medium stores a computer program, and the computer program is executed by a processor to implement any one of the tunnel path switching methods in the embodiment of the present application.
[0013] According to the tunnel path switching method, device and network node device provided by the embodiment of the present application, the escape path of the carrying tunnel of the predetermined service is pre-configured, in the case that the protection is invalid, a new escape tunnel does not need to be issued every time the service escapes, the number of tunnel configurations is greatly reduced, the ability of quickly switching to a new path in the case that the protection is invalid is realized, the robustness of the network is improved, the network damage caused thereby is reduced, and thus the service short-time switching is realized.
[0014] According to the tunnel configuration method, the tunnel path switching device and the network management controller, the network management controller can calculate the escape path of the bearer tunnel of the predetermined service when configuring the bearer tunnel of the predetermined service, and send the tunnel configuration information containing the escape path to the designated network node device, so that the escape path can be configured to the forwarding node device when the tunnel is created and configured, and the tunnel configuration information does not need to be calculated and sent again each time the service escapes, so that the time of detection, calculation and configuration and the like can be greatly reduced, and the purpose of reducing service damage is achieved.
[0015] According to the network management system, the network management controller can calculate the escape path of the bearer tunnel of the predetermined service when configuring the bearer tunnel of the predetermined service, and send the tunnel configuration information containing the escape path to the designated network node device; and the network node device receives the tunnel configuration information, and obtains the escape path of the bearer tunnel of the predetermined service pre-configured from the tunnel configuration information in the case that the service protection fails. In the network management system, a new escape tunnel does not need to be sent each time the service escapes, the number of tunnel configurations is greatly reduced, the ability of quickly switching to a new path in the case of protection failure is realized, the robustness of the network is improved, network damage caused thereby is reduced, and short-time service switching is realized.
[0016] More details about the above embodiments and other aspects of the present application and implementation manners thereof are provided in the description of drawings, specific embodiments and claims. SUMMARY
[0017] Figure 1 A network architecture schematic diagram showing an engineering application scenario of an embodiment of the present application.
[0018] Figure 2 A flowchart schematic diagram showing a tunnel path switching method of an embodiment of the present application.
[0019] Figure 3 A flowchart schematic diagram showing a tunnel configuration method of an embodiment of the present application.
[0020] Figure 4 A network structure schematic diagram showing an embodiment of the present application.
[0021] Figure 5 A network structure schematic diagram showing another embodiment of the present application.
[0022] Figure 6 A structure schematic diagram of a tunnel path switching device of an embodiment of the present application.
[0023] Figure 7 A structure schematic diagram of a tunnel path switching device of an embodiment of the present application.
[0024] Figure 8 A structural schematic diagram of a network management system according to an embodiment of the present application is shown.
[0025] Figure 9 is a structural diagram showing an exemplary hardware architecture of a computing device capable of implementing the method and apparatus according to an embodiment of the present application. DETAILED DESCRIPTION
[0026] For the purposes of the present application, the technical solutions and advantages will be more clearly apparent in the following detailed description of embodiments of the present application, given by way of example and with reference to the accompanying drawings. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other as long as there is no conflict.
[0027] Figure 1 A network architecture schematic diagram showing an engineering application scenario of an embodiment of the present application is shown. As shown in Figure 1 the architecture includes a network management controller 10 (UME), a core network 20, a network-facing provider edge equipment (NPE) 30, a plurality of core scheduling servers such as core scheduling server 41 and core scheduling server 4, a plurality of scheduling processor elements (SPEs) such as scheduling processor element SPE51 and scheduling processor element SPE52, and user-facing provider edge routers (UPEs) such as UPE61 and UPE62.
[0028] For example, the core network 20 can be a 5th generation wireless systems core network (5GC), or a core network of a communication network beyond 5G.
[0029] The tunnel configuration method in an embodiment of the present application can be applied to the network management controller 10, in which the network management controller 10 can create a bearer path of a predetermined service, calculate an escape path of the bearer path of the predetermined service, generate tunnel configuration information containing the escape path, and issue the tunnel configuration information to network node devices such as the NPE.
[0030] It should be understood that Figure 1 the number of devices in the above-mentioned embodiments is only illustrative. Depending on actual application needs, it can be flexibly adjusted.
[0031] The tunnel path switching method in the embodiments of the present application can be used for a network node device that forwards predetermined services, such as the NPE 30, in which, when tunnel implementation information of a predetermined service is received, the network node device determines an escape path of a bearing tunnel of the predetermined service according to pre-acquired tunnel configuration information, so as to switch the predetermined service to the escape path of the bearing tunnel for forwarding.
[0032] In order to better understand the present application, the tunnel path switching method and the tunnel configuration method of the embodiments of the present application are described in detail below in combination with the drawings.
[0033] Figure 2 A flowchart of the tunnel path switching method of the embodiments of the present application is shown. As shown in Figure 2 The tunnel path switching method in the embodiments of the present application can include the following steps.
[0034] S110, according to the received tunnel failure information of the predetermined service, acquiring an escape path of a bearing tunnel of the predetermined service from the preset tunnel configuration information of the predetermined service, the escape path being used for service escape.
[0035] S120, switching the predetermined service to the escape path of the bearing tunnel, so as to use the escape path to forward the predetermined service.
[0036] According to the tunnel path switching method of the embodiments of the present application, the escape path of the bearing tunnel of the predetermined service is pre-configured, so that in the case of protection failure, a new escape tunnel does not need to be issued every time the service escapes, the number of tunnel configurations is greatly reduced, the ability to quickly switch to a new path in the case of protection failure is realized, the robustness of the network is improved, the network damage caused thereby is reduced, and the service short-time switching is realized.
[0037] In one embodiment, the predetermined service can be a customer service carried in a 5G and above wireless communication network; and the bearing tunnel of the predetermined service can be an SR-TP tunnel used for carrying the customer service in the 5G and above wireless communication network. In this embodiment, according to the basic requirement of the service, the path of the SR-TP tunnel needs to be strictly constrained in general, that is, in order to meet the constraint conditions that the SR-TP tunnel passes through a specified network node device or excludes a specified network node device and a link, etc., ensure the bidirectional tunnel path, and at the same time, be conducive to fully utilizing the bandwidth and scheduling requirements in network deployment, and some specific requirements such as the service must pass through a certain network node device, etc., the tunnel carrying the customer service needs to be strictly constrained.
[0038] In one embodiment, the tunnel configuration information is configuration information received in advance and issued by a network management controller in a network to which the device belongs.
[0039] In this embodiment, the tunnel configuration information can be tunnel configuration information issued by the network management controller UME, or configuration information written or stored locally in advance through other means.
[0040] In one embodiment, if the predetermined service is not set with tunnel protection, the tunnel failure information is failure alarm information of the current bearer tunnel of the detected predetermined service; if the predetermined service is set with tunnel protection, the tunnel failure information is protection failure information that all levels of tunnel protection set are failed.
[0041] In the embodiments of the present application, the tunnel protection includes but is not limited to tunnel protection groups and Fast Reroute (FRR) protection, and all types of protection currently applied can be applicable.
[0042] For example, tunnel ECMP based on Equal-Cost Multipath Routing (ECMP), the member is a single tunnel or a tunnel protection group; FRR superimposed tunnel ECMP, the member is a tunnel protection group or a single tunnel; route ECMP, the member is a tunnel protection group or a single tunnel, etc. Therefore, when the predetermined service is set with tunnel protection, the tunnel failure information is information that all levels of protection detected are failed.
[0043] In this embodiment, in the case that the predetermined service has no tunnel protection, when the failure alarm information of the current tunnel of the predetermined service is detected, it can be determined that the protection of the predetermined service is failed, and the tunnel failure information is the failure alarm information of the bearer tunnel; in the case that the predetermined service has tunnel protection, when the corresponding protection such as tunnel protection group or FRR protection is failed, it can be determined that the protection of the predetermined service is failed.
[0044] In one embodiment, the escape path is an escape path of a bearer tunnel of the predetermined service that needs to perform service escape. In this embodiment, the step of obtaining the escape path of the bearer tunnel of the predetermined service from the preset tunnel configuration information of the predetermined service in step S110 can specifically include: S111, taking the escape path of the first tunnel or the second tunnel of the predetermined service as the obtained escape path; wherein the first tunnel is any one of the bearer tunnels of the predetermined service that needs to perform service escape; the second tunnel is a main link tunnel in the bearer tunnels that need to perform service escape and is obtained from the tunnel configuration information.
[0045] In this embodiment, since the path of the SR-TP tunnel is generally strictly constrained according to the basic requirement of the service, in some specific scenarios, the carrying tunnel of the service needs to be strictly pathed and does not need to escape to other paths, therefore, the escape path of the carrying tunnel of the predetermined service in the tunnel configuration information can be the escape path of the carrying tunnel of the predetermined service which is allowed to escape.
[0046] In one embodiment, the tunnel configuration information further comprises an escape tunnel identifier and a main link identifier, wherein the escape tunnel identifier is used to identify the carrying tunnel which needs to escape, and the main link identifier is used to identify the main link tunnel in the carrying tunnel which needs to escape.
[0047] In this embodiment, the escape tunnel identifier as the tunnel attribute information can be used to identify that the corresponding carrying tunnel can use escape. Since in some special scenarios, the carrying tunnel needs to be strictly pathed and does not need to escape to other paths, the escape tunnel identifier can be used to distinguish the tunnel which needs to escape from the tunnel which does not need to escape, and the main link identifier as the tunnel attribute information can be used to identify the main link tunnel which is allowed to escape in the carrying tunnel carrying the predetermined service.
[0048] In one embodiment, the carrying tunnel of the predetermined service is a tunnel carrying the service based on segment routing; and step S120 can specifically comprise: S121, switching the out-label stack of the current carrying tunnel carrying the predetermined service to the label stack of the escape path of the acquired carrying tunnel, so as to switch the predetermined service to the escape path for service forwarding.
[0049] In this embodiment, the out-label stack of the SR-TP tunnel, i.e., the original segment list, can be directly switched to the label stack of the escape path, i.e., the escape path, so as to switch the predetermined service to the escape path for service forwarding. Moreover, the out-label stack of the SR-TP tunnel is directly switched to the label stack of the escape path without the need to add a new tunnel, which can greatly save tunnel resources and quickly switch to the new path, reducing service damage time.
[0050] In one embodiment, the escape path has a high priority; and when the predetermined service is forwarded using the escape path, the method further comprises: if it is detected that the network to which the node device belongs has path traffic congestion, the predetermined service is preferentially forwarded using the escape path.
[0051] In this embodiment, the escape path can be a path of a tunnel calculated by a shortest path establishment algorithm corresponding to an Intermediate System-Intermediate System (ISIS) protocol at the network management controller end. The algorithm can ensure that the path planning is better balanced, that is, the path of the tunnel obtained by the shortest path establishment algorithm under the ISIS protocol can have a high priority, so as to ensure that the message is preferentially passed when the path traffic is congested, and to meet the needs of various business scenarios.
[0052] In this embodiment, unlike the strict constraint on the bearer tunnel, such as the SR-TP tunnel, for carrying the predetermined service described in the above embodiments, the escape path in the embodiment of the application can be a path calculated according to no constraint or loose constraint in the network management controller. That is, the calculated escape path can meet the requirement that a specified number of network node devices must be passed according to the service requirement, but the passed network node devices are not strictly constrained, so as to maximize the guarantee that the traffic is not affected and the basic service requirement of the customer is guaranteed.
[0053] As an example, the loose constraint of the escape path when planning the escape path can be used for: for a specific requirement, such as having to pass through a certain network node device, the loose constraint can be used when planning the escape path to enable the escape path to pass through the specified network node device, so as to reach the destination network node device. Since the escape path is only used as a temporary path after the failure of the bearer tunnel, when the failure is recovered, the service is switched back to the original path, and the original bearer path is not affected for a long time.
[0054] In one embodiment, after step S120, the method further includes: S130, switching the predetermined service to the original bearer tunnel according to the received failure elimination information of the bearer tunnel of the predetermined service, the original bearer tunnel being the bearer tunnel of the predetermined service before the escape path of the bearer tunnel is switched, or the bearer tunnel determined by the attribute information of the tunnel protection group of the predetermined service.
[0055] In this embodiment, if the number of the tunnel protection group of the predetermined service is zero, the original bearer tunnel is the bearer tunnel of the predetermined service before the escape path of the bearer tunnel is switched.
[0056] If the number of the tunnel protection group is 1, the attribute information of the tunnel protection group can include the tunnel type: the primary tunnel and the protection tunnel, the primary tunnel also being referred to as the working tunnel, that is, the protected tunnel, and the protection tunnel being the tunnel used to protect the primary tunnel. According to the attribute information of the tunnel protection group, the primary tunnel can be used as the original bearer tunnel when the tunnel failure is eliminated.
[0057] If the number of tunnel protection groups is greater than 1, and FRR protection is formed between the tunnel protection groups, the attribute information of the tunnel protection group can include a protection group type and a tunnel type in the protection group; the protection group type can include a primary tunnel protection group and a non-primary tunnel protection group, and the tunnel type in the protection group includes a primary tunnel and a protection tunnel in each tunnel protection group. According to the attribute information of the tunnel protection group, the primary tunnel of the primary tunnel protection group can be used as the original carrying tunnel when the tunnel fault is eliminated.
[0058] As an example, after the fault recovery in the carrying tunnel of the service, the service can be restored to the segment list path of the tunnel.
[0059] According to the tunnel path switching method, compared with receiving a fleeing tunnel issued by the gateway controller each time the service escapes, the number of received tunnel configuration information can be greatly reduced, thereby reducing the number of tunnel configurations. When the SR-TP tunnel escapes to a new tunnel, the method of the embodiment of the present application can directly switch the outgoing label stack of the SR-TP tunnel to the label stack of the escape path, without the need to add a new tunnel, which can greatly save tunnel resources and quickly switch to a new path, reducing service damage time.
[0060] According to the tunnel path switching method, the service can be switched for a short time, and 50MS escape can be achieved in the case of topology-independent loop-free alternate (TILFA), and 100ms escape can be achieved in the case of no TILFA, which achieves an industry-leading level. The TILFA can provide link and node protection for the carrying tunnel of the service in the segment router Segment Routing. When a link or node fails somewhere, the traffic will quickly switch to the backup path for forwarding, thereby avoiding the loss of traffic to the greatest extent.
[0061] Figure 3 A flowchart of a tunnel configuration method according to an embodiment of the present application is shown. As shown in Figure 3 In one embodiment, the tunnel configuration method can include the following steps.
[0062] S210, configuring a carrying tunnel of a predetermined service and calculating an escape path of the carrying tunnel of the predetermined service, the escape path being used for service escape.
[0063] S220, generating tunnel configuration information, the tunnel configuration information at least including the escape path of the carrying tunnel.
[0064] S230, sending the tunnel configuration information to a specified network node device.
[0065] According to the tunnel configuration method, the network management controller can calculate the escape path of the bearer tunnel of the predetermined service when configuring the bearer tunnel of the predetermined service, and distribute tunnel configuration information containing the escape path to the designated network node device, so that the escape path can be configured to the forwarding node device when the tunnel is initially created and configured, without the need to recalculate and redistribute the tunnel configuration information each time service escape is required, thereby greatly reducing the time of detection, calculation and configuration and the like, and achieving the purpose of reducing service damage.
[0066] In one embodiment, the designated network node device is a forwarding node device and can include a forwarding chip.
[0067] In one embodiment, the escape path is an escape path of the bearer tunnel of the predetermined service that needs to perform service escape, and the tunnel configuration information further includes an escape tunnel identifier and a main link identifier, wherein the escape tunnel identifier is used to identify the bearer tunnel that needs to perform service escape, and the main link identifier is used to identify the main link tunnel in the bearer tunnel that needs to perform service escape.
[0068] In this embodiment, since the bearer tunnel needs a strict path and does not need to escape to other paths in some special scenarios, the network management controller device can carry the escape tunnel identifier in the distributed tunnel attribute information when configuring the SR-TP tunnel, so as to identify the bearer tunnel that can escape, thereby distinguishing the tunnel that needs to perform service escape from the tunnel that does not need to perform service escape.
[0069] In this embodiment, if there is more than one bearer tunnel that needs to escape in the bearer path of the predetermined service, the main link identifier can be used to identify the main link tunnel of the bearer tunnel that needs to escape, so that the main link tunnel can be preferentially selected to carry traffic according to actual needs.
[0070] In one embodiment, in step S210, the step of calculating the escape path of the bearer tunnel of the predetermined service can specifically include: S221, calculating an escape path that satisfies a path constraint condition according to the path constraint condition corresponding to the service requirement, wherein the path constraint condition includes a lower limit value of traffic to be allocated to the escape path, and / or a network node device to be passed through.
[0071] In this embodiment, the business escape is usually used in the non-restrictive or non-strictly restrictive (i.e. loosely constrained) condition, and the escape path calculated under the non-restrictive or loosely constrained condition can meet the requirement that a specified number of network node devices must be passed through according to the business requirement, but the network node devices passed through are not strictly constrained, so as to maximize the guarantee of the traffic not being affected and the guarantee of the basic business requirement of the customer.
[0072] In one embodiment, in step S221, the step of calculating the escape path meeting the path constraint condition can specifically include: S2211, calculating the escape path meeting the path constraint condition according to the shortest path algorithm corresponding to the intermediate system to intermediate system (ISIS) protocol, wherein the calculated escape path has a high priority.
[0073] In this embodiment, when the tunnel escape path is calculated by the shortest path algorithm corresponding to the ISIS protocol, the link condition of the specified node device can be announced to the neighbor network node device, so that each network node device in the shortest path area can obtain the corresponding network topology, and thus the shortest path node for message forwarding is calculated by the shortest path establishment algorithm, so as to guarantee that the path planning is better balanced. That is, compared with other shortest path algorithms, the tunnel path obtained by the shortest path establishment algorithm under the ISIS protocol can have a high priority, so that when the path traffic is congested, the message can be guaranteed to be transmitted preferentially, and the requirement of various business scenarios can be met.
[0074] The specific flow of the tunnel path switching method under two networking structures will be described below in combination with Figure 4 and Figure 5 . Figure 4 Fig. 1 shows a networking structure schematic diagram of an embodiment of the present application, Figure 5 Fig. 2 shows a networking structure schematic diagram of another embodiment of the present application.
[0075] In Figure 4 , the NE1, NE2, NE3 and NE4 in a plurality of network equipments (Network Equipment, NE) are exemplarily shown. Among them, the tunnel A provides a transmission path for forwarding the business from the NE1 to the NE4, and the tunnel B provides a transmission path for forwarding the business from the NE1 to the NE4 via the NE2 and the NE3.
[0076] As Figure 4 shown, in one embodiment, the tunnel path switching method can include the following steps.
[0077] S301, according to the tunnel configuration information obtained in advance, it is determined that the tunnel A and the tunnel B form a protection group, A is a working tunnel, and B is a protection tunnel.
[0078] S302, detecting that tunnel A fails, and traffic switches to tunnel B.
[0079] In this step, tunnel A does not escape by switching of the protection group, and traffic is carried to tunnel B.
[0080] S303, detecting that tunnel B also fails, and traffic escapes from tunnel A or tunnel B to the designated escape path.
[0081] In this step, tunnel A and tunnel B both fail, and it is determined that the protection group is invalid, the escape attribute of tunnel A and tunnel B is triggered, tunnel A and tunnel B both use the default path in the tunnel configuration information as the Segment List of the SR-TP tunnel, and traffic escapes from tunnel A or tunnel B. The default path can be the main link tunnel of the service in the tunnel configuration information.
[0082] When tunnel A and tunnel B can both escape traffic, and tunnel A is the main link tunnel, if the escape path of tunnel A is in a normal state, the escape path of tunnel A is used as the escape path for traffic escape, otherwise the escape path of tunnel B is used as the escape path for traffic escape.
[0083] S304, fault recovery, tunnel A or tunnel B fault disappears, escape attribute is invalid, and traffic returns to the normal path, and whether tunnel A or tunnel B is used is mainly determined by the protection group attribute.
[0084] Through the above steps S301-S304, when the protection group is detected to be invalid, the original path of the SR-TP tunnel is switched to the escape path, and tunnel escape is realized.
[0085] In Figure 5 , the networking structure of NE1, NE2, NE3 and NE4 in multiple NEs is exemplarily shown. Among them, tunnel A provides a transmission path for forwarding traffic from NE1 to NE4; tunnel B provides a transmission path for forwarding traffic from NE1 to NE4 via NE2 and NE3; tunnel C provides a transmission path for forwarding traffic from NE1 to NE3 via NE4; and tunnel D provides a transmission path for forwarding traffic from NE1 to NE3 via NE2.
[0086] As Figure 5 shown, in another embodiment, the tunnel path switching method can include the following steps.
[0087] S401, according to the tunnel configuration information obtained in advance, it is determined that tunnel A and tunnel B form a protection group, A is a working tunnel, and B is a protection tunnel; tunnel C and tunnel D form a protection group, C is a working tunnel, and D is a protection tunnel; tunnel A and tunnel B and tunnel C and tunnel D form FRR protection.
[0088] S402, tunnel A fails, traffic switches to tunnel B.
[0089] In this step, through the switching of the protection group, all tunnels do not escape at this time, and the traffic is carried to tunnel B.
[0090] S403, tunnel B also fails, tunnel A and tunnel B both fail at this time, the protection group is invalid, the protection switching of FRR is triggered, and the traffic is carried on tunnel C.
[0091] In this step, the traffic is carried through tunnel C, and all tunnels still do not escape at this time.
[0092] S404, tunnel C also fails, triggering the switching of the tunnel protection group, and the traffic is carried on tunnel D.
[0093] In this step, the traffic is carried through tunnel D, and the FRR protection group is still valid, and all tunnels do not trigger escape.
[0094] S405, tunnel D also fails, all tunnel protection groups fail, and FRR protection also fails, triggering tunnel escape.
[0095] In this step, the traffic is carried on tunnel D, all tunnels use the default path as the Segment List of the SR-TP tunnel, and the traffic escapes from tunnel A, tunnel B, tunnel C or tunnel D, and the main link tunnel is preferentially selected to carry the traffic. The default path can be any one of tunnel A, tunnel B, tunnel C and tunnel D or the main link tunnel of tunnel A, tunnel B, tunnel C and tunnel D, which is pre-configured in the tunnel configuration information.
[0096] S406, the service recovers, and the service switches to the original path.
[0097] In this step, if any one or more tunnels recover, the triggered escape attribute is invalid, the service returns to the normal path, and the specific path is determined according to the attribute information of the protection group. The attribute information of the protection group can be used to indicate the path in the carrying tunnel when the service switches to the original path.
[0098] Through the above steps S401-S406, when all protection failures are detected, the original path of the SR-TP tunnel is switched to the escape path, and tunnel escape is realized.
[0099] Figure 6 A structure schematic diagram of a tunnel path switching device according to an embodiment of the present application is shown. As shown in the figure, the tunnel path switching device can include the following modules. Figure 6
[0100] The escape path obtaining module 510 is configured to obtain an escape path of a tunnel carrying the predetermined service from preset tunnel configuration information of the predetermined service according to the received tunnel failure information of the predetermined service, and the escape path is used for service escape.
[0101] In one embodiment, if the number of tunnels carrying the predetermined service is 1, the tunnel failure information is failure alarm information of the detected tunnel; if the tunnels carrying the predetermined service include a working tunnel and a protection tunnel, and the number of tunnel protection groups formed by the working tunnel and the protection tunnel is 1, the tunnel failure information is failure information of the detected tunnel protection group; if the number of tunnel protection groups is greater than 1, and fast reroute (FRR) protection is formed between the tunnel protection groups, the tunnel failure information is FRR protection failure information detected.
[0102] In one embodiment, the escape path is an escape path of a tunnel carrying the predetermined service that needs to perform service escape; and the escape path obtaining module 510 can be specifically configured to: take an escape path of a first tunnel or an escape path of a second tunnel of the predetermined service as the obtained escape path; the first tunnel is any tunnel carrying the predetermined service that needs to perform service escape; and the second tunnel is a main link tunnel carrying the predetermined service that needs to perform service escape.
[0103] In one embodiment, the tunnel configuration information further includes an escape tunnel identifier and a main link identifier, wherein the escape tunnel identifier is used to identify a tunnel carrying the predetermined service that needs to perform service escape, and the main link identifier is used to identify a main link tunnel carrying the predetermined service that needs to perform service escape.
[0104] In one embodiment, the tunnel carrying the predetermined service is a tunnel carrying the service based on segment routing; and the escape path switching module 520 can be specifically configured to: switch an out-label stack in the segment routing of the tunnel carrying the predetermined service to a label stack of the obtained escape path of the tunnel, so as to switch the predetermined service to the escape path for service forwarding.
[0105] In one embodiment, the escape path has a high priority; and the escape path switching module 520 can be specifically configured to: when the predetermined service is forwarded using the escape path, if it is detected that path traffic congestion occurs in a network to which the node device belongs, the predetermined service is preferentially forwarded using the escape path.
[0106] In one embodiment, the escape path switching module 520 can be further configured to: after switching the predetermined service to the escape path of the bearer tunnel, switch the predetermined service to the original bearer tunnel according to the received failure elimination information of the bearer tunnel of the predetermined service, the original bearer tunnel being the bearer tunnel of the predetermined service before switching to the escape path of the bearer tunnel.
[0107] The tunnel path switching device according to the embodiments of the present application can obtain the escape path of the bearer tunnel from the preset tunnel configuration information in view of the problem of service discontinuity caused by the failure of protection of the predetermined service, and does not need to issue an escape tunnel every time the service escapes in the case of failure of the protection, thereby greatly reducing the number of tunnel configurations, realizing the ability of quickly switching to a new path in the case of failure of the protection, improving the robustness of the network, reducing the network damage caused thereby, and thereby realizing short-time service switching.
[0108] Figure 7 A structure diagram of the tunnel path switching device according to the embodiments of the present application is shown. As shown in the figure, Figure 7 The tunnel configuration device can include the following modules.
[0109] The escape path calculation module 610 is configured to configure the bearer tunnel of the predetermined service and calculate the escape path of the bearer tunnel of the predetermined service, the escape path being used for service escape; the configuration information generation module 620 is configured to generate tunnel configuration information, the tunnel configuration information at least including the escape path of the bearer tunnel; and the configuration information sending module 630 is configured to send the tunnel configuration information to a designated network node device.
[0110] In one embodiment, the configuration information generation module 620 is specifically configured to: obtain corresponding path constraint conditions according to the service requirements of the predetermined service, and calculate the escape path satisfying the path constraint conditions; wherein the path constraint conditions include a lower limit value of the traffic to be allocated to the escape path and / or a network node device to be passed through.
[0111] In one embodiment, when the configuration information generation module 620 is specifically configured to calculate the escape path satisfying the path constraint conditions, it is specifically configured to calculate the escape path satisfying the path constraint conditions according to a shortest path algorithm under an intermediate system to intermediate system (ISIS) protocol, wherein the calculated escape path has a high priority.
[0112] In one embodiment, the escape path is the escape path of the bearer tunnel of the predetermined service that needs to escape the service, and the tunnel configuration information further includes an escape tunnel identifier and a main link identifier, wherein the escape tunnel identifier is used to identify the bearer tunnel that needs to escape the service, and the main link identifier is used to identify the main link tunnel in the bearer tunnel that needs to escape the service.
[0113] According to the tunnel configuration method of the embodiment of the present application, when a bearer tunnel of a predetermined service is configured, an escape path of the bearer tunnel of the predetermined service is calculated, and tunnel configuration information containing the escape path is issued to a specified network node device, so that the escape path can be configured to a forwarding node device when the tunnel is initially created and configured, and it is not necessary to recalculate and reissue the tunnel configuration information each time service escape is needed, so that the time of detection, calculation and configuration and the like can be greatly reduced, and the purpose of reducing service damage is achieved.
[0114] Figure 8 A structure diagram of a network management system according to an embodiment of the present application is shown. As shown in the figure, the network management system can include the following modules. Figure 8
[0115] The network management controller 710 is configured to execute the tunnel configuration method described in the above embodiments, and the network node devices 720 are each configured to execute the tunnel path switching method described in the above embodiments.
[0116] According to the network management system of the embodiment of the present application, when a bearer tunnel of a predetermined service is configured by the network management controller, an escape path of the bearer tunnel of the predetermined service is calculated, and tunnel configuration information containing the escape path is issued to a specified network node device; and the network node device receives the tunnel configuration information, and obtains the pre-configured escape path of the bearer tunnel of the predetermined service from the tunnel configuration information in the case of service protection failure. In the network management system, it is not necessary to reissue an escape tunnel each time service escape is needed, the number of tunnel configurations is greatly reduced, the ability of quickly switching to a new path in the case of protection failure is achieved, the robustness of the network is improved, network damage caused thereby is reduced, and short-time service switching is achieved.
[0117] It should be noted that the present application is not limited to the specific configurations and processes described in the above embodiments and shown in the figures. For the convenience and brevity of description, detailed description of known methods is omitted, and the specific working processes of the above-described system, modules and units can refer to the corresponding processes in the foregoing method embodiments, which will not be described herein.
[0118] Figure 9 is a structure diagram showing an exemplary hardware architecture of a computing device capable of implementing the method and apparatus according to the embodiments of the present application. As shown in the figure, Figure 9 As shown, the computing device 800 includes an input device 801, an input interface 802, a central processing unit 803, a memory 804, an output interface 805, and an output device 806. Among them, the input interface 802, the central processing unit 803, the memory 804, and the output interface 805 are connected to each other through a bus 810, and the input device 801 and the output device 806 are connected to the bus 810 through the input interface 802 and the output interface 805 respectively, and then connected to other components of the computing device 800.
[0119] Specifically, the input device 801 receives input information from the outside, and transmits the input information to the central processing unit 803 through the input interface 802; the central processing unit 803 processes the input information based on the computer executable instructions stored in the memory 804 to generate output information, temporarily or permanently stores the output information in the memory 804, and then transmits the output information to the output device 806 through the output interface 805; the output device 806 outputs the output information to the outside of the computing device 800 for the user to use.
[0120] In one embodiment, Figure 9 The computing device shown can be implemented as a kind of network node device, which can include: a memory configured to store a program; a processor configured to run the program stored in the memory to execute the tunnel path switching method described in the above embodiment.
[0121] In one embodiment, Figure 9 The computing device shown can be implemented as a kind of network management controller, which can include: a memory configured to store a program; a processor configured to run the program stored in the memory to execute the tunnel configuration method described in the above embodiment.
[0122] The above is only an exemplary embodiment of the present application, and is not used to limit the protection scope of the present application. Generally, various embodiments of the present application can be realized in hardware or special circuit, software, logic or any combination thereof. For example, some aspects can be realized in hardware, while other aspects can be realized in firmware or software that can be executed by a controller, microprocessor or other computing device, although the present application is not limited thereto.
[0123] Embodiments of the present application can be implemented by a data processor of a mobile device executing computer program instructions, for example, in a processor entity, or by hardware, or by a combination of software and hardware. The computer program instructions can be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages.
[0124] The block diagrams of any logical flow of the present application in the drawings can represent program steps or can represent interconnected logic circuits, modules, and functions, or can represent a combination of program steps and logic circuits, modules, and functions. The computer program can be stored on a memory. The memory can be of any type suitable to the local technical environment and can be implemented using any suitable data storage technology, such as, but not limited to, random access memory (RAM), read only memory (ROM), optical storage devices, and systems such as digital versatile disc (DVD) or CD-ROM, and the like. The computer readable media can include non-transitory storage media. The data processor can be of any type suitable to the local technical environment, and can include one or more of general purpose computers, special purpose computers, microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASIC), programmable logic devices (PLD), and processors based on multi-core processor architectures, as examples.
[0125] A detailed description of exemplary embodiments of the present application has been provided above with reference to the drawings. However, various modifications and changes can be made to the above embodiments by those skilled in the art without departing from the scope of the present application, which is defined by the following claims. Accordingly, the proper scope of the present application is to be determined not only by the embodiments but also by the appended claims.
Claims
1. A tunnel path switching method characterized by comprising: The method is applied to a network node device, and comprises the following steps: According to the received tunnel failure information of the predetermined service, the escape path of the bearer tunnel of the predetermined service is obtained from the preset tunnel configuration information of the predetermined service, wherein the escape path is a path of the bearer tunnel of the predetermined service which is pre-configured; the bearer tunnel of the predetermined service is a tunnel for carrying the predetermined service; The predetermined service is switched to the obtained escape path, so that the predetermined service is forwarded by using the escape path.
2. The method of claim 1, wherein, if the predetermined service is not provided with tunnel protection, the tunnel failure information is failure alarm information of the current bearer tunnel of the predetermined service which is detected; If the predetermined service is provided with tunnel protection, the tunnel failure information is protection failure information that all levels of tunnel protection provided for the predetermined service are failed. The escape path is an escape path of the bearer tunnel of the predetermined service which needs to perform service escape; 3. The method of claim 1, wherein, The escape path of the bearer tunnel of the predetermined service is obtained from the preset tunnel configuration information of the predetermined service, comprising: The escape path of the first tunnel or the escape path of the second tunnel of the predetermined service is taken as the obtained escape path; The first tunnel is any one of the bearer tunnels which need to perform service escape; The second tunnel is a main link tunnel in the bearer tunnels which need to perform service escape.
4. The method of claim 3, wherein, the tunnel configuration information further comprises an escape tunnel identifier and a main link identifier, wherein: The escape tunnel identifier is used to identify the bearer tunnel which needs to perform service escape, and the main link identifier is used to identify the main link tunnel in the bearer tunnel which needs to perform service escape. The bearer tunnel of the predetermined service is a tunnel for carrying service based on segment routing; The predetermined service is switched to the obtained escape path, so that the predetermined service is forwarded by using the escape path, comprising:
5. The method according to any one of claims 1 to 3, characterized in that, The out-label stack in the segment routing of the bearer tunnel currently carrying the predetermined service is switched to the label stack of the obtained escape path of the bearer tunnel, so that the predetermined service is switched to the escape path for service forwarding. The escape path has a high priority; when the predetermined service is forwarded by using the escape path, the method further comprises: If it is detected that the network to which the node device belongs has path traffic congestion, the predetermined service is preferentially forwarded by using the escape path.
6. The method according to any one of claims 1 to 3, characterized in that, After the predetermined service is switched to the escape path of the bearer tunnel, the method further comprises: According to the received failure elimination information of the bearer tunnel of the predetermined service, the predetermined service is switched to the original bearer tunnel, wherein the original bearer tunnel is the bearer tunnel of the predetermined service before the predetermined service is switched to the escape path of the bearer tunnel, or a bearer tunnel determined by attribute information of a tunnel protection group of the predetermined service.
7. The method according to any one of claims 1 to 3, characterized in that, The method is applied to a network management controller, and comprises the following steps: 8. A method of tunnel configuration, comprising: configure a bearer tunnel of a predetermined service, and calculate an escape path of the bearer tunnel of the predetermined service, the escape path being a path in which the bearer tunnel of the predetermined service is pre-configured; generate tunnel configuration information, the tunnel configuration information at least including the escape path of the bearer tunnel; send the tunnel configuration information to a designated network node device.
9. The method of claim 8, wherein, The calculating the escape path of the bearer tunnel of the predetermined service comprises: obtaining a corresponding path constraint condition according to a service requirement of the predetermined service, and calculating an escape path satisfying the path constraint condition; The path constraint condition includes a traffic lower limit value to be allocated to the escape path and / or a network node device to be passed through.
10. The method of claim 9, wherein, The calculating the escape path satisfying the path constraint condition comprises: calculating the escape path satisfying the path constraint condition according to a shortest path algorithm under an intermediate system to intermediate system (ISIS) protocol, wherein the calculated escape path has a high priority.
11. The method of any one of claims 8 to 10, wherein the escape path is an escape path of a bearer tunnel of the predetermined service that needs to perform service escape, and the tunnel configuration information further includes an escape tunnel identifier and a main link identifier, wherein the escape tunnel identifier is used to identify the bearer tunnel that needs to perform service escape, and the main link identifier is used to identify a main link tunnel in the bearer tunnel that needs to perform service escape. The device is located in a network node device, and the device comprises: an escape path obtaining module configured to obtain, according to received tunnel failure information of a predetermined service, an escape path of a bearer tunnel of the predetermined service from preset tunnel configuration information of the predetermined service, the escape path being a path in which the bearer tunnel of the predetermined service is pre-configured; the bearer tunnel of the predetermined service being a tunnel for carrying the predetermined service; 12. A tunnel path switching apparatus characterized by comprising: an escape path switching module configured to switch the predetermined service to the obtained escape path, so as to forward the predetermined service using the escape path. The device is located in a network management controller, and the device comprises: an escape path calculating module configured to configure a bearer tunnel of a predetermined service, and calculate an escape path of the bearer tunnel of the predetermined service, the escape path being a path in which the bearer tunnel of the predetermined service is pre-configured; the bearer tunnel of the predetermined service being a tunnel for carrying the predetermined service; 13. A tunnel configuration apparatus, characterized by comprising: a configuration information generating module configured to generate tunnel configuration information, the tunnel configuration information at least including the escape path of the bearer tunnel; a configuration information sending module configured to send the tunnel configuration information to a designated network node device.
14. A network node device, comprising: one or more processors; a memory having one or more programs stored thereon, when the one or more programs are executed by the one or more processors, causing the one or more processors to implement the tunnel path switching method of any one of claims 1 to 7.
15. A network management controller, comprising: one or more processors; a memory having stored thereon one or more programs, when executed by the one or more processors, cause the one or more processors to implement the tunnel configuration method of any one of claims 8-11.
16. A network management system comprising: a network management controller configured to perform the tunnel configuration method of any one of claims 8-11; a plurality of network node devices each configured to perform the tunnel path switching method of any one of claims 1-7.
17. A storage medium, characterized by The storage medium stores a computer program, which is executed by the processor to implement the method of any one of claims 1-7 or any one of claims 8-11.
Citation Information
Patent Citations
Communication processing method and apparatus based on access ring
CN108234200A