CN101820376A - Method and system for realizing rapid convergence in ring network - Google Patents

Method and system for realizing rapid convergence in ring network Download PDF

Info

Publication number
CN101820376A
CN101820376A CN 201010107799 CN201010107799A CN101820376A CN 101820376 A CN101820376 A CN 101820376A CN 201010107799 CN201010107799 CN 201010107799 CN 201010107799 A CN201010107799 A CN 201010107799A CN 101820376 A CN101820376 A CN 101820376A
Authority
CN
China
Prior art keywords
node
port
self
link
probe messages
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 201010107799
Other languages
Chinese (zh)
Other versions
CN101820376B (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.)
Zhuhai Zhongwei Acer Technology Co. Ltd.
Original Assignee
Shenzhen Golden HighWay Industry Development 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 Shenzhen Golden HighWay Industry Development Co Ltd filed Critical Shenzhen Golden HighWay Industry Development Co Ltd
Priority to CN 201010107799 priority Critical patent/CN101820376B/en
Publication of CN101820376A publication Critical patent/CN101820376A/en
Application granted granted Critical
Publication of CN101820376B publication Critical patent/CN101820376B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method and a system for realizing rapid convergence in a ring network. The method comprises the following steps that: when a link for connecting two nodes in the ring network is converted from disconnection into connection, a port on the node in connection with the link is up-interrupted; when one of the nodes receives the UP interruption earlier, the two nodes perform hand shaking for three times, and the node which receives the UP interruption earlier transmits a ring detection message to the other node; when receiving the ring detection message, the other node sets self port in a forwarding state; and if receiving the ring detection message, the node which receives the UP interruption earlier sets self to be a main node, sets the port receiving the ring detection message to be a main port, sets the port for transmitting the ring detection message to be a slave port and sets the slave port in a block state. The method for realizing rapid convergence in the ring network of the invention has the advantages of high convergence rate and irrelevance between the convergence time and the node on the ring network so as to improve the transmission efficiency of the network.

Description

A kind of method and system of convergence fast that in looped network, realize
Technical field
The invention belongs to communication technique field, relate in particular to a kind of method and system of convergence fast that in looped network, realize.
Background technology
Along with ethernet technology develop rapidly and day by day extensive in the application of commercial kitchen area, increasing industrial control equipment also uses Ethernet gradually and adopts ICP/IP protocol as main communication standard.Though it is identical with commercial Ethernet to be applied to the ethernet standard of industrial control field,, also need network relatively stably working under the bad working environment at industrial control field.Therefore, the networking products that are used for connecting industrial equipment need just can provide the reliability of technical grade through special design, to satisfy the long-term demand of operation continuously.In addition, at industrial control field, the device distribution of required connection is disperseed, and single local connection device is few, therefore also needs to realize the redundant optical fiber circuit functionality.
The STP agreement has solved redundant loop problem.But it still is imperfect, and the defective of STP agreement mainly shows on the convergence rate.When topology changes, new configuration message will just can propagate into whole network through certain time delay, and this time delay is called Forward Delay, and the agreement default value is 15 seconds.Receive at all bridges before the message of this variation, do not find that also oneself should stop forwarding, and then may exist temporary loop in new topology if be in the port of forwarding in the old topological structure.In order to solve the problem of temporary loop, generate tree and used a kind of timer strategy, promptly in the middle of port is from the blocked state to the forwarding state, add the intermediateness only learning MAC Address but do not participate in transmitting, the time span that two next states are switched all is ForwardDelay, so just can guarantee can not produce temporary loop in change in topology.But this seems that in fact good solution bring but is the convergence time of twice Forward Delay at least!
In order to solve this defective of STP agreement, IEEE has released the 802.1w standard at the beginning of century, as replenishing the 802.1D standard.In IEEE 802.1w standard, defined RSTP RSTP (RapidSpanning Tree Protocol).The RSTP agreement has been done 3 important improvement on STP agreement basis, make convergence rate faster (in the fastest 1 second).
First improvement: replacement port (Alternate Port) and two kinds of roles of backup port (Backup Port) of being provided with quick switching usefulness for root port and designated port, under the situation that root port/designated port lost efficacy, replace port/backup port and do not enter forwarding state with will having time delay.
Second improvement: in the point-to-point link that has only connected two switching ports, designated port only need once be shaken hands with the downstream bridge and do not entered forwarding state with just can having time delay.If connected the shared link of three above bridges, the downstream bridge can not respond the handshake request that the upstream designated port sends, and can only wait for that the twice Forward Delay time enters forwarding state.
Thirdly improve: the port definition that directly links to each other with terminal rather than other bridges are linked to each other is edge port (Edge Port).Edge port can directly enter forwarding state, without any need for time-delay.Because bridge can't know whether port is directly to link to each other with terminal, so need human configuration.
As seen, the RSTP agreement has been improved much really with respect to the STP agreement.In order to support these to improve, the form of BPDU has been made some modifications, but the still backward compatible STP agreement of RSTP agreement, can mixed networking.Even so, the same Single Spanning Tree SST (SingleSpanning Tree) that belongs to STP of RSTP has it self many defectives, mainly shows three aspects.
First point defect: because the entire switching network network has only one to generate tree, can cause long convergence time when network size is bigger, the influence surface of topology change is also bigger.
Second point defect: under the situation of network configuration symmetry, Single Spanning Tree also nothing hinders greatly.But when network configuration was asymmetric, Single Spanning Tree will influence the connectedness of network.
Defective thirdly: will not carry any flow after link gets clogged, cause the significant wastage of bandwidth, this is apparent in view under the situation of metropolitan area network of going in ring.
In the double layer network of Ethernet; generally adopt the STP agreement for network reliability, the STP agreement is the looped network protection agreement by a kind of standard of I EEE exploitation, and is used widely; but be subjected to the restriction of network size in the practical application, convergence time is influenced by network topology.The general convergence time of STP is second a level, and convergence time was longer when network diameter was big, though adopt RSTP/MSTP can reduce convergence time, still can not meet the demands for the business of the contour quality of service requirement of 3G/NGN voice.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of method that realizes quick convergence in looped network, thereby shortens the convergence time that loop fault recovers.
In order to address the above problem, the technical solution used in the present invention is:
A kind of method of convergence fast that realizes in looped network said method comprising the steps of:
When a link that connects two nodes in the looped network when off-state transfers connection status to, the port that links to each other with described link on described two nodes produces the UP interruption;
A node in described two nodes receives earlier when UP interrupts that described two nodes carry out three-way handshake to be consulted, by receiving that earlier the node that UP interrupts sends the loop probe messages by the port that self links to each other with described link to another node;
When described another node was received described loop probe messages, the port of self was set to forwarding state;
Receive described loop probe messages if receive node that UP interrupts earlier from self another port, then self is set to host node, the port of receiving the loop probe messages is set to master port, and the port that sends the loop probe messages is set to from port and describedly is set to blocked state from port.
Further, when described another node was received described loop probe messages, the port of self was set to after the step of forwarding state further comprising the steps of:
Do not receive described loop probe messages from self another port if receive node that UP interrupts earlier in the time that sets in advance, the port that then sends the loop probe messages is set to forwarding state.
Further again, the step that described two nodes carry out the three-way handshake negotiation is specially:
Receive that earlier the node that UP interrupts sends the SYN message to described another node;
When described another node is received the SYN message, to receiving that earlier node that UP interrupts sends an ACK message and confirms;
Receive earlier when node that UP interrupts is received described ACK message, send another ACK message to described another node and confirm;
When described another node is received described another ACK message, described link successful connection;
Receive in the ban when node that UP interrupts is received described ACK message, carries out described by receiving that earlier node that UP interrupts is by the port that self links to each other with the described link step to another node transmission loop probe messages.
Further, described method further may further comprise the steps:
When looped network was in normal operating conditions, the master port from self of described host node cycle sent the loop probe messages that is used for the looped network health detection, propagates through each transmission node in the looped network successively;
If described host node in the time that sets in advance, can not receive described loop probe messages from port, then described host node self is set to transmission node, self be set to forwarding state from port.
Further again, described method further may further comprise the steps:
When a link that connects two nodes in the looped network when connection status transfers off-state to, the port that links to each other with described link on described two nodes produces the down interruption;
Described two nodes are received and are sent the link failure message to described host node respectively when down interrupts;
When described host node is received the link failure message self be set to forwarding state from port, and send the link-recovery message from the master port of self with from port respectively, self is set to transmission node then, and refreshes the MAC table;
Each transmission node refreshes the MAC table after receiving described link-recovery message in the looped network.
A kind of system of convergence fast that in looped network, realizes, described system comprises:
Message processing module, be used for transferring connection status to from off-state when a link of two nodes of looped network connection, a node in described two nodes is received earlier when UP interrupts, described two nodes carry out three-way handshake to be consulted, by receiving that earlier the node that UP interrupts sends the loop probe messages by the port that self links to each other with described link to another node, receive described loop probe messages if receive node that UP interrupts earlier from self another port, then self is set to host node;
Module is set, and when being used for described another node and receiving described loop probe messages, the port of self is set to forwarding state; Also be used for receiving described loop probe messages from self another port if receive node that UP interrupts earlier, the port of receiving the loop probe messages is set to master port, and the port that sends the loop probe messages is set to from port and describedly is set to blocked state from port.
Further, describedly be provided with that module also is used for and do not receive described loop probe messages from self another port if receive node that UP interrupts earlier in the time that sets in advance, the port that then sends the loop probe messages is set to forwarding state.
Further, described message processing module comprises:
Transmitting element, be used to carry out described two nodes and carry out sending message mutually between two nodes described in the three-way handshake negotiation step, also be used for by receiving that earlier the node that UP interrupts sends the loop probe messages by the port that self links to each other with described link to another node;
Judging unit is used to judge whether described two nodes carry out described in the three-way handshake negotiation step message that sends mutually between two nodes correct;
Processing unit is used for receiving described loop probe messages if receive node that UP interrupts earlier from self another port that then self is set to host node.
Further again, described system further comprises the loop detection module, be used for when looped network is in normal operating conditions, the master port from self of described host node cycle sends the loop probe messages that is used for health detection, propagates through each transmission node in the looped network successively; If described host node in the time that sets in advance, can not receive described loop probe messages from port, then described host node self is set to transmission node, self be set to forwarding state from port.
Further again, described message processing module also is used for, a link that connects two nodes in looped network transfers off-state to from connection status, described two nodes are received when down interrupts, send the link failure message to described host node respectively, send the link-recovery message from the master port of self with from port respectively when described host node is received described link failure message, self is set to transmission node then, and refreshes the MAC table; Each transmission node refreshes the MAC table after receiving described link-recovery message in the looped network;
Described when module being set also being used for described host node and receiving the link failure message self be set to forwarding state from port.
The method of convergence fast that realizes in looped network of the present invention is applied to the link layer of ethernet ring network, and it can prevent the broadcast storm that data loopback causes in ethernet ring network; When certain the bar link on the Ethernet ring disconnects, can enable backup link rapidly to recover the communication between each node on the looped network.With adopt the STP agreement to compare, method of the present invention has the advantages that the node number has nothing to do on topological convergence speed fast and convergence time and the looped network.Wherein the convergence time of the link in the looped network when connection status transfers off-state to be less than 20ms, and the convergence time of the link in the looped network when off-state reverts to connection status is 0.The worst situation, promptly under the situation of signalling trouble mechanism failure, the convergence time of looped network is also less than 1S.
Description of drawings
Schematic diagram when Figure 1 shows that the looped network operate as normal;
Figure 2 shows that convergence schematic diagram when a link disconnects in the looped network;
Figure 3 shows that the looped network among Fig. 2 reaches the schematic diagram of convergence;
Figure 4 shows that convergence schematic diagram when a link-recovery connects in the looped network;
Figure 5 shows that the schematic representation of apparatus of convergence fast that in looped network, realizes of the present invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The embodiment of the invention provides a kind of method of convergence fast that realizes in looped network.This method is applied to the link layer of Ethernet.When certain the bar link on the ethernet ring network disconnects, can enable backup link rapidly and reach convergence, to recover the communication between each node on the looped network.When the link-recovery of certain bar disconnection on the ethernet ring network connects, also can make this looped network reach convergence fast, do not influence the communication between each node on the looped network.
Schematic diagram when Figure 1 shows that the looped network operate as normal, this looped network is connected in sequence by four nodes and four links.Wherein four nodes are respectively SW1, SW2, SW3, SW4.Each node has two ports, i.e. master port and from port.Described node SW1 is a host node, and all the other nodes are transmission node.Host node SW1's is blocked state from port, and the port of the master port of host node SW1 and transmission node SW2, SW3, SW4 is forwarding state.
Convergence schematic diagram when Figure 2 shows that link disconnection in the looped network.The method of convergence fast that realizes in looped network that the embodiment of the invention provides, the operational failure informing mechanism was realized convergence fast when a link in looped network disconnected.
Described signalling trouble mechanism is: when a chain route connection status in the looped network transferred off-state to, the port that links to each other with described link produced down and interrupts.Two nodes that link to each other with described link are received among the port down and are had no progeny, send the link failure message respectively to host node.After host node was received the link failure message, it was set to forwarding state from port, and sent the link-recovery message from its master and slave port respectively.Other node receives that the MAC that promptly refreshes separately behind the link-recovery message shows.Host node removes the host node role of self then, and self is set to transmission node, and refreshes its MAC table.So whole ring-network topology promptly settles out, realize convergence fast.
As shown in Figure 2, the chain route connection status in the looped network between SW3 and the SW4 has transferred off-state to, and this moment, the port that links to each other with this link of SW3 and SW4 promptly produced the down interruption.Node SW3 and SW4 receive among the down and have no progeny, and promptly send the link failure message from its other port respectively and transmit looped network.Wherein the link failure message of node SW4 transmission directly is sent to host node SW1, and the link failure message that node SW3 sends is forwarded to host node SW1 through node SW2.After host node SW1 receives the link failure message that any end is sent to, be about to it and be set to forwarding state, and send the link-recovery message from master and slave port respectively, notify each transmission node to refresh its MAC table from port.Other node SW2, SW3, SW4 receive the MAC table that promptly refreshes oneself behind the link-recovery message.Node SW1 removes the host node role of self then, and self is set to transmission node, and refreshes its MAC table.So whole ring-network topology promptly settles out, realize convergence fast, its convergence time is in 20ms after tested.
Figure 3 shows that the schematic diagram after described looped network reaches convergence.At this moment, four nodes are transmission node, and the port of each node is the forwarding port.
The method of convergence fast that realizes in looped network that the embodiment of the invention provides also provides following redundancy scheme to realize convergence fast.This redundancy scheme guarantees that described looped network can realize fast convergence under the situation of above-mentioned signalling trouble mechanism failure.
In the looped network of operate as normal, described host node SW1 periodically sends the loop probe messages that is used for health detection from its master port, propagates in looped network through each transmission node successively.When host node SW1 when port is received described loop probe messages, illustrate that the link of described looped network is complete.
If host node SW1 can not receive the loop probe messages in the given time from port, described host node SW1 just thinks looped network generation link failure, host node SW1 is set to forwarding state from port, and the host node role node SW1 that removes node SW1 is set to transmission node.So loop is realized convergence fast, the convergence time of this process is in 1S.
The convergence schematic diagram of the link that Figure 4 shows that described looped network when off-state reverts to connection status.The method of convergence fast that realizes in looped network that the embodiment of the invention provides, the link in looped network use the host node negotiation mechanism to realize convergence fast when off-state reverts to connection status.
Described host node negotiation mechanism is: when a link in the looped network when off-state transfers connection status to, the port that links to each other with described link produces UP and interrupts.When receiving earlier that with a node in described link-attached two nodes UP interrupts, described two nodes carry out three-way handshake to be consulted, send the loop probe messages by the described node of receiving that earlier UP interrupts, described loop probe messages is sent by the port that links to each other with described link of this node.After described another node was received described loop probe messages, its port was set to forwarding state.If the described node that sends the loop probe messages is received described loop probe messages from its another port, then self is set to host node, the port of receiving the loop probe messages is set to master port, and the port that sends the loop probe messages is set to from port and describedly is set to blocked state from port.If the described node that sends the loop probe messages is not received described loop probe messages from its another port in the given time, the then overtime port that it sends the loop probe messages is set to forwarding state.So whole ring-network topology promptly settles out, realize convergence fast.
Described two nodes carry out three-way handshake to be consulted to comprise: the described node of receiving that earlier UP interrupts sends the SYN message to another node; After described another node is received the SYN message, send an ACK message to the node of receiving the UP interruption earlier and confirm; After the described node of receiving that earlier UP interrupts is received described ACK message, send another ACK message to another node; Described another node is confirmed described link successful connection after receiving described another ACK message; After the described node of receiving that earlier UP interrupts is received described ACK message, link to each other with this link by it and to send the loop probe messages.
As shown in Figure 4, the link in the described looped network between node SW3 and the SW4 the linking to each other with this link of node SW3 and SW4 promptly produces UP and interrupts when off-state reverts to connection status.Must there be a node to receive that earlier the UP of institute interrupts among node SW3 and the SW4, supposes that herein SW3 receives that earlier UP interrupts.This moment, node SW3 and SW4 promptly carried out the three-way handshake negotiation, and concrete steps are as follows: node SW3 sends the UP_SYN message to node SW4 from its port that links to each other with this link.Node SW4 receives that responding the UP_ACK_I message behind the UP_SYN message adds their confirmation to node SW4.Node SW3 receives the link successful connection of thinking behind the UP_ACK_I message between node SW3 and the SW4, sends the UP_ACK_II message immediately to node SW4.Node SW4 receives the link successful connection of thinking behind the UP_ACK_II message between node SW3 and the SW4.So three-way handshake is consulted to finish the link successful connection between node SW3 and the SW4.When node SW3 receives the UP_ACK_I message, when sending the UP_ACK_II message or subsequently, also immediately by its transmission loop probe messages that links to each other with this link.
After node SW4 receives described loop probe messages, be about to its port and be set to forwarding state.Shown in the loop probe messages transmit on looped network by node SW1 and SW2 successively.After node SW3 receives described loop probe messages from its another port, self is set to host node immediately, its port of receiving the loop probe messages is set to master port, and its port that sends the loop probe messages is set to from port and should be set to blocked state from port.So whole ring-network topology reaches convergence.Because original data flow does not change in the looped network, so convergence time is 0.
In addition, the method for convergence fast that realizes in looped network that the embodiment of the invention provides also defines node state:
The link that links to each other with a certain port just often, defining this port is the UP state.If the master port of a certain transmission node and all be in the UP state from port just defines this transmission node and is in Link UP state.
When the link that links to each other with a certain port disconnected, defining this port was the Down state.If the master port of a certain transmission node and all be in the Down state from port just defines this transmission node and is in Link Down state.
Port can also be set to blocked state, is used to stop the transmission of data.If the master port of a certain transmission node and all be in blocked state from port promptly defines this transmission node and is in interim blocked state, be i.e. the Preforwarding state.
In the above-mentioned process that realizes convergence by signalling trouble mechanism, the transmission node that links to each other with described link when transferring off-state to by connection status receives among the down and has no progeny, directly from Link UP state transition to the LinkDown state.
In the above-mentioned process that realizes restraining by the host node negotiation mechanism, when a link in the looped network when off-state transfers connection status to, do not return the Link-Up state with described link-attached transmission node from Link-Down state Direct Transfer, but earlier through an interim blocked state.As described below:
When the link-recovery connection status, the master port of described transmission node and all revert to the Up state from port, this moment, transmission node was moved to interim blocked state earlier, the port of blockage recovery.This is because the moment that the master and slave port of transmission node all recovers the Up state, and host node can't be known this information at once, and it also is in forwarding state from port.If transmission node moves back the Link-Up state immediately, certainly will cause data message on looped network, to form the broadcasting loop.Therefore described transmission node is moved to blocked state on one's deathbed earlier from the Link-Down state.When being in the loop probe messages that the transmission node of blocked state on one's deathbed receives that host node sends, move to the Link-Up state again.
The embodiment of the invention also provides a kind of back mechanism to recover interim port blocked and the triggering state switches: transmission node can not receive the loop probe messages in official hour, then move to the Link-Up state voluntarily, and open interim port blocked, be changed to forwarding state.
The method of convergence fast that realizes in looped network that the embodiment of the invention provides has the advantage that the node number has nothing to do on topological convergence speed fast and convergence time and the looped network.Wherein the convergence time of the link in the looped network when connection status transfers off-state to be less than 20ms, and the convergence time of the link in the looped network when off-state reverts to connection status is 0.The worst situation, promptly under the situation of signalling trouble mechanism failure, the convergence time of looped network is also less than 1S.Method of the present invention can prevent shake when Guang Kou carries out plug, and then can well prevent the variation that topology is instantaneous.
The embodiment of the invention also provides a kind of system of convergence fast that realizes in looped network, described system comprises: message processing module, be used for transferring connection status to from off-state when a link of two nodes of looped network connection, a node in described two nodes is received earlier when UP interrupts, described two nodes carry out three-way handshake to be consulted, by receiving that earlier the node that UP interrupts sends the loop probe messages by the port that self links to each other with described link to another node, receive described loop probe messages if receive node that UP interrupts earlier from self another port, then self is set to host node;
Module is set, and when being used for described another node and receiving described loop probe messages, the port of self is set to forwarding state; Also be used for receiving described loop probe messages from self another port if receive node that UP interrupts earlier, the port of receiving the loop probe messages is set to master port, and the port that sends the loop probe messages is set to from port and describedly is set to blocked state from port.
Further, describedly be provided with that module also is used for and do not receive described loop probe messages from self another port if receive node that UP interrupts earlier in the time that sets in advance, the port that then sends the loop probe messages is set to forwarding state.
Further, described message processing module comprises:
Transmitting element, be used to carry out described two nodes and carry out sending message mutually between two nodes described in the three-way handshake negotiation step, also be used for by receiving that earlier the node that UP interrupts sends the loop probe messages by the port that self links to each other with described link to another node;
Judging unit is used to judge whether described two nodes carry out described in the three-way handshake negotiation step message that sends mutually between two nodes correct; Described message comprises contents such as ring ID, type of message, source MAC;
Processing unit is used for receiving described loop probe messages if receive node that UP interrupts earlier from self another port that then self is set to host node.
Further again, described system further comprises the loop detection module, be used for when looped network is in normal operating conditions, the master port from self of described host node cycle sends the loop probe messages that is used for health detection, propagates through each transmission node in the looped network successively; If described host node in the time that sets in advance, can not receive described loop probe messages from port, then described host node self is set to transmission node, self be set to forwarding state from port.
Further again, described message processing module also is used for, a link that connects two nodes in looped network transfers off-state to from connection status, described two nodes are received when down interrupts, send the link failure message to described host node respectively, send the link-recovery message from the master port of self with from port respectively when described host node is received described link failure message, self is set to transmission node then, and refreshes the MAC table; Each transmission node refreshes the MAC table after receiving described link-recovery message in the looped network;
Described when module being set also being used for described host node and receiving the link failure message self be set to forwarding state from port.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. in looped network, realize the method for convergence fast for one kind, it is characterized in that, said method comprising the steps of:
When a link that connects two nodes in the looped network when off-state transfers connection status to, the port that links to each other with described link on described two nodes produces the UP interruption;
A node in described two nodes receives earlier when UP interrupts that described two nodes carry out three-way handshake to be consulted, by receiving that earlier the node that UP interrupts sends the loop probe messages by the port that self links to each other with described link to another node;
When described another node was received described loop probe messages, the port of self was set to forwarding state;
Receive described loop probe messages if receive node that UP interrupts earlier from self another port, then self is set to host node, the port of receiving the loop probe messages is set to master port, and the port that sends the loop probe messages is set to from port and describedly is set to blocked state from port.
2. method according to claim 1 is characterized in that, when described another node was received described loop probe messages, the port of self was set to after the step of forwarding state further comprising the steps of:
Do not receive described loop probe messages from self another port if receive node that UP interrupts earlier in the time that sets in advance, the port that then sends the loop probe messages is set to forwarding state.
3. method according to claim 1 is characterized in that, the step that described two nodes carry out the three-way handshake negotiation is specially:
Receive that earlier the node that UP interrupts sends the SYN message to described another node;
When described another node is received the SYN message, to receiving that earlier node that UP interrupts sends an ACK message and confirms;
Receive earlier when node that UP interrupts is received described ACK message, send another ACK message to described another node and confirm;
When described another node is received described another ACK message, described link successful connection;
Receive in the ban when node that UP interrupts is received described ACK message, carries out described by receiving that earlier node that UP interrupts is by the port that self links to each other with the described link step to another node transmission loop probe messages.
4. according to the arbitrary described method of claim 1 to 3, it is characterized in that described method further may further comprise the steps:
When looped network was in normal operating conditions, the master port from self of described host node cycle sent the loop probe messages that is used for the looped network health detection, propagates through each transmission node in the looped network successively;
If described host node in the time that sets in advance, can not receive described loop probe messages from port, then described host node self is set to transmission node, self be set to forwarding state from port.
5. according to the arbitrary described method of claim 1 to 3, it is characterized in that described method further may further comprise the steps:
When a link that connects two nodes in the looped network when connection status transfers off-state to, the port that links to each other with described link on described two nodes produces the down interruption;
Described two nodes are received and are sent the link failure message to described host node respectively when down interrupts;
When described host node is received the link failure message self be set to forwarding state from port, and send the link-recovery message from the master port of self with from port respectively, self is set to transmission node then, and refreshes the MAC table;
Each transmission node refreshes the MAC table after receiving described link-recovery message in the looped network.
6. in looped network, realize the system of convergence fast for one kind, it is characterized in that described system comprises:
Message processing module, be used for transferring connection status to from off-state when a link of two nodes of looped network connection, a node in described two nodes is received earlier when UP interrupts, described two nodes carry out three-way handshake to be consulted, by receiving that earlier the node that UP interrupts sends the loop probe messages by the port that self links to each other with described link to another node, receive described loop probe messages if receive node that UP interrupts earlier from self another port, then self is set to host node;
Module is set, and when being used for described another node and receiving described loop probe messages, the port of self is set to forwarding state; Also be used for receiving described loop probe messages from self another port if receive node that UP interrupts earlier, the port of receiving the loop probe messages is set to master port, and the port that sends the loop probe messages is set to port and describedly is set to blocked state from port.
7. system according to claim 6, it is characterized in that, describedly be provided with that module also is used for and do not receive described loop probe messages from self another port if receive node that UP interrupts earlier in the time that sets in advance, the port that then sends the loop probe messages is set to forwarding state.
8. system according to claim 6 is characterized in that, described message processing module comprises:
Transmitting element, be used to carry out described two nodes and carry out sending message mutually between two nodes described in the three-way handshake negotiation step, also be used for by receiving that earlier the node that UP interrupts sends the loop probe messages by the port that self links to each other with described link to another node;
Judging unit is used to judge whether described two nodes carry out described in the three-way handshake negotiation step message that sends mutually between two nodes correct;
Processing unit is used for receiving described loop probe messages if receive node that UP interrupts earlier from self another port that then self is set to host node.
9. according to the arbitrary described system of claim 6 to 8, it is characterized in that, described system further comprises the loop detection module, be used for when looped network is in normal operating conditions, the master port from self of described host node cycle sends the loop probe messages that is used for health detection, propagates through each transmission node in the looped network successively; If described host node in the time that sets in advance, can not receive described loop probe messages from port, then described host node self is set to transmission node, self be set to forwarding state from port.
10. according to the arbitrary described system of claim 6 to 8, it is characterized in that, described message processing module also is used for, a link that connects two nodes in looped network transfers off-state to from connection status, described two nodes receive and send the link failure message to described host node respectively when down interrupts, and described host node sends the link-recovery message from the master port of self with from port respectively when receiving described link failure message, self is set to transmission node then, and refreshes the MAC table; Each transmission node refreshes the MAC table after receiving described link-recovery message in the looped network;
Described when module being set also being used for described host node and receiving the link failure message self be set to forwarding state from port.
CN 201010107799 2010-02-04 2010-02-04 Method and system for realizing rapid convergence in ring network Expired - Fee Related CN101820376B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010107799 CN101820376B (en) 2010-02-04 2010-02-04 Method and system for realizing rapid convergence in ring network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010107799 CN101820376B (en) 2010-02-04 2010-02-04 Method and system for realizing rapid convergence in ring network

Publications (2)

Publication Number Publication Date
CN101820376A true CN101820376A (en) 2010-09-01
CN101820376B CN101820376B (en) 2013-07-17

Family

ID=42655329

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010107799 Expired - Fee Related CN101820376B (en) 2010-02-04 2010-02-04 Method and system for realizing rapid convergence in ring network

Country Status (1)

Country Link
CN (1) CN101820376B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106059880A (en) * 2016-05-27 2016-10-26 杭州华三通信技术有限公司 Link fault processing method and link fault processing device
CN106911585A (en) * 2017-04-24 2017-06-30 西安电子科技大学 A kind of load balancing pruning method of loop ethernet
CN111585860A (en) * 2020-04-28 2020-08-25 杭州迪普科技股份有限公司 Method, device, storage medium and equipment for loop network convergence
CN113938419A (en) * 2021-10-15 2022-01-14 湖南八零二三科技有限公司 Switch RSTP convergence enhancing method
CN114928534A (en) * 2022-03-28 2022-08-19 安科讯(福建)科技有限公司 Fault self-healing method and terminal of wireless network bridge
CN115347942A (en) * 2022-08-31 2022-11-15 杭州云合智网技术有限公司 Optical fiber channel anti-jitter implementation method, device, equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101436975B (en) * 2007-11-13 2011-08-03 华为技术有限公司 Method, apparatus and system for implementing rapid convergence in looped network
CN101184013B (en) * 2007-12-13 2011-04-13 杭州华三通信技术有限公司 Method for preventing generation of loop, host node and system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106059880A (en) * 2016-05-27 2016-10-26 杭州华三通信技术有限公司 Link fault processing method and link fault processing device
CN106059880B (en) * 2016-05-27 2020-09-25 新华三技术有限公司 Link fault processing method and device
CN106911585A (en) * 2017-04-24 2017-06-30 西安电子科技大学 A kind of load balancing pruning method of loop ethernet
CN106911585B (en) * 2017-04-24 2019-08-13 西安电子科技大学 A kind of load balancing pruning method of loop ethernet
CN111585860A (en) * 2020-04-28 2020-08-25 杭州迪普科技股份有限公司 Method, device, storage medium and equipment for loop network convergence
CN111585860B (en) * 2020-04-28 2021-12-24 杭州迪普科技股份有限公司 Method, device, storage medium and equipment for loop network convergence
CN113938419A (en) * 2021-10-15 2022-01-14 湖南八零二三科技有限公司 Switch RSTP convergence enhancing method
CN113938419B (en) * 2021-10-15 2023-03-24 湖南八零二三科技有限公司 Switch RSTP convergence enhancing method
CN114928534A (en) * 2022-03-28 2022-08-19 安科讯(福建)科技有限公司 Fault self-healing method and terminal of wireless network bridge
CN114928534B (en) * 2022-03-28 2023-08-25 安科讯(福建)科技有限公司 Fault self-healing method and terminal for wireless network bridge
CN115347942A (en) * 2022-08-31 2022-11-15 杭州云合智网技术有限公司 Optical fiber channel anti-jitter implementation method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN101820376B (en) 2013-07-17

Similar Documents

Publication Publication Date Title
CN100596356C (en) Network node and fault recovery method of Ethernet ring network therein
JP5073812B2 (en) Distributed Ethernet system and method for detecting faults based on the system
CN101999224B (en) Redundant Ethernet automatic protection switching access to virtual private lan services
CN100459531C (en) Method for notifying pseudo-lines fault based on bidirectional transmission detecting protocol
CN101841450B (en) Method and system for realizing stable communication by forming multiple ring topologies into intersecting ring
CN101820376B (en) Method and system for realizing rapid convergence in ring network
CN101345683B (en) Protocol packet transmission control method of Ethernet automatic protection switch system
CN100450036C (en) Method and apparatus for preventing loop when RRPP and partial STP network damage recovery
EP2339791B1 (en) Method for forwarding protocol frames in spanning rings and a shared node of multi-rings in the ethernet
JP4628945B2 (en) Layer 2 network
CN102638389A (en) Redundancy backup method and system of TRILL (Transparent Interconnection over Lots of Links) network
JP2008160227A (en) Network apparatus and communication system
JP2008166990A (en) Ring node device
CN101478469A (en) Method and system for RRPP loop link switching
CN110635940B (en) Main/standby switching method of EAPS Ethernet ring network
CN102480409A (en) Method for realizing rapid ring protection protocol (RRPP) loop shunting uplink, RRPP loop and device
CN102916862B (en) Intelligent looped network dynamic protection method of industrial Ethernet switch
JP5491623B2 (en) Address refresh method and system
CN101534234B (en) Interworking Ethernet ring network protection method and system
CN101136838B (en) Bridge mode elastic grouping ring transannular bridge equipment redundancy protecting method
CN101848128B (en) Method, system and topological structure for realizing stabilized communication among multi-ring topologies
JP5465784B2 (en) Method and system for subring control channel without virtual channel to block protocol messages
CN103580932A (en) Status switching method and system based on Ethernet linear protection switching
CN100550812C (en) Improve method, system and the node device of dependability of fast looped network
WO2010116465A1 (en) Ring node device, multi-ring network system, and route switching method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: South Granville nine new software park 518000 Guangdong city of Shenzhen province Nanshan District District 8 Building 7 floor

