CN105743784B - Switching control method and device for deploying high-capacity service - Google Patents

Switching control method and device for deploying high-capacity service Download PDF

Info

Publication number
CN105743784B
CN105743784B CN201410743147.XA CN201410743147A CN105743784B CN 105743784 B CN105743784 B CN 105743784B CN 201410743147 A CN201410743147 A CN 201410743147A CN 105743784 B CN105743784 B CN 105743784B
Authority
CN
China
Prior art keywords
forwarding
label
information
link
frr
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410743147.XA
Other languages
Chinese (zh)
Other versions
CN105743784A (en
Inventor
李石法
李金�
叶勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201410743147.XA priority Critical patent/CN105743784B/en
Priority to PCT/CN2015/077555 priority patent/WO2016090815A1/en
Publication of CN105743784A publication Critical patent/CN105743784A/en
Application granted granted Critical
Publication of CN105743784B publication Critical patent/CN105743784B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a switching control method and a device when deploying a large-capacity service, wherein the method comprises the following steps: IP forwarding information and label forwarding information in a fast reroute (FRR) table are set separately, and the FRR table only sets the IP forwarding information; after detecting the fault of the main link, acquiring the forwarding paths of the main link and the standby link, reassembling the IP forwarding information and the label forwarding information which are separately arranged, and combining the forwarding paths of the main link and the standby link to control the switching of the currently deployed high-capacity service flow from the main link to the standby link.

Description

Switching control method and device for deploying high-capacity service
Technical Field
The present invention relates to control technologies in the field of data networks and communications, and in particular, to a method and an apparatus for controlling handover during deployment of a large-capacity service.
Background
In the process of implementing the technical solution of the embodiment of the present application, the inventor of the present application finds at least the following technical problems in the related art:
at present, in order to meet the major trend of the convergence of three networks, operators pay attention to the service convergence speed when a network fails, when any node fails, the service switching of adjacent nodes is less than 50ms, and the end-to-end service convergence is less than 1s, which becomes the lowest index of a bearer network. The Virtual Private Network (VPN) fast reroute (FRR) technique solves the service convergence speed requirement of switching control in a Customer Edge device (CE) dual homing scenario shown in fig. 1, for example, after a failure occurs in a main PE (PE1), traffic from a remote end (PE3 to CE1) can be quickly switched to a backup PE (PE2), so as to ensure that the packet loss time of the traffic from the remote end PE3 is within 50 ms.
The VPN FRR technique is a VPN-based fast switching technique for private network routing, and is explained by an example shown in fig. 1 as follows: the VPN FRR technology is characterized in that a main forwarding path and a standby forwarding path pointing to a main PE (PE1) and a standby PE (PE2) are arranged in a far-end PE (PE3) in advance, and the forwarding paths are rapidly switched by combining a fault rapid detection technology (BFD technology)
The existing VPN FRR technology can meet the requirement that the service switching speed is less than 50ms in most application scenes. With the development of the mobile internet, the requirements of users on bandwidth and service stability are higher and higher, and higher requirements are also put on the capability of core router equipment deployed on a backbone network. For the scenario of deploying the large-capacity service, if the existing VPN FRR technology is still used, the service switching speed is greater than 50ms, and the service switching speed is a key performance index for evaluating the core router, so how to ensure that the key performance index of the core router is still less than 50ms in the scenario of the large-capacity service during switching control processing is a technical problem to be solved.
Disclosure of Invention
In view of this, embodiments of the present invention are intended to provide a method and an apparatus for controlling handover when deploying a high-capacity service, so as to at least solve the above technical problems in the prior art, and greatly improve the handover performance of a core router when deploying a high-capacity service.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention discloses a switching control method when deploying a large-capacity service, which comprises the following steps:
the IP forwarding information and the label forwarding information in the fast reroute FRR table are set separately, and the FRR table only sets the IP forwarding information;
after detecting the fault of the main link, acquiring the forwarding paths of the main link and the standby link, reassembling the IP forwarding information and the label forwarding information which are separately arranged, and combining the forwarding paths of the main link and the standby link to control the switching of the currently deployed high-capacity service flow from the main link to the standby link.
In the above scheme, the method further comprises:
the label forwarding information is arranged in a label forwarding table, and the label forwarding information is inquired through a label array index in the label forwarding table;
and the label forwarding table is obtained according to the obtained forwarding paths of the active link and the standby link.
In the above scheme, the IP forwarding information is set in a routing forwarding table, and the query of the IP forwarding information is performed through an FRR table index in the routing forwarding table;
and the route forwarding table is obtained according to the obtained forwarding paths of the active link and the standby link.
In the above scheme, the method further comprises:
and for the route of each forwarding path, the plurality of label forwarding information in the label forwarding table correspond to the same FRR table.
In the above solution, the acquiring a forwarding path of a primary link and a backup link, reassembling the IP forwarding information and the tag forwarding information that are set separately, and combining the forwarding paths of the primary link and the backup link to control switching of a currently deployed high-capacity service traffic from the primary link to the backup link includes:
acquiring the route forwarding table, acquiring a forwarding path of the currently deployed high-capacity service flow and the IP forwarding information according to the FRR table index in the route forwarding table, and determining the IP forwarding information as first encapsulation combination information;
acquiring the label forwarding table, acquiring label forwarding information corresponding to a forwarding path of the currently deployed high-capacity service flow according to a label array index in the label forwarding table, and determining the label forwarding information as second encapsulation combined information;
and combining and encapsulating the first encapsulation combination information and the second encapsulation combination information together, and controlling to switch the currently deployed high-capacity service flow from the active link to a standby link according to the forwarding path of the currently deployed high-capacity service flow.
The embodiment of the invention discloses a switching control device when deploying a large-capacity service, which comprises:
the device comprises a setting unit, a forwarding unit and a forwarding unit, wherein the setting unit is used for setting IP forwarding information and label forwarding information in a fast reroute FRR table in a separated mode, and the FRR table only sets the IP forwarding information;
and the switching control unit is used for acquiring the forwarding paths of the main link and the standby link after detecting the fault of the main link, reassembling the IP forwarding information and the label forwarding information which are separately arranged, and combining the forwarding paths of the main link and the standby link to control the switching of the currently deployed high-capacity service flow from the main link to the standby link.
In the foregoing solution, the setting unit further includes:
the BGP protocol module is used for learning the routing information representing the forwarding paths of the primary link and the standby link from the remote equipment when a high-capacity service flow FRR framework is deployed, and sending the routing information representing the forwarding paths of the primary link and the standby link to the label management module;
the label management module is used for obtaining a label forwarding table according to the routing information representing the forwarding paths of the main link and the standby link; the label array is arranged in the label forwarding table, and the label forwarding information is inquired through the label array index in the label forwarding table.
In the foregoing solution, the setting unit further includes: a route management module;
the BGP protocol module is further used for sending the routing information representing the forwarding paths of the main link and the standby link to a routing management module;
the route management module is used for obtaining a route forwarding table according to the route information representing the forwarding paths of the main link and the standby link; and the IP forwarding information is arranged in the route forwarding table, and the query of the IP forwarding information is carried out through an FRR table index in the route forwarding table.
In the foregoing solution, the handover control unit further includes:
the label array management module is used for acquiring the routing information representing the forwarding paths of the main link and the standby link, generating a label array according to labels in the routing information, distributing a globally unique label array index for the label array, returning the label array index to the label management module, and recording the label array index in the label forwarding table;
and the FRR management module is used for acquiring the routing information representing the forwarding paths of the main link and the standby link, generating an FRR table according to the routing information, distributing an overall unique FRR table index for the FRR table, returning the FRR table index to the routing management module, and recording the FRR table index in the routing forwarding table.
In the foregoing solution, the FRR management module is further configured to:
after detecting the fault of the main link, acquiring the route forwarding table, obtaining a forwarding path of the currently deployed high-capacity service flow and the IP forwarding information according to the FRR table index in the route forwarding table, and determining the IP forwarding information as first encapsulation combination information;
acquiring the label forwarding table, acquiring label forwarding information corresponding to a forwarding path of the currently deployed high-capacity service flow according to a label array index in the label forwarding table, and determining the label forwarding information as second encapsulation combined information;
and combining and encapsulating the first encapsulation combination information and the second encapsulation combination information together, and controlling to switch the currently deployed high-capacity service flow from the active link to a standby link according to the forwarding path of the currently deployed high-capacity service flow.
The switching control method of the embodiment of the invention comprises the following steps: the IP forwarding information and the label forwarding information in an FRR table are set separately, and the FRR table only sets the IP forwarding information; after detecting the fault of the main link, acquiring the forwarding paths of the main link and the standby link, reassembling the IP forwarding information and the label forwarding information which are separately arranged, and combining the forwarding paths of the main link and the standby link to control the switching of the currently deployed high-capacity service flow from the main link to the standby link.
By adopting the embodiment of the invention, as the FRR table is only provided with the IP forwarding information and is not provided with the label forwarding information, a plurality of FRR tables can not appear, and the switching of all flows can be realized by only switching 1 FRR table, thereby ensuring that the switching speed is less than 50 ms.
Drawings
FIG. 1 is a flow chart of a first implementation of the method of the present invention;
FIG. 2 is a flowchart of a second implementation of the method of the present invention;
FIG. 3 is a diagram of a typical VPN FRR networking scenario;
fig. 4 is a scene diagram of forwarding the traffic switched to the standby PE device (PE2) when the VPN FRR main link fails;
FIG. 5 is a diagram illustrating a conventional processing manner for VPN FRR inside a PE device according to the prior art;
fig. 6 is a schematic diagram of a processing manner of an internal VPN FRR of a PE device according to an embodiment of the present invention;
fig. 7 is a flow chart of a method corresponding to the apparatus shown in fig. 6.
Detailed Description
The following describes the embodiments in further detail with reference to the accompanying drawings.
The first embodiment of the method comprises the following steps:
the embodiment of the invention discloses a switching control method when deploying a large-capacity service, as shown in figure 1, the method comprises the following steps:
step 101, IP forwarding information and label forwarding information in an FRR table are set separately, and the FRR table only sets the IP forwarding information;
step 102, after detecting the fault of the active link, acquiring the forwarding path of the active link and the standby link, reassembling the IP forwarding information and the label forwarding information which are separately arranged, and combining the forwarding paths of the active link and the standby link to control switching of the currently deployed high-capacity service flow from the active link to the standby link.
In a preferred implementation manner of the embodiment of the present invention, the method further includes:
the label forwarding information is arranged in a label forwarding table, and the label forwarding information is inquired through a label array index in the label forwarding table;
and the label forwarding table is obtained according to the obtained forwarding paths of the active link and the standby link.
In a preferred embodiment of the present invention, the IP forwarding information is set in a routing forwarding table, and query of the IP forwarding information is performed through an FRR table index in the routing forwarding table;
and the route forwarding table is obtained according to the obtained forwarding paths of the active link and the standby link.
In a preferred implementation manner of the embodiment of the present invention, the method further includes:
and for the route of each forwarding path, the plurality of label forwarding information in the label forwarding table correspond to the same FRR table.
The second method embodiment:
the embodiment of the invention discloses a switching control method when deploying a large-capacity service, as shown in figure 2, the method comprises the following steps:
step 201, IP forwarding information and label forwarding information in an FRR table are set separately, and the FRR table only sets the IP forwarding information;
step 202, after detecting the failure of the primary link, acquiring the route forwarding table, obtaining a forwarding path of the currently deployed high-capacity service traffic and the IP forwarding information according to the FRR table index in the route forwarding table, and determining the IP forwarding information as first encapsulation combination information;
step 203, obtaining the label forwarding table, obtaining the label forwarding information corresponding to the forwarding path of the currently deployed high-capacity service traffic according to the label array index in the label forwarding table, and determining the label forwarding information as second encapsulation combined information;
step 204, the first encapsulation combination information and the second encapsulation combination information are combined and encapsulated together, and the currently deployed high-capacity service traffic is controlled to be switched from the active link to the standby link according to the forwarding path of the currently deployed high-capacity service traffic.
In a preferred implementation manner of the second embodiment of the present invention, the method further includes:
the label forwarding information is arranged in a label forwarding table, and the label forwarding information is inquired through a label array index in the label forwarding table;
and the label forwarding table is obtained according to the obtained forwarding paths of the active link and the standby link.
In a preferred embodiment of the second embodiment of the present invention, the IP forwarding information is set in a routing forwarding table, and the query of the IP forwarding information is performed through an FRR table index in the routing forwarding table;
and the route forwarding table is obtained according to the obtained forwarding paths of the active link and the standby link.
In a preferred implementation manner of the second embodiment of the present invention, the method further includes:
and for the route of each forwarding path, the plurality of label forwarding information in the label forwarding table correspond to the same FRR table.
The third method embodiment:
for a scenario that a large-capacity VPN service is deployed by corresponding core router equipment, in the prior art, a failure is detected from BFD, an FRR table is switched and a forwarding chip is issued, the process needs to be time-consuming, and if a large number of FRR tables need to be switched, the time consumed for completing the switching of all services exceeds 50 ms. The embodiment of the invention is a switching control method for improving the switching performance of the VPN FRR, which can ensure that the service flow is switched within 50ms when the main PE fails in the application scene of the large-capacity VPN FRR, and can improve the fast rerouting switching performance of the large-capacity VPN FRR/Label Distribution Protocol (LDP) FRR so that the switching speed is less than 50 ms.
As shown in fig. 3, which is a scene diagram of a typical VPN FRR networking, a CE device (CE1) is dually homed to PE devices (PE1 and PE2), and an application of the VPN FRR is deployed on a PE device (PE3) at a remote end. Fig. 4 is a diagram illustrating a scenario in which, based on the scenario in fig. 3, when a VPN FRR main link fails, traffic is switched to a standby PE device (PE2) for forwarding. FIG. 5 is a diagram illustrating a conventional processing manner for VPN FRR inside a PE device according to the prior art; fig. 6 is a schematic diagram of a processing manner of an internal VPN FRR of a PE device according to an embodiment of the present invention.
As can be seen from fig. 5, in the scene switching process from fig. 3 to fig. 4, a plurality of FRR tables are generated by using the prior art, so that a lot of time is consumed for switching by using the plurality of FRR tables, and thus, the service switching speed cannot be guaranteed within 50ms, and in contrast, as shown in fig. 6, by separately setting the ordinary IP routing forwarding information and the label forwarding information, only one FRR table is generated, so that a lot of time is not consumed for switching by using the one FRR table, and thus, the service switching speed can be guaranteed within 50ms, and as shown in fig. 7, a flow corresponding to the architecture shown in fig. 6 is adopted, which includes:
step 301: the architecture shown in fig. 3 is that BGP VPNv4 neighbors are established between PE3, PE1, and PE3, PE 2; IGP neighbors are established between CE 1-PE1 and CE 1-PE 2. VPN FRR capabilities are configured on PE3 devices. The CE1 advertises routes to PE1 and PE2 devices, and BGP protocol modules learn the routes from the remote devices (PE1 and PE2) and form VPN FRRs.
Step 302: the BGP protocol module issues the main and standby forwarding route information of the VPN route to the route management module and the label management module.
Step 303: the route management module stores the route information of the main route and the standby route to form a route forwarding table.
Step 304: the label management module stores the label main and standby forwarding route information to form a label forwarding table.
Step 305: the route management module and the label management module synchronize the main and standby forwarding route information of the VPN route to the label array management module and the FRR management module.
Step 306: and the tag array management module generates a tag array and distributes a globally unique index to the tag array.
Step 307: the FRR management module generates an FRR table and assigns a globally unique index to the FRR.
Step 308: and the routing forwarding table and the label forwarding table record label array indexes and FRR indexes, so that when the chip forwards the flow, label forwarding information and common IP forwarding information can be obtained through the label array indexes and the FRR indexes.
Step 309: FIG. 3 illustrates the deployment of BFD detection between PE1- -PE 2.
Step 310: fig. 3 illustrates advertising of a large number of routes (Prefix1, Prefix2, Prefix3 … Prefix) to PE1 and PE2 on a CE1 device. On PE3, the internal process flow steps 302-305 of learning the route (Prefix1, Prefix2, Prefix3 … Prefix) are the same. Because the outgoing labels of each VPN route are different, the label block arrays generated in step 306 are all different (label array 1, label array 2, label array 3 … label array n); since each route is advertised from PE1 and PE2, the FRR table generated in step 307 for all routes is one (FRR table 1). The relationship between the routing forwarding table, the label array and the FRR table is as follows: (Prefix1, tag array 1, FRR table 1), (Prefix2, tag array 2, FRR table 1) … (Prefix, tag array n, FRR table 1).
Step 311: when the PE1 device is normal, the forwarding process of the traffic Prefix1 on the PE3 is: according to the flow Prefix, a routing table is searched, the routing Prefix1 is hit, because the Prefix1 has a label block index (label array 1) and an FRR index (FRR table 1), the current forwarding path is obtained according to the FRR index, and then the label corresponding to the forwarding path is found from the label array 1.
Step 312: when PE1 equipment is failed, BFD detects the abnormality and reports to FRR management module, FRR management module carries out fast switching with FRR table 1. The forwarding flow of the traffic Prefix1 on the PE3 is the same as step 311. Since all routes (Prefix1, Prefix2, Prefix3 … Prefix) are associated to FRR table 1, FRR switching is made independent of VPN route prefixes whenever FRR table 1 is switched. The defect that switching of the high-capacity VPN FRR application scene does not reach the standard is overcome.
To sum up, corresponding to the scene, the embodiment of the invention separates the label forwarding information from the common IP forwarding information in the FRR table, only the IP forwarding information is reserved in the FRR table, and a plurality of label forwarding information correspond to one FRR table, so that the reusability of the FRR table is improved to the maximum extent, the updating times of the FRR table during link failure are reduced, and the rapid convergence under a large-capacity VPN FRR application scene is finally achieved; the method is a great improvement on the defects of the traditional VPN FRR technology, improves the application scene of the FRR, and improves the switching performance of the core routing equipment.
The first embodiment of the device:
the embodiment of the invention provides a switching control device for deploying high-capacity service, which comprises: the device comprises a setting unit, a label forwarding unit and a processing unit, wherein the setting unit is used for setting IP forwarding information and label forwarding information in an FRR table in a separated mode, and the FRR table only sets the IP forwarding information; and the switching control unit is used for acquiring the forwarding paths of the main link and the standby link after detecting the fault of the main link, reassembling the IP forwarding information and the label forwarding information which are separately arranged, and combining the forwarding paths of the main link and the standby link to control the switching of the currently deployed high-capacity service flow from the main link to the standby link.
In a preferred implementation manner of the embodiment of the present invention, the setting unit further includes:
the BGP protocol module is used for learning the routing information representing the forwarding paths of the primary link and the standby link from the remote equipment when a high-capacity service flow FRR framework is deployed, and sending the routing information representing the forwarding paths of the primary link and the standby link to the label management module;
the label management module is used for obtaining a label forwarding table according to the routing information representing the forwarding paths of the main link and the standby link; the label array is arranged in the label forwarding table, and the label forwarding information is inquired through the label array index in the label forwarding table.
In a preferred implementation manner of the embodiment of the present invention, the setting unit further includes: a route management module;
the BGP protocol module is further used for sending the routing information representing the forwarding paths of the main link and the standby link to a routing management module;
the route management module is used for obtaining a route forwarding table according to the route information representing the forwarding paths of the main link and the standby link; and the IP forwarding information is arranged in the route forwarding table, and the query of the IP forwarding information is carried out through an FRR table index in the route forwarding table.
In a preferred implementation manner of the embodiment of the present invention, the handover control unit further includes:
the label array management module is used for acquiring the routing information representing the forwarding paths of the main link and the standby link, generating a label array according to labels in the routing information, distributing a globally unique label array index for the label array, returning the label array index to the label management module, and recording the label array index in the label forwarding table;
and the FRR management module is used for acquiring the routing information representing the forwarding paths of the main link and the standby link, generating an FRR table according to the routing information, distributing an overall unique FRR table index for the FRR table, returning the FRR table index to the routing management module, and recording the FRR table index in the routing forwarding table.
In a preferred implementation manner of the embodiment of the present invention, the FRR management module is further configured to:
after detecting the fault of the main link, acquiring the route forwarding table, obtaining a forwarding path of the currently deployed high-capacity service flow and the IP forwarding information according to the FRR table index in the route forwarding table, and determining the IP forwarding information as first encapsulation combination information;
acquiring the label forwarding table, acquiring label forwarding information corresponding to a forwarding path of the currently deployed high-capacity service flow according to a label array index in the label forwarding table, and determining the label forwarding information as second encapsulation combined information;
and combining and encapsulating the first encapsulation combination information and the second encapsulation combination information together, and controlling to switch the currently deployed high-capacity service flow from the active link to a standby link according to the forwarding path of the currently deployed high-capacity service flow.
The second device embodiment:
for a scenario that a large-capacity VPN service is deployed by corresponding core router equipment, in the prior art, a failure is detected from BFD, an FRR table is switched and a forwarding chip is issued, the process needs to be time-consuming, and if a large number of FRR tables need to be switched, the time consumed for completing the switching of all services exceeds 50 ms. The embodiment of the invention is a switching control method for improving the switching performance of the VPN FRR, which can ensure that the service flow is switched within 50ms when the main PE fails in the application scene of the large-capacity VPN FRR, and can improve the fast rerouting switching performance of the large-capacity VPN FRR/Label Distribution Protocol (LDP) FRR so that the switching speed is less than 50 ms.
As shown in fig. 3, which is a scene diagram of a typical VPN FRR networking, a CE device (CE1) is dually homed to PE devices (PE1 and PE2), and an application of the VPN FRR is deployed on a PE device (PE3) at a remote end. Fig. 4 is a diagram illustrating a scenario in which, based on the scenario in fig. 3, when a VPN FRR main link fails, traffic is switched to a standby PE device (PE2) for forwarding. FIG. 5 is a diagram illustrating a conventional processing manner for VPN FRR inside a PE device according to the prior art; fig. 6 is a schematic diagram of a processing manner of an internal VPN FRR of a PE device according to an embodiment of the present invention.
As can be seen from fig. 5, in the scene switching process from fig. 3 to fig. 4, a plurality of FRR tables are generated in the prior art, so that a lot of time is consumed for switching by using the plurality of FRR tables, and the service switching speed cannot be guaranteed within 50ms, whereas in contrast, as shown in fig. 6, a FRR table is generated by separately setting the ordinary IP routing forwarding information and the label forwarding information, so that a lot of time is not consumed for switching by using the FRR table, and the service switching speed can be guaranteed within 50 ms.
The embodiment of the invention adopts the architecture schematic diagram shown in fig. 6, and the device comprises:
a BGP protocol module, a route management module, a label management module, an FRR management module, a label array management module, a forwarding table management module (a route forwarding table and a label forwarding table) and a detection module; wherein, the hardware module parts comprise, when performing forwarding: the forwarding chip must have the capability of looking up tables for many times during message forwarding.
And a BGP protocol module, configured to learn a VPN route from a remote PE device (PE1 and PE2) based on the framework in fig. 3, and forward routing information forwarded by the active/standby paths (PE3-P1-PE1 and PE3-P2-PE2) to the route management module and the label management module.
And the route management module is used for storing the forwarding paths and transmitting the forwarding route information of the main path and the standby path to the label array management module and the FRR management module.
And the label array management module is used for calculating to obtain a label array according to the main path and standby path forwarding routing information.
And the FRR management module is used for calculating to obtain an FRR table according to the forwarding route information of the main path and the standby path.
As shown in fig. 3, the forwarding behavior of traffic to CE1 on PE 3: firstly, searching a route forwarding table or a label forwarding table, and obtaining a forwarding path of current flow and IP encapsulation information according to an FRR table index in the route forwarding table; and according to the label array index in the label forwarding table, obtaining the label encapsulation information of the current forwarding path, and finally forwarding the traffic from the main path PE3-P1-PE1-CE 1.
A detection module for reporting a failure to the FRR management module when a failure occurs in a primary link or primary PE1 based on the architecture shown in fig. 4;
correspondingly, the FRR management module is also used for switching the forwarding path to the standby link PE3-P2-PE2-CE2 based on an FRR table. All traffic on PE3 for CE1 need only be dynamically encapsulated with forwarding information according to the FRR table and tag array.
By adopting the embodiment of the device, the number of the FRR tables is reduced by separating the label information in the VPN FRR from the common IP forwarding information, so that the number of the updated FRR tables at the moment of link failure is reduced, when the PE1 fails, only 1 FRR table needs to be switched to achieve the switching of all flows, the switching speed of the VPN FRR is independent of the number of deployed services, the switching in a high-capacity VPN FRR application scene is less than 50ms, and the switching performance of the VPN FRR of the core router equipment is improved; however, as shown in fig. 5, in the device diagram of the conventional VPN FRR technology, since the FRR table includes the tag information, the FRR management module generates different FRR tables (FRR table 1, FRR table 2, FRR table 3 … FRR table n) for different VPN services. When the main PE1 fails, the FRR management module responds to the failure reported by the detection module, and needs to switch all FRR tables (FRR table 1, FRR table 2, FRR table 3 … FRR table n) one by one. This results in deployment of a large amount of VPN services, which means that the existing VPN FRR technology cannot meet the requirement of 50 ms.
Based on the second embodiment of the apparatus shown in fig. 6, the following main contents are included:
firstly, configuring a basic L3VPN FRR scene. The BGP protocol module learns the routes from the far-end PE1 and the PE2, and sends new information of the main route and the standby route to the route management module and the label management module.
And secondly, the route management module and the label management module process the main route information and the standby route information to form a route forwarding table and a label forwarding table. And simultaneously, the routing management module/the label management module transmits the main routing information and the standby routing information to the label array management module and the FRR management module.
And thirdly, the label array management module generates a label block array according to the labels in the main routing information and the standby routing information and allocates a label array index.
And fourthly, the FRR management module generates a label FRR according to the main routing information and the standby routing information and allocates an FRR table index.
And fifthly, the routing management module/the label management module records the label array index and the FRR table index on a routing forwarding table/a label forwarding table.
And sixthly, BFD detection is deployed between PE3 and PE 1.
And seventhly, before the PE1 fails, forwarding all traffic from the PE3 to the CE3 from the main link PE3-P1-PE1-CE 1.
And eighthly, the PE1 is powered off, the BFD informs the FRR management module after detecting the fault, and the FRR management module switches the FRR table. All traffic from PE3 to CE3 is switched to standby link PE3-P2-PE2-CE1 for forwarding within 50 ms.
The integrated module according to the embodiment of the present invention may also be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as an independent product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
Accordingly, an embodiment of the present invention further provides a computer storage medium, in which a computer program is stored, where the computer program is used to execute the handover control method when deploying a high-capacity service according to the embodiment of the present invention.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (10)

1. A handover control method for deploying a high capacity service, the method comprising:
the IP forwarding information and the label forwarding information in the fast reroute FRR table are set separately, and the FRR table only sets the IP forwarding information;
after detecting the fault of the main link, acquiring the forwarding paths of the main link and the standby link, reassembling the IP forwarding information and the label forwarding information which are separately arranged, and combining the forwarding paths of the main link and the standby link to control the switching of the currently deployed high-capacity service flow from the main link to the standby link.
2. The method of claim 1, further comprising:
the label forwarding information is arranged in a label forwarding table, and the label forwarding information is inquired through a label array index in the label forwarding table;
and the label forwarding table is obtained according to the obtained forwarding paths of the active link and the standby link.
3. The method of claim 2, wherein the IP forwarding information is provided in a routing forwarding table, and the query of the IP forwarding information is performed through an FRR table index in the routing forwarding table;
and the route forwarding table is obtained according to the obtained forwarding paths of the active link and the standby link.
4. The method of claim 3, further comprising:
and for the route of each forwarding path, the plurality of label forwarding information in the label forwarding table correspond to the same FRR table.
5. The method according to claim 4, wherein the obtaining the forwarding paths of the active link and the standby link, reassembling the IP forwarding information and the label forwarding information that are set separately, and combining the forwarding paths of the active link and the standby link to control switching of the currently deployed high-capacity service traffic from the active link to the standby link comprises:
acquiring the route forwarding table, acquiring a forwarding path of the currently deployed high-capacity service flow and the IP forwarding information according to the FRR table index in the route forwarding table, and determining the IP forwarding information as first encapsulation combination information;
acquiring the label forwarding table, acquiring label forwarding information corresponding to a forwarding path of the currently deployed high-capacity service flow according to a label array index in the label forwarding table, and determining the label forwarding information as second encapsulation combined information;
and combining and encapsulating the first encapsulation combination information and the second encapsulation combination information together, and controlling to switch the currently deployed high-capacity service flow from the active link to a standby link according to the forwarding path of the currently deployed high-capacity service flow.
6. A handover control apparatus for deploying a large capacity service, the apparatus comprising:
the device comprises a setting unit, a forwarding unit and a forwarding unit, wherein the setting unit is used for setting IP forwarding information and label forwarding information in a fast reroute FRR table in a separated mode, and the FRR table only sets the IP forwarding information;
and the switching control unit is used for acquiring the forwarding paths of the main link and the standby link after detecting the fault of the main link, reassembling the IP forwarding information and the label forwarding information which are separately arranged, and combining the forwarding paths of the main link and the standby link to control the switching of the currently deployed high-capacity service flow from the main link to the standby link.
7. The apparatus of claim 6, wherein the setting unit further comprises:
the BGP protocol module is used for learning the routing information representing the forwarding paths of the primary link and the standby link from the remote equipment when a high-capacity service flow FRR framework is deployed, and sending the routing information representing the forwarding paths of the primary link and the standby link to the label management module;
the label management module is used for obtaining a label forwarding table according to the routing information representing the forwarding paths of the main link and the standby link; the label array is arranged in the label forwarding table, and the label forwarding information is inquired through the label array index in the label forwarding table.
8. The apparatus of claim 7, wherein the setting unit further comprises: a route management module;
the BGP protocol module is further used for sending the routing information representing the forwarding paths of the main link and the standby link to a routing management module;
the route management module is used for obtaining a route forwarding table according to the route information representing the forwarding paths of the main link and the standby link; and the IP forwarding information is arranged in the route forwarding table, and the query of the IP forwarding information is carried out through an FRR table index in the route forwarding table.
9. The apparatus of claim 8, wherein the handover control unit further comprises:
the label array management module is used for acquiring the routing information representing the forwarding paths of the main link and the standby link, generating a label array according to labels in the routing information, distributing a globally unique label array index for the label array, returning the label array index to the label management module, and recording the label array index in the label forwarding table;
and the FRR management module is used for acquiring the routing information representing the forwarding paths of the main link and the standby link, generating an FRR table according to the routing information, distributing an overall unique FRR table index for the FRR table, returning the FRR table index to the routing management module, and recording the FRR table index in the routing forwarding table.
10. The apparatus of claim 9, wherein the FRR management module is further configured to:
after detecting the fault of the main link, acquiring the route forwarding table, obtaining a forwarding path of the currently deployed high-capacity service flow and the IP forwarding information according to the FRR table index in the route forwarding table, and determining the IP forwarding information as first encapsulation combination information;
acquiring the label forwarding table, acquiring label forwarding information corresponding to a forwarding path of the currently deployed high-capacity service flow according to a label array index in the label forwarding table, and determining the label forwarding information as second encapsulation combined information;
and combining and encapsulating the first encapsulation combination information and the second encapsulation combination information together, and controlling to switch the currently deployed high-capacity service flow from the active link to a standby link according to the forwarding path of the currently deployed high-capacity service flow.
CN201410743147.XA 2014-12-08 2014-12-08 Switching control method and device for deploying high-capacity service Active CN105743784B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410743147.XA CN105743784B (en) 2014-12-08 2014-12-08 Switching control method and device for deploying high-capacity service
PCT/CN2015/077555 WO2016090815A1 (en) 2014-12-08 2015-04-27 Switching control method and device in deploying high-capacity service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410743147.XA CN105743784B (en) 2014-12-08 2014-12-08 Switching control method and device for deploying high-capacity service

Publications (2)

Publication Number Publication Date
CN105743784A CN105743784A (en) 2016-07-06
CN105743784B true CN105743784B (en) 2020-03-17

Family

ID=56106556

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410743147.XA Active CN105743784B (en) 2014-12-08 2014-12-08 Switching control method and device for deploying high-capacity service

Country Status (2)

Country Link
CN (1) CN105743784B (en)
WO (1) WO2016090815A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107872350A (en) * 2017-11-14 2018-04-03 华信咨询设计研究院有限公司 A kind of low redundant network optimization method, device and equipment
CN107733728B (en) * 2017-11-30 2021-07-02 新华三技术有限公司 Multi-machine backup method and device
CN110086712B (en) * 2019-05-13 2021-04-23 何梓菁 SR-TE tunnel-based link protection method and local repair node
CN113852536B (en) * 2021-09-26 2023-09-19 新华三信息安全技术有限公司 Service deployment method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1738288A (en) * 2004-08-17 2006-02-22 华为技术有限公司 Method for renewing route in multi protocol label exchanging network
CN101022412A (en) * 2007-03-16 2007-08-22 北京航空航天大学 Sky-based network space route exchanging method
CN101374106A (en) * 2007-08-24 2009-02-25 华为技术有限公司 Method for forwarding data packet on MPLS LSP, network node and system
WO2013005139A1 (en) * 2011-07-06 2013-01-10 Telefonaktiebolaget L M Ericsson (Publ) Mpls fast re-route using ldp (ldp-frr)
CN102932247A (en) * 2012-10-10 2013-02-13 福建星网锐捷网络有限公司 VPN (Virtual Private Network) fast rerouting method and device and provider edge device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7633859B2 (en) * 2005-01-26 2009-12-15 Cisco Technology, Inc. Loop prevention technique for MPLS using two labels
CN102664788B (en) * 2012-04-05 2015-07-22 中兴通讯股份有限公司 CE dual-homed link protection method in MPLS L3VPN and system thereof
CN103124236B (en) * 2013-02-27 2015-12-23 迈普通信技术股份有限公司 The management method of route and label and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1738288A (en) * 2004-08-17 2006-02-22 华为技术有限公司 Method for renewing route in multi protocol label exchanging network
CN101022412A (en) * 2007-03-16 2007-08-22 北京航空航天大学 Sky-based network space route exchanging method
CN101374106A (en) * 2007-08-24 2009-02-25 华为技术有限公司 Method for forwarding data packet on MPLS LSP, network node and system
WO2013005139A1 (en) * 2011-07-06 2013-01-10 Telefonaktiebolaget L M Ericsson (Publ) Mpls fast re-route using ldp (ldp-frr)
CN102932247A (en) * 2012-10-10 2013-02-13 福建星网锐捷网络有限公司 VPN (Virtual Private Network) fast rerouting method and device and provider edge device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Investigation of Fast Reroute Mechanisms in an Optical Testbed Environment;Abdulbaset Hassan;Muneer Bazama;Tarek Saad;Hussein T;《7th International Symposium on High-capacity Optical Networks and Enabling Technologies》;IEEE;20110217;第247-251页 *
MPLS流量工程快速重路由的研究与应用;徐海兵;《中国优秀硕士学位论文全文数据库 信息科技辑》;20100315(第3期);第I139-13页 *

Also Published As

Publication number Publication date
CN105743784A (en) 2016-07-06
WO2016090815A1 (en) 2016-06-16

Similar Documents

Publication Publication Date Title
CN107666438B (en) Message forwarding method and device
US20200067812A1 (en) First Hop Gateway Redundancy In A Network Computing Environment
CN105049350B (en) Utilize the method, apparatus and system of the Segment routing of the reciprocity engineering in outlet
EP2761827B1 (en) Incremental deployment of mrt based ipfrr
CN103380605B (en) The MPLS of LDP is used to re-route method and the NE of LDP-FRR fast
CN100450039C (en) Fast convergence method and device of the end-to-end service
CN102215124B (en) Fault processing method, sink node and optical network protection system
CN102064995B (en) Method and device for link protection in virtual private local area network
EP2658174B1 (en) Method and device for establishing backup path, and method and device for selecting backup path
US9237032B2 (en) Method, system, and device for forwarding data frames
CN102724118B (en) Label distribution method and device
US20150009803A1 (en) Scalable bgp protection from edge node failure using dynamically assigned labels in data packets
CN108964940B (en) Message sending method and device and storage medium
US20130272114A1 (en) Pseudo wire switching method and device
CN101447900A (en) Method, system and device for building bidirectional forwarding detection
CN101651630A (en) Switching method and switching device based on link fault
EP2541847B1 (en) Method and system for establishing an associated bidirectional label-switched path
CN105743784B (en) Switching control method and device for deploying high-capacity service
CN111698152B (en) Fault protection method, node and storage medium
US20060268853A1 (en) Methods and apparatus for distributing label information
US20120124238A1 (en) Prioritization of routing information updates
US11546252B2 (en) Fast flooding topology protection
CN103001872B (en) A kind of label distribution method and polymerization unit
CN105591911B (en) A kind of generation method and device of LSP
US20230344751A1 (en) Route Processing Method, Related Apparatus, and Network System

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant