Method and device for sending loop detection message

A technology of loop detection and sending method, which is applied in the field of network communication, and can solve problems such as network device operation errors

Active Publication Date: 2019-06-07
HANGZHOU DPTECH TECH
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the present application provides a method and device for sending a loop detection message to solve the problem that the existing sending method easily causes errors in the operation of network equipment

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
  • Method and device for sending loop detection message
  • Method and device for sending loop detection message
  • Method and device for sending loop detection message

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0017] The terminology used in this application is for the purpose of describing particular embodiments only, and is not intended to limit the application. As used in this application and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term...

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 application provides a method and an apparatus for sending loop detection messages. The method comprises the steps of aiming at each port, acquiring a random number, and determining message sending start time of each port by utilizing the random number; if the message sending start time of a certain port is out, determining a message sending batch of the certain port by utilizing all VLANs (Virtual Local Area Networks) corresponding to the certain port, and sending a loop detection message according to the message sending batch; and creating a timer for the certain port, setting timeout of the timer as a first preset interval, so that the certain port sends the loop detection message at a time interval equal to the first preset interval according to the message sending batch. According to the application, different message sending start time is obtained by different random numbers, so that time when each port sends the loop detection message is dispersed, and the number of the loop detection messages sent at the same time is reduced. Moreover, network equipment sends out the loop detection message of each port according to the batch, so that the number of sending the loop detection messages at the same time is further reduced.

Description

technical field [0001] The present application relates to the technical field of network communication, in particular to a method and device for sending a loop detection message. Background technique [0002] In the current network, the loop detection protocol is usually used to detect whether there is a loop on the port of the network device. business is running normally. Therefore, the network device will traverse all the ports running the loop detection protocol at regular intervals (for example, every 10 seconds), and utilize all VLANs (Virtual Local Area Network, Virtual Local Area Network) corresponding to the port to send loop detection packets . However, when the number of ports running the loop detection protocol is large, and each port corresponds to a large number of VLANs, at the same time, the network device needs to send a large number of loop detection packets, which is a problem for the network device. A large load may cause errors in the operation of netw...

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/46H04L12/26
CPCH04L12/4641H04L43/0805
Inventor 王笑李喻
Owner HANGZHOU DPTECH TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products