CN102984027B - Method and device for message loop detection - Google Patents

Method and device for message loop detection Download PDF

Info

Publication number
CN102984027B
CN102984027B CN201210490736.2A CN201210490736A CN102984027B CN 102984027 B CN102984027 B CN 102984027B CN 201210490736 A CN201210490736 A CN 201210490736A CN 102984027 B CN102984027 B CN 102984027B
Authority
CN
China
Prior art keywords
port
message
protection
protection node
loop
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.)
Expired - Fee Related
Application number
CN201210490736.2A
Other languages
Chinese (zh)
Other versions
CN102984027A (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.)
Wang Miao
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 CN201210490736.2A priority Critical patent/CN102984027B/en
Publication of CN102984027A publication Critical patent/CN102984027A/en
Application granted granted Critical
Publication of CN102984027B publication Critical patent/CN102984027B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention provides a method and device for message loop detection and relates to the communication field. The method and device for the message loop detection solves the problem of the message loop in an Ethernet ring network loop. The method includes: the number of messages received at the port of any protective node in the Ethernet ring network is detected in a predetermined time period; when the number of the messages received at the port of any protective node exceeds a threshold of the number of preset messages, whether the port of any protective node is a blocked port is detected, when the threshold of the number of the messages is on the loop where the protective node is located, the messages are not in loop state, and the number of the messages received by the port of the protective node in the preset time period is maximum; the end of the port of any protective node is the blocked port, alarms are given to the Ethernet ring network through the blocked port, and the blocked port is forbidden to transmit the messages. The method and device for the message loop detection is applied to network message transmission.

Description

The method and apparatus of a kind of detection messages Cheng Huan
Technical field
The present invention relates to the communications field, particularly relate to the method and apparatus of a kind of detection messages Cheng Huan.
Background technology
Ethernet ring protection technology (Ethernet Ring Protection Switching in Ethernet protocol; being called for short ERPS) greater functionality, more high-performance, the more safety pursued is the developing direction of network technology; ethernet ring network technology is walked and is become better and approaching perfection day by day till now; and expand to other topological environmentals gradually, become redundancy protecting means important in double layer network.
Subring is mounted under Ethernet ring protection technical support main ring in prior art, for looped network APS (the Ring Automatic Protection Switching of subring, being called for short R-APS) message has two kinds of modes in the forwarding of each node: mode one, and subring uses R-APS Virtual Channel to transmit R-APS message; Mode two, subring does not use R-APS Virtual Channel to transmit R-APS message.In these two kinds of modes, all nodes in mode one all arrange enable R-APS Virtual Channel, the not enable R-APS Virtual Channel of Node configurations all in mode two.The difference of these two kinds of modes is just that R-APS message can be sent to all of the port by R-APS Virtual Channel by mode one, but the node that the obstruction in mode one in subring saves port place does not forward R-APS message; Because all not enable R-APS Virtual Channels of Node configuration are so cannot carry out the direct transmission on adjacent position between two adjacent ports being connected with main ring in mode two, mode two just needs the port blocked in subring to forward R-APS message to all of the port here.
But inventor finds, in mode one, the port blocked in subring will be caused to forward R-APS message, and then cause message Cheng Huan, cause Ethernet to block if port blocked mistake is set to by subring not enable R-APS Virtual Channel.
Summary of the invention
Embodiments of the invention provide the method and apparatus of a kind of detection messages Cheng Huan, can avoid ethernet ring network message Cheng Huan.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, provides a kind of method of detection messages Cheng Huan, comprising:
The number of the message that the port of arbitrary protection node in ethernet ring network receives is detected within the time period of presetting;
When the number of the message received on the port of described arbitrary protection node exceedes default message number threshold value, whether the port then checking described arbitrary protection node is port blocked, wherein said message number threshold value be described protection node place loop on message non-state circlewise time, the maximum of the number of the message that the port of described protection node can receive within the described default time period;
If the port of described arbitrary protection node is port blocked, then by described port blocked to described ethernet ring network alarm, and described port blocked be set forbid E-Packeting.
In the implementation that the first is possible, in conjunction with first aspect, described method also comprises:
If the port of described arbitrary protection node is not port blocked, then the number of the message that the looped network protection link port on the continuous loop detecting described arbitrary protection node place at least two described preset time period receives;
If the number of the message that the described looped network protection link port detected at least two described preset time period continuously receives all exceedes described default message number threshold value; then by described looped network protection link port to described ethernet ring network alarm, and described looped network protection link port be set forbid E-Packeting.
In the implementation that the second is possible, in conjunction with first aspect or the first mode in the cards, the loop at described arbitrary protection node place at least comprises the protection node that has port blocked.
In the implementation that the third is possible, in conjunction with first aspect or the first mode in the cards, the loop at described arbitrary protection node place only includes the protection node that has looped network protection link port.
In the 4th kind of possible implementation, in conjunction with said method, described message is Ethernet ring protection protocol massages.
Second aspect, provides the equipment of a kind of detection messages Cheng Huan, comprising:
Detecting unit, for detecting the number of the message that the port of arbitrary protection node in ethernet ring network receives within the time period of presetting;
Described detecting unit, time also for exceeding default message number threshold value when the number of described message, whether the port then checking described arbitrary protection node is port blocked, wherein said message number threshold value be described protection node place loop on message non-state circlewise time, the maximum of the number of the message that the port of described protection node can receive within the described default time period;
Alarm unit, if be port blocked for the port of described arbitrary protection node, then by described port blocked to described ethernet ring network alarm, and described port blocked be set forbid E-Packeting.
In the implementation that the first is possible, in conjunction with second aspect, described detecting unit, if the port also for described arbitrary protection node is not port blocked, then the number of the message that the looped network protection link port on the continuous loop detecting described arbitrary protection node place at least two described preset time period receives;
Described alarm unit; if the number also for the described message detected at least two described preset time period continuously all exceedes described default message number threshold value; then by described looped network protection link port to described ethernet ring network alarm, and described looped network protection link port be set forbid E-Packeting.
In the implementation that the second is possible, in conjunction with second aspect or the first possible implementation, the loop at described arbitrary protection node place at least comprises the protection node that has port blocked.
In the implementation that the third is possible, in conjunction with second aspect or the first possible implementation, the loop at described arbitrary protection node place only includes the protection node that has looped network protection link port.
In the 4th kind of possible implementation, in conjunction with the said equipment, described message is Ethernet ring protection protocol massages.
The method and apparatus of the detection messages Cheng Huan that the embodiment of the present invention provides; judge, in loop, whether message Cheng Huan occurs by the message number of the port accepts detecting protection node in ethernet ring network loop; and in message Cheng Huanhou is by loop, protect the port of node to report to the police to ethernet ring network; and control to stop the message repeating in loop, solve the problem of message Cheng Huan in ethernet ring network loop.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The schematic flow sheet of the method for a kind of detection messages Cheng Huan that Fig. 1 provides for the embodiment of the present invention;
The schematic flow sheet of the method for the another kind of detection messages Cheng Huan that Fig. 2 provides for the embodiment of the present invention;
The embodiment schematic flow sheet of the method for a kind of detection messages Cheng Huan that Fig. 3 provides for the embodiment of the present invention;
The structural representation of the equipment of a kind of detection messages Cheng Huan that Fig. 4 provides for the embodiment of the present invention;
The structural representation of the equipment of a kind of detection messages Cheng Huan that Fig. 5 provides for another embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The invention provides a kind of method of detection messages Cheng Huan, with reference to shown in Fig. 1, comprise following flow process:
101, within the time period of presetting, detect the number of the message that the port of arbitrary protection node in ethernet ring network receives.
Here the message transmitted on the loop of ethernet ring network comprises: service message and Ethernet ring protection protocol massages.Loop due to ethernet ring network is mainly used for service message transmission; and when Ethernet ring protection protocol massages is when transmitting in ethernet ring network with service message simultaneously; if now the loop of ethernet ring network forms message Cheng Huan; then Ethernet ring protection protocol massages can take the transmission bandwidth of service message; therefore the message number by detecting the Ethernet ring protection protocol massages in ethernet ring network loop on the port of the arbitrary protection node of ethernet ring network is needed, to realize the real-time adjustment to the too message number of looped network protection protocol massages in ethernet ring network loop.
When the number of the message 102, received on the port of this arbitrary protection node exceedes default message number threshold value, then check whether the port of arbitrary protection node is port blocked.
Wherein message number threshold value be protection node place loop on message non-state circlewise time, the maximum of the number of the message that the port of this protection node can receive within the time period of presetting, the port of any node wherein protecting the port of node and ERPS Ethernet ring protection to switch, concrete, if the port of protection node is the fastest per secondly can receive a message, then in one minute, port can receive 60, if the message number received in a minute more than 60 can, might occur that Ethernet Circle is abnormal, and when the message in ether loop becomes ring, the message number of reception per minute is at least 180, now then can using 180 of a reception per minute message as message number threshold value, namely the embodiment of the present invention can be one minute with the time period of presetting, message number threshold value is 180 is example, but be not limited only to this situation in practical operation.
If the port of 103 arbitrary protection nodes is port blockeds, then by this port blocked to ethernet ring network alarm, and this port blocked be set forbid E-Packeting.
Here, after prohibiting the function that port blocked E-Packets, the forwarding of message on the protection node at this port blocked place can just be stopped.
Wherein, if the port of protection node is port blocked, then port blocked is set and forbids message repeating.Here the port blocked on loop has one at least; when port blocked detecting the message number received exceedes default message number threshold value; now the loop at port blocked place has defined the phenomenon of message Cheng Huan; namely port blocked may for mistake be configured to the Virtual Channel on ethernet ring network not enable; port blocked just loses the function that the protection node of original prevention message at port blocked place continues to forward; therefore cause port cycle corresponding to each protection node repeatedly to receive the message of same content, cause message in loop to become ring to circulate.Here stopping forwarding message by reconfiguring port blocked, therefore when message repeating is to the protection node at this port blocked place, stops and further forward the packet to other protection nodes, avoiding message Cheng Huan.
Optionally, the loop at arbitrary protection node place at least comprises the protection node that has port blocked, namely a loop with Virtual Channel at least configures a port blocked.
The method of the detection messages Cheng Huan that the embodiment of the present invention provides; judge, in loop, whether message Cheng Huan occurs by the message number of the port accepts detecting protection node in ethernet ring network loop; and in message Cheng Huanhou is by loop, protect the port of node to report to the police to ethernet ring network; and control to stop the message repeating in loop, solve the problem of message Cheng Huan in ethernet ring network loop.
Further, with reference to shown in Fig. 2, the method for detection messages Cheng Huan provided by the invention is further comprising the steps of:
If the port of 104 arbitrary protection nodes is not port blocked, then the number of the message that the looped network protection link port on the continuous loop detecting arbitrary protection node place at least two preset time period receives.
If the number of the message that 105 these looped network protection link port detected at least two preset time period continuously receive all exceedes default message number threshold value; then by looped network protection link port to ethernet ring network alarm, and looped network protection link port be set forbid E-Packeting.
Here the preset time period in step 105 is consistent with the preset time period in step 102, and the message number threshold value preset in step 105 is also consistent with the message number threshold value preset in step 102.Wherein,
The embodiment of the present invention is to detect 3 minutes continuously, namely in 3 minutes, all occur in loop per minute that the message number of the port accepts of protection node exceeds the situation of default message number threshold value, now according to testing result by the looped network protection link port in the loop at this arbitrary protection node place to ethernet ring network alarm, the phenomenon of message Cheng Huan has been defined in the loop at looped network protection link port place here, now illustrate looped network protection link port place loop on there is no port blocking message repeating, now then by looped network protection link port to ethernet ring network alarm and arrange forbid message repeating.Here looped network protection link port RPL (Ring Protection Link) is port corresponding to RPL Owner node, and wherein RPL port is for forbidding the looped network protection link port RPL Port message that this RPL port place loop forwards.
Optionally, the loop at arbitrary protection node place only includes the protection node that has looped network protection link port.
Optionally, be whether the detection method of port blocked to the port of arbitrary protection node with reference to step 102, loop due to arbitrary protection node place at least comprises the protection node that has port blocked, therefore the method provided in the present embodiment also comprises after step 104: if the number of the message that the port of the arbitrary protection node detected at least two preset time period continuously receives all exceedes default message number threshold value, then by detecting on this loop whether the port of other protection nodes is port blocked, and by the port blocked that detects to ethernet ring network alarm, and this port blocked detected is set forbids message repeating.
The method of the detection messages Cheng Huan that the embodiment of the present invention provides; judge, in loop, whether message Cheng Huan occurs by the message number of the port accepts detecting protection node in ethernet ring network loop; and in message Cheng Huanhou is by loop, protect the port of node to report to the police to ethernet ring network; and control to stop the message repeating in loop, solve the problem of message Cheng Huan in ethernet ring network loop.
With reference to shown in Fig. 3, to being described as follows of the method for detection messages Cheng Huan provided by the invention:
Figure 3 shows that example in ethernet ring network, ethernet ring network comprises: a main ring and two subrings, wherein in subring one, and the method according to step 101 ~ step 103, concrete example is as follows:
Here subring one to be protected the port of node 2 correspondence,
Protect the number of the message that the port of node 2 receives to exceed default message number threshold value if a detects in subring one, then check whether the port of this protection node 2 is port blocked;
If b protects the port of node 2 to be port blockeds, then by protecting the port of node 2 to ethernet ring network alarm, and the port blocking message repeating of protection node 2 is set.
Here, when detecting that the port protecting node 2 is port blocked, message Cheng Huan in subring one, the port of protection node 2 is responsible for ethernet ring network alarm, and is arranged the port repeat message forbidding protecting node 2 by the port of protection node 2.
Optionally, with reference to step 104 and the method described in step 105, concrete example is as follows:
Here for the port one in subring one, as shown in Figure 3, the port of the protection node 1 in subring one is RPL port.
If a protects the port of node 2 not to be port blocked, then the number of the message that the looped network protection link port on the continuous loop detecting the port place of arbitrary protection node at least two preset time period receives.
If the message number that b detects continuously at least two preset time period all exceedes default message number threshold value; then pass through the port of the protection node 1 in subring one to ethernet ring network alarm, and the port repeat message of the port blocking protection node 1 of protection node 1 is set.
In addition optional, also can adopt with the following method after integrating step 104, if the port of protection node 2 is not port blocked, loop due to arbitrary protection node place at least comprises the protection node that has port blocked, therefore the port of node 3 and/or the port of protection node 4 is protected can be port blocked, if now continuously at least two preset time period the Port detecting of protection node 2 to the number of message all exceed default message number threshold value, then by detecting on this loop whether the port (namely protecting the port of node 3 and/or the port of protection node 4) of other protection nodes is port blocked, and by the port blocked that detects to ethernet ring network alarm, and this port blocked detected is set forbids E-Packeting.
The invention provides the equipment of a kind of detection messages Cheng Huan, with reference to shown in Fig. 4, comprising: detecting unit 41 and alarm unit 42, wherein,
Detecting unit 41, for detecting the number of the message that the port of arbitrary protection node in ethernet ring network receives within the time period of presetting;
Detecting unit 41, when the number of the message also received on the port when this arbitrary protection node exceedes default message number threshold value, whether the port then checking this arbitrary protection node is port blocked, wherein message number threshold value be protection node place loop on message non-state circlewise time, the maximum of the number of the message that the port of this protection node can receive within the time period of presetting;
Alarm unit 42, if be port blocked for the port of this arbitrary protection node, then by this port blocked to ethernet ring network alarm, and this port blocked be set forbid E-Packeting.
Optionally, the loop at arbitrary protection node place at least comprises the protection node that has port blocked.
The equipment of the detection messages Cheng Huan that the embodiment of the present invention provides; judge, in loop, whether message Cheng Huan occurs by the message number of the port accepts detecting protection node in ethernet ring network loop; and in message Cheng Huanhou is by loop, protect the port of node to report to the police to ethernet ring network; and control to stop the message repeating in loop, solve the problem of message Cheng Huan in ethernet ring network loop.
Optionally, detecting unit 41, if be not also port blocked for the port of this arbitrary protection node, then the number of the message that the looped network protection link port on the continuous loop detecting this arbitrary protection node place at least two preset time period receives;
Alarm unit 42; if the number of the number message of the message also received in this looped network protection link port detected at least two preset time period continuously all exceedes default message number threshold value; then by this looped network protection link port to ethernet ring network alarm, and this looped network protection link port be set forbid E-Packeting.
Optionally, the loop at arbitrary protection node place only includes the protection node that has looped network protection link port.
Optionally, this message is Ethernet ring protection protocol massages.
The equipment of the detection messages Cheng Huan that the embodiment of the present invention provides; judge, in loop, whether message Cheng Huan occurs by the message number of the port accepts detecting protection node in ethernet ring network loop; and in message Cheng Huanhou is by loop, protect the port of node to report to the police to ethernet ring network; and control to stop the message repeating in loop, solve the problem of message Cheng Huan in ethernet ring network loop.
The invention provides the equipment of a kind of detection messages Cheng Huan, with reference to shown in Fig. 5, this equipment can embed or inherently micro-process computer, such as: the portable equipments such as all-purpose computer, customization machine, mobile phone terminal or purl machine, comprise: at least one processor 51, memory 52, communication port 53 and bus 54, this at least one processor 51, memory 52 and communication interface 53 are connected by bus 54 and complete mutual communication.
This bus 54 can be industry standard architecture (Industry Standard Architecture, referred to as ISA) bus, peripheral component interconnect (Peripheral Component, referred to as PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture, referred to as EISA) bus etc.This bus 54 can be divided into address bus, data/address bus, control bus etc.For ease of representing, only representing with a thick line in Fig. 5, but not representing the bus only having a bus or a type.Wherein:
Memory 52 is for stores executable programs code, and this program code comprises computer-managed instruction.Memory 52 may comprise high-speed RAM memory, still may comprise nonvolatile memory (non-volatile memory), such as at least one magnetic disc store.
Processor 5l may be a central processing unit (Central Processing Unit, referred to as CPU), or specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), or be configured to the one or more integrated circuits implementing the embodiment of the present invention.
Communication interface 53, is mainly used in realizing the communication between the device in the present embodiment.
Wherein, processor 51, for detecting the number of the message that the port of arbitrary protection node in ethernet ring network receives within the time period of presetting;
Processor 51, when the number of the message also received on the port when this arbitrary protection node exceedes default message number threshold value, whether the port then checking this arbitrary protection node is port blocked, wherein message number threshold value be protection node place loop on message non-state circlewise time, the maximum of the number of the message that the port of this protection node can receive within the time period of presetting;
Processor 51, if be also port blocked for the port of this arbitrary protection node, then by this port blocked to ethernet ring network alarm, and this port blocked be set forbid E-Packeting.
Optionally, the loop at arbitrary protection node place at least comprises the protection node that has port blocked.
The equipment of the detection messages Cheng Huan that the embodiment of the present invention provides; judge, in loop, whether message Cheng Huan occurs by the message number of the port accepts detecting protection node in ethernet ring network loop; and in message Cheng Huanhou is by loop, protect the port of node to report to the police to ethernet ring network; and control to stop the message repeating in loop, solve the problem of message Cheng Huan in ethernet ring network loop.
Optionally, processor 51, if be not also port blocked for the port of this arbitrary protection node, then the number of the message that the looped network protection link port on the continuous loop detecting this arbitrary protection node place at least two preset time period receives;
Processor 51; if the number of the message also received in this looped network protection link port detected at least two preset time period continuously all exceedes default message number threshold value; then by this looped network protection link port to ethernet ring network alarm, and this looped network protection link port be set forbid E-Packeting.
Optionally, the loop at arbitrary protection node place only includes the protection node that has looped network protection link port.
Optionally, this message is described Ethernet ring protection protocol massages.
The equipment of the detection messages Cheng Huan that the embodiment of the present invention provides; judge, in loop, whether message Cheng Huan occurs by the message number of the port accepts detecting protection node in ethernet ring network loop; and in message Cheng Huanhou is by loop, protect the port of node to report to the police to ethernet ring network; and control to stop the message repeating in loop, solve the problem of message Cheng Huan in ethernet ring network loop.
The equipment of the detection messages Cheng Huan that the various embodiments described above provide, may be used for the method that correspondence performs embodiment as depicted in figs. 1 and 2, for Fig. 1 and the details described embodiment illustrated in fig. 2, repeats no more herein.
Those of ordinary skill in the art can recognize, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with electronic hardware, computer software or the combination of the two, in order to the interchangeability of hardware and software is clearly described, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
In several embodiments that the application provides, should be understood that disclosed system, apparatus and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed coupling each other or direct-coupling or communication connection can be indirect coupling by some interfaces, device or unit or communication connection, also can be electric, machinery or other form connect.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of embodiment of the present invention scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, and also can be that the independent physics of unit exists, also can be that two or more unit are in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is in essence in other words to the part that prior art contributes, or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (10)

1. a method of detection messages Cheng Huan, is characterized in that, comprising:
The number of the message that the port of arbitrary protection node in ethernet ring network receives is detected within the time period of presetting;
When the number of the message received on the port of described arbitrary protection node exceedes default message number threshold value, whether the port then checking described arbitrary protection node is port blocked, wherein said message number threshold value be described protection node place loop on message non-state circlewise time, the maximum of the number of the message that the port of described protection node can receive within the described default time period;
If the port of described arbitrary protection node is port blocked, then by described port blocked to described ethernet ring network alarm, and described port blocked be set forbid E-Packeting.
2. method according to claim 1, is characterized in that, described method also comprises:
If the port of described arbitrary protection node is not port blocked, then the number of the message that the looped network protection link port on the continuous loop detecting described arbitrary protection node place at least two described preset time period receives;
If the number of the message that the described looped network protection link port detected at least two described preset time period continuously receives all exceedes described default message number threshold value; then by described looped network protection link port to described ethernet ring network alarm, and described looped network protection link port be set forbid E-Packeting.
3. method according to claim 1 and 2, is characterized in that, the loop at described arbitrary protection node place at least comprises the protection node that has port blocked.
4. method according to claim 1 and 2, is characterized in that, the loop at described arbitrary protection node place only includes the protection node that has looped network protection link port.
5. method according to claim 1 and 2, is characterized in that, described message is Ethernet ring protection protocol massages.
6. an equipment of detection messages Cheng Huan, is characterized in that, comprising:
Detecting unit, for detecting the number of the message that the port of arbitrary protection node in ethernet ring network receives within the time period of presetting;
Described detecting unit, time also for exceeding default message number threshold value when the number of described message, whether the port then checking described arbitrary protection node is port blocked, wherein said message number threshold value be described protection node place loop on message non-state circlewise time, the maximum of the number of the message that the port of described protection node can receive within the described default time period;
Alarm unit, if be port blocked for the port of described arbitrary protection node, then by described port blocked to described ethernet ring network alarm, and described port blocked be set forbid E-Packeting.
7. equipment according to claim 6, it is characterized in that, described detecting unit, if the port also for described arbitrary protection node is not port blocked, then the number of the message that the looped network protection link port on the continuous loop detecting described arbitrary protection node place at least two described preset time period receives;
Described alarm unit; if the number also for the described message detected at least two described preset time period continuously all exceedes described default message number threshold value; then by described looped network protection link port to described ethernet ring network alarm, and described looped network protection link port be set forbid E-Packeting.
8. the equipment according to claim 6 or 7, is characterized in that, the loop at described arbitrary protection node place at least comprises the protection node that has port blocked.
9. the equipment according to claim 6 or 7, is characterized in that, the loop at described arbitrary protection node place only includes the protection node that has looped network protection link port.
10. the equipment according to claim 6 or 7, is characterized in that, described message is Ethernet ring protection protocol massages.
CN201210490736.2A 2012-11-27 2012-11-27 Method and device for message loop detection Expired - Fee Related CN102984027B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210490736.2A CN102984027B (en) 2012-11-27 2012-11-27 Method and device for message loop detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210490736.2A CN102984027B (en) 2012-11-27 2012-11-27 Method and device for message loop detection

Publications (2)

Publication Number Publication Date
CN102984027A CN102984027A (en) 2013-03-20
CN102984027B true CN102984027B (en) 2015-04-29

Family

ID=47857788

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210490736.2A Expired - Fee Related CN102984027B (en) 2012-11-27 2012-11-27 Method and device for message loop detection

Country Status (1)

Country Link
CN (1) CN102984027B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103227753B (en) * 2013-04-01 2016-01-06 北京东土科技股份有限公司 A kind of network congestion processing method, system and device
CN110011819B (en) * 2018-01-04 2022-04-19 中兴通讯股份有限公司 Method, device, equipment and system for generating SD (secure digital) alarm information
CN108322395A (en) * 2018-01-31 2018-07-24 普联技术有限公司 A kind of message processing method, device and computer storage media, terminal device
CN110445703B (en) * 2019-07-26 2021-05-07 新华三技术有限公司合肥分公司 Loop message intercepting method, forwarding equipment and controller

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145981A (en) * 2006-09-13 2008-03-19 中兴通讯股份有限公司 Loop detection and switching method of multi-loop Ethernet
CN101247306A (en) * 2008-03-13 2008-08-20 华为技术有限公司 Method for edge port block in ethernet ring, ethernet ring system and device
EP2099158A1 (en) * 2007-09-25 2009-09-09 ZTE Corporation Ethernet ring network systerm, transmission node of ethernet ring network and initialization method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145981A (en) * 2006-09-13 2008-03-19 中兴通讯股份有限公司 Loop detection and switching method of multi-loop Ethernet
EP2099158A1 (en) * 2007-09-25 2009-09-09 ZTE Corporation Ethernet ring network systerm, transmission node of ethernet ring network and initialization method thereof
CN101247306A (en) * 2008-03-13 2008-08-20 华为技术有限公司 Method for edge port block in ethernet ring, ethernet ring system and device

Also Published As

Publication number Publication date
CN102984027A (en) 2013-03-20

Similar Documents

Publication Publication Date Title
CN101001192B (en) Method, system and equipment for protecting ring network link
CN102984027B (en) Method and device for message loop detection
US20180091220A1 (en) Optical network system
WO2016095344A1 (en) Link switching method and device, and line card
CN105281931A (en) Error code detection method, device and system of POTN
CN102970172B (en) A kind of method that communication link switches, equipment and communication system
CN102957607A (en) Method, related device and system for switching over links
CN105656711A (en) Signal detecting method and device
CN109358991A (en) A kind of data transmission method, system, switching device and readable storage medium storing program for executing
CN102739535A (en) Method and system for protecting offline of line card
CN1980145A (en) Ethernet environment protection system and method
CN102064967B (en) BYPASS realizing method, equipment and system
CN104243020A (en) Optical module matching detection method and optical module matching detection device
CN101753465B (en) Protection method taking Ethernet Ring protection system to control VLAN message and device thereof
EP3232617B1 (en) Protection switching method and system, and nodes
CN103001810B (en) Network path protection changing method and system
CN104486787A (en) Method and device for detecting wireless link fault
CN108599984A (en) Method, access device and the system for supporting dual-homed protection of shared port state
CN101621347A (en) Reverse treatment method and device
CN201571076U (en) Backup system for Ethernet
CN104184639A (en) Processing method and device for multi-point fault of EPRS loop circuit
CN203406889U (en) Internet access BYPASS system capable of setting equipment fault flexibly when power is down
CN101605079B (en) Ethernet link protecting method, system and device
CN104734865A (en) Network protection method for PTN (Packet Transport Network), device and network element device
CN102571398A (en) Method and system for protecting channels among communication equipment

Legal Events

Date Code Title Description
C06 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
TR01 Transfer of patent right

Effective date of registration: 20170609

Address after: 510640 Guangdong City, Tianhe District Province, No. five, road, public education building, unit 371-1, unit 2401

Patentee after: Guangdong Gaohang Intellectual Property Operation Co., Ltd.

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

Patentee before: Huawei Technologies Co., Ltd.

CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Wang Miao

Inventor before: Huang Deng

Inventor before: Hu Yuanbo

Inventor before: Chen Ke

Inventor before: Jia Xiao

Inventor before: Li Xuan

Inventor before: You Zhigang

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170906

Address after: 071000 Hebei city of Baoding Province Lotus District 54 Road No. 110 building 4 unit 601 No. 6 hospital

Patentee after: Wang Miao

Address before: 510640 Guangdong City, Tianhe District Province, No. five, road, public education building, unit 371-1, unit 2401

Patentee before: Guangdong Gaohang Intellectual Property Operation Co., Ltd.

CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 541199 Lingui County, Guilin, Lingui County, Lingui Town, Xinglin Road, No. 1, unit 202, Room 202

Patentee after: Wang Miao

Address before: 071000 Hebei city of Baoding Province Lotus District 54 Road No. 110 building 4 unit 601 No. 6 hospital

Patentee before: Wang Miao

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150429

Termination date: 20171127