CN105162662B - A kind of method of EOC terminal independence support loop detection - Google Patents

A kind of method of EOC terminal independence support loop detection Download PDF

Info

Publication number
CN105162662B
CN105162662B CN201510616180.0A CN201510616180A CN105162662B CN 105162662 B CN105162662 B CN 105162662B CN 201510616180 A CN201510616180 A CN 201510616180A CN 105162662 B CN105162662 B CN 105162662B
Authority
CN
China
Prior art keywords
loop
eoc
port
terminal
loop detection
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
CN201510616180.0A
Other languages
Chinese (zh)
Other versions
CN105162662A (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.)
Chengdu Guangda New Network Technology Co Ltd
Original Assignee
Chengdu Guangda New Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Guangda New Network Technology Co Ltd filed Critical Chengdu Guangda New Network Technology Co Ltd
Priority to CN201510616180.0A priority Critical patent/CN105162662B/en
Publication of CN105162662A publication Critical patent/CN105162662A/en
Application granted granted Critical
Publication of CN105162662B publication Critical patent/CN105162662B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/18Loop-free operations

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present invention relates to the EOC equipment control field in data communication field, especially a kind of method of EOC terminal independence support loop detection.The present invention is in view of the problems of the existing technology, a kind of method of EOC terminal independence support loop detection is provided, the loop detection module of EOC terminal realizes loop detection and processing loop ports, prevent that broadcast storm influences other ports and network, and proactive notification local side, the loop information detected.In the present invention when loop detection module receive oneself transmission loop detection broadcasting packet, then by the status indication of the terminal device port be loop circuit state, and by management message to local side EOC report generate loop information;When loop detection module detects that the loop circuit state of the port is no loop, and the state of last detection is loop circuit state, then is acyclic line state by the status indication for changing terminal device port, and reports information that loop releases to local side EOC by management message.

Description

A kind of method of EOC terminal independence support loop detection
Technical field
The present invention relates to the EOC in data communication field(Ethernet over Coax)Equipment control field, especially A kind of method of EOC terminal independence support loop detection.
Background technique
Under EOC network environment(Such as Fig. 1)It is shown, more EOC terminals, which can be connected, under a usual EOC local-side device sets It is standby.And EOC terminal is managed by EOC local side, when loop occurs in the network below EOC terminal, above EOC local side Terminal loop detection function detect the loop of terminal, but the not support loop of some old local sides in practical EOC network Detection function when EOC terminal being caused loop occur, cannot find in time, generate a large amount of broadcast storm, influence whole network. Even if some newer local sides support the loop detection function of terminals, but when due to loop occur, can generate a large amount of broadcast immediately Storm, a large amount of upstream broadcast storm may result in local side and become to the management message loss of terminal or management message time delay Greatly, the loop below terminal cannot be detected in time, and influences the management to terminal.Some EOC local sides are in order to more The fast loop for detecting terminal, and then influence of the terminal loop to network is faster eliminated, it uses and increases poll terminal loop The method of the frequency of state, this method make to manage message increase in normal network environment, influence the forwarding of data message Energy.Therefore in order to solve above-mentioned these problems, the independent loop detection of face realization at the terminal is needed, i.e., is participated in no local side In the case where can also detect the port of loop and prevent storm.
Summary of the invention
The technical problem to be solved by the present invention is to:In view of the problems of the existing technology, it is independent to provide a kind of EOC terminal The method of support loop detection, the loop detection module of EOC terminal are realized loop detection and processing loop ports, are prevented wide Broadcast other ports of storm impact and network, and proactive notification local side, the loop information detected.
The technical solution adopted by the present invention is as follows:
A kind of method of EOC terminal independence support loop detection includes:
Step 1:Terminal intermediate ring road detection module periodically sends loop detection broadcasting packet to each port, and detection is eventually The network of end equipment whether there is loop;
Step 2:Loop detection module persistently receives the loop detection broadcasting packet of each port, when loop detection module is received The status indication of the terminal device port is then loop circuit state, and passes through pipe by the loop detection broadcasting packet sent to oneself It manages message and reports the information for generating loop to local side EOC;
Step 3:When loop detection module detects that the loop circuit state of the port is no loop, and the shape of last detection State is loop circuit state, then is acyclic line state by the status indication of the terminal device port, and by managing message to local side EOC Report the information that loop releases.
It further, further include when the status indication of terminal device port is loop circuit state in the step 2, EOC is whole Understand the forwarding of close port immediately, cancellation loop in end.
Further, the management message format is:Heading+Status Type+corresponding port numbers are managed, wherein different EOC equipment corresponds to different management headings;In Status Type, 1 represents generation loop, and 2 represent port loop releasing;Different ends The corresponding different port numbers of mouth, port numbers are since 1.
In conclusion by adopting the above-described technical solution, the beneficial effects of the invention are as follows:
1)Due to EOC terminal loop detection module after detecting loop can close port immediately forwarding, eliminate ring Road, therefore influence of the broadcast storm to network is reduced, the especially network of terminal above section influences.
2)Since EOC terminal can report loop automatically and release the state of loop, it is straight-through that local side can not have to one The loop circuit state of management message polling terminal is crossed, a large amount of management message is reduced, due to the management message on EOC local side to terminal Coaxial channel is shared with data message, therefore the reduction for managing message is conducive to improve the forwarding performance of data message.
3)Loop detection module is realized by software program, without increasing hardware cost on hardware, and it is simple and convenient Solve the problems, such as it is of the existing technology.
Detailed description of the invention
Examples of the present invention will be described by way of reference to the accompanying drawings, wherein:
Fig. 1 is the method schematic diagram of EOC terminal independence support loop detection.
Fig. 2 is management message format.
Specific embodiment
All features disclosed in this specification or disclosed all methods or in the process the step of, in addition to mutually exclusive Feature and(Or)Other than step, it can combine in any way.
This specification(Including any accessory claim, abstract and attached drawing)Disclosed in any feature, except non-specifically chatting It states, can be replaced by other alternative features that are equivalent or have similar purpose.That is, unless specifically stated, each feature is only It is an example in a series of equivalent or similar characteristics.
1)Whether EOC terminal detection port there is loop
Terminal device by periodically to each port send loop detection broadcasting packet, detecting terminal device port it Under network whether there is loop.
Terminal device continues to receive loop detection broadcasting packet in each port, if receiving the loop detection of oneself transmission The loop circuit state of the port is then labeled as loop circuit state by broadcasting packet.
The exchange chip used according to terminal is different, and above-mentioned operation can be the software completion in exchange chip, software Periodic queries loop flag state is only needed, if exchange chip not support loop detection function, aforesaid operations can also be by Software is completed.
2)EOC terminal detects the processing after loop
EOC terminal periodically detects the loop circuit state of port, if the loop circuit state of the port is loop, by the end The spanning-tree state of mouth is set to blocking.And the loop information that message is generated to local side report is managed to by indicate. It is as shown in Figure 2 that Indicate manages message format.
If detecting that the loop circuit state of the port is no loop, and the state of last detection is loop, then should The spanning-tree state of port is set to forwarding.And the letter that message is released to local side report loop is managed to by indicate Breath.
As shown in Fig. 2, operating loop detection module on the EOC chip of EOC terminal, loop detection module is managed by MDIO Interface poll port loop state.
After detecting port loop, the spanning-tree state of the port of loop is set to blocking state immediately, and to EOC local side sends management message, notifies EOC local side.
When detecting that port do not have a loop, and when last state is loop circuit state, then restore the forwarding of port, by this The spanning-tree state of port is set to forwarding state.And to by managing information of the message to local side report loop releasing.
The invention is not limited to specific embodiments above-mentioned.The present invention, which expands to, any in the present specification to be disclosed New feature or any new combination, and disclose any new method or process the step of or any new combination.

Claims (1)

1. a kind of method of EOC terminal independence support loop detection, it is characterised in that including:
Step 1:Terminal intermediate ring road detection module periodically sends loop detection broadcasting packet to each port, and detecting terminal is set Standby network whether there is loop;
Step 2:Loop detection module persistently receives the loop detection broadcasting packet of each port, when loop detection module receives certainly The status indication of the terminal device port is then loop circuit state, and passes through management report by the loop detection broadcasting packet that oneself sends Text reports the information for generating loop to local side EOC;
Step 3:When loop detection module detects that the loop circuit state of the port is no loop, and the state of last detection is The status indication of the terminal device port is then acyclic line state, and is reported by management message to local side EOC by loop circuit state The information that loop releases;
It further include when the status indication of terminal device port is loop circuit state in the step 2, EOC terminal can shutdown side immediately The forwarding of mouth, cancellation loop;
The management message format is:Heading+Status Type+corresponding port numbers are managed, wherein difference EOC equipment is corresponding not Same management heading;In Status Type, 1 represents generation loop, and 2 represent port loop releasing;Different port corresponds to different Port numbers, port numbers are since 1.
CN201510616180.0A 2015-09-25 2015-09-25 A kind of method of EOC terminal independence support loop detection Expired - Fee Related CN105162662B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510616180.0A CN105162662B (en) 2015-09-25 2015-09-25 A kind of method of EOC terminal independence support loop detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510616180.0A CN105162662B (en) 2015-09-25 2015-09-25 A kind of method of EOC terminal independence support loop detection

Publications (2)

Publication Number Publication Date
CN105162662A CN105162662A (en) 2015-12-16
CN105162662B true CN105162662B (en) 2018-11-27

Family

ID=54803422

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510616180.0A Expired - Fee Related CN105162662B (en) 2015-09-25 2015-09-25 A kind of method of EOC terminal independence support loop detection

Country Status (1)

Country Link
CN (1) CN105162662B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202206389U (en) * 2011-07-27 2012-04-25 福建金钱猫电子科技有限公司 Coaxial cable EOC (Ethernet over COAX) system supporting loop circuit detection
CN102546311A (en) * 2012-03-14 2012-07-04 成都市广达电子电讯技术开发有限公司 Method for realizing loop detection on EOC (Ethernet Over Coax) device
CN102833121A (en) * 2011-06-14 2012-12-19 上海未来宽带技术及应用工程研究中心有限公司 Method for realizing loopback detection of EoC (Ethernet over coax) network
CN203645682U (en) * 2013-12-04 2014-06-11 广东东研网络科技股份有限公司 Active EOC terminal comprising exchange chip port loop monitoring circuit

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102281172B (en) * 2011-09-20 2013-11-06 杭州华三通信技术有限公司 Loop detection method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833121A (en) * 2011-06-14 2012-12-19 上海未来宽带技术及应用工程研究中心有限公司 Method for realizing loopback detection of EoC (Ethernet over coax) network
CN202206389U (en) * 2011-07-27 2012-04-25 福建金钱猫电子科技有限公司 Coaxial cable EOC (Ethernet over COAX) system supporting loop circuit detection
CN102546311A (en) * 2012-03-14 2012-07-04 成都市广达电子电讯技术开发有限公司 Method for realizing loop detection on EOC (Ethernet Over Coax) device
CN203645682U (en) * 2013-12-04 2014-06-11 广东东研网络科技股份有限公司 Active EOC terminal comprising exchange chip port loop monitoring circuit

Also Published As

Publication number Publication date
CN105162662A (en) 2015-12-16

Similar Documents

Publication Publication Date Title
EP2352253B1 (en) Method and apparatus for protecting link aggregation group of ethernet ring
CN110149220B (en) Method and device for managing data transmission channel
US20120084432A1 (en) Method and apparatus for protocol event management
US7839795B2 (en) Carrier Ethernet with fault notification
EP2079198A1 (en) Method and exchanger for realizing internet group management protocol snooping
WO2013046496A1 (en) Communication system, sending device, communication device, failure notification method and non-temporary computer-readable medium storing program
KR20150007623A (en) Method and appratus for protection switching in packet transport system
EP3029883B1 (en) Network protection method and apparatus, next-ring node, and system
EP3242446A1 (en) Failure protection method, device and system for ring protection link
WO2016095344A1 (en) Link switching method and device, and line card
CN102984035A (en) Loopback test method and system of packet loss probability of network data
EP2472793A1 (en) Method, device and system for transmitting e1 bidirectional looped network data
CN103036724B (en) State information transmission method, the network equipment and unit equipment
JP2011010047A (en) Fault monitoring system in packet network
CN105162662B (en) A kind of method of EOC terminal independence support loop detection
CN111130943B (en) Method for realizing fast ring network switching, switch and computer readable storage medium
CN103684811A (en) Service protection method and system of composite link
US8667116B2 (en) Method and system for providing reliable communication with redundancy for energy constrained wireless systems
JP2012044384A (en) Communication device
CN115460635A (en) Fault detection method, device, equipment and computer storage medium
CN113542056A (en) Fault detection method, forwarding device and storage medium
WO2016045539A1 (en) Distributed ssm protocol processing system and method based on complex packet switching system
US7330437B1 (en) Checking connectivity for point-to-multipoint connections
CN106612240B (en) A kind of storage high-efficiency network connection system and method
EP2911337A1 (en) Operation execution method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
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: 20181127

Termination date: 20200925