CN109547269A - A kind of IP RAN equipment realizes the method and device of LSP protection - Google Patents

A kind of IP RAN equipment realizes the method and device of LSP protection Download PDF

Info

Publication number
CN109547269A
CN109547269A CN201910008773.7A CN201910008773A CN109547269A CN 109547269 A CN109547269 A CN 109547269A CN 201910008773 A CN201910008773 A CN 201910008773A CN 109547269 A CN109547269 A CN 109547269A
Authority
CN
China
Prior art keywords
lsp
primary
spare
hardware
module
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.)
Granted
Application number
CN201910008773.7A
Other languages
Chinese (zh)
Other versions
CN109547269B (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201910008773.7A priority Critical patent/CN109547269B/en
Publication of CN109547269A publication Critical patent/CN109547269A/en
Application granted granted Critical
Publication of CN109547269B publication Critical patent/CN109547269B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements

Abstract

The invention discloses the method and devices that a kind of IP RAN equipment realizes LSP protection; method includes the following steps: saving primary LSP and spare LSP respectively using two hardware table items; according to Service Processing Module and the working condition for switching drive module; it obtains and switches the hardware state of drive module, and calculate Service Processing Module switches mark two parameter;Automatic protection Switching Module is using the hardware state and switches mark two parameter as the foundation for the foundation or business recovery for executing primary LSP and spare LSP pretection switch, executes corresponding pretection switch or business recovery operation.The present invention; due to the participation for having hardware state He switching mark two parameter; when issuing the configuration of LSP protection group; it there will be no the operation of frequent refreshing hardware table item; when primary LSP breaks down; it can be switched within 50ms on spare LSP, reduce business wink break time or the phenomenon that service disconnection do not occur.

Description

A kind of IP RAN equipment realizes the method and device of LSP protection
Technical field
The present invention relates to IP RAN technical fields, and in particular to a kind of IP RAN equipment realizes the method and dress of LSP protection It sets, for IP RAN equipment when LSP link failure occurs, guarantees the normal operation of business.
Background technique
With the development of 4G network and mobile communication technology, more and more users greatly increase the need of mobile data, Therefore, integrated service have become mobile operator development main flow direction, in addition to provide high quality GSM voice service it Outside, it is also necessary to which the data including Internet access, Video service, special line, private network, cloud application and Video service etc. are provided Business.
The substantial increase of data service, more stringent requirements are proposed for bandwidth and reliability to mobile network, traditional biography Net such as TDM is sent to can no longer meet.Therefore, the bearer network for building packetizing becomes the development trend not being avoided that, mobile Network IP is melted into for new developing direction.
IP RAN technology is one of the solution of mobile bearer network mainstream, is applied by domestic and international mainstream carrier, It has flexible addressability;High capacity and bandwidth;Difference service is provided, i.e., different management and excellent is carried out to different business The transmission of first grade;Plug and play can automatically open the channel between equipment and network management after correctly installing and connect;And it is transporting Battalion and maintenance aspect support visualized management, improve the efficiency of management.
For IP RAN network, the stability of network be it is urgently to be solved it is important want problem, mainly use at present It is LSP1:1 protected mode.The realization principle of LSP1:1 protected mode is: the road active and standby Liang Tiao LSP is configured in IP RAN equipment Diameter also establishes LSP over run tunnel, a LSP is set as primary path, another LSP while establishing the main tunnel LSP It is set as backup path, under normal circumstances, business is carried by LSP primary path, and LSP backup path is used for redundancy protecting.
If LSP primary path breaks down, business is switched on LSP backup path, while LSP primary path can timing It attempts to rebuild, since LSP primary path uses stringent route restriction, before the failure of this LSP primary path does not disappear, Success will not be rebuild, the path Article 3 LSP can be generated, regenerate protection group.When the primary, spare path LSP is broken down simultaneously When, system can generate LSP best-effort path, while LSP backup path can timing reconstruction.
Existing LSP1:1 protected mode has the following problems:
(1) do not accomplish that standby usage LSP is separated as far as possible, be easy to cause protection handover failure;
(2) primary LSP1 breaks down, and is switched to backup path LSP2, corresponding hardware table item be LSP1 (first)+ LSP2 (Article 2) generates the primary LSP2 of protection group (first) and spare LSP3 (Article 2) at this time, before needing to refresh The position of hardware table item LSP1+LSP2, to cause extra packet loss.
In view of this, needing to improve existing IPRAN protected mode, to ensure when link breaks down, fastly Speed is switched on spare LSP, reduces business wink break time or the phenomenon that service disconnection does not occur.
Summary of the invention
The technical problem to be solved by the present invention is to existing IP RAN equipment, LSP1:1 protected mode switching time compared with It is long, be easy to appear business hit or service disconnection the problem of.
In order to solve the above-mentioned technical problem, the technical scheme adopted by the invention is that providing a kind of IP RAN equipment realization The method of LSP protection, comprising the following steps:
Primary LSP and spare LSP are saved respectively using two hardware table items, according to the Service Processing Module and switch drive The working condition of dynamic model block switches the hardware state of drive module described in acquisition, and calculates switching for the Service Processing Module Mark two parameter;
The automatic protection Switching Module using the hardware state and switch mark two parameter as execute primary LSP with The foundation of spare LSP pretection switch or the foundation of business recovery, calling switch drive module execute corresponding pretection switch or Business recovery operation.
In the above-mentioned methods, when executing pretection switch operation,
Forwarding application layer intersects the protection group information compared before and after updating and keeps identical LSP hard if comparing successfully Position in part list item is constant;If comparison is unsuccessful, guard mode is initialized as primary;
Drive module is switched by being handed down to after updated primary LSP and spare LSP adjustment transmitting sequence, and according to described It hardware state and switches mark two parameter and completes switching for primary LSP and spare LSP.
In the above-mentioned methods, when executing business recovery operation, if work LSP is updated, Service Processing Module is first Switch its hardware state, and be handed down to the automatic protection Switching Module, then refreshing hardware table item again;If working LSP still So exist, then keeps its hardware state constant.
In the above-mentioned methods, IP RAN equipment realizes that LSP protection includes that LSP1:1 is protected, on the road of request LSP1:1 protection By when, first search and protect whether relevant spare LSP or primary LSP has been obtained for routing, have obtained that routing, then Condition of the routing of correlation LSP as exclusion of doing one's best will be protected to carry out the SPF algorithm with Prescribed Properties to calculate, so that newly The path for establishing the path LSP related to protection of LSP is not overlapped as far as possible.
In the above-mentioned methods, in primary LSP and spare LSP reversed process, the Service Processing Module is receiving BFD The state that LSP is updated when Down message, when creating new LSP, full dose issues the configuration of protection group, and LSP member is that ID number is minimum Two UP states LSP, and be arranged the small LSP of ID number be it is primary, the big LSP of ID number be it is spare.
In the above-mentioned methods, it is less than or equal to by the quantity that IP RAN equipment master plan controls LSP member in protection group 2。
In the above-mentioned methods, during executing primary LSP and spare LSP pretection switch, when in primary LSP and spare LSP When all breaking down, best-effort path is generated.
In the above-mentioned methods,
When executing primary LSP and spare LSP pretection switch and business recovery operates, the process flow of application layer is forwarded It is as follows:
For pretection switch: after the update operation for receiving LSP protection group, keeping the ID of FRR group constant, from switching driving mould Block obtains the switch status of FRR group at this time, and according to the switch status of FRR group, obtains work LSP;
Former primary LSP and spare LSP intersect comparing with updated primary LSP and spare LSP, if comparison at Function then keeps position of the identical LSP in hardware table item constant, if comparison is unsuccessful, guard mode is initialized based on With;
For business recovery: if work LSP be updated, the Service Processing Module first by its hardware state switch simultaneously It is handed down to the automatic protection Switching Module, then refreshing hardware table item again;If worked, there is also keep the industry to LSP The hardware state for processing module of being engaged in is constant;
Drive module is switched by being handed down to after updated primary LSP and spare LSP adjustment sequence of positions;
Automatic protection Switching Module is using hardware state and switches mark two parameter as the primary LSP and spare LSP of execution The foundation of pretection switch, calling switch drive module, execute LSP pretection switch or business recovery.
The present invention also provides the devices that a kind of IP RAN equipment realizes LSP protection, including including master plan and forwarding Plane,
The master plan is equipped with local service center, for controlling the quantity of LSP member in LSP protection group, and just Really select primary LSP and spare LSP;
The Forwarding plane is equipped with Service Processing Module, automatic protection Switching Module, switches drive module and state obtains Modulus block, saves that there are two hardware table items on the Service Processing Module, is respectively used to save primary LSP and spare LSP;It is described State acquisition module switches the Current hardware state of drive module described in being used to obtain, and calculates falling for the Service Processing Module Dehorn note by the hardware state and switches label and is sent to the automatic protection Switching Module of IP RAN equipment, as executing master The foundation switched with LSP and spare LSP, calling switch drive module and execute corresponding pretection switch or business recovery operation.
In above-mentioned apparatus, when executing pretection switch, the Service Processing Module by former primary LSP and spare LSP with Updated primary LSP and spare LSP carry out intersection comparison, if compared successfully, keep identical LSP in hardware table item Position it is constant, if comparison is unsuccessful, guard mode is initialized as primary;When executing business recovery operation, at business Module judgement is managed, if work LSP is updated, first switches its hardware state, and be handed down to the automatic protection Switching Module, Refreshing hardware table item again;If work LSP still has, keep its hardware state constant.
Compared with prior art, scheme provided by the invention saves primary LSP and spare using two hardware table items respectively LSP switches the hardware shape of drive module according to the Service Processing Module and the working condition for switching drive module described in acquisition State, and calculate the Service Processing Module switches mark;Automatic protection Switching Module is using above-mentioned two parameter as executing master With the foundation of LSP and spare LSP pretection switch, corresponding pretection switch or business recovery operation are executed.It can be realized, when primary It when LSP breaks down, can be switched within 50ms on spare LSP, reduce business wink break time or service disconnection do not occur The phenomenon that.
Detailed description of the invention
Fig. 1 is the basic structure block diagram of the IP RAN equipment with the device for realizing LSP protection in the present invention;
Fig. 2 is the method flow diagram that IP RAN equipment realizes LSP protection in the present invention;
Fig. 3 is the application environment topology schematic diagram of the embodiment of the present invention;
Fig. 4 newly-established LSP schematic diagram when being application environment topology 5 failure of link shown in Fig. 3;
Fig. 5 be Fig. 3 shown in application environment topology 5 failure of link when hardware table item, hardware state and switch mark variation Precedence diagram;
Fig. 6 newly-established LSP schematic diagram when being application environment topology 2 failure of link shown in Fig. 4;
Fig. 7 be Fig. 4 shown in application environment topology 2 failure of link when hardware table item, hardware state and switch mark variation Precedence diagram;
Fig. 8 is newly-established LSP schematic diagram when application environment topology link 5 shown in Fig. 6 restores;
Fig. 9 be Fig. 6 shown in application environment topology link 5 restore when hardware table item, hardware state and switch mark variation Precedence diagram;
Figure 10 be business recovery during Wait to Restore Time then hardware table item, hardware state and switch mark variation Precedence diagram;
During Figure 11 business recovery the not timed out hardware table item of Wait to Restore Time, hardware state and switch mark variation Precedence diagram.
Specific embodiment
The present invention provides the method and devices that a kind of IP RAN equipment realizes LSP protection, when primary LSP breaks down When, it can be switched within 50ms on spare LSP, to reduce business hit or the phenomenon that service disconnection do not occur.Below The present invention is described in detail in conjunction with specification drawings and specific embodiments.
The method that IP RAN equipment provided by the invention realizes LSP protection, the realization of basic technical scheme mainly include Following steps:
Primary LSP and spare LSP are saved respectively using two hardware table items, according to the Service Processing Module and switch drive The working condition of dynamic model block switches the hardware state of drive module described in acquisition, and calculates switching for the Service Processing Module Mark two parameter;
The automatic protection Switching Module using the hardware state and switch mark two parameter as execute primary LSP with The foundation of spare LSP pretection switch or the foundation of business recovery, calling switch drive module execute corresponding pretection switch or Business recovery operation.
The present invention program, since automatic protection Switching Module using hardware state and switches mark two parameter as executing master When issuing the configuration of protection group, it there will be no frequency in the presence of the two parameters with the foundation of LSP and spare LSP pretection switch The operation of numerous refreshing hardware table item, such as: the protection group first issued is that LSP1 (first is primary) (Article 2 is standby by+LSP2 With), LSP1 breaks down when being switched to spare LSP2, and the protection group issued is LSP2 (primary)+LSP3 (spare), because being not required to LSP2 is brushed first list item business of hardware table item, thus business walk LSP2 will not flash.And currently existing scheme, then It needs LSP2 to be flushed to first, to will lead to business flash.
In order to make more clearly explanation and illustration to technical solution of the present invention and implementation, realization introduced below is originally Several preferred specific embodiments of inventive technique scheme.Obviously, specific embodiment discussed below is only of the invention one Section Example, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
Specific embodiment 1.
Fig. 1 is the basic structure block diagram with the IP RAN equipment of device of realization LSP protection provided by the invention, including Master plan and Forwarding plane, therebetween by communicating MTL (Message Transfer Link, messaging chain between disk Road) communicated and issued configuration.
Master plan is responsible for generating the LSP protection group being sufficiently separated, and guarantees quantity≤2 of LSP in protection group;Meanwhile When active and standby LSP breaks down, best-effort path is generated.
Above-mentioned configuration is sent to the SPM module (Service Processing Module) in Forwarding plane by master plan, is called by SPM module Corresponding drive module realizes corresponding function, such as executes pretection switch operation or business recovery.
As shown in Figure 1, master plan includes
Command Line Interface (Command-Line Interface, CLI): for inputting dependent instruction.
Local service center (Local service center, LSC): for controlling the quantity of LSP member in protection group.
Master control transmission network element module (Transport Network Element, TNE) is used for transmitting configuration message.
Messaging route table items management module (MTL STUB), for managing route table items.
Operating system library OS_LIB defines data processor when sending configuration between master plan and Forwarding plane System.
Forwarding plane includes
The messaging route table items management module (MTL STUB) of onboard administrative unit, for managing route table items.
The public library module of the communication of onboard administrative unit (BMU_LIB), is used for transmission the mechanism of the processing of data.
The transmission network element module (BMU TNE) of onboard administrative unit, for receiving master control transmission network element module (master control TNE) The configuration message of transmission.
Service Processing Module (Service Process Module, SPM), the configuration for receiving BMU TNE transmission disappear Breath.
Automatic protection Switching Module (automatic protection switching, APS), for realizing automatic protection Exchange.
Drive module is switched, for executing LSP pretection switch.
In conjunction with the above structure, a kind of IP RAN equipment that the specific embodiment of the invention 1 provides realizes the device of LSP protection, It specifically includes that
Local service center LSC is arranged on the master plan of IP RAN equipment, for control in LSP protection group LSP at The quantity of member, and correctly select primary LSP and spare LSP;
Service Processing Module SPM is arranged on the Forwarding plane of IP RAN equipment, on Service Processing Module there are two preservations Hardware table item is respectively used to save primary LSP and spare LSP;
State acquisition module is arranged on the Forwarding plane of IP RAN equipment, for obtaining the hardware for switching drive module It state and calculates Service Processing Module and switches label, and be sent to IP RAN equipment switches drive module, as automatic guarantor Shield Switching Module executes the foundation that primary LSP and spare LSP are switched, calling switch drive module execute corresponding pretection switch or Business recovery operation.
Specific embodiment 2.
On the basis of the device of above-mentioned LSP protection, the present invention also provides a kind of IP RAN equipment to realize LSP protection Method,
Save primary LSP and spare LSP respectively using two hardware table items on Service Processing Module, and according to business at The working condition for managing module obtains and calculates the hardware state of Service Processing Module and switches mark two parameter;
Automatic protection Switching Module is using the hardware state of Service Processing Module and switches mark two parameter as executing master With the foundation of LSP and spare the LSP foundation or business recovery switched, calling switches drive module and executes corresponding pretection switch Or business recovery operation.
As shown in Fig. 2, the above method specifically includes the following steps:
Step S10: when there is link failure or link-recovery, protocol module in local service center, according to routing It calculates and updates primary LSP and the spare path LSP, and assign different No. LSPID;
Step S20: using the ID number of updated primary LSP and spare LSP, it is former primary that Service Processing Module refreshes preservation Two hardware table items of the ID number of LSP and spare LSP, and be located at according to the ID number of LSP primary after refreshing and spare LSP hard Mark is switched in position setting/switching of part list item, is handed down to automatic protection Switching Module;The principle of mark is switched in setting/switching Be: primary LSP is located at first of hardware table item, and spare LSP is located at the Article 2 of hardware table item, then will switch traffic sign placement and be 0;Primary LSP is located at the Article 2 of hardware table item, and spare LSP is located at first of hardware table item, then will switch traffic sign placement and be 1;
Step S30: updated primary LSP and spare LSP is adjusted into transmitting sequence, is handed down to and switches drive module;
In Fig. 5: the sequence first issued is LSP1 (primary, first)+LSP2 (spare, Article 2), is issued after switching Sequence be LSP3 (spare, first)+LSP2 (primary, Article 2);
In Fig. 7: already present is LSP3 (spare, first)+LSP2 (primary, Article 2), switches rear hardware table item LSP3 (primary, first)+LSP2 (spare, Article 2), under master control configure LSP3 (primary, first)+LSP4 (it is spare, Article 2), then by cross validation, the sequence issued is LSP3 (primary, first)+LSP4 (spare, Article 2);
In Fig. 9: already present is LSP3 (primary, first)+LSP4 (spare, Article 2), LSP1 business recovery with Afterwards, the sequence issued is LSP3 (spare, first)+LSP1 (primary, Article 2).
Step S40: the current hardware state of drive module is switched in acquisition, together with falling for the Service Processing Module being calculated Dehorn will is handed down to automatic protection Switching Module together, if the hardware effort state for switching drive module changes, first Switch current hardware state, then obtains again and switch the current hardware state of drive module;Switch the every execution one of drive module It is secondary to switch, then its current hardware state is once switched, i.e., is switched to 0 by 1, or be switched to 1 by 0.
Step S50: automatic protection Switching Module is using above-mentioned hardware state and switches mark two parameter as foundation, and calling is fallen It changes drive module and executes corresponding pretection switch or business recovery operation.
The foundation that execution business is switched is as shown in table 1.
Table 1
Below for the different application scene of the topological structure shown in Fig. 3, to the course of work of apparatus of the present invention and method It is described in detail, as shown in figure 3, in the topological structure:
Primary LSP=LSP1, path R1-R6-R5;
Spare LSP=LSP2, path R1-R2-R3-R4-R5.
LSPn is to indicate that ID number is the LSP of n, and n is positive integer.
Protection group is (LSP1, LSP2), and primary LSP (LSP1) and spare LSP (LSP2) are located at the of hardware table item The Article 2 of one and hardware table item, due in the initial state, not switching, so hardware state is 0, switching mark is 0, work LSP are LSP1.
Scene one:
As shown in figure 4, link 5 fails, need to switch the business to spare LSP (LSP2), and generates new spare LSP (LSP3), after the completion of switching the result is that:
Primary LSP=LSP2, path R1-R2-R3-R4-R5;
Spare LSP=LSP3, path R1-R6-R3-R4-R5;
Work LSP=LSP2;
LSP protection group is (LSP2, LSP3).
Reversed process and the process for issuing parameter to APS module are as shown in Figure 5:
Step 1: having become LSP2 since work LSP is updated from LSP1, hardware state is switched to 1 by 0;
Step 2: former LSP protection group (LSP1, LSP2) and updated LSP protection group (LSP2, LSP3) are done intersection ratio Right, LSP2 is compared successfully, keeps LSP2 constant in the position of the Article 2 of hardware table item, LSP3 replaces original LSP1 in hardware First position of list item;
Step 3: refreshing hardware table item, since primary LSP (LSP2) is in the Article 2 of hardware table item, spare LSP (LSP3) At first of hardware table item, therefore mark will be switched and be switched to 1;
Step 4: by hardware state 1 and the incoming APS module of two parameters of mark 1 is switched, according to the rule in table 1, execution LSP switching operation, then APS module calling switches drive module and executes LSP switching operation;
Step 5: being 1 due to switching mark, hardware state 1 is operated according to rule in table 1 without business recovery, Business uses LSP2.
Scene two:
As shown in fig. 6, on the basis of scene shown in Fig. 4, and the case where link 2 fails has occurred, business needs are switched To LSP3, and generate new LSP4, it is after the completion of switching the result is that:
Primary LSP=LSP3, path R1-R6-R3-R4-R5;
Spare LSP=LSP4, path R1-R6-R3-R4-R5;
Work LSP=LSP3;
LSP protection group is (LSP3, LSP4).
Reversed process and the process for issuing parameter to APS module are as shown in Figure 7:
It is 0 by hardware state switch step 1: having become LSP3 since work LSP is updated from LSP2;
Step 2: former LSP protection group (LSP2, LSP3) and updated LSP protection group (LSP3, LSP4) are done intersection ratio Right, LSP3 is compared successfully, keeps LSP3 constant in first position of hardware table item, LSP4 replaces original LSP2 in hardware The position of the Article 2 of list item;
Step 3: refreshing hardware table item, since primary LSP (LSP3) is in first of hardware table item, spare LSP (LSP4) in the Article 2 of hardware table item, therefore mark will be switched and be switched to 0;
Step 4: by hardware state 0 and the incoming APS module of two parameters of mark 0 is switched, according to the rule in table 1, execution LSP switching operation, then APS module calling switches drive module and executes LSP switching operation;
Step 5: being 0 due to switching mark, hardware state 0 is operated according to rule in table 1 without business recovery, Business still uses LSP3.
Scene three:
As shown in figure 8, link 5 restores on the basis of Fig. 6, business needs to be switched to LSP1, the result after the completion of switching It is:
Primary LSP=LSP1, path R1-R6-R5;
Spare LSP=LSP3, path R1-R6-R3-R4-R5;
Work LSP=LSP1;
LSP protection group is (LSP1, LSP3).
Reversed process and the process for issuing parameter to APS module are as shown in Figure 9:
Step 1: LSP4 can be deleted at this time, and protocol module can issue the protection of LSP1 and LSP3 since LSP1 restores Group is got off;
Step 2: former LSP protection group (LSP3, LSP4) and updated LSP protection group (LSP1, LSP3) are done intersection ratio Right, LSP3 is compared successfully, keeps LSP3 constant in first position of hardware table item, LSP1 replaces original LSP4 in hardware The position of the Article 2 of list item;
Step 3: refreshing hardware table item, since LSP3 (primary) is in first of hardware table item, LSP1 (spare) is hard In the Article 2 of part list item, therefore mark will be switched and be switched to 1;
Step 4: by hardware state 0 and switching two parameters of mark 1 and being passed to APS module and needed according to the rule in table 1 Switching operation is executed, then APS module calling switches drive module and executes LSP switching operation;
Step 5: being 1 due to switching mark, hardware state 0 needs to be implemented business recovery behaviour according to rule in table 1 Make, that the business finally refunded is walked is operating path LSP1.
Specific embodiment 3.
In the present invention program, when executing primary LSP and spare LSP pretection switch and business recovery operates, forwarding is answered It is as follows with the process flow of layer:
For pretection switch:
(1) receive LSP protection group update operation after, keep FRR group ID it is constant (FRR, Fast Reroute, quickly Heavy-route).
(2) from the switch status of drive module acquisition FRR group at this time is switched, which is exactly hard in Fig. 3-Fig. 8 Part state shows first or Article 2 of the hardware table item that business is walked at this time, it is to note that first of hardware table item has at this time It may be that perhaps the standby corresponding Article 2 of LSP may also be able to be standby LSP or main LSP to main LSP, shape switched according to FRR group State obtains work LSP routing information (LSP key value);
(3) the primary LSP of original and spare LSP routing information are intersected with updated primary LSP and the spare path LSP It compares.
Successfully keep position of the identical LSP in hardware table item constant if compared, i.e., the entry in new protection group Have with the entry in former protection group it is identical, such as: current LSP protection group has primary LSP1 and spare LSP2, the guarantor of update Shield group has primary LSP2 and spare LSP3, then LSP2 is identical, compares successfully, and position of the LSP2 in hardware table item is constant;If than To unsuccessful, then guard mode (hardware state) is initialized as it is primary, such as under original state, active and standby LSP in current entries It is 1, protection the group primary LSP2 and spare LSP3 newly issued can compare with current entries, success would not be compared at this time, Hardware state can be initialized as primary LSP2, hardware state can set 0;
For business recovery:
If work LSP is updated, Service Processing Module first by its hardware state switch and is handed down to automatic protection friendship Block is changed the mold, then refreshing hardware table item again;If worked, there is also Service Processing Module keeps its hardware state constant to LSP.
Figure 10 be Wait to Restore Time to the case where: operating path is switched to LSP1 at this time, and hardware state 1 is directed toward LSP1, if LSP2 restores at this time, master control can issue primary LSP1 and spare LSP2, compare by intersecting, and work LSP1 exists, Then keep position of the LSP1 in hardware table item constant.
Figure 11 be Wait to Restore Time not to the case where: master control at this time directly issues primary LSP1 and spare LSP2, but Be work LSP it is LSP3, is updated (be not LSP1 and LSP2 one of them), so first switch its working condition to LSP1, then Refreshing hardware table item).
(4) forwarding application layer introduces masterslave switchover mark, and primary path is at first of hardware table item, and backup path is hard The Article 2 of part list item, switching mark is 0;Primary path hardware table item Article 2, backup path in hardware table item One, switching mark is 1.
(5) by after updated primary LSP and spare LSP adjustment transmitting sequence, it is handed down to automatic protection Switching Module.
(6) automatic protection Switching Module using hardware state and switches mark two parameter as the primary LSP of execution and spare The foundation of LSP pretection switch or the foundation of business recovery, calling switch drive module, execute LSP pretection switch or business Restore.
Specific embodiment 4.
In order to realize the LSP1:1 protection of active and standby LSP, therefore, to assure that the path of active and standby LSP separates as far as possible.This hair In bright, first to be searched relevant to LSP protection when creating primary or spare LSP in the routing in request LSP1:1 protection Whether spare or primary LSP has been obtained for routing, have obtained that routing, then need LSP's related to LSP protection It routes and is sent to CSPF (Constrained Shortest Path First, with constraint as the condition for exclusion of doing one's best The SPF algorithm of condition) module calculated, to realize that the active and standby path LSP separates as far as possible.
LSC (local service center) controls the quantity of LSP member in protection group, it is ensured that and the quantity of LSP member in protection group < =2, while LSC will also guarantee correctly to select primary and backup LSP.
For this purpose, LSC is receiving BFD Down (Bidirectional Forwarding in active and standby LSP reversed process Detection, two-way converting detection) message when, update the state of LSP.When newly-built LSP, full dose issues protection Group configuration, LSP member are the LSP of the smallest two UP states of LSP_ID, and it is primary, LSP_ID that the small LSP of LSP_ID, which is arranged, Big LSP is spare.
So as to guarantee correct, the quick execution of pretection switch.
Specific embodiment 5.
The present invention program, during executing primary LSP and spare LSP pretection switch, when primary LSP and spare LSP are sent out When raw failure, master plan can generate best-effort path, to guarantee that business is normal.
Specific embodiment 6.
After the LSP of hard constraints routing breaks down, agreement uses the side of Make-Before-Break (make-before-break) Formula establishes new LSP, this newly-established LSP is not provided with hard constraints routing;It disappears in the lsp failure of hard constraints routing Afterwards, link-recovery, and delete newly-built LSP.
After original main LSP or standby LSP are successfully established (the Notify notice message for receiving the BFD UP of corresponding LSP), It deletes again and restores associated LSP;
In the BFD Down notice message for receiving LSP, (received after newly-established spare LSP or the success of the escape path LSP The Notify notice message of the BFD UP of corresponding LSP), then delete the LSP of failure.Original active and standby LSP retains always not to be deleted It removes, for realizing the recovery of active and standby LSP.
To guarantee correct, the quick execution of pretection switch.
The present invention is not limited to above-mentioned preferred forms, and anyone should learn that the knots made under the inspiration of the present invention Structure variation, the technical schemes that are same or similar to the present invention are fallen within the scope of protection of the present invention.

