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
host node
ethernet ring
ring network
state
standby host
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.)
Su Normal University Semiconductor Materials and Equipment Research Institute Pizhou 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 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. an Ethernet ring protection method is characterized in that, may further comprise the steps:
Standby host node in the ethernet ring network detects the health status of the host node in the described ethernet ring network;
Described standby host node is when detecting described host node and lost efficacy, and then described standby host node switches to and mainly sends public MAC and the ARP list item that the forwarding database message refreshes described ethernet ring network that refresh with behind the state, wherein,
Described standby host node switch to main with state after, do not send the backup message, when receiving the backup message of described host node, think that then described host node recovers normal, and switch to stand-by state again;
Described standby host node detects the health status of described host node by judging whether to receive backup message that described host node sends.
2. Ethernet ring protection method according to claim 1 is characterized in that, described standby host node specifically comprises by judging whether to receive the health status that backup message that described host node sends detects described host node:
Described host node major-minor port sends described backup message to described standby host node simultaneously, if described standby host node can be received described backup message, thinks that then described host node state is normal; If do not receive described backup message in the given time, think that then described host node lost efficacy.
3. Ethernet ring protection method according to claim 1 is characterized in that, also comprises: described standby host node just often keeps stand-by state at described host node state.
4. according to the described Ethernet ring protection method of above each claim, it is characterized in that described ethernet ring network is the rapid ring protection protocol single loop system.
5. Ethernet ring protection method according to claim 3; it is characterized in that; described backup message is set comprises purpose media access control address field and rapid ring protection protocol type field; wherein; the value of described media access control address field is set to the media access control address of rapid ring protection protocol handshake message, and the value of described rapid ring protection protocol type field is set to 0D.
6. Ethernet ring network system, it comprises host node, it is characterized in that, also comprises:
Standby host node, be used to detect the health status of described host node, when detecting described host node and lost efficacy, then switch to main with behind the state, send public MAC and the ARP list item that the forwarding database message refreshes described ethernet ring network that refresh, wherein, described standby host node switch to main with state after, do not send the backup message, when receiving the backup message of described host node, think that then described host node recovers normal, and switch to stand-by state again that described standby host node detects the health status of described host node by judging whether to receive backup message that described host node sends.
7. Ethernet ring network system according to claim 6 is characterized in that, described standby host node detects the health status of described host node by judging whether to receive backup message that described host node sends.
8. Ethernet ring network system according to claim 6 is characterized in that, described standby host node at described host node just often then is in stand-by state.
9. according to each described Ethernet ring network system in the claim 6 to 8, it is characterized in that described Ethernet ring network system is the rapid ring protection protocol single loop system.
10. a standby host node that is used for ethernet ring network is characterized in that, comprising:
Detection module is used for detecting the health status of described ethernet ring network host node;
Handover module is used for when described detection module detects described host node and lost efficacy, switches to mainly to send public MAC and the ARP list item that the forwarding database message refreshes described ethernet ring network that refresh with behind the state, wherein,
Described standby host node switch to main with state after, do not send the backup message, when receiving the backup message of described host node, think that then described host node recovers normal, and switch to stand-by state again;
Described standby host node detects the health status of described host node by judging whether to receive backup message that described host node sends.
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 中兴通讯股份有限公司 Method and device for managing main and standby nodes in communication system and 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
WO2008089614A1 (en) A method, system and device for ring link protection
AU2009295116B2 (en) Control method for protecting failure recovery of Ethernet ring and Ethernet ring nodes
CN101060485B (en) Topology changed messages processing method and processing device
CN102255757B (en) Link switching method and device
CN101217424B (en) A detecting method and device of aggregated link failures
CN101640622B (en) Ethernet ring net protection method and transit node
CN101860492A (en) Quick switching method, device and system
CN101072154B (en) Loop Ethernet switching method
CN101841450B (en) Method and system for realizing stable communication by forming multiple ring topologies into intersecting ring
CN103843286A (en) Triggering a redundant router master/backup status change based on switch connectivity
JP5491623B2 (en) Address refresh method and system
EP2533470B1 (en) Method and equipment for preventing repeated refreshing of ethernet ring node address table
WO2010031295A1 (en) Control method for ethernet failure recovery
CN101883038A (en) Method for protecting and switching EAPS (Ethernet Automatic Protection Switching) looped network and main node in EAPS looped network
CN102238067A (en) Switching method and device on Rapid Ring Protection Protocol (RRPP) ring
CN101534234B (en) Interworking Ethernet ring network protection method and system
CN101136838B (en) Bridge mode elastic grouping ring transannular bridge equipment redundancy protecting method
CN101702684B (en) Method for realizing to refresh Ethernet ring network forwarding database and device
CN102487348B (en) Method and system for realizing looped network uplink protection
CN101621443A (en) A kind of fault recovery method of Ethernet ring protection system
CN101641915A (en) Method for reconfiguring a communication network
CN101141367A (en) Method, system and node equipment for improving dependability of fast looped network
WO2008110086A1 (en) Redundancy protection method and system for bridge mode resilient packet rings

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

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.

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

Granted publication date: 20110105

Termination date: 20200515

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