Method, device and network processor for link detection based on bfd protocol

A network processor and link technology, applied in the field of data communication, can solve problems such as CPU attacks, coordination problems, BFD protocol cannot be successfully established and maintained, and achieve the effect of reducing performance impact

Active Publication Date: 2015-08-26
浙江杭海新城控股集团有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the current structure of the functional components of the control plane and the forwarding plane in this network device, the biggest problem in the process of implementing multiple BFD sessions is: the high-speed BFD detection data flow and the relatively slow CPU protocol flow The coordination problem makes the high-speed data traffic cause a greater attack on the CPU, so that the BFD protocol cannot be successfully established and maintained

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, device and network processor for link detection based on bfd protocol
  • Method, device and network processor for link detection based on bfd protocol
  • Method, device and network processor for link detection based on bfd protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0044] The invention provides a method for detecting links based on the BFD protocol. The network processor and the CPU respectively perform fast message and slow message in the BFD session, so as to achieve the cooperative processing of the network processor and the CPU.

[0045] refer to figure 1 , figure 1 It is a schematic flowchart of an embodiment of a method for detecting a link based on the BFD protocol in the present invention.

[0046] Methods for detecting links based on the BFD protocol include:

[0047] Step S10, when the bidirectional forwarding detection BFD session is established, the network processor sends a BFD detection message within a preset oscillation period;

[0048] Step S20, after the preset oscillation period, detect the state of the BFD link; when it is detected that the state of the BF...

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 BFD (Bidirectional Forwarding Detection) protocol-based link detection method, which comprises the following steps of: sending a BFD detection message by a network processor within a preset oscillating period after a bidirectional forwarding detection (BFD) session is set up; detecting a state of a BFD link after the preset oscillating period; stopping sending the BFD detection message in case that the status of the BFD link is detected to be abnormal; and sending a link fault alarm message to a central processing unit (CPU) by a manner of variable frequency sending. Furthermore, the invention discloses a corresponding system and a network processor. By adoption of the scheme of the invention, the BFD protocol is smoothly established, meanwhile, a performance impact on the CPU generated while implementing a high-speed data flow treatment is reduced to the greatest extent.

Description

technical field [0001] The invention relates to the technical field of data communication, in particular to a method, device and network processor for detecting links based on the BFD protocol. Background technique [0002] BFD (bidirectional forwarding detection, bidirectional forwarding detection, bidirectional forwarding detection) is a set of international standard protocols used to implement fast detection, providing a detection with light load and short duration. Compared with other previous "HELLO" detection mechanisms, it has many unique advantages. [0003] In the current network data device model, the detection of a BFD-like protocol is mainly composed of two basic tasks: the control plane and the forwarding plane. At the control plane, it mainly deals with the establishment of session negotiation, parameter setting modification and other related high-level protocol processing during the establishment of BFD protocol. In the network, compared with the overall BFD ...

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/26H04L12/24H04L12/70
Inventor 商志彪
Owner 浙江杭海新城控股集团有限公司
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