Claims (10)

1. a kind of method that IP RAN equipment realizes LSP protection, which comprises the following steps:
Primary LSP and spare LSP are saved respectively using two hardware table items, according to Service Processing Module and switch drive module Working condition switches the hardware state of drive module described in acquisition, and calculate the Service Processing Module switches mark;
Automatic protection Switching Module is using the hardware state and switches mark two parameter as the primary LSP and spare LSP of execution The foundation of pretection switch or the foundation of business recovery, calling switch drive module and execute corresponding pretection switch or business recovery Operation.
2. the method according to claim 1, wherein the detailed process for executing pretection switch operation includes:
Forwarding application layer carries out intersection comparison to the protection group information for updating front and back, if comparing successfully, identical LSP is kept to exist Position in hardware table item is constant;If comparison is unsuccessful, guard mode is initialized as primary;
Drive module is switched by being handed down to after updated primary LSP and spare LSP adjustment transmitting sequence, and according to the hardware It state and switches mark two parameter and completes switching for primary LSP and spare LSP.
3. the method according to claim 1, wherein execute business recovery operation when, if work LSP by more Newly, then Service Processing Module first switches its hardware state, and is handed down to the automatic protection Switching Module, then refreshing hardware again List item;If work LSP still has, keep its hardware state constant.
4. it is protected the method according to claim 1, wherein IP RAN equipment realizes that LSP is protected including LSP1:1, When requesting the routing of LSP1:1 protection, first searches and protects whether relevant spare LSP or primary LSP has been obtained for routing, Have obtained that routing, then will protect the routing of correlation LSP to carry out as the condition for exclusion of doing one's best with constraint item The SPF algorithm of part calculates, so that the path for the path LSP related to protection for newly establishing LSP is not overlapped as far as possible.
5. the method according to claim 1, wherein in primary LSP and spare LSP reversed process, the business Processing module updates the state of LSP when receiving BFD Down message, and when creating new LSP, full dose issues the configuration of protection group, LSP member be the smallest two UP states of ID number LSP, and be arranged the small LSP of ID number be it is primary, the big LSP of ID number be it is spare.
6. the method according to claim 1, wherein being controlled in protection group by IP RAN equipment master plan The quantity of LSP member is less than or equal to 2.
7. the method according to claim 1, wherein during executing primary LSP and spare LSP pretection switch, When primary LSP and spare LSP break down, best-effort path is generated.
8. according to the method described in claim 3, it is characterized in that, executing primary LSP and spare LSP pretection switch and industry When business recovery operation, forward the process flow of application layer as follows:
For pretection switch: after the update operation for receiving LSP protection group, keeping the ID of FRR group constant, obtained from drive module is switched The switch status of FRR group at this time is taken, and according to the switch status of FRR group, obtains work LSP;
Former primary LSP and spare LSP intersect comparing with updated primary LSP and spare LSP, if compared successfully, It then keeps position of the identical LSP in hardware table item constant, if comparison is unsuccessful, guard mode is initialized as primary;
For business recovery: if work LSP is updated, the Service Processing Module first by its hardware state switch and is issued To the automatic protection Switching Module, then refreshing hardware table item again;If worked, there is also keep at the business LSP The hardware state for managing module is constant;
Drive module is switched by being handed down to after updated primary LSP and spare LSP adjustment sequence of positions;
Automatic protection Switching Module is using hardware state and switches mark two parameter as the primary LSP of execution and spare LSP protection The foundation switched, calling switch drive module, execute LSP pretection switch or business recovery.
9. a kind of IP RAN equipment realizes the device of LSP protection, including master plan and Forwarding plane, which is characterized in that
The master plan is equipped with local service center, for controlling the quantity of LSP member in LSP protection group, and correctly selects Select primary LSP and spare LSP;
The Forwarding plane is equipped with Service Processing Module, automatic protection Switching Module, switches drive module and state acquisition mould Block, saves that there are two hardware table items on the Service Processing Module, is respectively used to save primary LSP and spare LSP;The state Obtain module for obtain it is described switch the Current hardware state of drive module, and calculate the Service Processing Module switches mark Note by the hardware state and switches label and is sent to the automatic protection Switching Module of IP RAN equipment, as executing primary LSP The foundation switched with spare LSP, calling switch drive module and execute corresponding pretection switch or business recovery operation.
10. device according to claim 9, which is characterized in that
When executing pretection switch, the Service Processing Module by former primary LSP and spare LSP and updated primary LSP and Spare LSP carries out intersection comparison, successfully keeps position of the identical LSP in hardware table item constant if compared, if comparing It is unsuccessful, then guard mode is initialized as primary;
When executing business recovery operation, Service Processing Module judgement first switches its hardware shape if work LSP is updated State, and it is handed down to the automatic protection Switching Module, then refreshing hardware table item;If work LSP still has, keep it hard Part state is constant.
CN201910008773.7A 2019-01-04 2019-01-04 Method and device for realizing LSP protection of IP RAN equipment Active CN109547269B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910008773.7A CN109547269B (en) 2019-01-04 2019-01-04 Method and device for realizing LSP protection of IP RAN equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910008773.7A CN109547269B (en) 2019-01-04 2019-01-04 Method and device for realizing LSP protection of IP RAN equipment

Publications (2)

Publication Number Publication Date
CN109547269A true CN109547269A (en) 2019-03-29
CN109547269B CN109547269B (en) 2021-12-14

Family

ID=65834436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910008773.7A Active CN109547269B (en) 2019-01-04 2019-01-04 Method and device for realizing LSP protection of IP RAN equipment

Country Status (1)

Country Link
CN (1) CN109547269B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112019261A (en) * 2019-05-31 2020-12-01 烽火通信科技股份有限公司 Method and system for returning distributed control plane electrical layer 1+1 service
CN113630314A (en) * 2020-05-09 2021-11-09 北京金山云网络技术有限公司 Disaster recovery method and device for hybrid cloud private line access network
CN115022235A (en) * 2022-05-07 2022-09-06 烽火通信科技股份有限公司 CSPF (common service platform function) -based link protection method and system
CN115065590A (en) * 2022-06-28 2022-09-16 烽火通信科技股份有限公司 Method and device for realizing linear protection of distributed dual-state machine

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859022A (en) * 2006-03-24 2006-11-08 华为技术有限公司 Communication device and method for realizing master control board and service board master and slave conversion
CN101667970A (en) * 2009-10-23 2010-03-10 杭州华三通信技术有限公司 Protection switching method and equipment thereof
EP2538602A1 (en) * 2010-03-30 2012-12-26 ZTE Corporation Method and system for realizing hot standby in centralized network nodes
CN102982087A (en) * 2012-11-01 2013-03-20 华为技术有限公司 Method and device and data bank system for detecting data bank uniformity
CN105763450A (en) * 2016-04-14 2016-07-13 烽火通信科技股份有限公司 High-efficiency LSP protection method based on RSVP-TE dynamic tunnel
CN106559336A (en) * 2015-09-24 2017-04-05 杭州华三通信技术有限公司 The path switching method and apparatus being applied in SDN

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859022A (en) * 2006-03-24 2006-11-08 华为技术有限公司 Communication device and method for realizing master control board and service board master and slave conversion
CN101667970A (en) * 2009-10-23 2010-03-10 杭州华三通信技术有限公司 Protection switching method and equipment thereof
EP2538602A1 (en) * 2010-03-30 2012-12-26 ZTE Corporation Method and system for realizing hot standby in centralized network nodes
CN102982087A (en) * 2012-11-01 2013-03-20 华为技术有限公司 Method and device and data bank system for detecting data bank uniformity
CN106559336A (en) * 2015-09-24 2017-04-05 杭州华三通信技术有限公司 The path switching method and apparatus being applied in SDN
CN105763450A (en) * 2016-04-14 2016-07-13 烽火通信科技股份有限公司 High-efficiency LSP protection method based on RSVP-TE dynamic tunnel

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112019261A (en) * 2019-05-31 2020-12-01 烽火通信科技股份有限公司 Method and system for returning distributed control plane electrical layer 1+1 service
CN112019261B (en) * 2019-05-31 2022-02-08 烽火通信科技股份有限公司 Method and system for returning distributed control plane electrical layer 1+1 service
CN113630314A (en) * 2020-05-09 2021-11-09 北京金山云网络技术有限公司 Disaster recovery method and device for hybrid cloud private line access network
CN115022235A (en) * 2022-05-07 2022-09-06 烽火通信科技股份有限公司 CSPF (common service platform function) -based link protection method and system
CN115022235B (en) * 2022-05-07 2023-05-26 烽火通信科技股份有限公司 CSPF-based link protection method and system
CN115065590A (en) * 2022-06-28 2022-09-16 烽火通信科技股份有限公司 Method and device for realizing linear protection of distributed dual-state machine
CN115065590B (en) * 2022-06-28 2023-05-26 烽火通信科技股份有限公司 Method and device for realizing linear protection of distributed dual-state machine

Also Published As

Publication number Publication date
CN109547269B (en) 2021-12-14

Similar Documents

Publication Publication Date Title
CN109547269A (en) A kind of IP RAN equipment realizes the method and device of LSP protection
US7155632B2 (en) Method and system for implementing IS-IS protocol redundancy
US7317731B2 (en) System and method for distributed resource reservation protocol-traffic engineering (RSVP-TE) hitless restart in multi-protocol label switching (MPLS) network
CN101371150B (en) Dynamic protection against failure of a head-end node of one or more TE-LSPs
US7573811B2 (en) Network transparent OSPF-TE failover
US9253250B2 (en) Local reroute protection for multicast multiprotocol label switching
US8456982B2 (en) System and method for fast network restoration
US9094224B2 (en) Acknowledged multicast convergence
EP1905196B1 (en) Method and apparatus for updating label-switched paths
CN101001100A (en) Switch-over protection method of link between satellites
CN101364927A (en) Method, apparatus and system realizing fault recovery of virtual private network
JP6027688B2 (en) Method and apparatus for automatic label assignment in ring network protection
CN102857418B (en) A kind of Quickly regroup changing method based on VPN and equipment
CN103354521B (en) The optimization method of a kind of LSP based on LDP renewal and device
CN102325080B (en) Open shortest path first (OSPF) protocol graceful restarting method and device
EP2658177B1 (en) Method for detecting tunnel faults and traffic engineering node
CN102404189A (en) Main and standby switching method of device supporting multi-topology routing as well as master control board
CN103746828B (en) A kind of method and device for managing network node
CN102480377B (en) Management method and system of aggregation link
WO2016165061A1 (en) Service protecting method and device
US20030043427A1 (en) Method of fast circuit recovery using local restoration
CN112803995B (en) Resource sharing method, network node and related equipment
CN102281158A (en) Line fault processing method and device
US10862797B2 (en) Control and data plane synchronization during Make Before Break operations in Multiprotocol Label Switching
CN106161065B (en) Path protection switching processing method, device and system and forwarding equipment

Legal Events

Date Code Title Description
PB01 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