Applicant after: Shenzhen Jinhongwei Technology Co.,Ltd.

Address before: South Granville nine new software park 518000 Guangdong city of Shenzhen province Nanshan District District 8 Building 7 floor

Applicant before: Shenzhen Golden Highway Industry Development Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SHENZHEN GOLDEN HIGHWAY INDUSTRIAL DEVELOPMENT CO., LTD. TO: SHENZHEN GOLDEN HIGHWAY TECHNOLOGY CO., LTD.

C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP03 Change of name, title or address

Address after: 518000 Guangdong city of Shenzhen province Nanshan District South Road No. 9 nine Wei new software park building 8 floor 701-712 room 7

Patentee after: Shenzhen Jinhongwei Technology Co., Ltd.

Address before: South Granville nine new software park 518000 Guangdong city of Shenzhen province Nanshan District District 8 Building 7 floor

Patentee before: Shenzhen Jinhongwei Technology Co.,Ltd.

DD01 Delivery of document by public notice

Addressee: Sun Wei

Document name: Notification of Passing Examination on Formalities

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20170123

Address after: High tech Zone Tangjiawan town in Guangdong province science and technology 519000 Zhuhai City Road No. 66 Building No. three layer

Patentee after: Zhuhai Zhongwei Acer Technology Co. Ltd.

Address before: 518000 Guangdong city of Shenzhen province Nanshan District South Road No. 9 nine Wei new software park building 8 floor 701-712 room 7

Patentee before: Shenzhen Jinhongwei Technology 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: 20130717

Termination date: 20200204