[go: up one dir, main page]

CN101039172B - Ethernet ring network system and its protection method and standby host node - Google Patents

Ethernet ring network system and its protection method and standby host node Download PDF

Info

Publication number
CN101039172B
CN101039172B CN2007101037022A CN200710103702A CN101039172B CN 101039172 B CN101039172 B CN 101039172B CN 2007101037022 A CN2007101037022 A CN 2007101037022A CN 200710103702 A CN200710103702 A CN 200710103702A CN 101039172 B CN101039172 B CN 101039172B
Authority
CN
China
Prior art keywords
master node
ring network
standby
ethernet ring
host node
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.)
Expired - Fee Related
Application number
CN2007101037022A
Other languages
Chinese (zh)
Other versions
CN101039172A (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.)
Guangdong Gaohang Intellectual Property Operation Co ltd
Jiangsu Normal University
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 Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2007101037022A priority Critical patent/CN101039172B/en
Publication of CN101039172A publication Critical patent/CN101039172A/en
Application granted granted Critical
Publication of CN101039172B publication Critical patent/CN101039172B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention provides an ethernet ring network protection method, comprises steps as follow: in the ethernet ring network, standby host node detects the health state of the host node; when the failure of the host node is detected by the standby host node, the ethernet ring network is switched to main-using status to replace the work of the host node. The invention also provides an ethernet ring network system and the standby host node thereof. The invention solves the problem that when the host node is invalid, the MAC address and ARP address can not be refreshed and the service forwarding can not be realized.

Description

Ethernet ring network system and guard method thereof and standby host node
Technical field
The present invention relates to the communications field, more specifically, relate to a kind of Ethernet ring network system and guard method thereof and standby host node.
Background technology
RRPP (Rapid Ring Protection Protocol; rapid ring protection protocol) provides a kind of ethernet ring network; Fig. 1 shows the schematic diagram of RRPP (Rapid RingProtection Protocol, the rapid ring protection protocol) single ring architecture according to prior art.As shown in Figure 1, in the RRPP agreement, a RRPP monocycle mainly comprises two kinds of roles: host node and transmission node.
This agreement mainly relies on the major-minor port of configuration ring network host node, the major-minor port of transmission node, realize the broadcasting inhibit feature by the secondary port that blocks host node, the master port by host node sends the health status that Hello (shaking hands) message detects network to the secondary port of host node simultaneously.
The health status that Fig. 2 shows RRPP monocycle shown in Figure 1 detects schematic diagram.As shown in Figure 2, when host node receives that Link-down (link failure) message of transmission node or secondary port can not receive hello packet within a certain period of time, host node is judged the loop network link fault, the secondary port of obstruction will be opened, use COMMON-FLUSH-FDB (the public forwarding database that refreshes) message to refresh looped network MAC (Media Access Control simultaneously, Media Access Controlled) and ARP (Address Resolution Protocol, address resolution protocol) list item is to guarantee professional the forwarding.
Yet, when RRPP ring host node broke down (as restart, unusually), RRPP ring lost host node, caused RRPP ring to lose efficacy, RRPP ring can't refresh looped network MAC and ARP list item by the COMMON-FLUSH-FDB message simultaneously, causes two, three layer service flows obstructed.Need wait until MAC, professional could the recovery in the aging back of ARP list item.
Summary of the invention
The embodiment of the invention aims to provide a kind of Ethernet ring network system and guard method thereof, to solve when host node lost efficacy, can't refresh looped network MAC and ARP list item, the obstructed problem of professional forwarding.
One embodiment of the present of invention provide a kind of Ethernet ring protection method, may further comprise the steps: the standby host node in the ethernet ring network detects the health status of the host node in the ethernet ring network; Standby host node is when detecting the host node inefficacy, and then standby host node switches to the master with behind the state, sends public MAC and the ARP list item that the forwarding database message refreshes ethernet ring network that refresh.
Another embodiment of the present invention provides a kind of Ethernet ring network system, it comprises host node, also comprise: standby host node, be used to detect the health status of host node, when detecting the host node inefficacy, then switch to the master with behind the state, send public MAC and the ARP list item that the forwarding database message refreshes ethernet ring network that refresh.
Another embodiment of the present invention provides a kind of standby host node that is used for ethernet ring network, comprising: detection module is used for detecting the health status of described ethernet ring network host node; Handover module is used for switching to the master with behind the state when described detection module detects the host node inefficacy, sends public MAC and the ARP list item that the forwarding database message refreshes ethernet ring network that refresh.
The above embodiment of the present invention so solved when host node lost efficacy, can't refresh looped network MAC and ARP list item owing to when host node lost efficacy, provide standby host node to come replacement work, the obstructed problem of professional forwarding.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 shows the schematic diagram according to the RRPP single ring architecture of prior art;
The health status that Fig. 2 shows RRPP monocycle shown in Figure 1 detects schematic diagram;
Fig. 3 shows according to the RRPP monocycle state-detection of the embodiment of the invention and the concrete schematic diagram of using;
Fig. 4 shows the schematic diagram that switches to standby host node according to the RRPP monocycle of the embodiment of the invention;
Fig. 5 shows according to the RRPP monocycle state-detection of the embodiment of the invention and the concrete schematic diagram of using.
Embodiment
Below with reference to the accompanying drawings and in conjunction with the embodiments, describe the present invention in detail.In following illustrating, enumerated the example of RRPP single loop system, but obviously the present invention is not limited thereto.Technical scheme in following examples of the present invention there is no particular requirement for the structure of ethernet ring network, so can promote the use of in other ethernet ring network structures.
The guard method that is used for the RRPP monocycle according to the embodiment of the invention proposes; in the rapid ring protection protocol single loop system, standby host node is set; be used for when the host node of rapid ring protection protocol single loop system lost efficacy, then switching to the main state of using, replace host node to carry out work.
The above embodiments increase the standby host node role on the net based on RRPP ring, lost efficacy when being in main host node (hereinafter referred to as main) with host node or host node with state, standby host node is responsible for sending the COMMON-FLUSH-FDB message and is refreshed looped network MAC and ARP list item, to guarantee professional the forwarding normally.
According to one embodiment of present invention, concrete implementation method is as follows:
At first based on former protocols having of RRPP and prior art, registration configuration node equipment is standby host node.
Judge whether to receive that by standby host node main BACKUP (backup) message that sends with host node detects the host node health status then.Specifically, the building method of backup message is as follows:
In message, comprise target MAC (Media Access Control) address (DestinationMAC Address) field and RRPP type (RRPP TYPE) field based on the RRPP agreement.Stipulate that in the present embodiment the value of Destination MAC Address field is set to the MAC Address of RRPP Hello (shaking hands) message, RRPP TYPE field value is set to 0D, and the message that obtains thus is BACKUP (backup) message.
Fig. 3 shows according to the state-detection of the embodiment of the invention and the concrete schematic diagram of using.As shown in Figure 3, host node major-minor port sends the BACKUP message simultaneously in the RRPP domain, and destination address is a standby host node, and standby host node is by judging whether to receive the BACKUP message is determined main whether normal with host node, if can receive the BACKUP message, think that then the host node state is normal; At this moment standby host node uses as transmission node.Service traffics are normally transmitted.
Fig. 4 shows the schematic diagram that switches to standby host node according to the RRPP monocycle of the embodiment of the invention, as shown in Figure 4, when (can being provided with the timer field and stipulating this scheduled time) at the fixed time in the backup message in, standby host node do not receive the main BACKUP message that sends with host node, then thinking main lost efficacy with host node, at this moment standby host node switches to the main state of using, and send the COMMON-FLUSH-FDB message and refresh looped network MAC and ARP list item, service traffics are switched to new link and transmit simultaneously.
Wherein, use state, can not send the BACKUP message though standby host node switches to the master.
Fig. 5 shows according to the RRPP monocycle state-detection of the embodiment of the invention and the concrete schematic diagram of using, as shown in Figure 5, after the master recovered with host node, standby host node received the main BACKUP message that sends with host node, oneself state is returned switch to stand-by state.In this process, do not refresh MAC, the ARP list item of looped network, can the service switchover flow.
The realization of this method is when the master was lost efficacy with host node, refreshes the equipment in the RRPP domain, need use other agreement to safeguard for overseas equipment.For example: as Fig. 5: if Switch B breaks down, flow by Switch A process Switch B can switch to Switch C, at this moment RRPP can refresh MAC, the ARP list item of Switch B and Switch C, but can't refresh MAC, the ARP list item of Switch A, so need on the link at SwitchA, Switch B and these three equipment places of Switch C, use other agreements to safeguard (as: STP, VRRP etc.).
According to the guard method among the above embodiment, the embodiment of the invention provides a kind of ethernet ring network, and it comprises host node; also comprise: standby host node is used to detect the health status of host node, when detecting host node and lost efficacy; then switch to the main state of using, replace host node to carry out work.
Standby host node can detect the health status of host node by judging whether to receive backup message that host node sends.Optionally, standby host node at host node just often then is in stand-by state, as transmission node.
Ethernet ring network can be the RRPP single loop system.
In addition, the embodiment of the invention also provides a kind of standby host node that is used for ethernet ring network.Described standby host node comprises: detection module is used for detecting the health status of described ethernet ring network host node; And handover module, be used for when described detection module detects the host node inefficacy, switching to the master and using state, make described standby host node replace host node to carry out work.
As can be seen from the above description, the above embodiment of the present invention so solved when host node lost efficacy, can't refresh looped network MAC and ARP list item owing to when host node lost efficacy, provide standby host node to come replacement work, the obstructed problem of professional forwarding.The above embodiment of the present invention not only implementation method is simple, practical, and has significantly improved the business protection capacity when the RRPP ring net goes wrong.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1.一种以太环网保护方法,其特征在于,包括以下步骤:1. A method for protecting an Ethernet ring network, comprising the following steps: 以太环网中的备用主节点检测所述以太环网中的主节点的健康状态;The standby master node in the Ethernet ring network detects the health status of the master node in the Ethernet ring network; 所述备用主节点当检测到所述主节点失效时,则所述备用主节点切换到主用状态后,发送公用刷新转发数据库报文刷新所述以太环网的MAC及ARP表项,其中,When the standby master node detects that the master node fails, after the standby master node switches to the active state, it sends a public refresh forwarding database message to refresh the MAC and ARP entries of the Ethernet ring network, wherein, 所述备用主节点在切换到主用状态后,不发送备份报文,当接收到所述主节点的备份报文时,则认为所述主节点恢复正常,并重新切换到备用状态;After the standby master node is switched to the active state, it does not send a backup message, and when receiving the backup message from the master node, it considers that the master node is back to normal, and switches to the standby state again; 所述备用主节点通过判断是否收到所述主节点发出的备份报文来检测所述主节点的健康状态。The standby master node detects the health status of the master node by judging whether it receives the backup message sent by the master node. 2.根据权利要求1所述的以太环网保护方法,其特征在于,所述备用主节点通过判断是否收到所述主节点发出的备份报文来检测所述主节点的健康状态具体包括:2. The Ethernet ring network protection method according to claim 1, wherein the standby master node detects the health status of the master node by judging whether it receives the backup message sent by the master node: 所述主节点主副端口同时向所述备用主节点发送所述备份报文,所述备用主节点如果能够收到所述备份报文,则认为所述主节点状态正常;如果在预定时间内没有收到所述备份报文,则认为所述主节点失效。The primary and secondary ports of the master node send the backup message to the standby master node at the same time, and if the backup master node can receive the backup message, it considers that the state of the master node is normal; if within a predetermined time If the backup message is not received, it is considered that the master node fails. 3.根据权利要求1所述的以太环网保护方法,其特征在于,还包括:所述备用主节点在所述主节点状态正常时保持备用状态。3. The method for protecting an Ethernet ring network according to claim 1, further comprising: the standby master node maintains a standby state when the state of the master node is normal. 4.根据以上任一项权利要求所述的以太环网保护方法,其特征在于,所述以太环网为快速环网保护协议单环系统。4. The Ethernet ring network protection method according to any one of the preceding claims, wherein the Ethernet ring network is a fast ring network protection protocol single-ring system. 5.根据权利要求3所述的以太环网保护方法,其特征在于,设置所述备份报文包括目的媒体访问控制地址字段和快速环网保护协议类型字段,其中,所述媒体访问控制地址字段的值设置为快速环网保护协议握手报文的媒体访问控制地址,所述快速环网保护协议类型字段的值设置为0D。5. The Ethernet ring network protection method according to claim 3, wherein the backup message is set to include a destination media access control address field and a fast ring network protection protocol type field, wherein the media access control address field The value of is set to the media access control address of the fast ring network protection protocol handshake message, and the value of the fast ring network protection protocol type field is set to 0D. 6.一种以太环网系统,其包括主节点,其特征在于,还包括:6. A kind of Ethernet ring network system, it comprises master node, is characterized in that, also comprises: 备用主节点,用于检测所述主节点的健康状态,当检测到所述主节点失效时,则切换到主用状态后,发送公用刷新转发数据库报文刷新所述以太环网的MAC及ARP表项,其中,所述备用主节点在切换到主用状态后,不发送备份报文,当接收到所述主节点的备份报文时,则认为所述主节点恢复正常,并重新切换到备用状态,所述备用主节点通过判断是否收到所述主节点发出的备份报文来检测所述主节点的健康状态。The standby master node is used to detect the health status of the master node. When the failure of the master node is detected, it switches to the master state and sends a public refresh forwarding database message to refresh the MAC and ARP of the Ethernet ring network. table entry, wherein the standby master node does not send a backup message after switching to the active state, and when receiving the backup message of the master node, it is considered that the master node returns to normal and switches to Standby state, the standby master node detects the health status of the master node by judging whether it has received the backup message sent by the master node. 7.根据权利要求6所述的以太环网系统,其特征在于,所述备用主节点通过判断是否收到所述主节点发出的备份报文来检测所述主节点的健康状态。7. The Ethernet ring network system according to claim 6, wherein the standby master node detects the health status of the master node by judging whether it receives the backup message sent by the master node. 8.根据权利要求6所述的以太环网系统,其特征在于,所述备用主节点在所述主节点正常时,则处于备用状态。8. The Ethernet ring network system according to claim 6, wherein the standby master node is in a standby state when the master node is normal. 9.根据权利要求6至8中任一项所述的以太环网系统,其特征在于,所述以太环网系统为快速环网保护协议单环系统。9. The Ethernet ring network system according to any one of claims 6 to 8, wherein the Ethernet ring network system is a fast ring network protection protocol single-ring system. 10.一种用于以太环网的备用主节点,其特征在于,包括:10. A standby master node for an Ethernet ring network, characterized in that it comprises: 检测模块,用于检测所述以太环网中主节点的健康状态;A detection module, configured to detect the health status of the master node in the Ethernet ring network; 切换模块,用于当所述检测模块检测到所述主节点失效时,切换到主用状态后,发送公用刷新转发数据库报文刷新所述以太环网的MAC及ARP表项,其中,The switch module is used to send a public refresh and forward database message to refresh the MAC and ARP entries of the Ethernet ring network after switching to the active state when the detection module detects that the master node fails, wherein, 所述备用主节点在切换到主用状态后,不发送备份报文,当接收到所述主节点的备份报文时,则认为所述主节点恢复正常,并重新切换到备用状态;After the standby master node is switched to the active state, it does not send a backup message, and when receiving the backup message from the master node, it considers that the master node is back to normal, and switches to the standby state again; 所述备用主节点通过判断是否收到所述主节点发出的备份报文来检测所述主节点的健康状态。The standby master node detects the health status of the master node by judging whether it receives the backup message sent by the master node.
CN2007101037022A 2007-05-15 2007-05-15 Ethernet ring network system and its protection method and standby host node Expired - Fee Related CN101039172B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101037022A CN101039172B (en) 2007-05-15 2007-05-15 Ethernet ring network system and its protection method and standby host node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101037022A CN101039172B (en) 2007-05-15 2007-05-15 Ethernet ring network system and its protection method and standby host node

