CN104901880B - A kind of method and device of service operation - Google Patents
A kind of method and device of service operation Download PDFInfo
- Publication number
- CN104901880B CN104901880B CN201410081315.3A CN201410081315A CN104901880B CN 104901880 B CN104901880 B CN 104901880B CN 201410081315 A CN201410081315 A CN 201410081315A CN 104901880 B CN104901880 B CN 104901880B
- Authority
- CN
- China
- Prior art keywords
- standby
- router
- link
- state
- convergence device
- 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
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a kind of method and device of service operation.Method includes: the link state detected between the standby router and the convergence device by link detection mechanism;When the link state exception between the standby router and the convergence device detected, link redundancy protocol, and the redundant state of standby traffic router is made to be set as original state;In the original state, the standby traffic router will not execute active-standby switch according to redundancy protocol.The problem of active and standby business router that the solution of the present invention can be avoided the convergence layer of " V " type topological structure is switched by redundancy protocol mistake.
Description
Technical field
The present invention relates to the redundancy field of router, especially a kind of method and device of service operation.
Background technique
With the high speed development of Ethernet, the reliability of basic network is always network provider focus of attention, is faced
The network size being growing and the user group to go from strength to strength guarantee that network service high reliability is outstanding for improving user experience
It is aobvious to protrude.Equipment redundancy is the common approach for guaranteeing network reliability service, and principle is exactly to configure host apparatus and stand-by equipment,
Stand-by equipment can just replace host apparatus to execute work only after detecting that host apparatus breaks down.
Be applied in communication network at present there are two types of the redundancy protocols of router: one kind being used to gateway and provides redundancy guarantor
The VRRP(Virtual Router Redundancy Protocol of shield).The protected object of one VRRP protection group is a network segment, i.e. under VRRP protection
Subscriber's main station IP need that there is the same network segment, access host belong in identical VLAN.Another kind is Alcatel Lucent
The SRRP(Subscriber Routed Redundancy Protocol proposed after being improved to VRRP, user's route redundancy
Agreement), the IP protocol number of VRRP is continued to use, but the version number of VRRP has been changed to 8 by 2, so that in the protocol massages sent
Gateway IP information is no longer carried, so that realizing multiple gateways can be responsible for by one or more SRRP protection groups jointly.
The convergence layer of many Ethernets is used at present is made of business router SR, interchanger SW and convergence device
" V " type topological structure, such as one shown in FIG. 1 illustrative provincial China Mobile Internet CMNET.In the CMNET framework
In, convergence device of the OLT as access layer.Wherein, between SR1, OLT1 and SR2, between SR1, OLT2 and SR2 and SR1,
" V " type topological structure is formed between OLT3 and SR2.Assuming that primary SR of the SR1 as redundancy scheme, SR2 is as spare
SR, no matter the redundancy protocol between them uses VRRP or SRRP, SR2 to require to receive heartbeat message (the i.e. VRRP heart of SR1
Jump message or SRRP heartbeat message) determine whether SR1 breaks down.And under V-structure, the heartbeat message of SR1 will pass through OLT
Get to SR2.Illustratively, if the link between OLT1 and SW2 break down (link of SW2 to interchanger SW2 and/
Or the link failure of SW2 to OLT1), then SR2 can not just receive the heartbeat message of correspondence OLT1 transmitted by SW1, it is superfluous at this time
Remaining agreement will mistakenly believe that SR1 itself and failure have occurred, and the port for being used to connect with OLT1 SR2 is promoted to master state, is caused
Double main phenomenons.Since OLT1 sends data to first line of a couplet equipment using the two layers of sending method done one's best, in the work of redundancy protocol
Under, the data packet of its second line of a couplet user can be sent to SW2.And SW2 is because of the link failure between OLT1, so can not receive number
According to packet, lead to the service disconnection of second line of a couplet user.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of method and device of service operation, can be avoided " V " type topology
The problem of active and standby business router of the convergence layer of structure is switched by redundancy protocol mistake.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of method of service operation, it is applied to the metropolitan area IP
Net, the working traffic router and standby traffic router of the IP Metropolitan Area Network (MAN) are indirectly connected with by the convergence device of access layer;
Include:
The link state between the standby router and the convergence device is detected by link detection mechanism;
When the link state exception between the standby router and the convergence device detected, control described standby
Active-standby switch is not executed with business router.
Preferably, when the link state exception between the standby router and the convergence device detected, control
The step of standby traffic router does not execute active-standby switch is made to specifically include:
When the link state exception between the standby router and the convergence device detected, linkage redundancy association
View, makes the redundant state of standby traffic router be set as original state;In the original state, the standby traffic router
Active-standby switch will not be executed according to redundancy protocol.
Preferably, further includes:
The link state between primary route device and the convergence device is detected by the link detection mechanism;
When the link state between the primary route device detected and the convergence device is abnormal, and the spare road
When normal by the link state between device and the convergence device, the switching of standby usage business router is completed.
Preferably, the step of completing the switching of standby usage business router specifically includes:
The redundancy protocol that links completes the switching of standby usage business router.
Wherein, the link detection mechanism includes: ether service layer-connecting fault administrative mechanism ETH-CFM and two-way turn
Send out testing mechanism BFD.
In addition, the embodiment of the present invention also provides a kind of device of service operation, it is applied to IP Metropolitan Area Network (MAN), the metropolitan area IP
The working traffic router and standby traffic router of net are indirectly connected with by the convergence device of access layer;Include:
First detection module, for detecting the chain between standby router and the convergence device by link detection mechanism
Line state;
First control module, for when the link state between the standby router and the convergence device detected
When abnormal, control the standby traffic router and do not execute active-standby switch.
Preferably, the first control module is specifically used for making the redundancy shape of standby traffic router by linkage redundancy protocol
State is set as original state;In the original state, the standby traffic router will not execute active and standby cut according to redundancy protocol
It changes.
Preferably, described device further include:
Second detection module, for being detected between primary route device and the convergence device by the link detection mechanism
Link state;
Second control module, for detecting the primary route device and the convergence device when second detection module
Between link break down, and the first detection module detects between the standby router and the convergence device
When link state exception, the switching of standby usage business router is completed.
Preferably, the second control module linkage redundancy protocol completes the switching of standby usage business router.
Wherein, the link detection mechanism includes: ether service layer-connecting fault administrative mechanism ETH-CFM and two-way turn
Send out testing mechanism BFD.
Above scheme of the invention has the following beneficial effects:
The present invention is linked link detection mechanism and current redundancy protocol, is found by link detection mechanism
When link between spare SR and convergence device breaks down, it can be set the redundant state of spare SR to using redundancy protocol
Original state.In the initial condition, even if the heartbeat message that spare SR cannot get primary SR will not switch to master state,
So as to avoid the disruption of business.
Detailed description of the invention
Fig. 1 is the network architecture schematic diagram of provincial CMNET;
Fig. 2 is the step schematic diagram of the method for service operation in the present invention;
Fig. 3 is the framework schematic diagram of an IP Metropolitan Area Network (MAN) in the embodiment of the present invention;
Fig. 4 is the structural schematic diagram of the device of service operation in the present invention.
Specific embodiment
To keep the technical problem to be solved in the present invention, technical solution and advantage clearer, below in conjunction with attached drawing and tool
Body embodiment is described in detail.
The embodiment of the present invention provides a kind of method of service operation, is applied to IP Metropolitan Area Network (MAN), the master of the IP Metropolitan Area Network (MAN)
It is indirectly connected with business router and standby traffic router by the convergence device of access layer;As shown in Fig. 2, method includes:
Step 1, the link state between the standby router and the convergence device is detected by link detection mechanism;
It needs to be explained, the convergence device of access layer is used to converge the business of access layer, but not in access layer, and belongs to
Convergence layer;
Step 2, when the link state exception between the standby router and the convergence device detected, control
The standby traffic router does not execute active-standby switch.
When the present invention has found that the link between spare SR and convergence device breaks down by link detection mechanism, it can control
Preparation does not execute active-standby switch with SR.So as to avoid the disruption of business.
Further, on the basis of the above embodiments, when the standby router and the convergence device detected
Between link state exception when, step 2 specifically includes: linkage redundancy protocol, set the redundant state of standby traffic router
It is set to original state;In the original state, the standby traffic router will not execute active-standby switch according to redundancy protocol.
The present embodiment is linked link detection mechanism and current redundancy protocol, is sent out by link detection mechanism
When link between existing spare SR and convergence device breaks down, the redundant state of spare SR can be arranged using redundancy protocol
For original state.In the initial condition, even if the heartbeat message that spare SR cannot get primary SR will not switch to primary shape
State, so as to avoid the disruption of business.
The mode that traditional VRRP or SRRP is all made of transmission heartbeat message carries out fault detection, and primary SR sends heartbeat report
The time interval of text is 1 second, when not receiving the heartbeat message of primary route device standby router continuous 3 times, can actively be become
It is main.As it can be seen that the link between standby traffic router and convergence device is under normal circumstances, at least need could perceive master within 3 seconds
Whether broken down with business router, for real time business, convergence time is too long for this.For this purpose, in above-described embodiment
On the basis of, the link shape between primary route device and the convergence device can be also further detected by link detection mechanism
State so that link state between working traffic router-OLT- standby traffic router can by link detection mechanism into
Row detection.So, failure perception more faster than heartbeat message can be realized by link detection mechanism.Link detection mechanism
It may include two-way converting testing mechanism BFD and too service layer-connecting fault administrative mechanism ETH-CFM.BFD and ETH-CFM are
Link detecting can be completed within the time of Millisecond.In view of BFD message between each operator there are different standards,
Therefore preferably, link detection mechanism is selected as ETH-CFM;
When ETH-CFM detects that the link between primary route device and the convergence device breaks down, and the general
Not in the event of failure, linkage redundancy protocol completes standby usage to link between standby traffic road and the convergence device more quickly
The switching of business router.
It is described in detail below for the embodiment of SRRP to method of the invention with redundancy protocol:
IP Metropolitan Area Network (MAN) after simplification as shown in Figure 3, active and standby SR are all made of the 7750SR forwarding road of the Lucent A Erkadan release
By device, i.e., SRRP can be enabled in active and standby SR business structure logic.Convergence device of the target OLT as access layer, passes through SW1 and master
Connection is established with SR, and is connect by SW2 with spare SR.It is to be passed by the specific channel Vlan between SR1, SW1, target OLT
Pass the heartbeat message of SRRP;The inspection of Eth-CFM link is respectively disposed between primary SR and target OLT, between spare SR and target OLT
It surveys, is applied in network fault detection end to end.One side Eth-CFM realizes that spare SR examines the failure of primary SR
It surveys, shortens the customer traffic disruption time;The state linkage of link between another aspect Eth-CFM also root spare SR and target OLT
The state of SRRP: when the link failure between spare SR and target OLT, Eth-CFM sets the SRRP state of spare SR to
Original state causes " accidentally switching " problem of standby traffic router so as to avoid prepped side link failure.Specifically, exist
Eth-CFM is detected when there is link failure between spare SR and target OLT, can be corresponded to and be generated SRRP message to change spare SR
SRRP state.Similarly, there is link failure, and spare SR and target when Eth-CFM is detected between primary SR and target OLT
When normal between OLT, corresponding SRRP message is generated to complete the switch operating of active and standby SR.
In addition, the embodiment of the present invention also provides a kind of device of service operation, it is applied to IP Metropolitan Area Network (MAN), the metropolitan area IP
The working traffic router and standby traffic router of net are indirectly connected with by the convergence device of access layer;As shown in figure 4, described
Device includes:
First detection module, for detecting the chain between standby router and the convergence device by link detection mechanism
Line state;
First control module, for when the link state between the standby router and the convergence device detected
When abnormal, control the standby traffic router and do not execute active-standby switch.
When the present invention has found that the link between spare SR and convergence device breaks down by link detection mechanism, it can control
Preparation does not execute active-standby switch with SR.So as to avoid the disruption of business.
Further, on the basis of the above embodiments, the first control module is by link detection mechanism and current redundancy
Agreement is linked, spare SR can link between convergence device failure when, can be by the redundancy of spare SR
State is set as original state, and in this case, spare SR will not be switched to mistakenly in the heartbeat message that cannot get primary SR
Master state, so as to avoid the disruption of business.
Further, on that basi of the above embodiments, the device of the invention further include:
Second detection module, for being detected between primary route device and the convergence device by the link detection mechanism
Link state;
Second control module, for detecting the primary route device and the convergence device when second detection module
Between link break down, and the first detection module detects between the standby router and the convergence device
When link state exception, the switching of standby usage business router is completed.
In the present embodiment, the second control module links according to the testing result of first detection module and the second detection module
Redundancy protocol completes active-standby switch work, primary so as to make standby router complete quick sensing within the time of Millisecond
Business router failure, and actively become master.
Further, the link detection mechanism includes: ether service layer-connecting fault administrative mechanism ETH-CFM and double
To forwarding testing mechanism BFD.
Obviously, the device of the present embodiment is corresponding with the method for service operation of the invention, this method technology achieved
Thought, the device of the present embodiment equally can also reach.In addition, for convenience of description, description apparatus above is divided into function
Various modules describe respectively.Certainly, in carrying out the present invention can the function of each module in same or multiple softwares and/or
It is realized in hardware.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art
For, without departing from the principles of the present invention, it can also make several improvements and retouch, these improvements and modifications
It should be regarded as protection scope of the present invention.
Claims (8)
1. a kind of method of service operation is applied to IP Metropolitan Area Network (MAN), the working traffic router of the IP Metropolitan Area Network (MAN) and spare industry
Business router is indirectly connected with by the convergence device of access layer, and wherein the convergence device of access layer is used to converge the industry of access layer
Business characterized by comprising
The link state between the standby router and the convergence device is detected by link detection mechanism;
When the link state exception between the standby router and the convergence device detected, the spare industry is controlled
Business router does not execute active-standby switch;
When the link state exception between the standby router and the convergence device detected, the spare industry is controlled
The step of business router does not execute active-standby switch specifically includes:
When the link state exception between the standby router and the convergence device detected, link redundancy protocol,
The redundant state of standby traffic router is set to be set as original state;In the original state, the standby traffic router is not
Active-standby switch can be executed according to redundancy protocol.
2. the method according to claim 1, wherein further include:
The link state between primary route device and the convergence device is detected by the link detection mechanism;
When the link state between the primary route device detected and the convergence device is abnormal, and the standby router
When link state between the convergence device is normal, the switching of standby usage business router is completed.
3. according to the method described in claim 2, it is characterized in that, the step of completing the switching of standby usage business router is specific
Include:
The redundancy protocol that links completes the switching of standby usage business router.
4. the method according to claim 1, wherein the link detection mechanism includes: ether service layer-connection
Fault management mechanism ETH-CFM and two-way converting testing mechanism BFD.
5. a kind of device of service operation is applied to IP Metropolitan Area Network (MAN), the working traffic router of the IP Metropolitan Area Network (MAN) and spare industry
Business router is indirectly connected with by the convergence device of access layer, and wherein the convergence device of access layer is used to converge the industry of access layer
Business characterized by comprising
First detection module, for detecting the link shape between standby router and the convergence device by link detection mechanism
State;
First control module, for when the link state exception between the standby router and the convergence device detected
When, it controls the standby traffic router and does not execute active-standby switch;
First control module is specifically used for making the redundant state of standby traffic router be set as initial by linkage redundancy protocol
State;In the original state, the standby traffic router will not execute active-standby switch according to redundancy protocol.
6. device according to claim 5, which is characterized in that further include:
Second detection module, for detecting the chain between primary route device and the convergence device by the link detection mechanism
Line state;
Second control module, for being detected between the primary route device and the convergence device when second detection module
Link break down, and the first detection module detects the link between the standby router and the convergence device
When abnormal state, the switching of standby usage business router is completed.
7. device according to claim 6, which is characterized in that the second control module linkage redundancy protocol is completed active and standby
With the switching of business router.
8. device according to claim 5, which is characterized in that the link detection mechanism includes: ether service layer-connection
Fault management mechanism ETH-CFM and two-way converting testing mechanism BFD.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410081315.3A CN104901880B (en) | 2014-03-06 | 2014-03-06 | A kind of method and device of service operation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410081315.3A CN104901880B (en) | 2014-03-06 | 2014-03-06 | A kind of method and device of service operation |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104901880A CN104901880A (en) | 2015-09-09 |
CN104901880B true CN104901880B (en) | 2019-06-28 |
Family
ID=54034280
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410081315.3A Active CN104901880B (en) | 2014-03-06 | 2014-03-06 | A kind of method and device of service operation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104901880B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107306231B (en) * | 2016-04-20 | 2021-06-08 | 中国移动通信集团广东有限公司 | Service scheduling method, device and system |
CN111131023A (en) * | 2018-11-01 | 2020-05-08 | 中国移动通信集团广东有限公司 | Dual-route networking topology and application method thereof |
CN110677339A (en) * | 2019-10-08 | 2020-01-10 | 北京东土军悦科技有限公司 | Method and device for protecting redundancy between gateway nodes, gateway equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101005394A (en) * | 2007-01-19 | 2007-07-25 | 华为技术有限公司 | Method and system for protecting multicast repeat path and service router |
CN101834687A (en) * | 2009-03-11 | 2010-09-15 | 华为技术有限公司 | Method, system and device for switching main and spare light access networks |
CN101867411A (en) * | 2010-06-17 | 2010-10-20 | 中兴通讯股份有限公司 | Method, system and device for realizing passive optical network optical fiber protection |
-
2014
- 2014-03-06 CN CN201410081315.3A patent/CN104901880B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101005394A (en) * | 2007-01-19 | 2007-07-25 | 华为技术有限公司 | Method and system for protecting multicast repeat path and service router |
CN101834687A (en) * | 2009-03-11 | 2010-09-15 | 华为技术有限公司 | Method, system and device for switching main and spare light access networks |
CN101867411A (en) * | 2010-06-17 | 2010-10-20 | 中兴通讯股份有限公司 | Method, system and device for realizing passive optical network optical fiber protection |
Also Published As
Publication number | Publication date |
---|---|
CN104901880A (en) | 2015-09-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2787684B1 (en) | Method and device for protecting passive optical network (pon) | |
EP2081322B1 (en) | A method and device implementing link pass through in a point-to-multipoint network | |
CN102571426B (en) | Double-homing protection method and device | |
CN101595691B (en) | Redundant far-end context related pseudo-wire connectivity using inter-chassis backup connection | |
CN102325037B (en) | A kind of changing method of pseudo-line dual homed network, system and dual-homed Provider Equipment | |
CN101483558A (en) | Method, system and apparatus for packet switching network access by network appliance | |
CN105871674B (en) | The guard method of ring protection link failure, equipment and system | |
JP6293883B2 (en) | Data transmission system providing improved resiliency | |
WO2015131360A1 (en) | Method, device and system for link switching | |
JP2007525895A (en) | Recovery mechanism for network topology | |
US9264300B2 (en) | Hybrid distributed linear protection | |
CN106789630B (en) | A kind of network protection method and system, controller, equipment | |
CN105634848B (en) | A kind of virtual router monitoring method and device | |
CN104160666A (en) | Technique for bundling in link aggregation | |
CN102932247A (en) | VPN (Virtual Private Network) fast rerouting method and device and provider edge device | |
CN104901880B (en) | A kind of method and device of service operation | |
CN101242254B (en) | Virtual redundant router system and method for transmitting virtual redundant routing protocol packet | |
CN103916270B (en) | The system for realizing Link State Pass Through function based on PTN, method and device | |
CN104579953B (en) | A kind of method, Virtual Router Redundancy Protocol backup group and network for issuing routing | |
CN105743565A (en) | Optical transport network protection switching method and device | |
CN102611610A (en) | Method and system for centralized management of a plurality of tunnels with same path | |
JP5558436B2 (en) | Network system and network failure avoidance method | |
WO2012079328A1 (en) | Switching method and system for multiplex section protection and packet transport network device | |
EP2573977A1 (en) | Subnet protection method and device for transport multi-protocol label switching (tmpls) network | |
CN103684831B (en) | The guard method of L2TP network, apparatus and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |