Movatterモバイル変換


[0]ホーム

URL:


CN101141364A - Method and device for realizing protection switching in ring Ethernet - Google Patents

Method and device for realizing protection switching in ring Ethernet
Download PDF

Info

Publication number
CN101141364A
CN101141364ACNA2006101268605ACN200610126860ACN101141364ACN 101141364 ACN101141364 ACN 101141364ACN A2006101268605 ACNA2006101268605 ACN A2006101268605ACN 200610126860 ACN200610126860 ACN 200610126860ACN 101141364 ACN101141364 ACN 101141364A
Authority
CN
China
Prior art keywords
ring network
ring
failure
protection switching
waiting timer
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.)
Pending
Application number
CNA2006101268605A
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co LtdfiledCriticalHuawei Technologies Co Ltd
Priority to CNA2006101268605ApriorityCriticalpatent/CN101141364A/en
Priority to PCT/CN2007/070512prioritypatent/WO2008031347A1/en
Publication of CN101141364ApublicationCriticalpatent/CN101141364A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明所提供的在环状以太网中实现保护倒换的方法和装置,可在环状以太网中检测到环网故障时启动预先设置的延迟定时器;在延迟定时器超时并且再次检测到环网故障时,进行由正常工作状态向环故障状态切换的保护倒换操作。还可在环网故障消除时启动预先设置的恢复等待定时器;在恢复等待定时器超时前所检测到的任何环网故障都会引起其重新启动,在恢复等待定时器超时后则执行用于恢复到正常工作状态的操作。本发明方法和装置均可有效避免不必要的保护倒换操作,进而可节省网络资源并可提高网络性能。

Figure 200610126860

The method and device for realizing protection switching in the ring Ethernet provided by the present invention can start a preset delay timer when a ring network failure is detected in the ring Ethernet; when the delay timer expires and the ring is detected again When the network fails, the protection switching operation is performed from the normal working state to the ring fault state. It can also start the preset recovery waiting timer when the ring network failure is eliminated; any ring network failure detected before the recovery waiting timer expires will cause it to restart, and after the recovery waiting timer expires, it will be used for recovery. to normal operation. Both the method and the device of the invention can effectively avoid unnecessary protection switching operations, thereby saving network resources and improving network performance.

Figure 200610126860

Description

