WO2012139434A1 - 一种设置以太节点检测帧超时时长的方法及系统 - Google Patents
一种设置以太节点检测帧超时时长的方法及系统 Download PDFInfo
- Publication number
- WO2012139434A1 WO2012139434A1 PCT/CN2012/071452 CN2012071452W WO2012139434A1 WO 2012139434 A1 WO2012139434 A1 WO 2012139434A1 CN 2012071452 W CN2012071452 W CN 2012071452W WO 2012139434 A1 WO2012139434 A1 WO 2012139434A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- communication port
- state
- detection frame
- node
- connected state
- Prior art date
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 85
- 238000000034 method Methods 0.000 title claims abstract description 30
- 238000004891 communication Methods 0.000 claims abstract description 93
- 238000002955 isolation Methods 0.000 claims description 21
- 230000007704 transition Effects 0.000 claims description 4
- 238000012423 maintenance Methods 0.000 abstract description 5
- 239000002699 waste material Substances 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 2
- 125000004122 cyclic group Chemical group 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/18—Loop-free operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/407—Bus networks with decentralised control
- H04L12/413—Bus networks with decentralised control with random access, e.g. carrier-sense multiple-access with collision detection [CSMA-CD]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/35—Switches specially adapted for specific applications
- H04L49/351—Switches specially adapted for specific applications for local area network [LAN], e.g. Ethernet switches
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
Definitions
- the present invention relates to Ethernet technology, and in particular, to a method and system for setting an Ethernet node to detect a frame timeout duration.
- Ethernet storm caused by Ethernet closed loop.
- Ethernet According to the Ethernet principle, when an Ethernet node receives a broadcast frame, it forwards it to other ports except the receiving port. If there is a closed loop in the Ethernet, each node in the closed loop will forward the broadcast frame endlessly, and the bandwidth occupied by the broadcast traffic will increase rapidly. This phenomenon is called "network storm". As shown in FIG. 1, the node S1, the node S2, the node S3, and the node S4 form an Ethernet closed loop.
- the node S3 When the node S3 receives a broadcast frame, it will forward to the node S2, and then the node S2 forwards to the node S1, and the node S1 The node S4 forwards, the node S4 forwards to the node S3, and the node S3 continues to forward to the node S2, thus forming a cyclic forwarding of the broadcast frame S3->S2->S1->S4->S3... ... with the broadcast As the number of frames increases, the bandwidth occupied by broadcast traffic will increase rapidly, which may lead to "network storms".
- the node sends a detection frame, and if the node can receive the detection frame sent by itself, the description There is a closed loop between the sending port and the receiving port of the node, and the isolated port is required to avoid the closed loop.
- the detection frame carries its own flag (such as the node MAC address) and the port number information of the sending port.
- the node receives a detection frame from a communication port, it first determines the node flag in the detection frame. Whether it is the same as its own node flag.
- the isolation rule may be that the port number of the communication port receiving the detection frame in this node is greater or smaller than the port number of the transmission port carried in the detection frame.
- the isolation operation means that the port is prohibited from forwarding data (that is, data received from other nodes must not be forwarded) and the port is allowed to receive protocol data (package). Including detection frames).
- the node does not receive the detection frame sent by itself after the communication port is isolated for a period of time. The isolation of the communication port is removed. The length of the period is called the frame timeout duration, which is also called the loop elimination timing duration.
- the node After the detection frame of the port expires, the node does not receive the detection frame sent by itself, and the closed loop disappears, and the isolated port is reopened, which will re-form the closed loop.
- the node S1 in the closed loop formed by the node S1, the node S2, the node S3, and the node S4, after receiving the detection frame sent by itself, the node S1 isolates the corresponding port, and similarly, the node S2, the node S3, and the node S4 both receive.
- the detection frames sent by themselves are isolated from the corresponding ports. As shown in Figure 3, eventually, each node cannot forward data, resulting in the entire network being unavailable.
- the node S1 when each node in the closed loop isolates the port, the node S1 will not receive the detection frame sent by itself after the detection frame of the port expires, and will reopen the isolated port (ie, release the isolation). Similarly, the node S2 and the node S3 and node S4 will not receive the detection frame sent by themselves after the port detection frame times out, and will also reopen the isolated port (that is, release the isolation), thus re-forming the closed loop. In addition, this method cannot detect the specific looping point position, which brings difficulties to the maintenance of the network.
- the technical problem to be solved by the present invention is to provide a method and system for setting an Ethernet node to detect a frame timeout period, preventing bandwidth waste caused by data loop caused by network closed loop, ensuring communication of a node while preventing re-formation of a closed loop, and improving network performance. .
- the present invention provides a method for setting an Ethernet node to detect a frame timeout duration, which includes: When the Ethernet node determines that the communication port maintains the connectivity state or changes from the connected state to the non-connected state, the detection frame timeout duration of the communication port is set to a value in the first time zone; the Ethernet node detects the state of the communication port. After the transition from the non-connected state to the connected state, the detection frame timeout duration of the communication port is set to a value in the second time zone, and the value in the second time zone is greater than the value in the first time zone.
- the non-connected state of the communication port comprises a non-working state, a fault state, or a state incapable of transmitting and receiving data.
- the method further includes: the Ethernet node isolating the communication port when the detection frame sent by the communication port receives the detection frame sent by the communication port and the port number of the communication port satisfies the isolation rule. If the Ethernet node does not receive the detection frame sent by itself after detecting the frame timeout period after isolating the communication port, immediately cancel the isolation of the communication port, or release the communication port after performing a random delay. Isolation.
- the method wherein a communication frame corresponding to a different Ethernet node is in the first time zone, the detection frame timeout duration is the same or different; the communication port corresponding to the different Ethernet node is located in the The detection frame timeout durations in the second time zone are the same or different.
- the present invention further provides a system for setting an Ethernet node to detect a frame timeout period, including an Ethernet node, where
- the Ethernet node is configured to determine that the status of the communication port remains unchanged or changes from the connected state to the non-connected state, and the detection frame timeout period of the communication port is set to a value in the first time region; After the state of the communication port is changed from the non-connected state to the connected state, the detection frame timeout duration of the communication port is set to a value in the second time zone, and the value in the second time zone is greater than the first time zone. Value.
- the system wherein the non-connected state of the communication port includes a non-working state, a fault state, or a number of unreachable According to the state.
- the timeout period of the detection frames in the first time zone for the communication ports of different Ethernet nodes is the same or different;
- the detection frame timeouts for the communication ports of different Ethernet nodes located in the second time zone are the same or different.
- the present invention further provides a loop detection method, including: when the Ethernet node determines that the communication port maintains the connectivity state or changes from the connected state to the non-connected state, the detection of the communication port is set.
- the timeout period of the frame is the value in the first time zone.
- the timeout period of the detection frame of the communication port is set to the value in the second time zone. The value in the second time zone is greater than the value in the first time zone;
- Each of the Ethernet nodes forming a closed loop determines the looping point of the closed loop by the last Ethernet node in which the open loop can be converted into a closed loop and the isolated port is formed from the closed loop to the open loop.
- the non-connected state of the communication port includes a non-working state, a fault state, or a state in which data cannot be transmitted or received.
- the detection frame timeouts of the communication ports corresponding to the different Ethernet nodes located in the first time zone are the same or different;
- the detection frame timeouts corresponding to the communication ports of different Ethernet nodes located in the second time zone are the same or different.
- the bandwidth caused by the data loop caused by the ring is wasted, ensuring the node to communicate while preventing the re-formation of the closed loop and improving the network performance.
- the invention can also detect the looping point, which is convenient for network maintenance.
- FIG. 1 is a schematic diagram of a "network storm" formed by an Ethernet closed loop in the prior art
- FIG. 2 is a schematic diagram of avoiding an Ethernet closed loop in the prior art
- FIG. 3 is a schematic diagram of an isolation port of all nodes of an Ethernet closed loop in the prior art
- FIG. 5 is a schematic diagram of a network connection in a specific embodiment 1;
- FIG. 6 is a first schematic diagram of another network connection in the first embodiment
- FIG. 7 is a second schematic diagram of another network connection in the first embodiment.
- the method for setting the timeout period for detecting the frame time of the Ethernet node includes: setting the detection frame timeout period of the communication port when the Ethernet node determines that the communication port maintains the connectivity state or changes from the connected state to the non-connected state.
- the value in the first time zone (expressed as T1); after the Ethernet node detects that the state of the communication port is changed from the non-connected state to the connected state, the detection frame timeout duration of the communication port is set to the value in the second time zone. (Set to T2), where the value in the second time zone is greater than the value in the first time zone.
- the non-connected state of the communication port includes a non-working state, a fault state, or a state in which data cannot be transmitted or received.
- the Ethernet node isolates the communication port when the detection frame sent by the communication port receives the detection frame sent by the communication port and the port number of the communication port satisfies the isolation rule; the Ethernet node detects the frame timeout after the communication port is isolated.
- the isolation of the communication port is immediately released, or after the random delay is performed, the isolation of the communication port is released.
- each node can receive the self-issued
- the frame is detected and the corresponding port is isolated to disconnect the closed loop.
- the detection frame timeout period of the communication port that is switched from the non-connected state to the connected state is set to T2, and the detection frame timeout period T1 of the port that is larger than the non-looping node is opened, and the other nodes first open the isolated port. It can continue to receive the detection frame sent by itself, keeping the port isolated, preventing the re-generation of the closed loop and the cyclic forwarding of the data frame.
- the detection frame timeout durations of the communication ports of different Ethernet nodes in the first time zone are the same or different; the detection frame timeout durations of the communication ports of different Ethernet nodes in the second time zone are the same or different.
- the embodiment of the present invention provides a loop detection method, including: when an Ethernet node determines that a communication port maintains a connectivity state or changes from a connected state to a non-connected state, setting the communication port.
- the timeout period of the detection frame is the value in the first time zone.
- the timeout period of the detection frame of the communication port is set to a value in the second time zone.
- the value in the second time zone is greater than the value in the first time zone; and each of the Ethernet nodes forming the closed loop converts the open loop into a closed loop and is isolated from the process of forming a closed loop to an open loop.
- the Ethernet node where the port is located determines the looping point for this closed loop.
- the non-connected state of the communication port includes a non-working state, a fault state, or a state in which data cannot be transmitted or received.
- the detection frame timeout durations of the communication ports of different Ethernet nodes in the first time zone are the same or different; the detection frame timeout durations of the communication ports of different Ethernet nodes in the second time zone are the same or different.
- FIG. 6 when a link is newly connected between the node S3 and the node S4, a closed loop is formed, and the node S3 and the node S4 detect that the port is in a non-working state (non- The state of the connected state is converted to the connected state, and the detection frame timeout period of the port S3 and the node S4 resetting the port is a large value T2.
- the node S4 sets the detection frame timeout duration of the port A to 1.5 seconds, and the node S3 sets the port.
- the detection frame timeout period of B is set to 1.1 seconds, and the port states of the node S1 and the node S2 are not changed, and the detection frame timeout duration of the ports D, E, F, G is maintained by the original value T1, for example, 0.5 seconds.
- the isolation rule is that when the port number of the communication port that receives the detection frame is greater than the port number of the transmission port carried in the detection frame, the communication port that receives the detection frame is isolated.
- the node S1, the node S2, the node S3 and the node S4 are all able to receive the detection frame sent by themselves. If the port number of the F port of the node S1 is greater than the G port, the node S1 receives the self from the F port. After the detection frame sent by the G port, the F port is isolated. Similarly, the node S2 isolates the D port, the node S3 isolates the B port, and the node S4 isolates the A port. At this point, the original closed loop cannot communicate normally. After 0.5 seconds, nodes S1 and S2 do not receive the detection frames sent by themselves, and release the isolation of ports F and D respectively.
- the detection frame timeout period of node S3 is a small value (1.1 seconds), and will be released after waiting for 1.1 seconds.
- the port is de-isolated.
- the node S4 can still receive the detection frame sent by itself (in order through SI, S2, S3), the isolation of port A will not be released, and only the port A of node S4 will be In the isolated state, this node S4 is a looping point.
- the network can be reconnected, which ensures maximum availability and prevents the Ethernet from re-forming the closed loop, which helps the network administrator to conveniently locate it.
- the waste of bandwidth caused by the data loop caused by the closed loop ensures the node to communicate and prevent the re-formation of the closed loop and improve the network performance.
- the embodiment of the invention can also detect the looping point and facilitate network maintenance.
- a method and system for setting an Ethernet node to detect a frame timeout duration can prevent bandwidth waste caused by data loop caused by network closed loop, ensure node communication and prevent re-formation of closed loop, and improve network performance.
- the embodiment of the invention can also detect the looping point, which is convenient for network maintenance.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
Claims
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014504147A JP5711420B2 (ja) | 2011-04-13 | 2012-02-22 | イーサネットノードの検出フレームタイムアウト時間の設定方法及びシステム |
EP12771571.2A EP2698949B1 (en) | 2011-04-13 | 2012-02-22 | METHOD AND SYSTEM FOR SETTING DETECTION FRAME TIMEOUT DURATION OF ETHERNET NODEs |
KR1020137030127A KR101538348B1 (ko) | 2011-04-13 | 2012-02-22 | 이더넷 노드의 검출 프레임 타임아웃 지속시간을 설정하는 방법 및 시스템 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110092503.2A CN102739466B (zh) | 2011-04-13 | 2011-04-13 | 一种设置以太网节点检测帧超时时长的方法及系统 |
CN201110092503.2 | 2011-04-13 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2012139434A1 true WO2012139434A1 (zh) | 2012-10-18 |
Family
ID=46994296
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2012/071452 WO2012139434A1 (zh) | 2011-04-13 | 2012-02-22 | 一种设置以太节点检测帧超时时长的方法及系统 |
Country Status (5)
Country | Link |
---|---|
EP (1) | EP2698949B1 (zh) |
JP (1) | JP5711420B2 (zh) |
KR (1) | KR101538348B1 (zh) |
CN (1) | CN102739466B (zh) |
WO (1) | WO2012139434A1 (zh) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105281831B (zh) * | 2015-12-04 | 2018-05-25 | 上海斐讯数据通信技术有限公司 | 光网络环路检测方法、系统及光网络设备 |
CN105897515A (zh) * | 2016-06-12 | 2016-08-24 | 烽火通信科技股份有限公司 | 基于ipran设备的以太网环路检测及处理方法 |
CN108768691A (zh) * | 2018-04-16 | 2018-11-06 | 复旦大学 | 基于snmp协议的以太网自动拓扑发现及成环定位检测系统 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1988476A (zh) * | 2006-12-19 | 2007-06-27 | 武汉烽火网络有限责任公司 | 一种自适应快速环路检测和环路阻断的方法及装置 |
CN101141366A (zh) * | 2006-09-07 | 2008-03-12 | 华为技术有限公司 | 一种在环状以太网中避免数据环路的方法 |
EP2194676A1 (en) * | 2007-09-25 | 2010-06-09 | ZTE Corporation | Ethernet ring system, its main node and intialization method |
WO2011020330A1 (zh) * | 2009-08-20 | 2011-02-24 | 中兴通讯股份有限公司 | 以太网拓扑管理的方法与装置 |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002261785A (ja) * | 2001-03-02 | 2002-09-13 | Hitachi Ltd | シリアルバス処理方法および装置 |
JP3860017B2 (ja) * | 2001-11-13 | 2006-12-20 | シャープ株式会社 | データ通信方法、送受信回路、該送受信回路を備えた情報機器および情報通信ネットワーク |
US7835265B2 (en) * | 2002-10-31 | 2010-11-16 | Conexant Systems, Inc. | High availability Ethernet backplane architecture |
JP2004222106A (ja) * | 2003-01-17 | 2004-08-05 | Fujitsu Ltd | スパニングツリープロトコル使用のlanにおけるループ発生の検出及び解除方法並びに中継装置 |
JP2006050222A (ja) * | 2004-08-04 | 2006-02-16 | Canon Inc | パケットの無限ループ回避方法 |
US7911938B2 (en) * | 2006-01-20 | 2011-03-22 | Cisco Technology, Inc. | System and method for preventing loops in the presence of control plane failures |
CN101072154B (zh) * | 2007-03-02 | 2011-09-21 | 中兴通讯股份有限公司 | 以太环网切换方法 |
US7944815B2 (en) * | 2008-02-14 | 2011-05-17 | Allied Telesis Holdings K.K. | System and method for network recovery from multiple link failures |
CN101741647B (zh) * | 2009-12-31 | 2012-09-05 | 中兴通讯股份有限公司 | 一种测量以太环网切换时间的方法及装置 |
CN101931573B (zh) * | 2010-08-31 | 2012-07-04 | 武汉烽火网络有限责任公司 | 以太网环路定位方法 |
-
2011
- 2011-04-13 CN CN201110092503.2A patent/CN102739466B/zh not_active Expired - Fee Related
-
2012
- 2012-02-22 EP EP12771571.2A patent/EP2698949B1/en active Active
- 2012-02-22 KR KR1020137030127A patent/KR101538348B1/ko active IP Right Grant
- 2012-02-22 WO PCT/CN2012/071452 patent/WO2012139434A1/zh active Application Filing
- 2012-02-22 JP JP2014504147A patent/JP5711420B2/ja not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101141366A (zh) * | 2006-09-07 | 2008-03-12 | 华为技术有限公司 | 一种在环状以太网中避免数据环路的方法 |
CN1988476A (zh) * | 2006-12-19 | 2007-06-27 | 武汉烽火网络有限责任公司 | 一种自适应快速环路检测和环路阻断的方法及装置 |
EP2194676A1 (en) * | 2007-09-25 | 2010-06-09 | ZTE Corporation | Ethernet ring system, its main node and intialization method |
WO2011020330A1 (zh) * | 2009-08-20 | 2011-02-24 | 中兴通讯股份有限公司 | 以太网拓扑管理的方法与装置 |
Also Published As
Publication number | Publication date |
---|---|
EP2698949A4 (en) | 2014-12-24 |
CN102739466B (zh) | 2017-10-17 |
KR20140009488A (ko) | 2014-01-22 |
CN102739466A (zh) | 2012-10-17 |
EP2698949A1 (en) | 2014-02-19 |
EP2698949B1 (en) | 2019-06-19 |
JP5711420B2 (ja) | 2015-04-30 |
JP2014513891A (ja) | 2014-06-05 |
KR101538348B1 (ko) | 2015-07-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2008131624A1 (fr) | Système ethernet réparti et son utilisation pour détection de dysfonctionnement | |
JP5150652B2 (ja) | 同期ネットワークデバイス | |
CN100450036C (zh) | 一种rrpp与局部stp组网故障恢复时防止环路的方法和装置 | |
WO2016116050A1 (zh) | 环保护链路故障保护方法、设备及系统 | |
CN101072154B (zh) | 以太环网切换方法 | |
WO2012065400A1 (zh) | 一种设备的保护方法及装置 | |
WO2010031210A1 (zh) | 一种跨环转发协议帧的方法及以太网多环中的共享节点 | |
WO2010031296A1 (zh) | 以太网环路保护故障恢复的控制方法及以太网环路节点 | |
WO2017000832A1 (zh) | Mac地址的同步方法、装置及系统 | |
EP2466804B1 (en) | Protection switching method for ethernet automatic protection switching (eaps) ring network and master node in eaps ring network | |
CN101714939A (zh) | 一种以太环网主节点的故障处理方法及相应以太环网 | |
WO2014201903A1 (zh) | 分布式弹性网络互连系统中协作方法和系统 | |
US10090952B2 (en) | Master/slave negotiation associated with a synchronous ethernet network | |
CN101217445B (zh) | 防止环路产生的方法和以太环网系统 | |
WO2012139434A1 (zh) | 一种设置以太节点检测帧超时时长的方法及系统 | |
WO2010139173A1 (zh) | 一种地址刷新方法及系统 | |
EP2697940A1 (en) | Handling a fault in an ethernet ring network | |
WO2012068866A1 (zh) | 一种以太环网中刷新mac的方法及系统 | |
CN101237319A (zh) | 以太环网中的时间同步方法和以太环网系统 | |
WO2014040422A1 (zh) | 介质访问控制地址学习控制方法、装置和路由桥 | |
WO2012174957A1 (zh) | 一种分布式链路聚合方法及实现该方法的节点 | |
JP5954793B2 (ja) | 通信接続装置、通信制御装置およびそのプログラム並びに通信制御方法 | |
KR101256649B1 (ko) | 네트워크에서 노드의 보호 절체 방법 | |
WO2012094924A1 (zh) | 一种避免以太网闭环的方法和系统 | |
JP5388211B2 (ja) | 通信装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 12771571 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2014504147 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2012771571 Country of ref document: EP |
|
ENP | Entry into the national phase |
Ref document number: 20137030127 Country of ref document: KR Kind code of ref document: A |