CN104901880A - Service running method and device - Google Patents

Service running method and device Download PDF

Info

Publication number
CN104901880A
CN104901880A CN201410081315.3A CN201410081315A CN104901880A CN 104901880 A CN104901880 A CN 104901880A CN 201410081315 A CN201410081315 A CN 201410081315A CN 104901880 A CN104901880 A CN 104901880A
Authority
CN
China
Prior art keywords
standby
router
link
convergence device
link state
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
CN201410081315.3A
Other languages
Chinese (zh)
Other versions
CN104901880B (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.)
China Mobile Group Guangdong Co Ltd
Original Assignee
China Mobile Group Guangdong 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 China Mobile Group Guangdong Co Ltd filed Critical China Mobile Group Guangdong Co Ltd
Priority to CN201410081315.3A priority Critical patent/CN104901880B/en
Publication of CN104901880A publication Critical patent/CN104901880A/en
Application granted granted Critical
Publication of CN104901880B publication Critical patent/CN104901880B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a service running method and device. The method comprises the following steps: detecting a link state between a standby router and convergence equipment through a link detection mechanism; and when abnormity of the link state between the standby router and the convergence equipment is detected, linking a redundancy protocol and setting the redundancy state of a standby service router as an initial state, wherein in the initial state, the standby service router does not execute primary-standby switching according to the redundancy protocol. Through adoption of the scheme, the problem that the primary service router and the standby service router in the convergence layer of a V-shaped topological structure are wrongly switched by the redundancy protocol can be solved.

Description

A kind of method of service operation and device
Technical field
The present invention relates to method and the device in the redundancy field of router, particularly a kind of service operation.
Background technology
Along with the high speed development of Ethernet, the reliability of basic network is the focus that network provider is paid close attention to always, in the face of network size and the user group gone from strength to strength of expanding day, ensures that network service high reliability is especially aobvious outstanding for raising Consumer's Experience.Equipment redundancy is the common approach ensureing network reliability service, and its principle configures host apparatus and stand-by equipment exactly, and stand-by equipment, only after detecting that host apparatus breaks down, just can replace host apparatus execution work.
Be applied to the redundancy protocol of router in communication network at present and have two kinds: be a kind ofly used to the VRRP(Virtual Router Redundancy Protocol that gateway provides redundancy protecting).The object of protection of a VRRP protection group is a network segment, and the subscriber's main station IP namely under VRRP protection needs to have the same network segment, and access host ownership is in identical VLAN.Another kind is that Alcatel Lucent improves the SRRP(Subscriber Routed Redundancy Protocol of rear proposition to VRRP; user's route redundancy protocol); it has continued to use the IP protocol number of VRRP; but the version number of VRRP has been made into 8 by 2; make no longer to carry gateway IP information in the protocol massages sent, thus achieve multiple gateway and can be jointly responsible for by one or more SRRP protection group.
At present the convergence-level of a lot of Ethernet have employed and formed " V " type topological structure by business router SR, switch SW and convergence device, such as, shown in Fig. 1 one exemplary provincial China Mobile Internet CMNET.In this CMNET framework, OLT is as the convergence device of Access Layer.Wherein, between SR1, OLT1 and SR2, between SR1, OLT2 and SR2, and between SR1, OLT3 and SR2, all form " V " type topological structure.Suppose the primary SR of SR1 as redundancy scheme, SR2 is as SR for subsequent use, VRRP or SRRP, SR2 is adopted all to need the heartbeat message (i.e. VRRP heartbeat message or SRRP heartbeat message) receiving SR1 to determine whether SR1 breaks down regardless of the redundancy protocol between them.And under V-structure, the heartbeat message of SR1 will could arrive SR2 through OLT.Exemplarily, if the link occurs fault between OLT1 and SW2 (link of SW2 to switch SW2 and/or the link failure of SW2 to OLT1), so SR2 just cannot receive the heartbeat message of the corresponding OLT1 that SW1 sends, now redundancy protocol can think that SR1 self there occurs fault by mistake, the port being used for by SR2 being connected with OLT1 is promoted to master state, causes two main phenomenon.Because OLT1 adopts two layers of send mode of doing one's best to first line of a couplet equipment sending data, under the effect of redundancy protocol, the 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 packet, cause 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 avoid the problem that the active and standby business router of the convergence-level of " V " type topological structure is switched by redundancy protocol mistake.
For solving the problems of the technologies described above, embodiments of the invention provide a kind of method of service operation, are applied to IP metropolitan area network, and the working traffic router of described IP metropolitan area network is connected indirectly with the convergence device of standby traffic router by Access Layer; Comprise:
The Link State between described standby router and described convergence device is detected by link detection mechanism;
When Link State between the described standby router detected and described convergence device is abnormal, controls described standby traffic router and do not perform active-standby switch.
Preferably, when Link State between the described standby router detected and described convergence device is abnormal, controls the step that described standby traffic router do not perform active-standby switch and specifically comprise:
When Link State between the described standby router detected and described convergence device is abnormal, interlock redundancy protocol, makes the redundant state of standby traffic router be set to initial condition; In described initial condition, described standby traffic router can not perform active-standby switch according to redundancy protocol.
Preferably, also comprise:
The Link State between primary route device and described convergence device is detected by described link detection mechanism;
Link State between the described primary route device detected and described convergence device is abnormal, and when Link State between described standby router and described convergence device is normal, completes the switching of standby usage business router.
Preferably, the step completing the switching of standby usage business router specifically comprises:
Interlock redundancy protocol completes the switching of standby usage business router.
Wherein, described link detection mechanism comprises: ether service layer-connection fault management mechanism ETH-CFM and two-way converting testing mechanism BFD.
In addition, embodiments of the invention also provide a kind of device of service operation, are applied to IP metropolitan area network, and the working traffic router of described IP metropolitan area network is connected indirectly with the convergence device of standby traffic router by Access Layer; Comprise:
First detection module, for detecting the Link State between standby router and described convergence device by link detection mechanism;
First control module, time abnormal for the Link State between the described standby router detected and described convergence device, control described standby traffic router and does not perform active-standby switch.
Preferably, the first control module, specifically for by interlock redundancy protocol, makes the redundant state of standby traffic router be set to initial condition; In described initial condition, described standby traffic router can not perform active-standby switch according to redundancy protocol.
Preferably, described device also comprises:
Second detection module, for detecting the Link State between primary route device and described convergence device by described link detection mechanism;
Second control module, for the link failure between described primary route device and described convergence device being detected when described second detection module, and described first detection module is when detecting that Link State between described standby router and described convergence device is abnormal, complete the switching of standby usage business router.
Preferably, described second control module interlock redundancy protocol completes the switching of standby usage business router.
Wherein, described link detection mechanism comprises: ether service layer-connection fault management mechanism ETH-CFM and two-way converting testing mechanism BFD.
Such scheme of the present invention has following beneficial effect:
Link detection mechanism and current redundancy protocol link by the present invention, when being found the link failure between SR for subsequent use and convergence device by link detection mechanism, can utilize redundancy protocol that the redundant state of SR for subsequent use is set to initial condition.In the initial condition, even if the heartbeat message that SR for subsequent use can not get primary SR also can not switch to master state, thus the disruption of business is avoided.
Accompanying drawing explanation
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 in the embodiment of the present invention;
Fig. 4 is the structural representation of the device of service operation in the present invention.
Embodiment
For making the technical problem to be solved in the present invention, technical scheme and advantage clearly, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
Embodiments of the invention provide a kind of method of service operation, are applied to IP metropolitan area network, and the working traffic router of described IP metropolitan area network is connected indirectly with the convergence device of standby traffic router by Access Layer; As shown in Figure 2, method comprises:
Step 1, detects the Link State between described standby router and described convergence device by link detection mechanism; Need to be explained, the convergence device of Access Layer, for converging the business of Access Layer, but not in Access Layer, and belongs to convergence-level;
Step 2, when the Link State between the described standby router detected and described convergence device is abnormal, controls described standby traffic router and does not perform active-standby switch.
When the present invention finds the link failure between SR for subsequent use and convergence device by link detection mechanism, SR for subsequent use can be controlled and do not perform active-standby switch.Thus avoid the disruption of business.
Further, on the basis of above-described embodiment, when the Link State between the described standby router detected and described convergence device is abnormal, step 2 specifically comprises: interlock redundancy protocol, makes the redundant state of standby traffic router be set to initial condition; In described initial condition, described standby traffic router can not perform active-standby switch according to redundancy protocol.
Link detection mechanism and current redundancy protocol link by the present embodiment, when being found the link failure between SR for subsequent use and convergence device by link detection mechanism, can utilize redundancy protocol that the redundant state of SR for subsequent use is set to initial condition.In the initial condition, even if the heartbeat message that SR for subsequent use can not get primary SR also can not switch to master state, thus the disruption of business is avoided.
Traditional VRRP or SRRP all adopts and sends the mode of heartbeat message and carry out fault detect, and the time interval that primary SR sends heartbeat message is 1 second, when standby router is continuous do not receive the heartbeat message of primary route device 3 times time, can initiatively become main.Visible, whether under normal circumstances, at least need 3 seconds ability perception working traffic routers to break down, this is for real time business, and convergence time is long for the link between standby traffic router and convergence device.For this reason, on the basis of above-described embodiment, also can detect Link State between primary route device and described convergence device further by link detection mechanism, the Link State between working traffic router-OLT-standby traffic router all can be detected by link detection mechanism.So, can be realized than heartbeat message fault perception faster by link detection mechanism.Link detection mechanism can comprise two-way converting testing mechanism BFD and too service layer-be connected fault management mechanism ETH-CFM.BFD and ETH-CFM can complete link detecting within the time of Millisecond.Consider that BFD message exists different standards between each operator, therefore preferably, link detection mechanism elects ETH-CFM as;
When ETH-CFM detects the link failure between primary route device and described convergence device, and described when the link between standby traffic road and described convergence device be there is no a fault, linkage redundancy protocol completes the switching of standby usage business router more quickly.
Be that the embodiment of SRRP describes in detail to method of the present invention below with redundancy protocol:
IP metropolitan area network after simplification as shown in Figure 3, the 7750SR forwarding router that active and standby SR all adopts A Erkadan Lucent to release, namely can enable SRRP in active and standby SR business structure logic.Target OLT, as the convergence device of Access Layer, is connected by SW1 and primary SR, and is connected with SR for subsequent use by SW2.It is the heartbeat message being transmitted SRRP by specific Vlan passage between SR1, SW1, target OLT; Dispose Eth-CFM link detecting separately between primary SR and target OLT, between SR for subsequent use and target OLT, be applied to fault detect end to end in network.Eth-CFM realizes the fault detect of SR for subsequent use to primary SR on the one hand, shortens the customer traffic disruption time; On the other hand Eth-CFM also between root SR for subsequent use and target OLT the state of link to link the state of SRRP: during link failure between SR for subsequent use and target OLT, the SRRP state of SR for subsequent use is set to initial condition by Eth-CFM, thus avoids prepped side link failure and cause " by mistake switching " problem of standby traffic router.Particularly, Eth-CFM detect there is link failure between SR for subsequent use and target OLT time, may correspond to and generate SRRP message to change the SRRP state of SR for subsequent use.In like manner, there is link failure when Eth-CFM detects between primary SR and target OLT, and time normal between SR for subsequent use and target OLT, generate corresponding SRRP message to complete the switch operating of active and standby SR.
In addition, embodiments of the invention also provide a kind of device of service operation, are applied to IP metropolitan area network, and the working traffic router of described IP metropolitan area network is connected indirectly with the convergence device of standby traffic router by Access Layer; As shown in Figure 4, described device comprises:
First detection module, for detecting the Link State between standby router and described convergence device by link detection mechanism;
First control module, time abnormal for the Link State between the described standby router detected and described convergence device, control described standby traffic router and does not perform active-standby switch.
When the present invention finds the link failure between SR for subsequent use and convergence device by link detection mechanism, SR for subsequent use can be controlled and do not perform active-standby switch.Thus avoid the disruption of business.
Further, on the basis of above-described embodiment, link detection mechanism and current redundancy protocol link by the first control module, SR for subsequent use can and convergence device between the breaking down of link time, the redundant state of SR for subsequent use can be set to initial condition, in this case, the heartbeat message that SR for subsequent use can not get primary SR can not switch to master state mistakenly, thus avoids the disruption of business.
Further, on above-described embodiment basis, device of the present invention also comprises:
Second detection module, for detecting the Link State between primary route device and described convergence device by described link detection mechanism;
Second control module, for the link failure between described primary route device and described convergence device being detected when described second detection module, and described first detection module is when detecting that Link State between described standby router and described convergence device is abnormal, complete the switching of standby usage business router.
In the present embodiment, second control module completes active-standby switch work according to the testing result of first detection module and the second detection module redundancy protocol that links, thus can make standby router within the time of Millisecond, complete quick sensing working traffic router failure, and initiatively become main.
Further, described link detection mechanism comprises: ether service layer-connection fault management mechanism ETH-CFM and two-way converting testing mechanism BFD.
Obviously, the device of the present embodiment is corresponding with the method for service operation of the present invention, and the technology that the method reaches was thought, the device of the present embodiment equally also can reach.In addition, for convenience of description, describing above device is be divided into various module to describe respectively with function.Certainly, the function of each module can be realized in same or multiple software and/or hardware when implementing of the present invention.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the prerequisite not departing from principle of the present invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. a method for service operation, is applied to IP metropolitan area network, and the working traffic router of described IP metropolitan area network is connected indirectly with the convergence device of standby traffic router by Access Layer; It is characterized in that, comprising:
The Link State between described standby router and described convergence device is detected by link detection mechanism;
When Link State between the described standby router detected and described convergence device is abnormal, controls described standby traffic router and do not perform active-standby switch.
2. method according to claim 1, is characterized in that, when Link State between the described standby router detected and described convergence device is abnormal, controls the step that described standby traffic router do not perform active-standby switch and specifically comprises:
When Link State between the described standby router detected and described convergence device is abnormal, interlock redundancy protocol, makes the redundant state of standby traffic router be set to initial condition; In described initial condition, described standby traffic router can not perform active-standby switch according to redundancy protocol.
3. method according to claim 1, is characterized in that, also comprises:
The Link State between primary route device and described convergence device is detected by described link detection mechanism;
Link State between the described primary route device detected and described convergence device is abnormal, and when Link State between described standby router and described convergence device is normal, completes the switching of standby usage business router.
4. method according to claim 3, is characterized in that, the step completing the switching of standby usage business router specifically comprises:
Interlock redundancy protocol completes the switching of standby usage business router.
5. method according to claim 1, is characterized in that, described link detection mechanism comprises: ether service layer-connection fault management mechanism ETH-CFM and two-way converting testing mechanism BFD.
6. a device for service operation, is applied to IP metropolitan area network, and the working traffic router of described IP metropolitan area network is connected indirectly with the convergence device of standby traffic router by Access Layer; It is characterized in that, comprising:
First detection module, for detecting the Link State between standby router and described convergence device by link detection mechanism;
First control module, time abnormal for the Link State between the described standby router detected and described convergence device, control described standby traffic router and does not perform active-standby switch.
7. device according to claim 6, is characterized in that, the first control module, specifically for by interlock redundancy protocol, makes the redundant state of standby traffic router be set to initial condition; In described initial condition, described standby traffic router can not perform active-standby switch according to redundancy protocol.
8. device according to claim 6, is characterized in that, also comprises:
Second detection module, for detecting the Link State between primary route device and described convergence device by described link detection mechanism;
Second control module, for the link failure between described primary route device and described convergence device being detected when described second detection module, and described first detection module is when detecting that Link State between described standby router and described convergence device is abnormal, complete the switching of standby usage business router.
9. device according to claim 8, is characterized in that, described second control module interlock redundancy protocol completes the switching of standby usage business router.
10. device according to claim 6, is characterized in that, described link detection mechanism comprises: ether service layer-connection fault management mechanism ETH-CFM and two-way converting testing mechanism BFD.
CN201410081315.3A 2014-03-06 2014-03-06 A kind of method and device of service operation Active CN104901880B (en)

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 true CN104901880A (en) 2015-09-09
CN104901880B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107306231A (en) * 2016-04-20 2017-10-31 中国移动通信集团广东有限公司 Business scheduling method, equipment and system
CN110677339A (en) * 2019-10-08 2020-01-10 北京东土军悦科技有限公司 Method and device for protecting redundancy between gateway nodes, gateway equipment and storage medium
CN111131023A (en) * 2018-11-01 2020-05-08 中国移动通信集团广东有限公司 Dual-route networking topology and application method thereof

Citations (3)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107306231A (en) * 2016-04-20 2017-10-31 中国移动通信集团广东有限公司 Business scheduling method, equipment 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

Also Published As

Publication number Publication date
CN104901880B (en) 2019-06-28

Similar Documents

Publication Publication Date Title
EP2787684B1 (en) Method and device for protecting passive optical network (pon)
US8117337B2 (en) Method and device for implementing link pass through in point-to-multipoint network
CN100512292C (en) Apparatus and method of real-time recovering service
EP2720407B1 (en) Fault processing method, aggregation node and optical network protection system
US8886831B2 (en) System and methodology for fast link failover based on remote upstream failures
AU2014385716B2 (en) Link switching method, device, and system
CN102104532B (en) Fault switching method and system and hub provider edge (Hub PE) router
JP5811995B2 (en) Communication system and network relay device
EP2696542A1 (en) Method, ToR switch, and system for implementing protection switchover based on TRILL network
CN101924654A (en) Point-to-multipoint service-based path switching method and system
CN105634848B (en) A kind of virtual router monitoring method and device
CN104506546A (en) Bidirectional forwarding detection method and device of aggregation link
CN101321077B (en) Reliable multicast method, provider edge upper layer device and system
CN104901880A (en) Service running method and device
EP2613477B1 (en) Method for triggering route switching and service provider-end provider edge device
CN103916270A (en) System, method and device for achieving punch through function of link state based on PTN
CN104579953A (en) A method for releasing routing, and a virtual router redundancy protocol backup group and network
CN105743565A (en) Optical transport network protection switching method and device
EP3462681B1 (en) Apparatus and method for transmitting multicast service
EP3001612B1 (en) Multi-domain network protection method and node
CN110247835A (en) A kind of industrial switch loop network with dual redundant defencive function
JP5518771B2 (en) Redundant network system, termination device and relay point adjacent device
WO2009089642A1 (en) Method and system for smart protection of ethernet virtual private-rooted multipoint service
CN101364907A (en) Link fault processing method and apparatus
CN102739430B (en) Method and system for realizing Ethernet protection switching

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