CN109905309A - A kind of consistent method of each node state of holding looped network and network node - Google Patents

A kind of consistent method of each node state of holding looped network and network node Download PDF

Info

Publication number
CN109905309A
CN109905309A CN201910116274.XA CN201910116274A CN109905309A CN 109905309 A CN109905309 A CN 109905309A CN 201910116274 A CN201910116274 A CN 201910116274A CN 109905309 A CN109905309 A CN 109905309A
Authority
CN
China
Prior art keywords
node
state
network
network node
lock
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.)
Pending
Application number
CN201910116274.XA
Other languages
Chinese (zh)
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.)
GAOKE COMMUNICATION TECHNOLOGY Co Ltd GUANGZHOU CITY
Original Assignee
GAOKE COMMUNICATION TECHNOLOGY Co Ltd GUANGZHOU CITY
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 GAOKE COMMUNICATION TECHNOLOGY Co Ltd GUANGZHOU CITY filed Critical GAOKE COMMUNICATION TECHNOLOGY Co Ltd GUANGZHOU CITY
Priority to CN201910116274.XA priority Critical patent/CN109905309A/en
Publication of CN109905309A publication Critical patent/CN109905309A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a kind of consistent methods of each node state of holding looped network, comprising the following steps: sending step: control sends protection lock command to another network node and the symmetrical network node of another network node by long path;First lock step: each network node is in the lock state according to the protection lock command control corresponding network node received on looped network.The present invention also provides a kind of network nodes.The consistent method of each node state of holding looped network of the invention sends protection lock command by long path and makes each node in looped network that can receive corresponding control command to change the lock state of corresponding network node, largely avoided the situation for switch status exception occur.

Description