Publications (2)

Publication Number Publication Date
CN101039172A CN101039172A (en) 2007-09-19
CN101039172B true CN101039172B (en) 2011-01-05

Family

ID=38889836

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101037022A Expired - Fee Related CN101039172B (en) 2007-05-15 2007-05-15 Ethernet ring network system and its protection method and standby host node

Country Status (1)

Country Link
CN (1) CN101039172B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101471898B (en) * 2007-12-28 2011-12-28 华为技术有限公司 Protection method, system and virtual access edge node for access network
CN101494580B (en) * 2009-03-13 2011-09-07 迈普通信技术股份有限公司 Method for reinforcing EAPS looped network reliability
CN101902382B (en) * 2009-06-01 2015-01-28 中兴通讯股份有限公司 Ethernet single ring network address refreshing method and system
CN104113481A (en) * 2014-07-04 2014-10-22 北京华为数字技术有限公司 MAC address list refreshing method and device based on control port switching event
CN106330475B (en) * 2015-06-15 2020-12-04 中兴通讯股份有限公司 A method and device for managing active and standby nodes in a communication system and a high-availability cluster
CN105897508A (en) * 2016-04-01 2016-08-24 锐捷网络股份有限公司 Method and core switch for service processing of distributed data center
CN107070753A (en) * 2017-06-15 2017-08-18 郑州云海信息技术有限公司 A kind of data monitoring method of distributed cluster system, apparatus and system
CN112600704A (en) * 2020-12-14 2021-04-02 北京神经元网络技术有限公司 High-speed industrial bus system, method and device for switching control nodes of high-speed industrial bus system and storage medium
CN114338275B (en) * 2021-12-31 2023-09-19 北京神经元网络技术有限公司 AUTBUS bus network node management method, device, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1545268A (en) * 2003-11-27 2004-11-10 中兴通讯股份有限公司 A method and system for Ethernet interface node backup
WO2004102853A2 (en) * 2003-05-06 2004-11-25 Overture Networks, Inc. Protected switching ring

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004102853A2 (en) * 2003-05-06 2004-11-25 Overture Networks, Inc. Protected switching ring
CN1545268A (en) * 2003-11-27 2004-11-10 中兴通讯股份有限公司 A method and system for Ethernet interface node backup

