CN106685783A - Ring network protection method and system - Google Patents

Ring network protection method and system Download PDF

Info

Publication number
CN106685783A
CN106685783A CN201611245270.4A CN201611245270A CN106685783A CN 106685783 A CN106685783 A CN 106685783A CN 201611245270 A CN201611245270 A CN 201611245270A CN 106685783 A CN106685783 A CN 106685783A
Authority
CN
China
Prior art keywords
node
state information
nodes
protection switching
current
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
CN201611245270.4A
Other languages
Chinese (zh)
Other versions
CN106685783B (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.)
Raisecom Technology Co Ltd
Original Assignee
Raisecom Technology 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 Raisecom Technology Co Ltd filed Critical Raisecom Technology Co Ltd
Priority to CN201611245270.4A priority Critical patent/CN106685783B/en
Publication of CN106685783A publication Critical patent/CN106685783A/en
Application granted granted Critical
Publication of CN106685783B publication Critical patent/CN106685783B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery

Abstract

The invention provides a ring network protection method and system. The ring network protection method and system comprise that each node transmits an automatic protection switching message including current status information of the node in the ring network; the node with the highest priority in current status information is set as current main node of the ring network; according to a preset ring ending blocking rule, the current main node is used to determine a blocked ring ending, and notify other nodes in the ring network. The ring network protection method and system automatically select the best path to forward, the ring path is more intelligent, and the quality of chain paths is better; node status information is transmitted by an automatic protection switching APS message, according to the current status information of each node, the roles are determined by election, no predetermined main node is needed, and the configuration is easier; failures of signal degradation, disconnection and the like of the chain path are monitored in real time, status updates are more timely, and fast protection switch is more direct, timely and fast; it is also beneficial for network management, automatic test and network troubleshooting analysis.

Description

A kind of ring net protection method and system
Technical field
The present invention relates to looped network protection field, and in particular to a kind of ring net protection method and system.
Background technology
In order to improve the availability of network, network transmission path often provides redundant link.It is currently available that redundant link Management agreement has:STP (Spanning Tree Protocol, Spanning-Tree Protocol), G.8032, SNCP (subnetwork Connection protection, SNCP) etc., such agreement be mainly used to ensure failure when pretection switch with And the link under convergence state is pruned.Common redundant link networking is mainly circularized, because annular networking is provided more just The pretection switch function of profit, thus be widely adopted in conventional telecommunication network.
Similar, operating in the Loop Protection agreement in looped network also has various motions, but most of Loop Protection agreement Configuration is complicated, using inconvenience, for example, conventional telecommunication network is (such as:SDH (Synchronous Digital Hierarchy, together Step number font stream)) the inner overhead byte for needing complexity transmits loop and fault message with fixed message format, and need Frequently to send message to detect link failure, it is higher to hardware requirement;G.8032 etc. and it is required to specify the RPL of fixation (ringprotection link, Loop Protection link), it is impossible to which RPL selections and flow turn are carried out come automatic according to link-quality Hair Path selection, loop prevention mechanism is also not intelligent enough.
The content of the invention
The present invention cannot meet the autonomous requirement switched of loop to solve existing loop prevention mechanism, there is provided a kind of looped network Guard method and system.
In order to realize foregoing invention purpose, the technical scheme that the present invention takes is as follows:
A kind of ring net protection method, the looped network includes multiple nodes, including:
Each node sends in the looped network includes the automatic protection switching message of this node current state information;
The node of current state information highest priority is set to the current primary node of looped network;
The current primary node determines the central port being blocked according to the central port obstruction rule for pre-setting, and notifies institute State other nodes in looped network.
Preferably, the node of current state information highest priority is set into current primary node includes:
When receiving the automatic protection switching message of other nodes transmission, the current state information priority of this node is judged Whether it is higher than the current state information of other nodes, if it is, continue to send including the automatic guarantor of this node current state information Shield switching message, otherwise forwards the automatic protection switching message for receiving, until each node only forwards a section in whole looped network During the automatic protection switching message of point, the node is set to current primary node.
Preferably, the automatic protection switching message includes:Node identification, the automatic guarantor that the node is received in judgement When node identification in shield switching message is inconsistent with the node identification of this node, it is judged as receiving the automatic of its node transmission Protection switching message.
Preferably, the status information includes:Central port status information, Signal Degrade status information, ring node priority Information and node identification.
Preferably, judge whether the current state information priority of this node has higher than the current state information of other nodes Body includes:
When the central port state value of this node is higher than the central port state value of other nodes,
When the central port state value of this node and the central port state value of other nodes is equal but Signal Degrade status information When value is higher than the Signal Degrade state information value of other nodes,
Central port state value with other nodes of central port state value, Signal Degrade state information value when this node, Signal Degrade state information value is equal but ring node priority higher than other nodes link point priority value when, or,
Central port state value, Signal Degrade state information value, link point priority value when this node with other nodes Central port state value, Signal Degrade state information value is equal but the excellent Node Identification more than other nodes of Node Identification When,
Determine the current state information of the current state information priority higher than other nodes of this node.
Preferably, each node obtains central port Signal Degrade status information by Operations, Administration and Maintenance OAM frames.
Preferably, when the current state information that there is node in the looped network changes or current link conditions hair During changing, each node sends in the looped network includes the automatic protection switching message of this node current state information.
Preferably, described automatic protection switching message is identified including message characteristic, and the node is special according to the message Levy mark and determine that the message for receiving is automatic protection switching message.
Preferably, described automatic protection switching message is using the CFM headings for Y.1731 defining and sets particular value Command code is identified for message characteristic.
Preferably, when the host node sends the automatic protection switching message, including its central port blocked state is contained Node status information.
Preferably, the node status information also includes:Believe for notifying that other nodes remove the clear table of original forwarding address Breath.
Preferably, the node of non-master default ring hold time in do not receive host node transmission automatic protection cut When changing message, judge that link breaks down, and according to the default central port obstruction rule obstruction central port for pre-setting.
Preferably, the node of non-master exceedes the automatic guarantor that current primary node transmission is received within the default stand-by period During shield switching message, if the current state information priority of the node is higher than the priority of current primary node, by the looped network Current primary node be set to the node.
Preferably, current primary node is detected when preceding status information changes or current link conditions change When, port blocked is first redefined according to the central port obstruction rule for pre-setting, and renewal will be including this node current state The automatic protection switching message of information is forwarded from non-blocked ports.
Preferably, each node only forwards an automatic protection switching message for node to exceed what is pre-set in whole looped network When waiting switching time, the node is set to current primary node.
In order to solve the above technical problems, the present invention also provides a kind of Ring protection system, the system includes multiple nodes, The node performs above-mentioned method.
Compared to the prior art the present invention, has the advantages that:
Ring net protection method of the invention and system automatically select optimal path forwarding, and loop is more intelligent, link-quality It is more outstanding;By automatic protection switching APS message transmission link three-point state informations, according to the current state information of each link point Election determines self-role, and without preassigning host node so that configuration is simpler;The method of the present invention and system are real-time Monitor the failures such as Signal Degrade, the disconnection of link so that state updates much sooner, quick protective switch is more directly, in time With it is quick;It is also beneficial to beneficial to webmaster, automatic test and Analysis of Network Malfunction investigation.
Brief description of the drawings
Fig. 1 is the flow chart of the ring net protection method of the embodiment of the present invention;
Fig. 2 is the priority comparison schematic diagram of the embodiment of the present invention;
Fig. 3 is the schematic diagram of the looped network of the embodiment of the present invention.
Specific embodiment
To make goal of the invention of the invention, technical scheme and beneficial effect of greater clarity, below in conjunction with the accompanying drawings to this Inventive embodiment is illustrated, it is necessary to illustrate, in the case where not conflicting, in the embodiment and embodiment in the application Feature can mutually be combined.
As shown in figure 1, the embodiment of the present invention provides a kind of ring net protection method, including:
S101, each node send in the looped network includes the automatic protection switching APS of this node current state information (Auto Protection Switch) message;
S102, the current primary node that the node of current state information highest priority is set to looped network;
S103, the current primary node determine the central port being blocked according to the central port obstruction rule for pre-setting, and Notify other nodes in the looped network.
Step S103 determines the central port being blocked according to the central port obstruction rule for pre-setting in the embodiment of the present invention When, it is the central port state that current primary node is determined according to central port obstruction rule and central port state difference, the central port State is used to determine whether block traffic message, and then determines the message bang path of the looped network.
The embodiment of the present invention can automatically select optimal path forwarding, without specifying message relays link, loop more intelligence Can, link-quality is more outstanding;Do not need designated host, but the APS messages sent by each node include it is current Node status information carries out priority ratio compared with so that it is determined that link dotted state and role, configure simpler.
Based on above example, the node of current state information highest priority is set to current main section in step S102 Point includes:
When receiving the automatic protection switching message of other nodes transmission, the current state information priority of this node is judged Whether it is higher than the current state information of other nodes, if it is, continue to send including the automatic guarantor of this node current state information Shield switching message, otherwise forwards the automatic protection switching message for receiving, until each node only forwards a section in whole looped network During the automatic protection switching message of point, the node is set to current primary node.
In the embodiment of the present invention, each node, the automatic protection switching message that adjacent node sends in looped network is received When, the automatic protection switching message of this node is carried out into current state information priority with the automatic protection switching message for receiving Compare, if the current state information priority of this node is excellent higher than the corresponding node of automatic protection switching message for receiving First level, then send the automatic protection switching message of this node, if the current state information priority of this node is less than received The corresponding node of automatic protection switching message priority, then forward the automatic protection switching message for receiving, and no longer send out Send the automatic protection switching message of the current state information including this node.
Wherein, the automatic protection switching message includes:Node identification, the automatic protection that the node is received in judgement When node identification in switching message is inconsistent with the node identification of this node, it is judged as receiving the automatic guarantor of its node transmission Shield switching message.
In the embodiment of the present invention, the node identification according to entrained by the automatic protection switching message for receiving judges described Whether automatic protection switching message is what this node sent;To determine whether to be compared step.
The status information includes:Central port status information, Signal Degrade status information, link point precedence information and Node identification.
Judge whether the current state information priority of this node specifically includes higher than the current state information of other nodes:
When the central port state value of this node is higher than the central port state value of other nodes,
When the central port state value of this node and the central port state value of other nodes is equal but Signal Degrade status information When value is higher than the Signal Degrade state information value of other nodes,
Central port state value with other nodes of central port state value, Signal Degrade state information value when this node, Signal Degrade state information value is equal but ring node priority higher than other nodes link point priority value when, or,
Central port state value, Signal Degrade state information value, link point priority value when this node with other nodes Central port state value, Signal Degrade state information value is equal but the excellent Node Identification more than other nodes of Node Identification When,
Determine the current state information of the current state information priority higher than other nodes of this node.
Specifically, as shown in Fig. 2 judging to receive the APS messages of other nodes by node identification Node ID Afterwards, central port state (link state) value, Signal Degrade status information (SD state) value, ring node priority are compared successively Value and node identification (Node ID) value, determine the priority of node current state, and comparing item has had differentiation currently Shi Buzai carries out the comparing of the NextState value of information.
Wherein, in above-mentioned state information value, the node identification of each node, link point priority value can by it is pre-configured come Setting, central port state value locally judges would know that by node, and each node is obtained by Operations, Administration and Maintenance OAM frames Signal Degrade status information.
The embodiment of the present invention is by each node current state and the letter especially by OAM monitor in real time links in looped network The link failure informations such as number deterioration state information, disconnection so that pretection switch is possibly realized more directly, in time and quickly.
When the current state information that there is node in the looped network changes or current link conditions change When, each node sends in the looped network includes the automatic protection switching message of this node current state information.
When the current state information that there is node in the looped network changes or current link conditions change When, each node includes the automatic protection switching message of this node current state information by being sent in the looped network, selects again Host node is lifted, based on above-described embodiment, the node of current state information highest priority is still set to the current master of looped network Node, realizes the automatic election process of host node in looped network.
Described automatic protection switching message is identified including message characteristic, and the node is true according to message characteristic mark Surely the message for receiving is automatic protection switching message.
Described automatic protection switching message use the CFM headings that Y.1731 define and set the command code of particular value for Message characteristic is identified.
When the host node sends the automatic protection switching message, including the node shape containing its central port blocked state State information.
The node status information also includes:For notifying that other nodes remove original clear table information of forwarding address.
The node of non-master does not receive the automatic protection switching message of host node transmission in default ring is held time When, judge that link breaks down, and according to the default central port obstruction rule obstruction central port for pre-setting.
When this node does not receive the automatic protection switching message of adjacent node transmission in ring is held time in the present embodiment When, determine that the adjacent node breaks down;This node sends automatic protection switching message to adjacent node in the looped network, and According to the default central port obstruction rule obstruction central port for pre-setting;Again the section of each node in the looped network The priority of the node status information of three-point state information networked devices corresponding with the automatic protection switching message for receiving, selects again Host node is lifted, based on above-described embodiment, the node of current state information highest priority is still set to the current master of looped network Node, realizes the automatic election process of host node in looped network so that the automatic protection process of looped network can be automatically obtained, without Excessive configuration process.
Preferably, the node of non-master exceedes the automatic guarantor that current primary node transmission is received within the default stand-by period During shield switching message, if the current state information priority of the node is higher than the priority of current primary node, by the looped network Current primary node be set to the node.
When current primary node is detected when preceding status information changes or current link conditions change, first basis The central port obstruction rule for pre-setting redefines port blocked, and updates and will include the automatic of this node current state information Protection switching message is forwarded from non-blocked ports.
In whole looped network each node only forward an automatic protection switching message for node exceed pre-set etc. it is to be cut When changing the time, the node is set to current primary node.
As shown in figure 3, the embodiment of the present invention also provides a kind of Ring protection system, the looped network includes multiple nodes, figure In schematically represent 5 nodes, in other examples can include more or less nodes, including:
Each node sends in the looped network includes the automatic protection switching message of this node current state information;
The node of current state information highest priority is set to the current primary node of looped network;
The current primary node determines the central port being blocked according to the central port obstruction rule for pre-setting, and notifies institute State other nodes in looped network.
The node of current state information highest priority is set into current primary node includes:
When receiving the automatic protection switching message of other nodes transmission, the current state information priority of this node is judged Whether it is higher than the current state information of other nodes, if it is, continue to send including the automatic guarantor of this node current state information Shield switching message, otherwise forwards the automatic protection switching message for receiving, until each node only forwards a section in whole looped network During the automatic protection switching message of point, the node is set to current primary node.
The automatic protection switching message includes:Node identification, the automatic protection switching that the node is received in judgement When node identification in message is inconsistent with the node identification of this node, it is judged as that the automatic protection for receiving the transmission of its node is cut Change message.
The status information includes:Central port status information, Signal Degrade status information, link point precedence information and Node identification.
Judge whether the current state information priority of this node specifically includes higher than the current state information of other nodes:
When the central port state value of this node is higher than the central port state value of other nodes,
When the central port state value of this node and the central port state value of other nodes is equal but Signal Degrade status information When value is higher than the Signal Degrade state information value of other nodes,
Central port state value with other nodes of central port state value, Signal Degrade state information value when this node, Signal Degrade state information value is equal but ring node priority higher than other nodes link point priority value when, or,
Central port state value, Signal Degrade state information value, link point priority value when this node with other nodes Central port state value, Signal Degrade state information value is equal but the excellent Node Identification more than other nodes of Node Identification When,
Determine the current state information of the current state information priority higher than other nodes of this node.
Each node obtains central port Signal Degrade status information by Operations, Administration and Maintenance OAM frames.
When the current state information that there is node in the looped network changes or current link conditions change When, each node sends in the looped network includes the automatic protection switching message of this node current state information.
Described automatic protection switching message is identified including message characteristic, and the node is true according to message characteristic mark Surely the message for receiving is automatic protection switching message.
Described automatic protection switching message use the CFM headings that Y.1731 define and set the command code of particular value for Message characteristic is identified.
When the host node sends the automatic protection switching message, including the node shape containing its central port blocked state State information.
The node status information also includes:For notifying that other nodes remove original clear table information of forwarding address.
When described node does not receive the automatic protection switching message of other nodes transmission in default ring is held time, Judge that link breaks down, and according to the default central port obstruction rule obstruction central port for pre-setting.
The node of non-master exceedes the automatic protection switching that current primary node transmission is received within the default stand-by period During message, if the current state information priority of the node is higher than the priority of current primary node, will be current in the looped network Host node is set to the node.
When current primary node is detected when preceding status information changes or current link conditions change, first basis The central port obstruction rule for pre-setting redefines port blocked, and updates and will include the automatic of this node current state information Protection switching message is forwarded from non-blocked ports.
In whole looped network each node only forward an automatic protection switching message for node exceed pre-set etc. it is to be cut When changing the time, the node is set to current primary node.
Embodiment 1
As shown in Figures 2 and 3, so that looped network includes 5 nodes as an example, the ring net protection method of the present embodiment is illustrated.
The role of link point need not be specified in the looped network of the present embodiment, but by voluntarily computing loop role, and lead to Cross the loop role for generating and determine forwarding/de-blocking act.Therefore configure in the present embodiment simple, it is only necessary to specify looped network In the ring priority of each node, central port and VLAN.
Automatic protection switching APS (the Auto for transmitting node current state information are pre-set in the present embodiment Protection Switch) message, wherein, APS message formats are defined as follows:
Y.1731, the CFM heads that header borrow is defined, the multicast mac address that target MAC (Media Access Control) address is defined according to ITU, Exemplary can use 01:19:a7:00:00:08, to be distinguished with common CFM, command code OPCODE could be arranged to Specific value, (for example:40), the message characteristic in this, as APS is identified, i.e. each node can be special by the message in looped network Levy mark and determine that the message for receiving is APS messages.
The form of payload segment is as shown in table 1:
Table 1
Wherein, each value sets as follows in message:
(1) version values are setting value, can be 1 with default setting, or other values;
(2)state:Central port state value, the currently practical state according to loop ports carries out set, can take up 1 Message space, link down (broken) are set to 1, link up (connection) and are set to 0.Known by this node according to link states and Real-time update;
(3)SD(Signal Degrade):Signal Degrade state value, determines according to link current state, for example, normally put It is 0, and 1 is set to when producing deterioration.
Illustrate a bit:After each node link OAM, according to the link OAM event definitions that IEEE802.3AH standards are defined Have following several:0x01Errored Symbol Period Event、0x02Errored Frame Event、 0x03Errored Frame Period Event、0x04Errored Frame Seconds Summary Event.According to The monitoring situation real-time report of 802.3ah, wherein, opening node when SD is detected can get OAM events and alarm;According to acquisition To can carry out enjoying corresponding set to SD during alarm event;
(4) PRIORITY values:Ring node priority, for each node, can configure ring node priority, if 8 When, the span of priority is 0~255.
(5)NODE ID:Node identification, for distinguishing each node, it is possible to use the MAC of node is identified, now NODE ID must at least take 6 bytes;
(6)Status:Node state value, such as using the blocked state and clear table information of two difference identification ports high, Low 6 are used for identifying loop folding condition, and this 6 are used for notifying other node loop circuit states.PB values identify host node to port Action, if having blocked related port is set to 1, be otherwise set to 0.DNF values identify whether to need to remove buffer list entry, new Host node sends the message that DNF values are 1 at once when producing, for removing list item, be otherwise set to 0;Low 6 are opened for identifying loop Conjunction state, R-closed/R-open two states are defined according to loop circuit state, and host node notifies that other are saved by the bit The closure information of point loop.
(7) Reserved, the message information of reserve bytes is used as extension;
In above-mentioned protocol massages, tetra- fields of state, SD, PRIOTITY, NODE ID are used as the current looped network master of participation The status information of node election, comparative sequence and comparison algorithm are introduced in detail below.
In the present embodiment, it is extra that following rule is set:
The obstruction rule of central port:Preferentially the central port of link down/SD is blocked, if link states and SD State is consistent then to block the big central port of port numbers;
Central port blocking behavior:Block traffic message, OAM message and APS messages are not blocked.
As shown in figure 3, being set based on more than, the running of ring net protection method is as follows:
During initialization:Each node enables automatic protection switching APS agreements, and is respectively configured VLAN, central port, priority etc. Information, node enters init state.The VLAN for configuring herein is comprising agreement operation VLAN and needs the business blocked Vlan list, agreement operation VLAN is used to transmit APS messages between node, and block traffic vlan list represents that looped network restrains rear end The service VLAN of mouth selectively blocking.
All nodes are given tacit consent in PRE-OWNER states in initialization, according to port block rule obstruction central port, Ring protection switching APS (Auto Protection Switch) message is sent outward from this node central port, typically, can be with The time cycle of 3.3ms is sent out APS messages;
When the node on looped network receives the APS messages from other nodes, (the APS messages received by judgement are taken Non- nodal information of Node ID of band and be defined as the APS messages of other nodes) after, extract APS messages in following node shapes State information:Port status value, Signal Degrade state value, circling point priority value, Node Identification, and above-mentioned state information value is pressed Sequence is compared, and determines priority just;Maintain to continue to be sent out itself APS message if this node priority is high, it is no Then stop itself APS message and send and forward the APS messages for receiving;
Continue above flow, when the APS messages of only one of which highest priority in looped network are in lasting transmission, preferably, When each node only forwards an automatic protection switching message for node to exceed the wait switching time for pre-setting in whole looped network, Illustrate in looped network that all nodes had all carried out election and compared, the node for sending the highest priority is set to working as in looped network Preceding host node, the host node determines the central port being blocked according to the central port obstruction rule for pre-setting, and notifies the ring The clear table information of other node updates forwarding address in net.
When the current state information that there is node in the looped network in the embodiment of the present invention changes or current ink When state changes, looped network needs the process for carrying out pretection switch as follows:
Non-present host node does not receive the automatic protection of host node transmission in default ring holds time (for example, 20ms) During switching message, judge that link breaks down, voluntarily block this node central port according to port block rule, send includes outward The APS messages of this node current state information participate in host node election process, and described election process is similar with when initializing, directly To link convergence;
Central port is in forwarding state to non-present host node under normal circumstances, when occurring link failure and letter in loop Number deterioration etc. event and more than the stand-by period (for example, 10ms) receive host node transmission APS messages when, report and (for example pass through OAM) itself current state information of the ring node updates of above event and contrasted with the status information of current primary node, if Priority is high, recovers to send APS outward, and self-role is set into host node, and the related central port of obstruction updates the ring in APS Road closure state, priority is less than current primary node, then current primary node is constant in looped network;
Current primary node receives and compare with itself after new APS messages and when priority is low, be not re-used as host node Port blocked forwarding service is decontroled, if current primary node itself detects link failure and Signal Degrade, first according to ring end Mouthful obstruction rule reselects port blocked, and updates itself current state information and forwarded from non-blocked ports, this When refresh loop closure state notify other nodes;
By above-mentioned flow, it is also possible to elect new host node according to present node and Link State, then by new Host node sends includes removing the message of original clear table information of forwarding address, and finishing service is switched.
Although disclosed implementation method is as above, its content is only to facilitate understand technical side of the invention Case and the implementation method that uses, are not intended to limit the present invention.Any those skilled in the art to which this invention pertains, not On the premise of departing from disclosed core technology scheme, any modification can be made in the form and details implemented and is become Change, but the protection domain that the present invention is limited, must be still defined by the scope of appending claims restriction.

Claims (16)

1. a kind of ring net protection method, the looped network includes multiple nodes, it is characterised in that including:
Each node sends in the looped network includes the automatic protection switching message of this node current state information;
The node of current state information highest priority is set to the current primary node of looped network;
The current primary node determines the central port being blocked according to the central port obstruction rule for pre-setting, and notifies the ring Other nodes in net.
2. the method for claim 1, it is characterised in that be set to the node of current state information highest priority to work as Preceding host node includes:
Receive other nodes transmission automatic protection switching message when, judge this node current state information priority whether Higher than the current state information of other nodes, if it is, continue to send including that the automatic protection of this node current state information is cut Message is changed, the automatic protection switching message for receiving otherwise is forwarded, until each node only forwards node in whole looped network During automatic protection switching message, the node is set to current primary node.
3. method as claimed in claim 2, it is characterised in that the automatic protection switching message includes:Node identification, it is described When node identification of the node in the automatic protection switching message for judging to receive is inconsistent with the node identification of this node, judge To receive the automatic protection switching message of its node transmission.
4. method as claimed in claim 2, it is characterised in that the status information includes:Central port status information, signal is bad Change status information, link point precedence information and node identification.
5. method as claimed in claim 4, it is characterised in that judge this node current state information priority whether be higher than The current state information of other nodes is specifically included:
When the central port state value of this node is higher than the central port state value of other nodes,
When the central port state value of this node, and the central port state value of other nodes is equal but Signal Degrade state information value is high When the Signal Degrade state information value of other nodes,
Central port state value, Signal Degrade state information value when this node with central port state value, the signal of other nodes The deterioration state value of information is equal but ring node priority higher than other nodes link point priority value when, or,
Central port state value, Signal Degrade state information value, link point priority value when this node with the ring of other nodes Port status value, Signal Degrade state information value be equal but during the excellent Node Identification more than other nodes of Node Identification,
Determine the current state information of the current state information priority higher than other nodes of this node.
6. method as claimed in claim 4, it is characterised in that:
Each node obtains central port Signal Degrade status information by Operations, Administration and Maintenance OAM frames.
7. the method for claim 1, it is characterised in that when the current state information that there is node in the looped network occurs During change or when current link conditions change, each node sends in the looped network includes this node current state information Automatic protection switching message.
8. the method for claim 1, it is characterised in that described automatic protection switching message includes message characteristic mark Know, the node determines that the message for receiving is automatic protection switching message according to message characteristic mark.
9. method as claimed in claim 8, it is characterised in that Y.1731 described automatic protection switching message using defining The command code of CFM headings and setting particular value is that message characteristic is identified.
10. the method for claim 1, it is characterised in that when the host node sends the automatic protection switching message, Including the node status information containing its central port blocked state.
11. methods as claimed in claim 10, it is characterised in that the node status information also includes:For notifying other Node removes original clear table information of forwarding address.
12. methods as claimed in claim 7, it is characterised in that the node of non-master default ring hold time in not When receiving the automatic protection switching message of host node transmission, judge link failure, and pre-set according to default Central port obstruction rule obstruction central port.
13. methods as claimed in claim 7, it is characterised in that the node of non-master exceeded within the default stand-by period When receiving the automatic protection switching message of current primary node transmission, if the current state information priority of the node is higher than current The priority of host node, the node is set to by the current primary node in the looped network.
14. methods as claimed in claim 7, it is characterised in that when current primary node detects preceding status information and changes Or current link conditions are when changing, port blocked is first redefined according to the central port obstruction rule for pre-setting, and Updating will include that the automatic protection switching message of this node current state information is forwarded from non-blocked ports.
15. methods as claimed in claim 2, it is characterised in that each node only forwards the automatic of node in whole looped network When protection switching message exceedes the wait switching time for pre-setting, the node is set to current primary node.
A kind of 16. Ring protection systems, the system includes multiple nodes, it is characterised in that the node performs aforesaid right It is required that any described method in 1-15.
CN201611245270.4A 2016-12-29 2016-12-29 A kind of ring net protection method and system Active CN106685783B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611245270.4A CN106685783B (en) 2016-12-29 2016-12-29 A kind of ring net protection method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611245270.4A CN106685783B (en) 2016-12-29 2016-12-29 A kind of ring net protection method and system