A kind of consistent method of each node state of holding looped network and network node
Technical field
The present invention relates to a kind of field of communication technology more particularly to a kind of consistent method of each node state of holding looped network and Network node.
Background technique
It is as follows that the mode mainly realized is locked about the forwarding of guarded command at present: as shown in Figure 1, when needing to realize A When the lock command of node is transmitted to each node of looped network, mainly there are one corresponding receiving node of setting, such as B node, B node is directly transferred to by short path and each node in looped network is realized to B node two ways by long path transmission Information transmitting.But when going to be transmitted in this manner, it is found that, when some intermediate node link is broken When, than E or F as shown in figure 1;At this point, corresponding C and D also can not just lock message, to state can be caused to switch exception.
Summary of the invention
For overcome the deficiencies in the prior art, one of the objects of the present invention is to provide a kind of each node states of holding looped network Consistent method can solve the technical problem for keeping each node state of looped network consistent.
The second object of the present invention is to provide a kind of network node, can solve and keep each node state of looped network consistent Technical problem.
An object of the present invention adopts the following technical scheme that realization:
A kind of consistent method of each node state of holding looped network, comprising the following steps:
Sending step: control is sent out by long path to another network node and the symmetrical network node of another network node Send protection lock command;
First lock step: each network node controls corresponding network node according to the protection lock command received on looped network It is in the lock state.
Further, further include after the first lock step state remove step: when network node each in looped network no longer When receiving protection lock command, the lock state of corresponding network node is removed.
Further, further include detecting step before state removes step: each network node is corresponding on detection looped network Node state, the node state are protection lock command reception state.
Further, the sending step specifically: control sends protection locking to adjacent network node by long path Order.
Further, further include the second lock step: when network node each in looped network is in the lock state, detecting phase After adjacent link breaks down, the change of switch status is not carried out according to protocol massages.
Further, the protocol massages are automatic protection switching APS message.
The second object of the present invention adopts the following technical scheme that realization:
A kind of network node, the network node are located in looped network, comprise the following modules:
Sending module: pass through long path to another network node and the symmetrical network section of another network node for controlling Point sends protection lock command;
Locking module: for so that each network node is according to the protection lock command control corresponding network received on looped network Node is in the lock state.
It further, further include that state removes module after locking module: when network node each in looped network no longer receives When protecting lock command, for removing the lock state of corresponding network node.
It further, further include detection module before state removes module: for detecting each network node pair on looped network The node state answered, the node state are protection lock command reception state;
The sending module specifically: protection lock command is sent to adjacent network node by long path for controlling.
Further, further include the second locking module: when network node each in looped network is in the lock state, detecting phase After adjacent link breaks down, the change of switch status is not carried out according to protocol massages;The protocol massages are automatic protection switching APS message.
Compared with prior art, the beneficial effects of the present invention are:
The consistent method of each node state of holding looped network of the invention sends protection lock command by long path and makes ring Each node can receive corresponding control command to change the lock state of corresponding network node in net, largely avoided out The situation of existing switch status exception.
Detailed description of the invention
Fig. 1 is the schematic diagram that lock command is sent in the prior art;
Fig. 2 is the flow chart of the holding consistent method of each node state of looped network of embodiment one;
Fig. 3 is the schematic diagram that the lock command in embodiment one is sent;
Fig. 4 is the structural block diagram of the network node in embodiment two.
Specific embodiment
In the following, being described further in conjunction with attached drawing and specific embodiment to the present invention, it should be noted that not Under the premise of conflicting, new implementation can be formed between various embodiments described below or between each technical characteristic in any combination Example.
Embodiment one
Method about control message forwarding at present, may be different when each producer goes to realize, currently not Unified specification goes to define;In communication equipment practice and message repeating process, applicants have discovered that can have such one Kind situation, when sometimes order is switched in transmission, due to the difference of link state, so that each network node generates Change the exception of state.
As shown in Fig. 2, present embodiments providing a kind of consistent method of each node state of holding looped network, including following step It is rapid:
S1: control sends protection to another network node and the symmetrical network node of another network node by long path Lock command;The long path occurred in the present embodiment refers to that the path of more nodes is undergone to be referred to as long road in looped network The path of diameter, the corresponding less node of the command history in looped network is referred to as short path.
It is all to be sent using long path plus by the way of short path to be combined order in existing mode, specifically , as shown in Figure 1, when need to realize the lock command of A node is transmitted to each node of looped network when, mainly have setting one Corresponding receiving node, such as B node are directly transferred to B node by short path and by long path transmission to B node two Kind of mode realizes the information transmitting of each node in looped network.But when going to be transmitted in this manner, it is found that, When some intermediate node link is broken, than E or F as shown in figure 1;At this point, corresponding C and D also can not just lock message, from And state can be caused to switch exception.Although existing mode is comparatively efficient, and is easier to carry out the design treatment of system, It is due to being possible to the problem of will appear state translation exception, so that the stability of overall network has a degree of drop It is low.In existing mode, selection is then single network node is combined by way of long path and short path To be implemented.In an embodiment of the present invention, design is by long path come to another network node and another network node Symmetrical network node sends protection lock command, in order to enable the transmission of order more accurate can be sent to each network section Point preferably sends protection lock command, such energy to adjacent network node by long path using control in the present embodiment It is enough to pass through most of network nodes twice so that ordering, so that also can guarantee most of even if the case where there are breakpoints Network node can normally receive switch status order.When specifically implementation in this way, such as Fig. 3 institute Show, issues lock command when node A sends lock command, while through the network node B and F of long road radially adjoining APS message.
S2: each network node is in locking shape according to the protection lock command control corresponding network node received on looped network State.After node A has sent lock command, intermediate node CDE is respectively received locking message, and handles the message information, So that this node is in the lock state;Accordingly even when CD node is also known that lock when E or F node link is broken Determine state, at this time, since it is in the lock state, so be not in switch exception.Since E, F node are receiving locking After order, also state can be responded in LP (locking), while will record SF (link failure) state;So as to know that E, F are saved The link of point is broken.
S3: when network node each in looped network no longer receives protection lock command, the locking shape of corresponding network node is removed State.Not being due to network node each on looped network is to be in the lock state for a long time, when it no longer receives corresponding network node hair When the protection lock command sent, at this point, lock state is removed, so as to receive other message informations to change The state of oneself.
Node each on looped network can also be detected before being purged step: each network node pair on detection looped network The node state answered, the node state are protection lock command reception state.
The control command conversion method that the present embodiment defines is only used for LP order, because LP requires to lock entire loop to primary Therefore link, all nodes need to guarantee that each node knows current LP state there is no switch status as far as possible.
Embodiment two
As shown in figure 4, present embodiments providing a kind of network node, the network node is located in looped network, including following Module:
Sending module: pass through long path to another network node and the symmetrical network section of another network node for controlling Point sends protection lock command;Preferably, the sending module specifically: pass through long path to adjacent network node for controlling Send protection lock command;
First locking module: for so that each network node is according to the protection lock command control correspondence received on looped network Network node is in the lock state;
Detection module: for detecting the corresponding node state of each network node on looped network, the node state is protection lock Determine order reception state;
State removes module: when network node each in looped network no longer receives protection lock command, for removing corresponding net The lock state of network node;
Second locking module: when network node each in looped network is in the lock state, detect that adjacent link breaks down Afterwards, the change of switch status is not carried out according to protocol massages;The protocol massages are automatic protection switching APS message.
The above embodiment is only the preferred embodiment of the present invention, and the scope of protection of the present invention is not limited thereto, The variation and replacement for any unsubstantiality that those skilled in the art is done on the basis of the present invention belong to institute of the present invention Claimed range.

Claims (10)

1. a kind of consistent method of each node state of holding looped network, which comprises the following steps:
Sending step: control is sent and is protected to another network node and the symmetrical network node of another network node by long path Protect lock command;
First lock step: each network node is according to the protection lock command control corresponding network node received on looped network Lock state.
2. a kind of consistent method of each node state of holding looped network as described in claim 1, which is characterized in that in the first locking Further include that state removes step after step: when network node each in looped network no longer receives protection lock command, removing and correspond to The lock state of network node.
3. a kind of consistent method of each node state of holding looped network as claimed in claim 2, which is characterized in that removed in state Further include detecting step before step: the corresponding node state of each network node on detection looped network, the node state is protection Lock command reception state.
4. a kind of consistent method of each node state of holding looped network as described in any one of claim 1-3, feature exist In the sending step specifically: control sends protection lock command to adjacent network node by long path.
5. a kind of consistent method of each node state of holding looped network as claimed in claim 4, which is characterized in that further include second Lock step: when network node each in looped network is in the lock state, after detecting that adjacent link breaks down, not according to agreement The change of message progress switch status.
6. a kind of consistent method of each node state of holding looped network as claimed in claim 5, which is characterized in that the agreement report Text is automatic protection switching APS message.
7. a kind of network node, the network node is located in looped network, which is characterized in that comprises the following modules:
Sending module: it is sent out by long path to another network node and the symmetrical network node of another network node for controlling Send protection lock command;
First locking module: for so that each network node is according to the protection lock command control corresponding network received on looped network Node is in the lock state.
8. network node as claimed in claim 7, which is characterized in that further include state removing mould after the first locking module Block: when network node each in looped network no longer receives protection lock command, for removing the lock state of corresponding network node.
9. network node as claimed in claim 8, which is characterized in that state remove module before further include detection module: For detecting the corresponding node state of each network node on looped network, the node state is protection lock command reception state;
The sending module specifically: protection lock command is sent to adjacent network node by long path for controlling.
10. network node as claimed in claim 9, which is characterized in that further include the second locking module: when network each in looped network When node is in the lock state, after detecting that adjacent link breaks down, the change of switch status is not carried out according to protocol massages; The protocol massages are automatic protection switching APS message.
CN201910116274.XA 2019-02-15 2019-02-15 A kind of consistent method of each node state of holding looped network and network node Pending CN109905309A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910116274.XA CN109905309A (en) 2019-02-15 2019-02-15 A kind of consistent method of each node state of holding looped network and network node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910116274.XA CN109905309A (en) 2019-02-15 2019-02-15 A kind of consistent method of each node state of holding looped network and network node

Publications (1)

Publication Number Publication Date
CN109905309A true CN109905309A (en) 2019-06-18

Family

ID=66944773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910116274.XA Pending CN109905309A (en) 2019-02-15 2019-02-15 A kind of consistent method of each node state of holding looped network and network node

Country Status (1)

Country Link
CN (1) CN109905309A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020087733A1 (en) * 2000-11-02 2002-07-04 Naokatsu Ohkawa Message transfer method and apparatus
CN1791048A (en) * 2004-12-13 2006-06-21 华为技术有限公司 Method for realizing M:N looped network protection switching operation
US20080165366A1 (en) * 2007-01-10 2008-07-10 Lightlab Imaging, Inc. Methods and apparatus for swept-source optical coherence tomography
CN102801596A (en) * 2012-06-11 2012-11-28 华为技术有限公司 Service processing method for ring network and network equipment
CN103179013A (en) * 2011-12-21 2013-06-26 中兴通讯股份有限公司 Looped network protection achieving method and system
CN106464563A (en) * 2014-06-24 2017-02-22 阿尔卡特朗讯 Control of protection switching in a communication network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020087733A1 (en) * 2000-11-02 2002-07-04 Naokatsu Ohkawa Message transfer method and apparatus
CN1791048A (en) * 2004-12-13 2006-06-21 华为技术有限公司 Method for realizing M:N looped network protection switching operation
US20080165366A1 (en) * 2007-01-10 2008-07-10 Lightlab Imaging, Inc. Methods and apparatus for swept-source optical coherence tomography
CN103179013A (en) * 2011-12-21 2013-06-26 中兴通讯股份有限公司 Looped network protection achieving method and system
CN102801596A (en) * 2012-06-11 2012-11-28 华为技术有限公司 Service processing method for ring network and network equipment
CN106464563A (en) * 2014-06-24 2017-02-22 阿尔卡特朗讯 Control of protection switching in a communication network

Similar Documents

Publication Publication Date Title
US6239699B1 (en) Intelligent alarm filtering in a telecommunications network
KR101306614B1 (en) Handover method and apparatus in a wireless communications network
EP2045965B1 (en) Resource state monitoring method, device and communication network
CN101741670A (en) Method for protecting multi-ring Ethernet
TWI455525B (en) Recovery method for ring-based network
CN102006188A (en) Path back switching method and device in transport network
CN101534459B (en) Method and system for realizing protection and recovery in automatic switched optical network
CN102611493B (en) The troubleshooting of BBU, RRU, annular networking, restoration methods and system
KR101318156B1 (en) Method for protection switching in ethernet ring network
CN101309525B (en) Route recovery method according to failure positioning in automatic exchange optical network
CN101222402A (en) Ethernet ring protection method, system and device
CN101197591B (en) Protection recovery method and apparatus for ASON
CN101350636B (en) Method and system for link redundant backup base on photoelectric multiplexing port
CN101141751A (en) Alarm message reporting system
CN101883298B (en) Method for isolating failure of control plane in automatic switched optical network
CN101695046B (en) Method and equipment for arranging RRPP block points
CN109905309A (en) A kind of consistent method of each node state of holding looped network and network node
CN100464528C (en) Method and system for preventing circuit loop after failure recovery
CN101667863B (en) Device and method for enhancing channel alarm triggering in multiplex section shared ring net protection
CN106254150A (en) Network failure processing method and system
CN101188541A (en) Redundant protection method and system for RPR bridge
CN107196832B (en) Rapid ring network protection method
CN102546410A (en) Protection method of Ethernet ring network
CN102811138B (en) The detection method and device of information of remote equipment
KR20030008626A (en) Method for circular routing detecting in No.7 signaling network

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190618

RJ01 Rejection of invention patent application after publication