Also Published As

Publication number Publication date
CN101039172A (en) 2007-09-19

Similar Documents

Publication Publication Date Title
CN101039172B (en) Ethernet ring network system and its protection method and standby host node
CN101170459B (en) Failure detection and link recovery method based on bidirectional forward link
CN101001192B (en) A ring network link protection method, system and equipment
CN100521638C (en) Intersecting Ethernet ring net and its automatic protecting method, node device for Ethernet ring net
AU2009295116B2 (en) Control method for protecting failure recovery of Ethernet ring and Ethernet ring nodes
EP2352253B1 (en) Method and apparatus for protecting link aggregation group of ethernet ring
WO2007115493A1 (en) A method, device and system for achieving the switch in the dual-homed network based on the vpls
CN103780407B (en) gateway dynamic switching method and device in distributed elastic network interconnection (DRNI)
US8509059B2 (en) Method for operating a virtual router redundancy protocol router and communication system therefor
WO2007062559A1 (en) A method and gateway device for service recovery when master and slaving gateway devices switched
CN101060485B (en) Topology changed messages processing method and processing device
CN102255757B (en) Link switching method and device
WO2012000234A1 (en) Method, apparatus and system for fast switching between links
CN102638389A (en) Redundancy backup method and system of TRILL (Transparent Interconnection over Lots of Links) network
WO2011157151A2 (en) Method, device and system for realizing disaster-tolerant backup
WO2016023436A1 (en) Fault detection method for virtual router redundancy protocol and router device
CN102142948A (en) Data forwarding method, device and system
CN101060533B (en) A method, system and device for improving reliability of VGMP protocol
CN102209035B (en) Traffic forwarding method and devices
WO2011026347A1 (en) Method for ethernet loop network protection and thransmission node
WO2010031295A1 (en) Control method for ethernet failure recovery
JP2003258822A (en) Packet ring network and inter-packet ring network connection method used in the same
EP2533470B1 (en) Method and equipment for preventing repeated refreshing of ethernet ring node address table
US8681604B2 (en) Address refresh method and system
CN102420767A (en) Method and device for switching forwarding paths, and network equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201204

Address after: Unit 2414-2416, main building, no.371, Wushan Road, Tianhe District, Guangzhou City, Guangdong Province

Patentee after: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

Effective date of registration: 20201204

Address after: 221300 No. 88 Liaohe West Road, Pizhou Economic Development Zone, Xuzhou City, Jiangsu Province

Patentee after: SU Normal University Semiconductor Materials and Equipment Research Institute (Pizhou) Co.,Ltd.

Address before: Unit 2414-2416, main building, no.371, Wushan Road, Tianhe District, Guangzhou City, Guangdong Province

Patentee before: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110105

Termination date: 20200515