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
CN106209561BActive Publication Date: 2019-06-07HANGZHOU DPTECH TECH

Patent Information

Authority / Receiving Office
CN Β· China
Patent Type
Patents(China)
Current Assignee / Owner
HANGZHOU DPTECH TECH
Publication Date
2019-06-07

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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