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

Loop detection method, device and equipment and readable storage medium

A loop detection and loop technology, applied in the field of computer networks, can solve problems such as confusion in the learning of the MAC address of switches, network congestion, and inability to detect loops alone.

Inactive Publication Date: 2021-06-25
SANGFOR TECH INC
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The loop in the cloud computing virtual network has great harm to customer business and infrastructure
For example, it can lead to confusion in the MAC address learning of the switch; the formation of a network broadcast storm - when a network loop is formed in the network, the broadcast packet will go back along the loop in the VLAN and forward it continuously, thus continuously accumulating , thus forming a broadcast storm; causing network congestion
[0003] At present, the loop detection algorithm of the physical network cannot detect loops alone through packet injection, because when a loop occurs in the virtual network, the injected detection data packet may not be received, resulting in no loop detection
That is, the loop detection algorithm of the existing physical network cannot be directly applied to the virtual network

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, device and equipment and readable storage medium
  • Loop detection method, device and equipment and readable storage medium
  • Loop detection method, device and equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0072] Please refer to figure 1 , figure 1 It is a flowchart of a loop detection method in an embodiment of the present invention, and the method includes the following steps:

[0073] S101. Receive a loop detection request, and determine a target network to be detected according to the loop detection request.

[0074] Wherein, the loop detection request may specifically be a loop detection request input by the user through the virtual network management platform. The target network to be detected can be specified in the request, that is, the target network can be determined by analyzing the loop detection request, that is, the target network to be detected can be determined according to the loop detection request.

[0075] Wherein, the target network is a network with virtual devices, of course, the target network may only have virtual devices, that is, the target network is a virtual network; the target network may also be a virtual-real network with both virtual devices a...

Embodiment 2

[0173] Corresponding to the above method embodiments, an embodiment of the present invention further provides a loop detection device, and the loop detection device described below and the loop detection method described above may refer to each other correspondingly.

[0174] see Figure 9 As shown, the device includes the following modules:

[0175] A target network determining module 101, configured to receive a loop detection request, and determine a target network to be detected according to the loop detection request;

[0176] A network information acquisition module 102, configured to acquire virtual device configuration information and topology in the target network;

[0177] An undirected graph drawing module 103, configured to use virtual device configuration information and topology to establish an undirected graph that matches the target network;

[0178] The loop detection module 104 is configured to traverse the undirected graph, obtain and output loop informati...

Embodiment 3

[0189] Corresponding to the above method embodiments, an embodiment of the present invention further provides a loop detection device, and a loop detection device described below and a loop detection method described above may be referred to in correspondence.

[0190] see Figure 10 As shown, the loop detection equipment includes:

[0191] memory D1 for storing computer programs;

[0192] The processor D2 is configured to implement the steps of the loop detection method in the above method embodiment when executing the computer program.

[0193] Specifically, please refer to Figure 11 , is a specific structural diagram of a loop detection device provided in this embodiment. The loop detection device may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPUs) ) 322 (eg, one or more processors) and memory 332, one or more storage media 330 (eg, one or more mass storage devices) that store...

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 method, device and equipment and a readable storage medium, and the method comprises the following steps: receiving a loop detection request, and determining a to-be-detected target network according to the loop detection request; obtaining virtual device configuration information and a topological structure in the target network; establishing an undirected graph matched with the target network by using the virtual device configuration information and the topological structure; traversing the undirected graph, and obtaining and outputting loop information. after the target network to be detected is determined, obtaining virtual device configuration information and a topological structure, and constructing an undirected graph corresponding to the target network. performing traversal query on the undirected graph, and performing traversal to obtain ring information in the undirected graph; The undirected graph is constructed based on the virtual device configuration information and the topological structure in the target network, so the loop information in the undirected graph can be regarded as the loop information in the target network. In this way, loop detection of the target network with the virtual device is completed.

Description

technical field [0001] The invention relates to the technical field of computer networks, in particular to a loop detection method, device, equipment and readable storage medium. Background technique [0002] In the virtual network, there are various loop problems such as VM and NFV loops in a single host, multi-host VM and NFV loops, and loops related to bvs aggregation ports. The loop in the cloud computing virtual network has great harm to customer business and infrastructure. For example, it can lead to confusion in the MAC address learning of the switch; the formation of a network broadcast storm - when a network loop is formed in the network, the broadcast packet will go back along the loop in the VLAN and forward it continuously, thus continuously accumulating , thus forming a broadcast storm; causing network congestion. [0003] At present, the loop detection algorithm of the physical network cannot detect loops alone through packet injection, because when a loop o...

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 Applications(China)
IPC IPC(8): H04L12/24H04L12/705H04L45/18
CPCH04L41/14H04L41/12H04L45/18
Inventor 陈晓帆韩振中
Owner SANGFOR TECH INC