Publications (2)

Publication Number Publication Date
CN106685783A true CN106685783A (en) 2017-05-17
CN106685783B CN106685783B (en) 2019-06-28

Family

ID=58872449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611245270.4A Active CN106685783B (en) 2016-12-29 2016-12-29 A kind of ring net protection method and system

Country Status (1)

Country Link
CN (1) CN106685783B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018171745A1 (en) * 2017-03-23 2018-09-27 中兴通讯股份有限公司 Protection switching method and device for ring network
CN109450764A (en) * 2018-10-31 2019-03-08 瑞斯康达科技发展股份有限公司 A kind of ring net protection method, device and loop network
CN110995560A (en) * 2019-12-27 2020-04-10 安徽皖通邮电股份有限公司 Method for realizing Ethernet ring network protection by utilizing one-way detection
CN111092800A (en) * 2019-11-20 2020-05-01 浪潮思科网络科技有限公司 EAPS distributed Ethernet ring protection switching method, equipment and medium
CN114866394A (en) * 2022-04-28 2022-08-05 杭州迪普科技股份有限公司 Method and device for automatically electing blocked port by FRRP ring

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072154A (en) * 2007-03-02 2007-11-14 中兴通讯股份有限公司 Loop Ethernet switching method
CN101127673A (en) * 2006-08-16 2008-02-20 华为技术有限公司 Ethernet automatic protection switching method
CN105577484A (en) * 2016-03-01 2016-05-11 上海斐讯数据通信技术有限公司 EAPS failure detection method and system, and EAPS network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127673A (en) * 2006-08-16 2008-02-20 华为技术有限公司 Ethernet automatic protection switching method
CN101072154A (en) * 2007-03-02 2007-11-14 中兴通讯股份有限公司 Loop Ethernet switching method
CN105577484A (en) * 2016-03-01 2016-05-11 上海斐讯数据通信技术有限公司 EAPS failure detection method and system, and EAPS network

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018171745A1 (en) * 2017-03-23 2018-09-27 中兴通讯股份有限公司 Protection switching method and device for ring network
CN109450764A (en) * 2018-10-31 2019-03-08 瑞斯康达科技发展股份有限公司 A kind of ring net protection method, device and loop network
CN109450764B (en) * 2018-10-31 2021-04-16 瑞斯康达科技发展股份有限公司 Ring network protection method and device and ring network
CN111092800A (en) * 2019-11-20 2020-05-01 浪潮思科网络科技有限公司 EAPS distributed Ethernet ring protection switching method, equipment and medium
CN110995560A (en) * 2019-12-27 2020-04-10 安徽皖通邮电股份有限公司 Method for realizing Ethernet ring network protection by utilizing one-way detection
CN114866394A (en) * 2022-04-28 2022-08-05 杭州迪普科技股份有限公司 Method and device for automatically electing blocked port by FRRP ring

Also Published As

Publication number Publication date
CN106685783B (en) 2019-06-28

Similar Documents

Publication Publication Date Title
US7957267B2 (en) Fault detection device
CA2459286C (en) Method for supporting sdh/sonet aps on ethernet
CN106685783A (en) Ring network protection method and system
US8199639B2 (en) Path protection method and layer-2 switch
US9042216B2 (en) Loop prevention mechanism for ethernet ring protection
US7518988B2 (en) Ring switchover method
CN100546303C (en) Can avoid the Spanning-Tree Protocol that happens suddenly
US6717922B2 (en) Network configuration protocol and method for rapid traffic recovery and loop avoidance in ring topologies
US7983150B2 (en) VPLS failure protection in ring networks
US7619987B2 (en) Node device
US20080068985A1 (en) Network redundancy method and middle switch apparatus
EP1768319A1 (en) Method of inter-RPR-ring bridge redundancy
US20060198315A1 (en) Communication apparatus
EP2493116A1 (en) Topology management method of ether multi-ring network, and system thereof
US20080222447A1 (en) Prevention of frame duplication in interconnected ring networks
US20020159398A1 (en) Spanning tree control unit in the case of trouble or increase and method thereof
Ryoo et al. Ethernet ring protection for carrier ethernet networks
US9705701B2 (en) Method for protecting an Ethernet ring from a superloop going through the Ethernet ring
CN101340346A (en) Ring control method and apparatus of Ethernet looped network system
CN111314216A (en) Mixed networking ring prevention method for MESH router
US8279752B1 (en) Activating tunnels using control packets
CN102957588A (en) Method and system for protecting looped network from broadcast storm
JP2011223172A (en) Ring-type network system, communication apparatus and failure detection method
CN106341297B (en) Networking method and device for monitoring ring network
EP2566114B1 (en) Method and network equipment for dynamically adjusting switching loop

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant