CN103684835B - Link fault reporting method and processing method, and transmission node and primary node - Google Patents

Link fault reporting method and processing method, and transmission node and primary node Download PDF

Info

Publication number
CN103684835B
CN103684835B CN201210358288.0A CN201210358288A CN103684835B CN 103684835 B CN103684835 B CN 103684835B CN 201210358288 A CN201210358288 A CN 201210358288A CN 103684835 B CN103684835 B CN 103684835B
Authority
CN
China
Prior art keywords
link failure
node
looped network
message
transmission
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.)
Active
Application number
CN201210358288.0A
Other languages
Chinese (zh)
Other versions
CN103684835A (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.)
Ruide Yinfang (Nantong) Information Technology Co., Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210358288.0A priority Critical patent/CN103684835B/en
Publication of CN103684835A publication Critical patent/CN103684835A/en
Application granted granted Critical
Publication of CN103684835B publication Critical patent/CN103684835B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The embodiment of the invention provides a link fault reporting method and a processing method, and a transmission node and a primary node. The reporting method comprises that: the transmission node on a looped network monitors a primary port of the transmission node so as to wait for receiving a message; if the transmission node does not receive any message on the primary port within a preset receiving period of time, a first link fault message is sent to the primary node on the looped network from a secondary port which is matched with the primary port so that the primary node judges that a link fault occurs in the looped network according to the first link fault message, wherein the receiving period of time is less than a transmission period of time of an entire link of the looped network. The situation that the link fault occurs in the looped network can be judged by the technical scheme under the condition that the primary node does not need to wait until time of a Fail timer of the primary node is out so that time for detecting that the link fault occurs in the looped network by the primary node is reduced.

Description

Link failure report method, processing method, transmission node and host node
Technical field
The present invention relates to the communication technology, more particularly, to a kind of link failure report method, processing method, transmission node and master Node.
Background technology
Rapid ring protection protocol(Rapid Ring Protection Protocol, referred to as RRPP)Be one special It is applied to the link layer protocol of Ethernet ring.It is prevented from the broadcast storm that data loopback causes when Ethernet ring is complete, And backup link can be enabled rapidly to recover the communication between each node on looped network when a link disconnection on Ethernet ring Path.
Host node on looped network passes through looped network state active detecting mechanism(Polling mechanism)Active detecting looped network health shape State, that is, from its master port transmission HELLO message, the transmission node on looped network is propagated on host node cycle ground, if Host node can be in fault(Fail)Receive the HELLO message of oneself transmission before timer expiry from its secondary port, looped network is described Link is complete, is otherwise considered as looped network and link failure occurs.The timing length of Fail timer is at least looped network whole piece link Transmission time.And link-state change informing mechanism provides the faster ring-network topology than Polling mechanism and changes treatment mechanism, The promoter of this mechanism is the transmission node on looped network.Transmission node monitors the state of itself port always, when end is detected Mouth fault(DOWN)When, it will send linkage fault from the port of pairing to host node(LINK-DOWN)Message, host node receives After this LINK-DOWN message, opening it at once makes it normally forward from port.
But, lead to hold for due to physical port fault, business board hardware fault and optical module transmitting-receiving light exception etc. The situation of mouth DOWN, because transmission node possibly cannot perceive, so actively LINK-DOWN report will not be sent to host node Literary composition, host node just can only can judge after Fail timer expiry that looped network occurs link failure, and failure detection time is long.
Content of the invention
The embodiment of the present invention provides a kind of link failure report method, processing method, transmission node and host node, is used for subtracting Few host node detects the time of link failure.
First aspect provides a kind of link failure report method, including:
Transmission node on looped network monitors the master port of described transmission node, with etc. message to be received;
If described transmission node does not receive any message within the default reception time on described master port, from The secondary port of described master port pairing sends the first link failure message to the host node on described looped network, so that described host node Judge that described looped network occurs link failure according to described first link failure message;Wherein, the described reception time is less than described ring The transmission time of the whole piece link of net.
In the first possible implementation of first aspect, described link failure report method also includes:
If described transmission node is to after the described host node described first link failure message of transmission in described master port On receive described transmission node upstream node send the second link failure message, to described host node forward described second Link failure message, so that described host node is simultaneously according to described first link failure message and described second link failure message Judge that described looped network occurs link failure.
In the possible implementation of the second of first aspect, described link failure report method also includes:If institute State that transmission node receives on described master port within the described reception time that the upstream node of described transmission node sends the Two link failure messages, forward described second link failure message to described host node, so that described host node is according to described the Two link failure messages judge that described looped network occurs link failure.
The second of the first the possible implementation in conjunction with first aspect or first aspect or first aspect is possible Implementation, in the third possible implementation of first aspect, the transmission node on described looped network monitors described transmission The master port of node, with etc. message to be received include:
Described transmission node opens fault detect timer on described master port, in the timing of described fault detect timer Terminate before monitor described master port, with etc. message to be received;When the timing length of described fault detect timer is described reception Between.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation of first aspect In, described link failure report method also includes:
If described transmission node receives report before described fault detect timer timing terminates on described master port Literary composition, described fault detect timer cuts out;
If described transmission node does not receive after described fault detect timer timing terminates on described master port Any message, restarts described fault detect timer to continue to monitor described master port, until restarting described fault Till the number of times of detection timer reaches default frequency threshold value.
In conjunction with the first possible implementation of first aspect or first aspect, possible at the 5th kind of first aspect In implementation, described first link failure message includes:The identification information of described transmission node and the mark of described master port Information, so that described host node determines described ring according to the identification information of described transmission node and the identification information of described master port The position of online trouble point.
The possible implementation of the second of the first the possible implementation in conjunction with first aspect or first aspect, In 6th kind of possible implementation of first aspect, described second link failure message includes:The upstream of described transmission node The identification information of the master port on the upstream node of the identification information of node and described transmission node so that described host node according to The identification information of the master port on the upstream node of the identification information of the upstream node of described transmission node and described transmission node Determine the position of trouble point on described looped network.
Second aspect provides a kind of link failure report method, including:
Transmission node on looped network monitors the state of the first port of described transmission node;
When monitoring described first port fault, described transmission node is from the second port matched with described first port To the host node transmission link fault message on described looped network, described link failure message includes:The mark of described transmission node Information and the identification information of described first port, so that described host node judges that described looped network occurs link failure and determines described The position of the trouble point on looped network.
The third aspect provides a kind of link failure processing method, including:
Host node on looped network receives the link failure message that the transmission node on described looped network sends, described link failure Message includes:The identification information of non-working port on the identification information of described transmission node and described transmission node;
According to described link failure message, described host node judges that described looped network occurs link failure, and determine described looped network The position of upper trouble point.
In the first possible implementation of the third aspect, described link failure processing method also includes:
To network management system transmission link fault warning information, described link failure warning information includes identifying described host node The information of the position of described trouble point.
In conjunction with the first possible implementation of the third aspect or the third aspect, possible in the second of the third aspect In implementation, the link failure message that the host node on described looped network receives the transmission node transmission on described looped network includes:
Host node on described looped network receives the link failure message that on described looped network, multiple transmission nodes send respectively;
According to described link failure message, described host node judges that described looped network occurs link failure, and determine described looped network The position of upper trouble point includes:
Described host node, according to first link failure message receiving in the plurality of link failure message, judges institute State looped network and link failure occurs;
Described host node according to the plurality of link failure message, determines the position of the trouble point on described looped network simultaneously.
Fourth aspect provides a kind of transmission node, including:
Receiver module, for monitoring the master port being in described transmission node on looped network, with etc. message to be received;
Sending module, takes office for not receiving on described master port within the default reception time in described receiver module During what message, from secondary port match with described master port to host node transmission the first link failure message described looped network, So that according to described first link failure message, described host node judges that described looped network occurs link failure;Wherein, described reception Time is less than the transmission time of the whole piece link of described looped network.
In the first possible implementation of fourth aspect, described transmission node also includes:
First forwarding module, for sending described first in described sending module to described host node in described receiver module The second link failure that the upstream node of described transmission node sends is received after link failure message on described master port During message, forward described second link failure message to described host node, so that described host node is simultaneously according to described first chain Road fault message and described second link failure message judge that described looped network occurs link failure.
In the possible implementation of the second of fourth aspect, described transmission node also includes:
Second forwarding module, for receiving institute in described receiver module within the described reception time on described master port State transmission node upstream node send the second link failure message when, to described host node forward described second link failure Message, so that according to described second link failure message, described host node judges that described looped network occurs link failure.
The second of the first the possible implementation in conjunction with fourth aspect or fourth aspect or fourth aspect is possible Implementation, in the third possible implementation of fourth aspect, described receiver module is specifically in described master port Upper unlatching fault detect timer, monitor described master port before described fault detect timer timing terminates, with etc. to be received Message;The timing length of described fault detect timer is the described reception time.
In conjunction with the third possible implementation of fourth aspect, in the 4th kind of possible implementation of fourth aspect In, described transmission node also includes:
Timer closedown module, for described receiver module before described fault detect timer timing terminates described When receiving message on master port, described fault detect timer cuts out;
Timer restarts module, for after described receiver module terminates in described fault detect timer timing not in institute State when receiving any message on master port, restart described fault detect timer to continue to monitor described master port, directly To the number of times restarting described fault detect timer reaches default frequency threshold value.
In conjunction with the first possible implementation of fourth aspect or fourth aspect, possible at the 5th kind of fourth aspect In implementation, described first link failure message includes:The identification information of described transmission node and the mark of described master port Information, so that described host node determines described ring according to the identification information of described transmission node and the identification information of described master port The position of online trouble point.
The possible implementation of the second of the first the possible implementation in conjunction with fourth aspect or fourth aspect, In 6th kind of possible implementation of fourth aspect, described second link failure message includes:The upstream of described transmission node The identification information of the master port on the upstream node of the identification information of node and described transmission node so that described host node according to The identification information of the master port on the upstream node of the identification information of the upstream node of described transmission node and described transmission node Determine the position of trouble point on described looped network.
5th aspect provides a kind of transmission node, including:
Monitoring modular, is in the state of the first port of described transmission node on looped network for monitoring;
Sending module, for when described monitoring module monitors are to described first port fault, from described first port To the host node transmission link fault message on described looped network, described link failure message includes the second port of pairing:Described The identification information of transmission node and the identification information of described first port, so that described host node judges that described looped network occurs link Fault simultaneously determines the position of the trouble point on described looped network.
6th aspect provides a kind of host node, including:
Receiver module, for receiving the link failure message that the transmission node being on looped network sends, described link failure Message includes:The identification information of non-working port on the identification information of described transmission node and described transmission node;
Abort situation determining module, for judging that described looped network occurs link failure according to described link failure message, and Determine the position of trouble point on described looped network.
In the first possible implementation of the 6th aspect, described host node also includes:
Sending module, for network management system transmission link fault warning information, described link failure warning information includes Identify the information of the position of described trouble point.
In conjunction with the first possible implementation of the 6th aspect or the 6th aspect, possible in the second of the 6th aspect In implementation, described receiver module is specifically for receiving the link failure report that on described looped network, multiple transmission nodes send respectively Literary composition;
Described abort situation determining module is specifically for receiving according in the plurality of link failure message first Link failure message, judges that described looped network occurs link failure, simultaneously according to the plurality of link failure message, determines described ring The position of online trouble point.
Link failure report method and transmission node that the present invention provides, transmission node is by being less than for the setting of its master port The reception time of the transmission time of looped network whole piece link, if do not receive any within the default reception time on master port Message then it is assumed that master port breaks down, therefore actively from the secondary port matched with master port to host node transmission link fault report Literary composition, so that without when its Fail timer timing time-out, host node can determine that looped network occurs link failure, decreases main section Point detects the time that looped network occurs link failure.
Link failure report method and transmission node that the present invention provides, transmission node is monitoring the generation of its certain Single port During fault, from the another port active with this port-pairing to host node transmission link fault message, and in link failure message In the identification information carrying transmission node itself and the identification information of port that breaks down so that host node is according to link failure Message can either know that looped network occurs link failure in time, can accurately determine the position of trouble point on looped network again, be conducive to essence The really position of fault point.
Link failure processing method provided in an embodiment of the present invention and host node, the online transmission node of host node reception ring The link failure message sending, link failure message carries the identification information of transmission node and the mark of non-working port on transmission node According to link failure message, knowledge information, then determines that looped network occurs link failure and determines the position of trouble point on looped network, favorably In the position being accurately positioned trouble point.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description are these Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, acceptable Other accompanying drawings are obtained according to these accompanying drawings.
The flow chart of the link failure report method that Fig. 1 provides for one embodiment of the invention;
The link failure message that Fig. 2 provides for one embodiment of the invention realize structure;
The structural representation of the looped network that Fig. 3 provides for one embodiment of the invention;
The flow chart of the link failure report method that Fig. 4 provides for another embodiment of the present invention;
The structural representation of the looped network that Fig. 5 provides for another embodiment of the present invention;
The flow chart of the link failure processing method that Fig. 6 provides for one embodiment of the invention;
The structural representation of the transmission node that Fig. 7 provides for one embodiment of the invention;
The structural representation of the transmission node that Fig. 8 provides for another embodiment of the present invention;
The structural representation of the transmission node that Fig. 9 provides for further embodiment of this invention;
The structural representation of the transmission node that Figure 10 provides for further embodiment of this invention;
The structural representation of the transmission node that Figure 11 provides for further embodiment of this invention;
The structural representation of the host node that Figure 12 provides for one embodiment of the invention;
The structural representation of the host node that Figure 13 provides for another embodiment of the present invention.
Specific embodiment
Purpose, technical scheme and advantage for making the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described it is clear that described embodiment is The a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment being obtained under the premise of not making creative work, broadly falls into the scope of protection of the invention.
The flow chart of the link failure report method that Fig. 1 provides for one embodiment of the invention.As shown in figure 1, the present embodiment Method include:
Transmission node on step 101, looped network monitors the master port of transmission node, with etc. message to be received.
If step 102 transmission node does not receive any message within the default reception time on master port, from The secondary port of master port pairing sends the first link failure message to the host node on looped network, so that host node is according to the first link Fault message judges that looped network occurs link failure;Wherein, the above-mentioned default reception time is less than the transmission of the whole piece link of looped network Time.
The looped network of the present embodiment uses RRPP technology in link layer, is the ether net topology that an annular connects.In looped network On, every equipment is all referred to as a node, and the role of node can be determined by the configuration of user.On looped network, have and only have One node is host node, and other nodes are transmission node.Host node is the promoter of looped network state active detecting mechanism, It is the policymaker executing operation after network topology changes.Transmission node is mainly responsible for monitoring the direct-connected RRPP link of oneself State, and link change is notified host node, then come how decision-making is processed by host node.But, for by physical port event Barrier, business board hardware fault and optical module receive and dispatch the situation of the port DOWN that light exception etc. leads to, and transmission node is possibly cannot Monitor, then link change cannot notify host node, lead to host node cannot know that looped network occurs link failure in time.
For the problems referred to above, the transmission node of the present embodiment pre-sets the reception time on its master port, during this reception Between be time needed for the message normally receiving autonomous node, when this reception time is less than the transmission of looped network whole piece link Between.The transmission time of looped network whole piece link refers under normal circumstances, and host node sends hello packet to from it from its master port Secondary port receives the maximum delay of hello packet.Based on this reception time, if transmission node did not received within this reception time To any message, then transmission node thinks that its master port breaks down, then from the secondary port active matched with master port to master Node transmission link fault message(It is designated as the first link failure message), so that host node can know that looped network occurs link in time Fault.
For different transmission nodes, the reception time pre-setting on its master port can identical it is also possible to differ. In addition, the reception time pre-setting on master port can be according to looped network situation flexible configuration and adjustment.More preferred, The reception time pre-setting on master port is larger than the transmission cycle that host node sends hello packet.
The present embodiment is particularly suited for the situation that transmission node cannot monitor its direct-connected RRPP link failure, but equally It is also applied for the situation that transmission node can monitor its direct-connected RRPP link failure.That is, no matter link failure is Which kind of reason causes, and transmission node passes through to judge whether to receive message on the primary node within the default reception time this Mode all can successfully identify link failure.
In the present embodiment, transmission node by arranging connecing of the transmission time being less than looped network whole piece link for its master port Between the time receiving, if any message is not received on master port then it is assumed that master port breaks down within the default reception time, Therefore actively from the secondary port matched with master port to host node transmission link fault message so that host node is without when its Fail Timer timing time-out can determine that looped network occur link failure, decrease host node detect looped network occur link failure when Between, improve the promptness knowing that looped network occurs link failure.
In an optional embodiment, if transmission node does not receive within the default reception time on master port taken office What message, is not because the direct-connected RRPP link of the master port of the master port of transmission node or transmission node breaks down, and It is because the master port of the upstream node of transmission node or secondary port or the direct-connected RRPP link of master port or secondary direct port connection RRPP link breaks down and causes.In this case, the upstream node of transmission node is as in its default reception Any message do not received in the time on master port and actively to host node transmission link fault message(It is designated as the second link event Barrier message), the second link failure message that the upstream node of such transmission node sends will be by transmission node to host node Forward, then, transmission node also can receive it after sending the first link failure message to host node on its master port The second link failure message that upstream node sends.If transmission node is after sending the first link failure message to host node Second link failure message of its upstream node transmission is received on its master port, then forwards the second link failure to host node Message, so that according to the first link failure message and the second link failure message, host node judges that looped network occurs link event simultaneously Barrier.
For host node, will successively receive two link failure messages.Link failure report in the present embodiment Literary composition meets the form of RRPP protocol massages, also includes the information such as target MAC (Media Access Control) address, source MAC, protocol type, mode field, According to the source MAC of Link State fault message, host node can identify that looped network is to there occurs link on which node Fault.A kind of form of link failure message is as shown in Figure 2.First link failure message and the second link failure message are come Say, the value of some fields is different, but form is identical.
At this, " upstream node of transmission node " being related in embodiment of the present invention is explained.Real in the present invention Apply in example, using the direction of the secondary port from the master port of host node to host node as reference direction, for any on looped network For two transmission nodes, by transmission node nearer for the master port apart from host node be known as apart from host node master port relatively The upstream node of remote transmission node;Accordingly, by the master port apart from host node, transmission node farther out is known as distance master The downstream node of the nearer transmission node of the master port of node.
In another optional embodiment, if transmission node receives within the default reception time on its master port Message, but it is not meant to that looped network does not occur link failure, also to distinguish the type going back message.If transmission node is default The reception time in receive on its master port this transmission node upstream node send the second link failure message, then with Sample can determine that looped network occurs link failure, then forwards the second link failure message to host node, so that host node being capable of root Judge that looped network occurs link failure according to the second link failure message.
Optionally, if transmission node receives host node transmission within the default reception time on its master port Hello packet, then illustrate that the link from the master port of host node to transmission node does not break down, transmission node also can continue Continue and forward hello packet to host node, if host node successfully receives hello packet from its secondary port, illustrate that whole piece link is Health, do not break down;If what host node received is link failure message, the pair from transmission node to host node is described Link between port may have occurred fault.
For any transmission node on looped network, its processing mode is all identical, therefore the present embodiment is only transmitted with one It is illustrated as a example node.
Transmission node by for its master port setting less than looped network whole piece link transmission time the reception time, either The situation of any message was not received within the default reception time on master port, or receives within the default reception time The situation of the second link failure message sending to its upstream node, can make host node determine without when its Fail timer When time-out can determine that looped network occur link failure, decrease host node detect looped network occur link failure time, improve Know that looped network occurs the promptness of link failure.
In an optional embodiment, transmission node on looped network monitors the master port of transmission node, with etc. report to be received The embodiment of literary composition includes:Transmission node opens fault detect timer on its master port, in the timing of fault detect timer Terminate before monitor master port, with etc. message to be received;Wherein, the timing length of this fault detect timer is above-mentioned default connects Between the time receiving.
Specifically, transmission node gives tacit consent to startup separator detection timer on its master port, in order to default to connect to above-mentioned Carry out timing between the time receiving.If transmission node receives message before fault detect timer timing terminates on master port(Phase When message being received on master port in above-mentioned within the default reception time), illustrate that the direct-connected RRPP link of this master port is Normally, thus closing fault detection timer, and forward, to host node, the message that receives.Here message is probably host node From its master port send hello packet it is also possible to transmission node upstream node send the second link failure message.
If transmission node does not receive any message after fault detect timer timing terminates on master port(Quite In above-mentioned, any message was not received within the default reception time on master port), now transmission node is except from secondary port Outside sending the first link failure message to host node, fault detect timer can also be restarted to continue to monitor this main side Mouthful, and until restarting till the number of times of this fault detect timer reaches default frequency threshold value.Wherein, transmission node weight New startup separator detects timer to continue to monitor the situation that master port is to break down in the upstream node of transmission node Under, wait the second link failure message that the upstream node of transmission node to be received sends.
Generally, the propagation delay time from the upstream node of transmission node to transmission node would generally be in certain time range Interior, therefore, it can maximum according to propagation delay time and the frequency threshold value restarting fault detect timer is set.Illustrate, If this frequency threshold value could be arranged to 1 that is to say, that not receiving transmission node yet within two default reception times The second link failure message that upstream node sends, then can directly judge is the master port of transmission node or master port is direct-connected RRPP link failure, then can no longer restart fault detect timer, also imply that and do not continue to monitor this master port.
Here illustrate, above-mentioned restart fault detect timer in the case of, if transmission node fault detect timing Device timing does not receive any message after terminating on master port yet, then can send the first link failure report without to host node Literary composition, only when receiving the second link failure message of its upstream node transmission, the second link failure message is transmitted to master Node.
Present embodiment can be realized in conjunction with the respective embodiments described above, in the present embodiment, the first link failure message Can include:The identification information of the master port of the identification information of transmission node and transmission node.The identification information of transmission node removes It is outside the MAC Address of transmission node, can also be that other is more beneficial for the information of fault point position, for example, can include The IP address of transmission node, title of transmission node etc..Accordingly, the identification information of the master port of transmission node can also be just In the information of the position of fault point, for example, can include the title of master port, the port numbers of master port, the port of master port Type etc..
In addition, the second link failure message can also include:The identification information of the upstream node of transmission node and transmission section The identification information of the master port on the upstream node of point.In the same manner, the identification information of the upstream node of transmission node is except being transmission Outside the MAC Address of the upstream node of node, can also be that other is more beneficial for the information of fault point position, for example, can wrap Include the IP address of the upstream node of transmission node, title of the upstream node of transmission node etc..Accordingly, the upstream of transmission node The identification information of the master port of node can also be easy for the information of the position of fault point, for example, can include master port Title, the port numbers of master port, port type of master port etc..
Based on above-mentioned, for host node, if only receiving the first link failure message, can be directly according to first The identification information of the master port of the identification information of the transmission node that link failure message includes and transmission node, determines on looped network The position of trouble point, the position of this trouble point is the master port of transmission node or the RRPP link that master port is direct-connected;If first After receive the first link failure message and the second link failure message, then can first carry according in each link failure message The identification information of transmission node determine the upstream-downstream relationship of transmission node, then according to being in most upstream in upstream-downstream relationship The identification information that carries of link failure message of transmission node determine the position of ring network fault point.For the first link failure report For literary composition and the second link failure message, host node may determine that needs determine ring network fault according to the second link failure message The position of point.
In conjunction with the form of link failure message shown in Fig. 2, the first link failure message can use any one shown in Fig. 2 Reserved field carrying the identification information of the identification information of transmission node and the master port of transmission node, in the same manner, the second link therefore Barrier message can carry the identification information of upstream node and the transmission of transmission node using any one reserved field Fig. 2 Suo Shi The identification information of the master port on the upstream node of node.Or, transmission node or its upstream node can also be by links Fault message is extended, and adds new field to carry above- mentioned information.
In the present embodiment, each transmission node on looped network is by pre-setting the reception time in its master port, When not receiving any message in the default reception time on master port, active is to host node transmission link fault message, and Carry the identification information of transmission node and the identification information of master port in link failure message, can not only make host node without etc. Can determine that looped network occurs link failure to its Fail timer timing time-out, decrease host node and looped network generation link is detected The time of fault, host node can also be made simultaneously to be accurately positioned out the trouble point on looped network, be conducive to carrying out malfunction elimination, favorably Maintainability in lifting looped network.
The structural representation of the looped network that Fig. 3 provides for one embodiment of the invention.As shown in figure 3, this looped network includes:Host node 31st, transmission node 32, transmission node 33 and transmission node 34.Host node 31 includes master port P1 and secondary port P2;Transmission node 32 include master port P3 and secondary port P4;Transmission node 33 includes master port P5 and secondary port P6;Transmission node 34 includes main side Mouth P7 and P8.
Startup separator detection timer is given tacit consent to all on its master port for any one transmission node.Under normal circumstances, The hello packet that host node 31 sends from its master port P1 can sequentially pass through transmission node 32, transmission node 33 and transmission node 34 its secondary port P2 of arrival.For each transmission node, if receiving Hello before fault detect timer timing terminates Fault detect timer can cut out by message.
Assume to lead to cannot report between transmission node 32 and transmission node 33 due to hardware fault or optical module exception etc. Link fault event, trouble point is as shown in "×" in Fig. 3.Transmission node 33 will not be after fault detect timer timing terminates Receive any message on its master port P3, then generate link failure message, from the secondary port P4 matching to host node send chain Road fault message again startup separator detection timer.If transmission node 33 is after fault detect timing regularly terminates again Any message is not received on master port P3, then no longer restarts fault detect timer.The chain that transmission node 33 sends Road fault message arrives first at transmission node 34.If transmission node 34 is before its fault detect timer regularly terminates first In the link failure message receiving transmission node 33 transmission of master port P5, then close its fault detect timer, and secondary from it Port P6 is transmitted to host node 31.If transmission node 34 is before its fault detect timer regularly terminates first not in master port Any message is received on P5, then generates link failure message, from its secondary port P6 to host node 31 transmission link fault message simultaneously Restart its fault detect timer.If transmission node 34 is before its fault detect timer regularly terminates again in main side The link failure message that the transmission node 33 receiving of mouth P5 sends, then close its fault detect timer and from its secondary port P6 Forward this link failure message to host node 31.The link failure message that above-mentioned transmission node 33 generates includes transmission node 33 He The information of master port P3;The link failure message that transmission node 34 generates includes transmission node 34 and the information of master port P5.As Fruit host node 31 only receives the link failure message of the information including transmission node 33 and master port P3, on the one hand can determine ring There is link failure in net, and the position of the localization of faults is the direct-connected RRPP of the master port P3 or master port P3 of transmission node 33 Link.If host node 31 receives link failure message and the inclusion of the information including transmission node 33 and master port P3 simultaneously The link failure message of the information of transmission node 34 and master port P5, then host node 31 can be according to the link event being initially received Barrier message(Here should be the link failure message of the information including transmission node 34 and master port P5)Determine that looped network occurs chain Road fault, and the link failure message finally receiving(Here should be the information including transmission node 33 and master port P3 Link failure message)The position of the localization of faults is the direct-connected RRPP chain of the master port P3 or master port P3 of transmission node 33 Road.After determining that looped network occurs link failure, host node 31 to network management system reporting fault warning information and can carry event The positional information of barrier point, meanwhile, can decontrol its secondary port P2 makes it normally forward.
In the present embodiment, without when its Fail timer timing time-out, host node can determine that looped network occurs link Fault, decreases host node and the time that looped network occurs link failure is detected, host node can also be made simultaneously to be accurately positioned out ring Online trouble point, is conducive to carrying out malfunction elimination, is conducive to lifting the maintainability of looped network.
The flow chart of the link failure report method that Fig. 4 provides for another embodiment of the present invention.As shown in figure 3, this enforcement The method of example includes:
Transmission node on step 401, looped network monitors the state of the first port of transmission node.
Step 402, when monitoring first port fault, transmission node is from the second port matched with first port to ring Online host node transmission link fault message, this link failure message includes:The identification information of transmission node and first port Identification information so that host node judges that looped network occurs link failure and determines the position of the trouble point on looped network.
The looped network of the present embodiment uses RRPP technology in link layer, is the ether net topology that an annular connects.In looped network On, every equipment is all referred to as a node, and the role of node can be determined by the configuration of user.On looped network, have and only have One node is host node, and other nodes are transmission node.Host node is the promoter of looped network state active detecting mechanism, It is the policymaker executing operation after network topology changes.Transmission node is mainly responsible for monitoring the direct-connected RRPP link of oneself State, and link change is notified host node, then come how decision-making is processed by host node.
Looped network is accessed in host node and each own two ports of transmission node, and one of port is master port, another end Mouth can be determined by the configuration of user for secondary port, the role of port.In the present embodiment, either master port or secondary end Mouthful, transmission node is all identical to its processing mode, therefore, in the present embodiment, will access the two of looped network on transmission node Individual port is referred to as first port and second port.If first port is master port, second port is secondary port;If first Port Shi Fu port, then second port is exactly master port.
The present embodiment taking first port as a example illustrates.Specifically, transmission node monitors the first port of transmission node State, when monitoring first port fault, transmission node from the second port matched with first port to host node send Link failure message, and carry the identification information of transmission node and the identification information of first port in link failure message.Its In, the port that first port actually breaks down.So host node one side can know ring according to link failure message There occurs link failure on the net, on the other hand can be transmission node and first port according to carry in link failure message Identification information, determines the position of trouble point on looped network, is conducive to the position of accurately and rapidly fault point.
The identification information of above-mentioned transmission node, in addition to being the MAC Address of transmission node, can also be that other is more beneficial for The information of fault point position, for example, can include the IP address of transmission node, title of transmission node etc..Accordingly, pass The identification information of the first port of defeated node can also be easy for the information of the position of fault point, for example, can include first The title of port, the port numbers of first port, port type of first port etc..
In addition, the form of the link failure message of the present embodiment can also be as shown in Figure 2.Transmission node can also be using figure Any one reserved field shown in 2 are carrying the identification information of the identification information of transmission node and the first port of transmission node. Or, transmission node can also add new field to carry above- mentioned information by being extended to link failure message.
The structural representation of the looped network that Fig. 5 provides for another embodiment of the present invention.As shown in figure 5, this looped network includes:Main section Point 51, transmission node 52, transmission node 53 and transmission node 54.Host node 51 includes master port S1 and secondary port S2;Transmission section Point 52 includes master port S3 and secondary port S4;Transmission node 53 includes master port S5 and secondary port S6;Transmission node 54 includes leading Port S7 and S8.
Under normal circumstances, the hello packet that host node 51 sends from its master port S1 can sequentially pass through transmission node 52, pass Defeated node 53 and transmission node 54 reach its secondary port S2.
Assume the link failure between transmission node 52 and transmission node 53, then transmission node 52 can monitor its secondary port S4 breaks down, and the master port S3 then matching from it is to host node 51 transmission link fault message;Accordingly, transmission node 53 Can monitor that its master port S5 breaks down, then from the secondary port S6 matching to host node 51 transmission link fault message.? In the present embodiment, transmission node 52 can carry the letter of transmission node 52 and secondary port S4 in the link failure message that it sends Breath;Transmission node 53 also can carry transmission node 53 and the information of master port S5 in the link failure message that it sends.So It may be determined that going out looped network link event occurs after host node receives the link failure message that transmission node 52 and transmission node 53 send Barrier, it can in addition contain according to the information carrying in link failure message, determine the position of trouble point on looped network, both ensure that really Determine the promptness that looped network occurs link failure, can in time, accurately orient the position of trouble point again.Optionally, host node 51 carry can the positional information of trouble point to network management system reporting fault warning information and wherein, be conducive to the dimension of looped network Shield.
The flow chart of the link failure processing method that Fig. 6 provides for one embodiment of the invention.As shown in fig. 6, the present embodiment Method include:
The link failure message that the online transmission node of host node reception ring on step 601, looped network sends, this link event Barrier message includes:The identification information of non-working port on the identification information of transmission node and transmission node.
According to the link failure message receiving, host node on step 602, looped network judges that looped network occurs link failure, and Determine the position of trouble point on looped network.
In the present embodiment, described transmission node refers to can be determined that out the transmission node of its certain port failure, The transmission node that i.e. non-working port is located, does not include the transmission node that centre is forwarded.
The link failure processing method that the present embodiment provides, the link failure side of reporting that can provide with the various embodiments described above Method combines.Based on this, step 601 can have different implementations.Illustrate:
If the transmission node of the present embodiment is to detect fault according to the method that Fig. 1 or embodiment illustrated in fig. 3 provide, Then in step 601, host node specifically receives, from its secondary port, the link failure message that transmission node sends.Optionally, main Node is possible to receive the link failure message that multiple transmission nodes send, wherein, the link event that each transmission node sends Barrier message includes the mark letter of each transmission node identification information of itself and each transmission node non-working port of itself respectively Breath." multiple " involved by the present embodiment refer to two or more.
If the transmission node of the present embodiment is to detect fault according to the method that Fig. 4 or embodiment illustrated in fig. 5 provide, Then in step 601, host node is possible to receive link failure message it is also possible to receive from its secondary port from its master port To link failure message.And, host node also can receive two link failure messages.
From above-mentioned, a kind of optional embodiment of step 601 includes:Host node reception ring multiple transmission nodes on the net The link failure message sending respectively.Based on this, a kind of implementation of step 602 includes:Host node is according to the event of multiple links First link failure message receiving in barrier message, judges that looped network occurs link failure;Then, simultaneously according to multiple links Fault message, determines the position of the trouble point on looped network.Optionally, host node can according in multiple link failure messages each The identification information of the transmission node in link failure message, determines the upstream-downstream relationship of multiple transmission nodes, further according to upstream and downstream It is in the link failure message that the transmission node of most upstream sends in relation, to determine the position of the trouble point on looped network.
In an optional embodiment, as shown in fig. 6, the method for the present embodiment also includes after step 602:
, to network management system transmission link fault warning information, this link failure warning information includes marking for step 603, host node Know the information of the position of trouble point.Wherein, the information of the position of mark trouble point can be the identification information of certain transmission node With the identification information of non-working port on this transmission node, or can also be the identification information of two transmission nodes and each transmit The identification information of non-working port on node.
The present embodiment passes through the information reporting of the position of mark trouble point to network management system, is conducive to attendant timely The information of the position according to mark trouble point carries out malfunction elimination, is conducive to being accurately positioned trouble point, improves investigation efficiency, is beneficial to The maintenance of looped network.
The structural representation of the transmission node that Fig. 7 provides for one embodiment of the invention.As shown in figure 12, the biography of the present embodiment Defeated node includes:Receiver module 71 and sending module 72.
Receiver module 71, for monitoring the master port of the transmission node being in the present embodiment on looped network, with etc. to be received Message.
Sending module 72, is connected with receiver module 71, for not existing within the default reception time in receiver module 71 State when receiving any message on master port, send first from the secondary port matched with above-mentioned master port to the host node looped network Link failure message, so that according to the first link failure message, host node judges that looped network occurs link failure;Wherein, above-mentioned reception Time is less than the transmission time of the whole piece link of looped network.
In an optional embodiment, as shown in figure 8, the transmission node of the present embodiment can also include:First forwarding mould Block 73.
First forwarding module 73, is connected with receiver module 71, in receiver module 71 in sending module 72 to host node The upstream node receiving the transmission node of the present embodiment after sending the first link failure message on above-mentioned master port sends The second link failure message when, to host node forward the second link failure message so that host node is simultaneously according to the first link Fault message and the second link failure message judge that looped network occurs link failure.
In an optional embodiment, as shown in figure 8, the transmission node of the present embodiment can also include:Second forwarding mould Block 74.
Second forwarding module 74, is connected with receiver module 71, for receiver module 71 within the above-mentioned reception time State the transmission node that the present embodiment is received on master port upstream node send the second link failure message when, to host node Forward the second link failure message, so that according to the second link failure message, host node judges that looped network occurs link failure.
In an optional embodiment, receiver module 71 is particularly used in opens fault detect timing on above-mentioned master port Device, monitors above-mentioned master port before fault detect timer timing terminates, with etc. message to be received;Here fault detect timer Timing length be the above-mentioned reception time.
In an optional embodiment, as shown in figure 8, the transmission node of the present embodiment can also include:Timer cuts out Module 75 and timer restart module 76.
Timer closedown module 75, is connected with receiver module 71, for fixed in fault detect timer in receiver module 71 When terminate before when receiving message on above-mentioned master port, fault detect timer cuts out.
Timer restarts module 76, is connected with receiver module 71, for fixed in fault detect timer in receiver module 71 When terminate after when not receiving any message on above-mentioned master port, restart fault detect timer above-mentioned to continue to monitor Master port, till the number of times until restarting fault detect timer reaches default frequency threshold value.
Optionally, above-mentioned first link failure message includes:The identification information of the transmission node of the present embodiment and above-mentioned master The identification information of port, so that host node is believed according to the identification information of the transmission node of the present embodiment and the mark of above-mentioned master port Breath determines the position of trouble point on looped network.
Optionally, above-mentioned second link failure message includes:The mark letter of the upstream node of the transmission node of the present embodiment The identification information of the master port on the upstream node of transmission node of breath and the present embodiment, so that host node is according to the present embodiment The mark letter of the master port on the upstream node of the transmission node of the identification information of the upstream node of transmission node and the present embodiment Breath determines the position of trouble point on looped network.
Each functional module of the transmission node that the present embodiment provides can be used for executing in above-mentioned Fig. 1 or embodiment illustrated in fig. 3 Corresponding flow process, its concrete operating principle repeats no more, and refers to the description of embodiment of the method.
The transmission node that the present embodiment provides, by arranging the transmission time being less than looped network whole piece link for its master port The reception time, if do not receive any message then it is assumed that master port occurs event within the default reception time on master port Barrier, therefore actively from the secondary port matched with master port to host node transmission link fault message so that host node is without when it Fail timer timing time-out can determine that looped network occurs link failure, decreases host node and looped network generation link failure is detected Time.
The structural representation of the transmission node that Fig. 9 provides for further embodiment of this invention.As shown in figure 9, the present embodiment Transmission node includes:Receiver 91, transmitter 92 and bus;Receiver 91 and transmitter 92 are connected by bus and complete mutually Between communication.Described bus can be industry standard architecture(Industry Standard Architecture, referred to as ISA)Bus, external equipment interconnection(Peripheral Component, referred to as PCI)Bus or extension Industry Standard Architecture knot Structure(Extended Industry Standard Architecture, referred to as EISA)Bus etc..Described bus can be divided into Address bus, data/address bus, controlling bus etc..For ease of representing, only represented with a thick line in Fig. 9, it is not intended that only A piece bus or a type of bus.Wherein:
Receiver 91, for monitoring the master port of the transmission node being in the present embodiment on looped network, with etc. report to be received Literary composition.
Transmitter 92, for not receiving any report in receiver 91 within the default reception time on above-mentioned master port Wen Shi, sends the first link failure message from the secondary port matched with above-mentioned master port to the host node looped network, so that main section O'clock according to first link failure message judge looped network occur link failure;Wherein, the above-mentioned reception time is less than the whole piece chain of looped network The transmission time on road.
Further, the transmission node of the present embodiment also includes:Processor 93 and memory 94 etc..Processor 93, is used for holding Line program.Specifically, this program can include program code, and described program code includes computer-managed instruction.
Processor 93 is probably a central processing unit(Central Processing Unit, referred to as CPU), person is Specific integrated circuit(Application Specific Integrated Circuit, hereinafter referred to as ASIC), or quilt It is configured to implement one or more integrated circuits of the embodiment of the present invention.
Memory 94, for storing said procedure, receiver 91 receives message and the report of temporary transmitter 92 transmission Literary composition etc..Memory 94 may comprise high-speed RAM memory it is also possible to also include nonvolatile memory(non-volatile memory), for example, at least one magnetic disc store.
The transmission node that the present embodiment provides can be used for executing the corresponding flow process in above-mentioned Fig. 1 or embodiment illustrated in fig. 3, its Concrete operating principle repeats no more, and refers to the description of embodiment of the method.
The transmission node that the present embodiment provides, by arranging the transmission time being less than looped network whole piece link for its master port The reception time, if do not receive any message then it is assumed that master port occurs event within the default reception time on master port Barrier, therefore actively from the secondary port matched with master port to host node transmission link fault message so that host node is without when it Fail timer timing time-out can determine that looped network occurs link failure, decreases host node and looped network generation link failure is detected Time.
The structural representation of the transmission node that Figure 10 provides for further embodiment of this invention.As shown in Figure 10, the present embodiment Transmission node include:Monitoring modular 1001 and sending module 1002.
Monitoring modular 1001, is in the state of the first port of the transmission node of the present embodiment on looped network for monitoring.
Sending module 1002, is connected with monitoring modular 1001, for monitoring first port fault in monitoring modular 1001 When, from the second port matched with first port to the host node transmission link fault message looped network, this link failure message Including:The identification information of the transmission node of the present embodiment and the identification information of above-mentioned first port, so that host node judges looped network There is link failure and determine the position of the trouble point on looped network.
Each functional module of the transmission node that the present embodiment provides can be used for executing in above-mentioned Fig. 4 or embodiment illustrated in fig. 5 Corresponding flow process, its concrete operating principle repeats no more, and refers to the description of embodiment of the method.
The present embodiment provide transmission node, when monitoring its a certain port failure, from this port-pairing Another port active is to host node transmission link fault message, and carries the mark of transmission node itself in link failure message The identification information of information and the port broken down is so that host node can either know that looped network is sent out in time according to link failure message Raw link failure, can accurately determine the position of trouble point on looped network again, be conducive to being accurately positioned the position of trouble point.
The structural representation of the transmission node that Figure 11 provides for further embodiment of this invention.As shown in figure 11, the present embodiment Transmission node include:Processor 1101, transmitter 1102, memory 1103 and bus.Processor 1101, transmitter 1102 with And memory 1103 is connected by bus and completes mutual communication.Described bus can be isa bus, pci bus or Eisa bus etc..Described bus can be divided into address bus, data/address bus, controlling bus etc..For ease of representing, only use in Figure 11 Article one, thick line represents, it is not intended that only one bus or a type of bus.Wherein:
Memory 1103, for storage program.Specifically, this program can include program code, described program code bag Include computer-managed instruction.Memory 1103 may comprise high-speed RAM memory it is also possible to also include nonvolatile memory, For example, at least one magnetic disc store.
Processor 1101, for configuration processor, is in the of the transmission node of the present embodiment on looped network for monitoring The state of Single port.Processor 1101 is probably a central processing unit(CPU), person is specific integrated circuit(Application Specific Integrated Circuit, hereinafter referred to as ASIC), or be arranged to implement the embodiment of the present invention One or more integrated circuits.
Transmitter 1102, is connected with processor 1101, for when processor 1101 monitors first port fault, from To the host node transmission link fault message on looped network, this link failure message includes the second port of first port pairing:This The identification information of the transmission node of embodiment and the identification information of above-mentioned first port, so that host node judges that looped network occurs link Fault simultaneously determines the position of the trouble point on looped network.
Further, the transmission node of the present embodiment can also include:Receiver 1104, for receiving message from extraneous.
The transmission node that the present embodiment provides can be used for executing the corresponding flow process in above-mentioned Fig. 4 or embodiment illustrated in fig. 5, its Concrete operating principle repeats no more, and refers to the description of embodiment of the method.
The present embodiment provide transmission node, when monitoring its a certain port failure, from this port-pairing Another port active is to host node transmission link fault message, and carries the mark of transmission node itself in link failure message The identification information of information and the port broken down is so that host node can either know that looped network is sent out in time according to link failure message Raw link failure, can accurately determine the position of trouble point on looped network again, be conducive to being accurately positioned the position of trouble point.
The structural representation of the host node that Figure 12 provides for one embodiment of the invention.As shown in figure 12, the master of the present embodiment Node includes:Receiver module 1201 and abort situation determining module 1202.
Receiver module 1201, for receiving the link failure message that the transmission node being on looped network sends, this link event Barrier message includes:The identification information of non-working port on the identification information of above-mentioned transmission node and above-mentioned transmission node.
Abort situation determining module 1202, is connected with receiver module 1201, for received according to receiver module 1201 Link failure message judges that looped network occurs link failure, and determines the position of trouble point on looped network.
In an optional embodiment, as shown in figure 12, the host node of the present embodiment also includes:Sending module 1203.
Sending module 1203, for network management system transmission link fault warning information, this link failure warning information bag Include the information of the position of the online trouble point of identification rings.Optionally, sending module 1203 is connected with receiver module 1201, for connecing After receipts module 1201 receives above-mentioned link failure message, to network management system transmission link fault warning information.
In an optional embodiment, receiver module 1201 is particularly used in reception ring, and multiple transmission nodes are sent out respectively on the net The link failure message sending.Correspondingly, abort situation determining module 1202 is particularly used in according in multiple link failure messages The link failure message that first receives, judges that looped network occurs link failure, and simultaneously according to multiple link failure messages, really Determine the position of the trouble point on looped network.
Each functional module of the host node that the present embodiment provides can be used for executing the corresponding flow process in embodiment illustrated in fig. 6, Its concrete operating principle repeats no more, and refers to the description of embodiment of the method.
The host node that the present embodiment provides, the link failure message that the online transmission node of reception ring sends, link failure Message carries the identification information of transmission node and the identification information of non-working port on transmission node, then according to link failure message Determine that looped network occurs link failure and determines the position of trouble point on looped network, be conducive to being accurately positioned the position of trouble point.
The structural representation of the host node that Figure 13 provides for another embodiment of the present invention.As shown in figure 13, the present embodiment Host node includes:Processor 1301, receiver 1302, memory 1303 and bus.Processor 1301, receiver 1302 and deposit Reservoir 1303 is connected by bus and completes mutual communication.Described bus can be that isa bus, pci bus or EISA are total Line etc..Described bus can be divided into address bus, data/address bus, controlling bus etc..For ease of representing, in Figure 13 only with one slightly Line represents, it is not intended that only one bus or a type of bus.Wherein:
Receiver 1302, for receiving the link failure message that the transmission node being on looped network sends, this link failure Message includes:The identification information of non-working port on the identification information of above-mentioned transmission node and above-mentioned transmission node.
Memory 1303, for storage program, and the link failure message that receives of receiver 1302 etc..Specifically, This program can include program code, and described program code includes computer-managed instruction.Memory 1303 may comprise at a high speed RAM memory it is also possible to also include nonvolatile memory, for example, at least one magnetic disc store.
Processor 1301, for executing upper program, the link failure message for being received according to receiver 1302 is sentenced Determine looped network and link failure occurs, and determine the position of trouble point on looped network.Processor 1301 is probably a central processing unit CPU, person is specific ASIC, or is arranged to implement one or more integrated circuits of the embodiment of the present invention.
Further, the host node of the present embodiment can also include:Transmitter 1304, for outwardly sending message, for example The position of the online trouble point of identification rings can be included to network management system transmission link fault warning information, this link failure warning information The information put.
The host node that the present embodiment provides can be used for executing the corresponding flow process in embodiment illustrated in fig. 6, and its specific works is former Reason repeats no more, and refers to the description of embodiment of the method.
The host node that the present embodiment provides, the link failure message that the online transmission node of reception ring sends, link failure Message carries the identification information of transmission node and the identification information of non-working port on transmission node, then according to link failure message Determine that looped network occurs link failure and determines the position of trouble point on looped network, be conducive to being accurately positioned the position of trouble point.
One of ordinary skill in the art will appreciate that:The all or part of step realizing above-mentioned each method embodiment can be led to Cross the related hardware of programmed instruction to complete.Aforesaid program can be stored in a computer read/write memory medium.This journey Sequence upon execution, executes the step including above-mentioned each method embodiment;And aforesaid storage medium includes:ROM, RAM, magnetic disc or Person's CD etc. is various can be with the medium of store program codes.
Finally it should be noted that:Various embodiments above only in order to technical scheme to be described, is not intended to limit;To the greatest extent Pipe has been described in detail to the present invention with reference to foregoing embodiments, it will be understood by those within the art that:Its according to So the technical scheme described in foregoing embodiments can be modified, or wherein some or all of technical characteristic is entered Row equivalent;And these modifications or replacement, do not make the essence of appropriate technical solution depart from various embodiments of the present invention technology The scope of scheme.

Claims (14)

1. a kind of link failure report method is it is characterised in that include:
Transmission node on looped network monitors the master port of described transmission node, with etc. message to be received;
If described transmission node does not receive any message within the default reception time on described master port, from described Master port pairing secondary port on described looped network host node transmission the first link failure message so that described host node according to Described first link failure message judges that described looped network occurs link failure;Wherein, the described reception time is less than described looped network The transmission time of whole piece link;
Transmission node on described looped network monitors the master port of described transmission node, with etc. message to be received include:Described transmission Node opens fault detect timer on described master port, monitors described master before described fault detect timer timing terminates Port, with etc. message to be received;The timing length of described fault detect timer is the described reception time;
If described transmission node receives message before described fault detect timer timing terminates on described master port, will Described fault detect timer cuts out;If described transmission node is after described fault detect timer timing terminates not described Any message is received on master port, restarts described fault detect timer to continue to monitor described master port, Zhi Daochong Till newly the number of times of the described fault detect timer of startup reaches default frequency threshold value.
2. link failure report method according to claim 1 is it is characterised in that also include:
If described transmission node connects after sending described first link failure message to described host node on described master port Receive the second link failure message that the upstream node of described transmission node sends, forward described second link to described host node Fault message, so that described host node judges according to described first link failure message and described second link failure message simultaneously There is link failure in described looped network.
3. link failure report method according to claim 1 is it is characterised in that also include:
If described transmission node receives the upstream section of described transmission node within the described reception time on described master port The second link failure message that point sends, forwards described second link failure message to described host node, so that described host node Judge that described looped network occurs link failure according to described second link failure message.
4. link failure report method according to claim 1 and 2 is it is characterised in that described first link failure message Including:The identification information of described transmission node and the identification information of described master port, so that described host node is according to described transmission The identification information of the identification information of node and described master port determines the position of trouble point on described looped network.
5. the link failure report method according to Claims 2 or 3 is it is characterised in that described second link failure message Including:The mark of the master port on the upstream node of the identification information of the upstream node of described transmission node and described transmission node Information, so that the upstream section of the identification information of the upstream node according to described transmission node for the described host node and described transmission node The identification information of the master port on point determines the position of trouble point on described looped network.
6. a kind of link failure processing method is it is characterised in that include:
Host node on looped network receives the link failure message that the transmission node on described looped network sends, described link failure message Including:The identification information of non-working port on the identification information of described transmission node and described transmission node;
According to described link failure message, described host node judges that described looped network occurs link failure, and determine event on described looped network The position of barrier point;
The link failure message that host node on described looped network receives the transmission node transmission on described looped network includes:Described looped network On host node receive the link failure message that sends respectively of multiple transmission nodes on described looped network;
According to described link failure message, described host node judges that described looped network occurs link failure, and determine event on described looped network The position of barrier point includes:Described host node is according to first link failure report receiving in the plurality of link failure message Literary composition, judges that described looped network occurs link failure;Described host node according to the plurality of link failure message, determines described ring simultaneously The position of online trouble point.
7. link failure processing method according to claim 6 is it is characterised in that also include:
To network management system transmission link fault warning information, it is described that described link failure warning information includes mark to described host node The information of the position of trouble point.
8. a kind of transmission node is it is characterised in that include:
Receiver module, for monitoring the master port being in described transmission node on looped network, with etc. message to be received;
Sending module, for not receiving any report in described receiver module within the default reception time on described master port Wen Shi, sends the first link failure message from the secondary port matched with described master port to the host node described looped network, so that According to described first link failure message, described host node judges that described looped network occurs link failure;Wherein, the described reception time Transmission time less than the whole piece link of described looped network;
Described receiver module specifically on described master port open fault detect timer, in described fault detect timer Timing terminate before monitor described master port, with etc. message to be received;The timing length of described fault detect timer is described connecing Between the time receiving;
Timer closedown module, for described receiver module before described fault detect timer timing terminates in described main side When receiving message on mouthful, described fault detect timer cuts out;
Timer restarts module, for after described receiver module terminates in described fault detect timer timing not in described master When receiving any message on port, restart described fault detect timer to continue to monitor described master port, Zhi Daochong Till newly the number of times of the described fault detect timer of startup reaches default frequency threshold value.
9. transmission node according to claim 8 is it is characterised in that also include:
First forwarding module, for sending described first link in described sending module to described host node in described receiver module The second link failure message that the upstream node of described transmission node sends is received after fault message on described master port When, forward described second link failure message to described host node, so that described host node is simultaneously according to described first link event Barrier message and described second link failure message judge that described looped network occurs link failure.
10. transmission node according to claim 8 is it is characterised in that also include:
Second forwarding module, for receiving described biography in described receiver module within the described reception time on described master port During the second link failure message that the upstream node of defeated node sends, forward described second link failure report to described host node Literary composition, so that according to described second link failure message, described host node judges that described looped network occurs link failure.
11. transmission nodes according to claim 8 or claim 9 are it is characterised in that described first link failure message includes:Institute State the identification information of transmission node and the identification information of described master port, so that described host node is according to the mark of described transmission node The identification information of knowledge information and described master port determines the position of trouble point on described looped network.
12. transmission nodes according to claim 9 are it is characterised in that described second link failure message includes:Described biography The identification information of the master port on the upstream node of the identification information of the upstream node of defeated node and described transmission node, so that institute State the main side on the identification information of the upstream node according to described transmission node for the host node and the upstream node of described transmission node The identification information of mouth determines the position of trouble point on described looped network.
A kind of 13. host nodes are it is characterised in that include:
Receiver module, for receiving the link failure message that the transmission node being on looped network sends, described link failure message Including:The identification information of non-working port on the identification information of described transmission node and described transmission node;
Abort situation determining module, for judging that described looped network occurs link failure according to described link failure message, and determines The position of trouble point on described looped network;
Described receiver module is specifically for receiving the link failure message that on described looped network, multiple transmission nodes send respectively;
Described abort situation determining module is specifically for according to first link receiving in the plurality of link failure message Fault message, judges that described looped network occurs link failure, simultaneously according to the plurality of link failure message, determines on described looped network Trouble point position.
14. host nodes according to claim 13 are it is characterised in that also include:
Sending module, for network management system transmission link fault warning information, described link failure warning information includes identifying The information of the position of described trouble point.
CN201210358288.0A 2012-09-24 2012-09-24 Link fault reporting method and processing method, and transmission node and primary node Active CN103684835B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210358288.0A CN103684835B (en) 2012-09-24 2012-09-24 Link fault reporting method and processing method, and transmission node and primary node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210358288.0A CN103684835B (en) 2012-09-24 2012-09-24 Link fault reporting method and processing method, and transmission node and primary node

Publications (2)

Publication Number Publication Date
CN103684835A CN103684835A (en) 2014-03-26
CN103684835B true CN103684835B (en) 2017-02-08

Family

ID=50321220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210358288.0A Active CN103684835B (en) 2012-09-24 2012-09-24 Link fault reporting method and processing method, and transmission node and primary node

Country Status (1)

Country Link
CN (1) CN103684835B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104899173A (en) * 2015-04-03 2015-09-09 深圳市前海安测信息技术有限公司 Node network based on node connection chip and information transmission port determining method
CN105353272B (en) * 2015-11-10 2018-08-10 四川东方电气自动控制工程有限公司 A kind of wind power plant Single-ring network multipoint fault method for rapidly positioning
US10411984B2 (en) * 2016-12-12 2019-09-10 Johnson Controls Technology Company Systems and methods related to diagnostics for ethernet rings based on media redundancy protocol
US11277279B2 (en) 2016-12-12 2022-03-15 Johnson Controls Tyco IP Holdings LLP Systems and methods for incorporating a single-port ethernet device in a media protocol ring
CN108989204B (en) * 2017-05-31 2021-08-20 华为技术有限公司 Link state determination method and device
CN109327383A (en) * 2017-07-31 2019-02-12 北京华为数字技术有限公司 A kind of fault handling method and equipment
CN110707811B (en) * 2019-09-27 2021-10-01 西安西电电力系统有限公司 Fault node positioning method and device of high-voltage multi-converter system
CN112346134B (en) * 2020-10-30 2022-08-02 高军 Geological radar method for intelligently detecting grouting effect of water-rich broken surrounding rock
CN113542056A (en) * 2021-06-18 2021-10-22 新华三技术有限公司 Fault detection method, forwarding device and storage medium
CN113346346B (en) * 2021-08-06 2022-01-04 阿里云计算有限公司 Optical fiber amplifier control method, device, system, transmission node and storage medium
CN114500318B (en) * 2022-02-11 2024-02-06 中国工商银行股份有限公司 Batch operation monitoring method, device, equipment and medium
CN114710440A (en) * 2022-03-15 2022-07-05 新华三技术有限公司合肥分公司 Processing method and device for looped network convergence
CN115412424B (en) * 2022-08-17 2024-03-26 浪潮思科网络科技有限公司 Double-master device detection method and device in MLAG environment
CN115361312B (en) * 2022-10-21 2023-01-24 之江实验室 Link flow based method and device for monitoring link state between ring network nodes

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207521A (en) * 2007-12-12 2008-06-25 华为技术有限公司 Method for fault detection and convergence of Ethernet and node apparatus
CN101212366A (en) * 2007-12-21 2008-07-02 杭州华三通信技术有限公司 Failure detection method, system, and main node in Ethernet loop network
CN101499947A (en) * 2008-02-01 2009-08-05 杭州华三通信技术有限公司 Arbitrarily topological intersected ring network protecting method, node and intersected ring network
CN101931569A (en) * 2009-06-22 2010-12-29 中兴通讯股份有限公司 Link fault detection method for Ethernet Ring
CN102055658A (en) * 2009-11-05 2011-05-11 杭州华三通信技术有限公司 Method and equipment for realizing failure protection in rapid ring protection protocol single-ring networking

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252500B (en) * 2008-04-16 2012-08-08 杭州华三通信技术有限公司 Intersect looped network, node and realizing method of random topology intersect looped network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207521A (en) * 2007-12-12 2008-06-25 华为技术有限公司 Method for fault detection and convergence of Ethernet and node apparatus
CN101212366A (en) * 2007-12-21 2008-07-02 杭州华三通信技术有限公司 Failure detection method, system, and main node in Ethernet loop network
CN101499947A (en) * 2008-02-01 2009-08-05 杭州华三通信技术有限公司 Arbitrarily topological intersected ring network protecting method, node and intersected ring network
CN101931569A (en) * 2009-06-22 2010-12-29 中兴通讯股份有限公司 Link fault detection method for Ethernet Ring
CN102055658A (en) * 2009-11-05 2011-05-11 杭州华三通信技术有限公司 Method and equipment for realizing failure protection in rapid ring protection protocol single-ring networking

Also Published As

Publication number Publication date
CN103684835A (en) 2014-03-26

Similar Documents

Publication Publication Date Title
CN103684835B (en) Link fault reporting method and processing method, and transmission node and primary node
CN102594600B (en) A kind of method and system of definite two-way converting inspection session abort situation
CN102377601B (en) LSP (Local Switched Path) fault notification method and LSP fault notification device
CN101267360B (en) Pseudo failure detection method and user boundary device
CN101262401A (en) A method for realizing network recovery in loop network
CN103270724A (en) Dual-homing for Ethernet line services
CN101599898B (en) Method for avoiding loop for routers adopting LFA mode in multilink fault environment
CN101127674A (en) Initialization method for transmission nodes of Ethernet loop network system
CN103581025B (en) Method and system for processing routing information and equipment
CN107508640A (en) Dual loop redundancy self-healing fiber optic network construction method based on Fibre Channel technologies
CN101242315A (en) Loop detection method
CN101094190B (en) Method for transmitting protective controlled message in Ethernet ring net
CN102291290A (en) Method and system for failure detection and connection of Ethernet ring network
JP5862445B2 (en) Communication device
CN106936656B (en) Method, device and system for realizing packet loss detection
CN105871674A (en) Ring protection link fault protection method, device and system
CN101686167A (en) Method for controlling recovery of faults of Ethernet
CN102480409A (en) Method for realizing rapid ring protection protocol (RRPP) loop shunting uplink, RRPP loop and device
CN102055658A (en) Method and equipment for realizing failure protection in rapid ring protection protocol single-ring networking
CN106789387A (en) A kind of chain circuit detecting method and device for SDN
EP2525527B1 (en) Network relay device and network relay method
CN102769567B (en) A kind of retransmission method of multilink transparent internet Frame and device
CN101547131A (en) EAPS looped network single-channel fault location and protection method
CN101771592B (en) Method for automatically configuring EAPS transmission nodes
CN107332793A (en) A kind of message forwarding method, relevant device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20191216

Address after: Room 302, No. 8319, Yanshan Road, Bengbu City, Anhui Province

Patentee after: Bengbu Lichao Information Technology Co., Ltd

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: Huawei Technologies Co., Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201020

Address after: C 013, C 015, C 016, C 020, C 021, C 022, 3 / F, e-commerce Industrial Park, Nantong home textile city, Jinchuan Avenue, Chuanjiang Town, Tongzhou District, Nantong City, Jiangsu Province 226000

Patentee after: Ruide Yinfang (Nantong) Information Technology Co., Ltd

Address before: Room 302, No. 8319, Yanshan Road, Bengbu City, Anhui Province

Patentee before: Bengbu Lichao Information Technology Co.,Ltd.

TR01 Transfer of patent right