In the ring-type Ethernet, realize the method and apparatus that protection is switched
Technical field
The present invention relates to the communications field, be specifically related in the ring-type Ethernet, realize the method and apparatus that protection is switched.
Background technology
Supporting multiple spot to connect is an exclusive characteristic of Ethernet, and the multiple spot connection can be supported on a large scale effectively, numerous communication traffic; And,, can use ring-type Ethernet structure with wrap protection for the reliability of communication in the multiple spot connection is provided.
Referring to Fig. 1, Fig. 1 is the ring-type Ethernet structure chart of prior art.For convenience, abbreviate ring-type Ethernet structure as looped network below.Among Fig. 1, as the unique host node in the looped network, S1 can block the secondary port of self at the user datagram literary composition when the proper communication of looped network energy, to avoid causing broadcast storm because of producing data loopback.Usually, the non-host node of other except that host node S1 all is called as transmission node in the looped network.
When breaking down in the looped network, S1 can trigger the corresponding protection switching operation immediately, and concrete protection is switched principle as shown in Figure 2.Among Fig. 2, when breaking down in detecting looped network, the secondary port that S1 can enter the ring malfunction immediately and open self at the user data message passes through to allow the user data message; And other nodes in S1 and the looped network refresh transmitting to carry out topology learning again of self respectively.Have, S1 can routinely send polling message by its master port in looped network again.In case ring network fault is eliminated, S1 then can receive the polling message that self sent by its secondary port.In this case, S1 returns to normal condition by the ring malfunction, and blocks its secondary port at the user data message again and pass through to forbid the user data message.
In fact, Fig. 1, looped network shown in Figure 2 all are hierarchical network architectures, and each layer network structure all has corresponding protection and switches ability in the looped network; And when the bottom-layer network structure in the looped network broke down and fail in time to repair, this fault can have influence on the operate as normal on upper strata and cause the protection switching operation on upper strata.Protection switching operation described in Fig. 2 is the protection switching operation that is in data link layer.
Obviously, owing to be the protection switching operation that carries out data link layer when in looped network, ring network fault occurring immediately at present; Therefore; even lower floor's network of relative data link layer can be eliminated fault by the protection switching operation of self; this lower floor's network configuration also can't obtain time enough and carry out the corresponding protection switching operation before data link layer be protected switching operation.This might cause lower floor's network configuration and data link layer all to carry out the protection switching operation.
At this moment the protection switching operation that carries out of data link layer is exactly unnecessary.
In addition, owing to carry out the recovery operation of malfunction to normal operating conditions immediately after ring network fault disappears in looped network, if therefore link is unstable or intermittent defective generation is arranged, data link layer will be carried out frequent protection switching operation so.
The above is an example with the data link layer just; In fact, all there is the problem of carrying out unnecessary or frequent protection switching operation in each the layer network structure in the looped network.Unnecessary or protect switching operation continually, can a large amount of waste Internet resources and cause the obvious reductions of network performance.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method that protection is switched that realizes in the ring-type Ethernet, effectively to avoid the unnecessary protection switching operation.
Another object of the present invention is to provide the another kind of method that protection is switched that in the ring-type Ethernet, realizes, effectively to avoid the unnecessary protection switching operation.
Another purpose of the present invention is to provide a kind of device that protection is switched of realizing in the ring-type Ethernet, effectively to avoid the unnecessary protection switching operation.
A further object of the present invention is to provide the another kind of device that protection is switched of realizing in the ring-type Ethernet, effectively to avoid the unnecessary protection switching operation.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention discloses a kind of method that protection is switched that realizes in the ring-type Ethernet, this method comprises:
When in the ring-type Ethernet, detecting ring network fault, start the delay timer that sets in advance; Overtime and when detecting ring network fault once more at delay timer, carry out the protection switching operation that switches to the ring malfunction by normal operating conditions.
The timing length of the described delay timer that sets in advance is to protect the operation duration of switching needs to be provided with according to requirement and lower floor's network configuration that current layer network structure is switched speed to protection.
Overtime but when not detecting ring network fault, further detect ring network fault, and when detecting ring network fault, restart delay timer at delay timer.
Described protection switching operation comprises:
Host node refreshes transmitting of self and opens the secondary port of self at the user data message, and also the transmission node in looped network sends and refreshes announcement control message.
This method further comprises:
When ring network fault is eliminated, start the recovery that sets in advance and wait for the WTR timer; After the recovery waiting timer is overtime, carry out the operation that is used to return to normal operating conditions.
When before the startup of recovery waiting timer is back, overtime, detecting ring network fault, further restart the recovery waiting timer.
Described ring network fault is that the following method of application is detected:
Host node in the ring-type Ethernet detects ring network fault by Link State alarming mechanism or polling mechanism.
The method that detects ring network fault by the Link State alarming mechanism is:
When receiving the warning message from transmission node, host node determines to have detected ring network fault.
The method that detects ring network fault by polling mechanism is:
In the time of still can't receiving the polling message that self once sent under the situation of the failed cycle timer expiry that sets in advance, host node determines to have detected ring network fault.
The timing length of the described recovery waiting timer that sets in advance is that to stablize the lasting duration of the intermittent defective of required duration and/or link according to the link-recovery in the ring-type Ethernet set.
The operation that described execution is used to return to normal operating conditions comprises:
Host node refreshes transmitting of self and blocks the secondary port of self again at the user data message, and also the transmission node in looped network sends and refreshes announcement control message.
The invention also discloses a kind of method that protection is switched that realizes in the ring-type Ethernet, this method comprises:
When eliminating, ring network fault starts the recovery waiting timer that sets in advance; After the recovery waiting timer is overtime, carry out the operation that is used to return to normal operating conditions.
When before the startup of recovery waiting timer is back, overtime, detecting ring network fault, further restart the recovery waiting timer.
Described ring network fault is that the following method of application is detected:
Host node in the ring-type Ethernet detects ring network fault by Link State alarming mechanism or polling mechanism.
The method that detects ring network fault by the Link State alarming mechanism is:
When receiving the warning message from transmission node, host node determines to have detected ring network fault.
The method that detects ring network fault by polling mechanism is:
In the time of still can't receiving the polling message that self once sent under the situation of the failed cycle timer expiry that sets in advance, host node determines to have detected ring network fault.
The timing length of the described recovery waiting timer that sets in advance is that to stablize the lasting duration of the intermittent defective of required duration and/or link according to the link-recovery in the ring-type Ethernet set.
The operation that described execution is used to return to normal operating conditions comprises:
Host node refreshes transmitting of self and blocks the secondary port of self again at the user data message, and also the transmission node in looped network sends and refreshes announcement control message.
The invention also discloses a kind of device that protection is switched of realizing in the ring-type Ethernet, this device comprises ring network fault decision unit and coupled respectively delay timer, protection switch unit;
Wherein, the ring network fault decision unit, the control delay timer starts when being used for detecting ring network fault in normal operation; Also when receiving the overtime notice of delay timer, carry out ring network fault once more and detect, and control protection switch unit carries out the protection switching operation that switched to the ring malfunction by normal operating conditions when detecting ring network fault;
Delay timer is used for starting according to the control of ring network fault decision unit, and notifies the ring network fault decision unit when overtime;
The protection switch unit is used for the control according to the ring network fault decision unit, carries out the protection switching operation that is switched to the ring malfunction by normal operating conditions.
Described ring network fault decision unit is used at delay timer overtimely but when not detecting ring network fault, further detect ring network fault, and the control delay timer restarts when detecting ring network fault.
Further be provided with the recovery waiting timer that links to each other with ring network fault decision unit, protection switch unit respectively in this device;
Wherein, the ring network fault decision unit is further used for when ring detects ring network fault under the malfunction and eliminated control and recovers waiting timer and start, and continue to detect link failure and when detecting link failure control recover waiting timer and restart;
Recover waiting timer, be used for starting, and notice is protected switch unit when overtime according to the control of ring network fault decision unit;
The protection switch unit is further used for carrying out the operation that is used to return to normal operating conditions according to the notice of recovering waiting timer.
The invention also discloses a kind of device that protection is switched of realizing in the ring-type Ethernet, this device comprises recovery waiting timer and coupled respectively ring network fault decision unit, protection switch unit;
Wherein, the ring network fault decision unit is used for when ring detects ring network fault under the malfunction and eliminated control and recovers waiting timer and start, and continue to detect link failure and when detecting link failure control recover waiting timer and restart;
Recover waiting timer, be used for starting, and notice is protected switch unit when overtime according to the control of ring network fault decision unit;
The protection switch unit is used for carrying out the operation that is used to return to normal operating conditions according to the notice of recovering waiting timer.
Compared with prior art, a kind of method that protection is switched that realizes in the ring-type Ethernet provided by the present invention starts the delay timer that sets in advance when detecting ring network fault in the ring-type Ethernet; Overtime and when detecting ring network fault once more at delay timer, carry out the protection switching operation that switches to the ring malfunction by normal operating conditions.
Another kind provided by the present invention is realized the method that protection is switched in the ring-type Ethernet, start the recovery waiting timer that sets in advance when ring network fault is eliminated; After the recovery waiting timer is overtime, carry out the operation that is used to return to normal operating conditions.
A kind of device that protection is switched of realizing in the ring-type Ethernet provided by the present invention guarantees to control when the ring network fault decision unit detects ring network fault in normal operation delay timer and starts; Also when receiving the overtime notice of delay timer, carry out ring network fault once more and detect, and control protection switch unit carries out the protection switching operation that switched to the ring malfunction by normal operating conditions when detecting ring network fault.
Another kind provided by the present invention is realized the device that protection is switched in the ring-type Ethernet, control recovers waiting timer and starts when guaranteeing that the ring network fault decision unit can detect ring network fault and eliminated under the ring malfunction, and continue to detect link failure and when detecting link failure control recover waiting timer and restart; Also when the recovery waiting timer is overtime, carry out the operation that is used to return to normal operating conditions by the protection switch unit.
As seen, the inventive method and device all can effectively be avoided the unnecessary protection switching operation, and then can save Internet resources and can improve network performance.
Description of drawings
Fig. 1 is the ring-type Ethernet structure chart of prior art;
Fig. 2 switches schematic diagram for the ring-type Ethernet protection of prior art;
Fig. 3 switches flow chart for the protection of a preferred embodiment of the present invention;
Fig. 4 switches flow chart for the protection of another preferred embodiment of the present invention;
The structure drawing of device that Fig. 5 switches for the realization protection of a preferred embodiment of the present invention.
Embodiment
Below in conjunction with drawings and the specific embodiments to the detailed description of the invention.
A kind of method that protection is switched that realizes in the ring-type Ethernet provided by the present invention starts the delay timer that sets in advance when detecting ring network fault in the ring-type Ethernet; Overtime and when detecting ring network fault once more at delay timer, carry out the protection switching operation that switches to the ring malfunction by normal operating conditions.
Another kind provided by the present invention is realized the method that protection is switched in the ring-type Ethernet, start the recovery waiting timer that sets in advance when ring network fault is eliminated; After the recovery waiting timer is overtime, carry out the operation that is used to return to normal operating conditions.
A kind of device of realizing that in the ring-type Ethernet protection is switched provided by the present invention comprises ring network fault decision unit and coupled respectively delay timer, protection switch unit; Wherein, the ring network fault decision unit, the control delay timer starts when being used for detecting ring network fault in normal operation; Also when receiving the overtime notice of delay timer, carry out ring network fault once more and detect, and control protection switch unit carries out the protection switching operation that switched to the ring malfunction by normal operating conditions when detecting ring network fault; Delay timer is used for starting according to the control of ring network fault decision unit, and notifies the ring network fault decision unit when overtime; The protection switch unit is used for the control according to the ring network fault decision unit, carries out the protection switching operation that is switched to the ring malfunction by normal operating conditions.
Another kind provided by the present invention realizes that in the ring-type Ethernet device that protection is switched comprises recovery waiting timer and coupled respectively ring network fault decision unit, protection switch unit; Wherein, the ring network fault decision unit is used for when ring detects ring network fault under the malfunction and eliminated control and recovers waiting timer and start, and continue to detect link failure and when detecting link failure control recover waiting timer and restart; Recover waiting timer, be used for starting, and notice is protected switch unit when overtime according to the control of ring network fault decision unit; The protection switch unit is used for carrying out the operation that is used to return to normal operating conditions according to the notice of recovering waiting timer.
Referring to Fig. 3, Fig. 3 switches flow chart for the protection of a preferred embodiment of the present invention, and this flow process may further comprise the steps:
Step 310: when being in normal operating conditions, host node is used the ring network fault in the prior art detection looped network; When detecting ring network fault, enterstep 320, when not detecting ring network fault, returnstep 310.
Described ring network fault is link failure and/or node failure; Particularly, host node can detect ring network fault by Link State alarming mechanism or polling mechanism.At the Link State alarming mechanism, the transmission node in the looped network can be used prior art and detect ring network fault and send warning message to host node; When receiving the warning message from transmission node, host node determines to have detected ring network fault.
At polling mechanism, host node can routinely send polling message by its master port in looped network.When looped network was working properly, host node can be received the polling message that is sent by self master port by the secondary port of self; And when link broke down, host node still can't be received described polling message when the failed cycle timer expiry that is provided with, and host node then determines to have detected ring network fault in this case.
Step 320: host node starts the delay timer that sets in advance.
Step 330: host node judges whether delay timer is overtime, if overtime, then entersstep 340; Otherwise, returnstep 330.
Step 340: host node detects the ring network fault in the looped network, and judges whether to detect ring network fault; When detecting ring network fault, enterstep 350, when not detecting ring network fault, returnstep 310.
Step 350: host node carries out by the protection switching operation of normal operating conditions to the switching of ring malfunction.
Particularly, described protection switching operation comprises: the secondary port that host node refreshes transmitting of self and opens self at the user data message passes through to allow the user data message, also the transmission node in looped network sends and refreshes announcement control message, refreshes with the notification transmission node and transmits; Have, host node also can routinely send polling message by its master port usually in looped network again.
After this, host node enters the ring malfunction.
The timing length of described delay timer can be switched the requirement of speed to protection and the setting of action required duration is switched in lower floor's protection according to this layer, and is just overtime with delay timer after the protection switching operation result who guarantees to obtain lower floor's network configuration as far as possible.Like this, if the protection switching operation of lower floor's network configuration is finished smoothly, and the current ring network fault that do not detect again just need not have been carried out the protection switching operation of current layer network structure again; If the protection switching operation of lower floor's network configuration fails to finish smoothly, perhaps current detection has gone out ring network fault, and that just carries out the protection switching operation of current layer network structure.
As seen, by delay timer is set, lower floor's network configuration has obtained being used to protect the time of switching operation, and this makes the upper layer network structure can not carry out the unnecessary protection switching operation because of the fault that lower floor's network configuration self can solve.Obviously, the unnecessary protection switching operation that is carried out in the present looped network has obtained effectively avoiding.
In the subsequent communications process, if the ring network fault in the looped network eliminate, but the operation shown in the node execution graph 4 in the looped network so.In fact, flow process among Fig. 4 and the flow process among Fig. 3 do not have necessary relation; In actual applications, the flow process in the execution graph 3 separately, the also flow process in the execution graph 4 separately.
Referring to Fig. 4, Fig. 4 switches flow chart for the protection of another preferred embodiment of the present invention, and this flow process may further comprise the steps:
Step 410: whether the ring network fault that host node is used in the prior art detection looped network is eliminated, entersstep 420 when definite ring network fault has been eliminated, returns step 410 when definite ring network fault is not eliminated as yet.
Particularly, host node can detect ring network fault by Link State alarming mechanism or polling mechanism, and determines ring network fault elimination as yet when detecting ring network fault; Determine that when not detecting ring network fault ring network fault eliminates.
Step 420: host node starts the recovery waiting timer that sets in advance.
Step 430: host node is used the ring network fault in the prior art detection looped network; When not detecting ring network fault, enterstep 440, when detecting ring network fault, returnstep 420.
Step 440: host node judges whether the recovery waiting timer is overtime, if overtime, then entersstep 450; Otherwise, returnstep 430.
Step 450: host node is carried out the operation that is used to return to normal operating conditions.
Particularly, the described operation that host node is carried out comprises: the secondary port that host node refreshes transmitting of self and blocks self at the user data message again passes through to forbid the user data message, also the transmission node in looped network sends and refreshes announcement control message, refreshes with the notification transmission node and transmits; Have, host node also can routinely send polling message by its master port usually in looped network again.
After this, host node enters normal operating conditions.
The timing length of described recovery waiting timer can be according to the practical application scene setting, as: the duration that may continue of stablizing the intermittent defective of required duration and/or link according to link-recovery is provided with the timing length that recovers waiting timer, and to guarantee to recover waiting timer when intermittent defective in the stable or link of link-recovery has not existed just overtime as far as possible.
As seen,, can guarantee that the protection switching operation in the looped network can frequently not carry out because of the intermittent defective in link instability or the link, and then avoid the present unnecessary protection switching operation that in looped network, carries out by the recovery waiting timer is set.
In order to guarantee that Fig. 3, flow process shown in Figure 4 can carry out smoothly, need in host node, carry out setting as shown in Figure 5.Referring to Fig. 5, the structure drawing of device that Fig. 5 switches for the realization protection of a preferred embodiment of the present invention.
Among Fig. 5, ring network fault decision unit 510, timing unit 520 and protection switch unit 530 link to each other in twos, are provided with delay timer 521 in the timing unit 520 and recover waiting timer 522.Particularly, ring network fault decision unit 510 links to each other with delay timer 521, protection switch unit 530 respectively, recovers waiting timer 522 and links to each other with ring network fault decision unit 510, protection switch unit 530 respectively.
In actual applications, when detecting ring network fault in normal operation, ring network fault decision unit 510 is with mode start delay timers 521 such as transmission level signals; 521 of delay timers are notified ring network fault decision unit 510 in modes such as transmission level signals when overtime; 510 of ring network fault decision units carry out ring network fault once more and detect; and when detecting ring network fault, notify protection switch unit 530 to send modes such as signal, carry out the protection switching operation that switches to the ring malfunction by normal operating conditions by protection switch unit 530.
Certainly, if when delay timer 521 is overtime, do not detect ring network fault, ring network fault decision unit 510 can also further detect ring network fault, and when detecting ring network fault, restarting delay timer 521 in modes such as transmission level signals, 521 bases of delay timer restart from the level signal of ring network fault decision unit 510.
Have again, when ring detects ring network fault under the malfunction and has eliminated, ring network fault decision unit 510 starts recovery waiting timer 522 in modes such as transmission level signals, and do not carry out ring network fault when overtime and detect recovering waiting timer 522, if detect ring network fault then restart and recover waiting timer 522; Otherwise just return to and when recovery waiting timer 522 is not overtime, carry out the state that ring network fault detects.
Recover waiting timer 522 and when overtime, notify protection switch unit 530, carry out the operation that is used to return to normal operating conditions by protection switch unit 530 to send modes such as signal.
By the above as can be seen, method and apparatus provided by the present invention all can effectively be avoided the unnecessary protection switching operation, and then can save Internet resources and can improve network performance.

Claims (22)

Translated fromChinese
1.一种在环状以太网中实现保护倒换的方法,其特征在于,该方法包括:1. A method for realizing protection switching in ring Ethernet, characterized in that the method comprises:当在环状以太网中检测到环网故障时启动预先设置的延迟定时器;在延迟定时器超时并且再次检测到环网故障时,进行由正常工作状态向环故障状态切换的保护倒换操作。When a ring network fault is detected in the ring Ethernet, a preset delay timer is started; when the delay timer expires and a ring network fault is detected again, a protection switching operation is performed from a normal working state to a ring fault state.2.如权利要求1所述的方法,其特征在于,预先设置的所述延迟定时器的定时时长,是根据当前层网络结构对保护倒换速度的要求和下层网络结构进行保护倒换需要的操作时长设置的。2. The method according to claim 1, wherein the preset timing duration of the delay timer is based on the requirements of the current layer network structure for the protection switching speed and the operation duration required for the protection switching of the lower layer network structure set.3.如权利要求1所述的方法,其特征在于,在延迟定时器超时但没有检测到环网故障时,进一步检测环网故障,并在检测到环网故障时重新启动延迟定时器。3. The method according to claim 1, characterized in that, when the delay timer expires but no ring network failure is detected, the ring network failure is further detected, and the delay timer is restarted when the ring network failure is detected.4.如权利要求1、2或3所述的方法,其特征在于,所述保护倒换操作包括:4. The method according to claim 1, 2 or 3, wherein the protection switching operation comprises:主节点刷新自身的转发表并且针对用户数据报文打开自身的副端口,还向环网中的传输节点发出刷新通告控制报文。The master node refreshes its own forwarding table and opens its own secondary port for the user data message, and also sends a refresh notification control message to the transmission nodes in the ring network.5.如权利要求1所述的方法,其特征在于,该方法进一步包括:5. The method of claim 1, further comprising:当环网故障消除时启动预先设置的恢复等待WTR定时器;在恢复等待定时器超时后,执行用于恢复到正常工作状态的操作。When the fault of the ring network is eliminated, the preset recovery waiting WTR timer is started; after the recovery waiting timer expires, the operation for returning to the normal working state is performed.6.如权利要求5所述的方法,其特征在于,在恢复等待定时器启动后、超时前检测到环网故障时,进一步重新启动恢复等待定时器。6. The method according to claim 5, characterized in that, when a failure of the ring network is detected after the recovery waiting timer is started and before it times out, the recovery waiting timer is further restarted.7.如权利要求1、2、3、5或6所述的方法,其特征在于,所述环网故障是应用以下方法检测到的:7. the method as claimed in claim 1,2,3,5 or 6 is characterized in that, described ring network fault is to apply following method to detect:环状以太网中的主节点通过链路状态告警机制或轮询机制检测环网故障。The master node in the ring Ethernet detects the failure of the ring network through the link state alarm mechanism or the polling mechanism.8.如权利要求7所述的方法,其特征在于,通过链路状态告警机制检测环网故障的方法为:8. The method according to claim 7, characterized in that, the method for detecting a ring network failure by a link state warning mechanism is:收到来自传输节点的告警报文时,主节点确定检测到了环网故障。When receiving the alarm message from the transit node, the master node determines that a ring network fault has been detected.9.如权利要求7所述的方法,其特征在于,通过轮询机制检测环网故障的方法为:9. The method according to claim 7, characterized in that, the method for detecting a ring network fault by a polling mechanism is:在预先设置的失败周期定时器超时的情况下仍无法收到自身曾发送的轮询报文时,主节点确定检测到了环网故障。When the preset failure period timer expires and still cannot receive the polling message sent by itself, the master node determines that a ring network failure has been detected.10.如权利要求5所述的方法,其特征在于,预先设置的所述恢复等待定时器的定时时长,是根据环状以太网中的链路恢复稳定所需时长和/或链路间歇性缺陷的持续时长所设置的。10. The method according to claim 5, characterized in that, the pre-set timing length of the recovery waiting timer is based on the required length of time for the recovery of the link in the ring Ethernet and/or the intermittent link. The duration of the defect is set.11.如权利要求5所述的方法,其特征在于,所述执行用于恢复到正常工作状态的操作包括:11. The method according to claim 5, wherein the performing the operation for returning to a normal working state comprises:主节点刷新自身的转发表并且重新针对用户数据报文阻塞自身的副端口,还向环网中的传输节点发出刷新通告控制报文。The master node refreshes its own forwarding table and blocks its own secondary port for the user data message again, and also sends a refresh notification control message to the transit nodes in the ring network.12.一种在环状以太网中实现保护倒换的方法,其特征在于,该方法包括:12. A method for realizing protection switching in ring Ethernet, characterized in that the method comprises:当环网故障消除时启动预先设置的恢复等待定时器;在恢复等待定时器超时后,执行用于恢复到正常工作状态的操作。When the fault of the ring network is eliminated, a preset recovery waiting timer is started; after the recovery waiting timer expires, an operation for recovering to a normal working state is performed.13.如权利要求12所述的方法,其特征在于,在恢复等待定时器启动后、超时前检测到环网故障时,进一步重新启动恢复等待定时器。13. The method according to claim 12, characterized in that, when a failure of the ring network is detected after the recovery waiting timer is started and before it expires, the recovery waiting timer is further restarted.14.如权利要求12或13所述的方法,其特征在于,所述环网故障是应用以下方法检测到的:14. The method according to claim 12 or 13, wherein the ring network fault is detected by applying the following method:环状以太网中的主节点通过链路状态告警机制或轮询机制检测环网故障。The master node in the ring Ethernet detects the failure of the ring network through the link state alarm mechanism or the polling mechanism.15.如权利要求14所述的方法,其特征在于,通过链路状态告警机制检测环网故障的方法为:15. The method according to claim 14, characterized in that, the method for detecting a ring network failure by a link state alarm mechanism is:收到来自传输节点的告警报文时,主节点确定检测到了环网故障。When receiving the alarm message from the transit node, the master node determines that a ring network fault has been detected.16.如权利要求14所述的方法,其特征在于,通过轮询机制检测环网故障的方法为:16. The method according to claim 14, characterized in that, the method for detecting a ring network fault by a polling mechanism is:在预先设置的失败周期定时器超时的情况下仍无法收到自身曾发送的轮询报文时,主节点确定检测到了环网故障。When the preset failure period timer expires and still cannot receive the polling message sent by itself, the master node determines that a ring network failure has been detected.17.如权利要求12所述的方法,其特征在于,预先设置的所述恢复等待定时器的定时时长,是根据环状以太网中的链路恢复稳定所需时长和/或链路间歇性缺陷的持续时长所设置的。17. The method according to claim 12, characterized in that, the pre-set timing length of the recovery waiting timer is based on the required length of time for the recovery and stability of the link in the ring Ethernet and/or the intermittency of the link. The duration of the defect is set.18.如权利要求12所述的方法,其特征在于,所述执行用于恢复到正常工作状态的操作包括:18. The method according to claim 12, wherein the performing the operation for returning to a normal working state comprises:主节点刷新自身的转发表并且重新针对用户数据报文阻塞自身的副端口,还向环网中的传输节点发出刷新通告控制报文。The master node refreshes its own forwarding table and blocks its own secondary port for the user data message again, and also sends a refresh notification control message to the transit nodes in the ring network.19.一种在环状以太网中实现保护倒换的装置,其特征在于,该装置包括环网故障判决单元以及分别与其相连的延迟定时器、保护倒换单元;19. A device for realizing protection switching in a ring Ethernet, characterized in that the device includes a ring network failure judgment unit and a delay timer and a protection switching unit connected to it respectively;其中,环网故障判决单元,用于在正常工作状态下检测到环网故障时控制延迟定时器启动;还在收到延迟定时器超时的通知时再次进行环网故障检测,并在检测到环网故障时控制保护倒换单元进行由正常工作状态向环故障状态切换的保护倒换操作;Among them, the ring network failure judgment unit is used to control the start of the delay timer when a ring network failure is detected in the normal working state; it also performs ring network failure detection again when receiving a notification that the delay timer is overtime, and detects the ring network failure. When the network fails, the protection switching unit is controlled to perform the protection switching operation from the normal working state to the ring fault state;延迟定时器,用于根据环网故障判决单元的控制启动,并在超时时通知环网故障判决单元;The delay timer is used to start according to the control of the ring network fault judgment unit, and notify the ring network fault judgment unit when it times out;保护倒换单元,用于根据环网故障判决单元的控制,进行由正常工作状态向环故障状态切换的保护倒换操作。The protection switching unit is used to perform the protection switching operation of switching from the normal working state to the ring fault state according to the control of the ring network fault judging unit.20.如权利要求19所述的装置,其特征在于,所述环网故障判决单元,用于在延迟定时器超时但没有检测到环网故障时,进一步检测环网故障,并在检测到环网故障时控制延迟定时器重新启动。20. The device according to claim 19, wherein the ring network failure judging unit is configured to further detect a ring network failure when the delay timer expires but no ring network failure is detected, and when a ring network failure is detected, The control delay timer restarts when the network fails.21.如权利要求19或20所述的装置,其特征在于,该装置中进一步设置有分别与环网故障判决单元、保护倒换单元相连的恢复等待定时器;21. The device according to claim 19 or 20, wherein the device is further provided with a recovery waiting timer connected to the ring network failure judgment unit and the protection switching unit respectively;其中,环网故障判决单元,进一步用于在环故障状态下检测到环网故障已消除时控制恢复等待定时器启动,而且继续检测链路故障并在检测到链路故障时控制恢复等待定时器重新启动;Wherein, the ring network failure judging unit is further used to control the start of the recovery waiting timer when detecting that the ring network failure has been eliminated in the ring failure state, and continue to detect the link failure and control the recovery waiting timer when the link failure is detected Restart;恢复等待定时器,用于根据环网故障判决单元的控制启动,并在超时时通知保护倒换单元;The recovery waiting timer is used to start according to the control of the ring network fault judgment unit, and notify the protection switching unit when it times out;保护倒换单元,进一步用于根据恢复等待定时器的通知,执行用于恢复到正常工作状态的操作。The protection switching unit is further configured to perform an operation for returning to a normal working state according to the notification of the recovery waiting timer.22.一种在环状以太网中实现保护倒换的装置,其特征在于,该装置包括恢复等待定时器以及分别与其相连的环网故障判决单元、保护倒换单元;22. A device for realizing protection switching in a ring Ethernet, characterized in that the device includes a recovery waiting timer and a ring network failure judgment unit and a protection switching unit respectively connected thereto;其中,环网故障判决单元,用于在环故障状态下检测到环网故障已消除时控制恢复等待定时器启动,而且继续检测链路故障并在检测到链路故障时控制恢复等待定时器重新启动;Wherein, the ring network failure judging unit is used for detecting that the ring network failure has been eliminated in the ring failure state, and the control recovery waiting timer starts, and continues to detect the link failure and controls the recovery waiting timer to restart when the link failure is detected. start up;恢复等待定时器,用于根据环网故障判决单元的控制启动,并在超时时通知保护倒换单元;The recovery waiting timer is used to start according to the control of the ring network fault judgment unit, and notify the protection switching unit when it times out;保护倒换单元,用于根据恢复等待定时器的通知,执行用于恢复到正常工作状态的操作。The protection switching unit is configured to perform an operation for restoring to a normal working state according to the notification of the restoration waiting timer.
CNA2006101268605A2006-09-072006-09-07 Method and device for realizing protection switching in ring EthernetPendingCN101141364A (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CNA2006101268605ACN101141364A (en)2006-09-072006-09-07 Method and device for realizing protection switching in ring Ethernet
PCT/CN2007/070512WO2008031347A1 (en)2006-09-072007-08-17Method and apparatus for realizing protection switching in the ring ethernet

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CNA2006101268605ACN101141364A (en)2006-09-072006-09-07 Method and device for realizing protection switching in ring Ethernet

Publications (1)

Publication NumberPublication Date
CN101141364Atrue CN101141364A (en)2008-03-12

Family

ID=39183390

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CNA2006101268605APendingCN101141364A (en)2006-09-072006-09-07 Method and device for realizing protection switching in ring Ethernet

Country Status (2)

CountryLink
CN (1)CN101141364A (en)
WO (1)WO2008031347A1 (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101877646A (en)*2009-04-282010-11-03华为技术有限公司 A protection switching method and node equipment
WO2011015048A1 (en)*2009-08-062011-02-10华为技术有限公司Release processing method for connection resources and apparatus thereof
CN101997723A (en)*2010-11-182011-03-30中兴通讯股份有限公司Service switching method and device
CN101998186A (en)*2009-08-132011-03-30中兴通讯股份有限公司Network protection method and device
CN102035710A (en)*2009-09-242011-04-27中兴通讯股份有限公司Method and system for updating blocked port information
CN102281168A (en)*2011-05-102011-12-14中兴通讯股份有限公司Link fault processing method and device based on OAM (Operation Administration and Maintenance) alarm detection
CN102355408A (en)*2011-08-162012-02-15杭州华三通信技术有限公司Method and device for controlling linkage state change of communication device
CN101662329B (en)*2008-08-292013-08-28华为技术有限公司Switching method, network nodes and network system
CN103684648A (en)*2012-09-212014-03-26中兴通讯股份有限公司Ring network node clock effectiveness judgment method and device
WO2015032203A1 (en)*2013-09-062015-03-12华为技术有限公司Network element and method for ring network protection
WO2015168892A1 (en)*2014-05-082015-11-12华为技术有限公司Protection switching method, node and control device
CN106357832A (en)*2016-08-242017-01-25浙江宇视科技有限公司Method and device for address entry update mechanism of ring network
CN107800601A (en)*2016-09-062018-03-13南京中兴软件有限责任公司Guard method that looped network is switched, apparatus and system
CN108965060A (en)*2018-07-272018-12-07新华三技术有限公司合肥分公司Pretection switch method and device
CN111918316A (en)*2019-05-102020-11-10大唐移动通信设备有限公司Base station maintenance method and base station maintenance device
WO2023273088A1 (en)*2021-06-302023-01-05中兴通讯股份有限公司Control method for ring node, and network device and storage medium
CN116647424A (en)*2023-06-262023-08-25浙江源创智控技术有限公司 A method for automatic fault recovery of single-ring network CAN bus system

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101640622B (en)*2009-09-072012-05-23中兴通讯股份有限公司Ethernet ring net protection method and transit node
CN113645312B (en)*2021-08-252023-07-18烽火通信科技股份有限公司Sub-ring network link protection method and device based on ERPS protocol
CN115189986B (en)*2022-05-312024-02-27武汉迈威通信股份有限公司Ring network redundancy backup method and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US6018576A (en)*1996-12-312000-01-25Mci Communications CorporationMethod and apparatus for automated node-based normalization after network restoration
JP3339459B2 (en)*1999-04-262002-10-28日本電気株式会社 Network management system and network management method
US7835265B2 (en)*2002-10-312010-11-16Conexant Systems, Inc.High availability Ethernet backplane architecture
US7260066B2 (en)*2002-10-312007-08-21Conexant Systems, Inc.Apparatus for link failure detection on high availability Ethernet backplane
CN100369436C (en)*2005-12-162008-02-13杭州华三通信技术有限公司Looped network and its protecting method

Cited By (27)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101662329B (en)*2008-08-292013-08-28华为技术有限公司Switching method, network nodes and network system
CN101877646A (en)*2009-04-282010-11-03华为技术有限公司 A protection switching method and node equipment
CN101877646B (en)*2009-04-282013-03-20华为技术有限公司Protection switching method and node equipment
WO2011015048A1 (en)*2009-08-062011-02-10华为技术有限公司Release processing method for connection resources and apparatus thereof
US8737970B2 (en)2009-08-062014-05-27Huawei Technologies Co., Ltd.Method and apparatus for processing release of connection resources
CN101998186A (en)*2009-08-132011-03-30中兴通讯股份有限公司Network protection method and device
CN102035710B (en)*2009-09-242014-04-09中兴通讯股份有限公司Method and system for updating blocked port information
CN102035710A (en)*2009-09-242011-04-27中兴通讯股份有限公司Method and system for updating blocked port information
CN101997723A (en)*2010-11-182011-03-30中兴通讯股份有限公司Service switching method and device
CN102281168A (en)*2011-05-102011-12-14中兴通讯股份有限公司Link fault processing method and device based on OAM (Operation Administration and Maintenance) alarm detection
CN102355408A (en)*2011-08-162012-02-15杭州华三通信技术有限公司Method and device for controlling linkage state change of communication device
CN103684648A (en)*2012-09-212014-03-26中兴通讯股份有限公司Ring network node clock effectiveness judgment method and device
CN103684648B (en)*2012-09-212018-02-16中兴通讯股份有限公司A kind of ring network node clock effectiveness judgment method and device
WO2015032203A1 (en)*2013-09-062015-03-12华为技术有限公司Network element and method for ring network protection
CN104426700A (en)*2013-09-062015-03-18华为技术有限公司Network element and ring network protection method
CN104426700B (en)*2013-09-062018-05-18华为技术有限公司The method of network element and looped network protection
CN105264799B (en)*2014-05-082018-11-16华为技术有限公司 Method, node and control device for protection switching
CN105264799A (en)*2014-05-082016-01-20华为技术有限公司Protection switching method, node and control device
WO2015168892A1 (en)*2014-05-082015-11-12华为技术有限公司Protection switching method, node and control device
CN106357832A (en)*2016-08-242017-01-25浙江宇视科技有限公司Method and device for address entry update mechanism of ring network
CN107800601A (en)*2016-09-062018-03-13南京中兴软件有限责任公司Guard method that looped network is switched, apparatus and system
CN108965060A (en)*2018-07-272018-12-07新华三技术有限公司合肥分公司Pretection switch method and device
CN108965060B (en)*2018-07-272021-01-26新华三技术有限公司合肥分公司Protection switching method and device
CN111918316A (en)*2019-05-102020-11-10大唐移动通信设备有限公司Base station maintenance method and base station maintenance device
CN111918316B (en)*2019-05-102022-05-03大唐移动通信设备有限公司Base station maintenance method and base station maintenance device
WO2023273088A1 (en)*2021-06-302023-01-05中兴通讯股份有限公司Control method for ring node, and network device and storage medium
CN116647424A (en)*2023-06-262023-08-25浙江源创智控技术有限公司 A method for automatic fault recovery of single-ring network CAN bus system

Also Published As

Publication numberPublication date
WO2008031347A1 (en)2008-03-20

Similar Documents

PublicationPublication DateTitle
CN101141364A (en) Method and device for realizing protection switching in ring Ethernet
CN100558057C (en) A processing method and device for a bidirectional forwarding detection session
CN100571180C (en) Method and device for ensuring reliable operation of Ethernet ring network when transmission node fails
CN100558055C (en) Method and router for reducing duration of error graceful restart state
CN101197651B (en)Method, equipment, master control board and interface plate of communication between plates
WO2009082923A1 (en)Link fault processing method and data forwarding device
WO2009023996A1 (en)Method for implementing network interconnect via link aggregation
CN101373990B (en)Method and apparatus for link backup
WO2011015068A1 (en)Failure detection method and system
CN101984600A (en)Graceful restart method, equipment and system of routing protocol
WO2012065435A1 (en)Path switch-back method and apparatus in transport network
CN101626314A (en)Backup method and backup system of central node of star topology network
US9013977B2 (en)Method and system for reducing traffic disturbance in a communication network caused by intermittent failure
CN101141366A (en) A Method to Avoid Data Loops in Ring Ethernet
CN101436975B (en) A method, device and system for realizing rapid convergence in a ring network
WO2012000243A1 (en)Protection switching method for ethernet automatic protection switching (eaps) ring network and master node in eaps ring network
CN101662329B (en)Switching method, network nodes and network system
WO2014075596A1 (en)Method and system for performing dual-homing automatic switching decision according to the number of registered gateways
CN101179448A (en) Detection method and router for entering graceful restart state by mistake
JP2008288716A (en)Digital electronic apparatus
CN101094049A (en)Smoothing restarting method and neighbor devices
CN101594288B (en) Querier election method, router and network system
CN102571500B (en)A kind of method and apparatus that MPLS TP detections are carried out on dynamic route
JP3493035B2 (en) Dynamic path switching method
CN103532748A (en)DRBD (distributed replicated block device) fissure processing method and device

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C02Deemed withdrawal of patent application after publication (patent law 2001)
WD01Invention patent application deemed withdrawn after publication

Open date:20080312


[8]ページ先頭

©2009-2025 Movatter.jp