Unlock instant, AI-driven research and patent intelligence for your innovation.

Loop detection method and loop detecting device

A loop detection and consistent technology, applied in the field of communications, can solve problems such as broadcast storms, loop detection errors, network and switch paralysis, etc., to achieve the effect of improving utilization, reducing duplication and redundant transmission

Active Publication Date: 2015-04-22
RAISECOM TECH
View PDF2 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen that such contradictory detection results will lead to errors in loop detection.
[0010] In summary, the existing loop detection technology has the following defects: the existing loop detection technology is based on the detection of physical ports. When several physical ports are added to an aggregation group, if the aggregation port cannot If the loop is accurately detected, a large amount of network bandwidth will be occupied when there is a loop, and even a broadcast storm will be caused, and in severe cases, the network and the switch will be paralyzed.
Greatly reduces network bandwidth utilization

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Loop detection method and loop detecting device
  • Loop detection method and loop detecting device
  • Loop detection method and loop detecting device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0080] figure 2 It is a schematic flowchart of constructing and sending a loop detection message based on an aggregated port in this embodiment. Such as figure 2 As shown, the main steps of the process are described as follows:

[0081] Step S101: Obtain a list of activated vlans under the aggregation group;

[0082] Loop detection needs to detect each activated vlan, and a corresponding loop detection message will be sent for each activated vlan. An aggregation group contains multiple physical ports, and the activated VLANs under each physical port may be different, and only when the activated VLANs under these physical ports overlap, it indicates that the logical channel formed by the aggregation group is valid, and then Then perform loop detection on the aggregation group.

[0083] After obtaining the list of activated public vlans according to this step, you can determine the number of loop detection packets to be sent and which vlans need to be carried in the packet...

Embodiment 2

[0097] image 3 It is a schematic diagram of a processing flow of performing loop detection according to the received loop detection message in this embodiment. Such as image 3 As shown, the main steps of the process are described as follows:

[0098] Step S201: Determine the validity of the message, if it is valid, proceed to the next step S202, otherwise, end this process;

[0099] After receiving the loop detection message, the validity of the message must be checked first. The validity check mainly includes the following aspects: whether the port number of the received message is a valid port number, and whether the port is in the link-up state , Whether the length of the message is legal, whether the type of the message is legal, whether the checksum of the message is legal, etc.

[0100] Step S202: determine whether the physical port for sending the message and the physical port for receiving the message belong to the same aggregation group, if yes, end this process,...

Embodiment 3

[0111] This embodiment provides a loop detection device, see Figure 4 , the device mainly includes: a message sending module, and a loop detection module, wherein,

[0112] The message sending module is used to, when sending a loop detection message from the aggregation group, fill the port number of the aggregation group in the source port field of the loop detection message, and broadcast the loop detection message sent to all ports connected to the aggregation group;

[0113] The loop detection module is configured to, when receiving a loop detection message from the receiving port, judge whether there is a loop according to the received loop detection message.

[0114] Further, the above-mentioned loop detection module is used to judge whether there is a loop in the following manner:

[0115] When it is recognized that the sending port of the loop detection message belongs to an aggregation group according to the source port field in the loop detection message, it is ju...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a loop detection message packaging method as well as a loop detecting method and device, wherein the loop detecting method comprises the following steps of: filling a port number of a trunking group in a source port field of a loop detection message during transmitting the loop detection message from the trunking group; broadcasting and transmitting the loop detection message to all ports connected with the trunking group; and judging whether the loop exists or not according to the loop detection message by using a receiving port that receives the loop detection message. According to the invention, the loop can be correctly detected on the trunking port so as to avoid a series of problems caused by the existence of the loop so that the utilization rate of the network bandwidth can be increased.

Description

technical field [0001] The present invention relates to the field of communication technologies, in particular to a loop detection method and device. Background technique [0002] With the rapid development of network technology and the continuous increase of user requirements, the technology of using port aggregation to obtain higher bandwidth has been widely used. Port aggregation technology allows parallel connections between two switches to simultaneously transmit data through multiple ports to provide higher bandwidth. Port aggregation is mainly used for the connection between switches. The switch combines a group of physical ports to form an aggregation group as a logical channel, and regards this logical channel as an aggregated port. [0003] Using aggregated ports has the following advantages: [0004] 1. The bandwidth is increased, which is equivalent to the sum of the bandwidth of all physical ports in the aggregation group; [0005] 2. Increase redundancy, as ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/26
Inventor 石凤
Owner RAISECOM TECH