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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


