A method and system for filtering BFD protocol packets

A technology of protocol message and filtering method, which is applied in the BFD protocol message filtering method and system field, can solve the problems of FPGA configuration redundancy, long time, configuration residue, etc., and achieve the effect of avoiding configuration redundancy

Active Publication Date: 2018-12-18
FENGHUO COMM SCI & TECH CO LTD
View PDF10 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] When performing BFD oscillation or routing oscillation tests, the control layer will repeatedly add and delete the BFD configuration of the same descriptor. Array) to configure the registers of multiple modules inside. In some cases, due to the long time for the CPU to access peripherals, it takes a long time for a BFD entry to be fully configured on the FPGA. For BFD entries with the same descriptor, if The previous configuration has not been processed yet. At this time, the reentry of the latter configuration will cause the configuration residue of the previous BFD entry in the FPGA. The BFD addition and deletion operations of the same descriptor read and write to the FPGA repeatedly, making the FPGA configuration redundant.

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
  • A method and system for filtering BFD protocol packets

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] see figure 1 As shown, Embodiment 1 of the present invention provides a method for filtering BFD protocol packets. The filtering of BFD packets is implemented at the forwarding layer by means of marking, so that the configuration of BFD packets on subsequent FPGAs is redundant. The BFD protocol message filtering method of the embodiment of the present invention specifically includes the following steps:

[0035] S1: Add a tag to the local BFD configuration structure, compare the key value and content between the BFD configuration sent by the control layer to the local BFD configuration and the BFD configuration saved locally, and use the tag to compare the BFD delivered by the control layer according to the comparison result configuration for marking. The local in this embodiment of the present invention refers to the forwarding layer. The tags are update, add, and same, where the same tag means no processing, update means delete operation first, and then add operatio...

Embodiment 2

[0040] On the basis of Embodiment 1, the BFD configuration issued by the control layer is marked with a mark, and the specific process is as follows:

[0041] If the BFD configuration delivered by the control layer has the same key value and content as the BFD configuration saved locally, mark the BFD configuration delivered by the control layer as same;

[0042] If the BFD configuration delivered by the control layer has the same key value as the locally saved BFD configuration but the content is different, mark the BFD configuration delivered by the control layer as update;

[0043] If the key value of the BFD configuration delivered by the control layer is different from that of the BFD configuration saved locally, mark the BFD configuration delivered by the control layer as add.

[0044] Furthermore, in the initial state, the default mark of the BFD configuration sent by the control layer to the local is delete, and the mark delete means to be deleted. When all the data st...

Embodiment 3

[0046] On the basis of Embodiment 2, after the data stored in the binary tree is sent to the application layer, the addition and deletion of BFD configuration in the application layer is performed, specifically:

[0047] If the BFD configuration in the binary tree is marked as update, delete the BFD configuration first at the application layer, and then add the BFD configuration;

[0048] If the mark of BFD configuration in the binary tree is add, the operation of adding BFD configuration is performed at the application layer.

[0049] Further, when the mark of the BFD configuration in the binary tree is delete, the BFD configuration delivered to the application layer is deleted. Of course, packet statistics can also be added to record how many BFD packets are sent by the control layer, and how many BFD packets are sent to the application layer after being filtered by the forwarding layer.

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

A method and system for filtering BFD protocol packets are disclosed, relating to the technical field of communication. The method comprises the following steps of: comparing the key value and contentof the BFD configuration sent to the local control layer with the BFD configuration saved locally; marking the BFD configuration sent to the control layer with the mark; saving the marking BFD configuration in the local binary tree; When the timer interrupts the response, traversing the binary tree which locally stores the BFD configuration, and based on the marking result of the BFD configuration, sending the BFD configuration stored in the binary tree and needing addition or deletion operation to the application layer, and then performing addition or deletion operation of the BFD configuration in the application layer according to the marking result of the BFD configuration. The invention realizes the filtering of the BFD message on the forwarding layer, avoids the repeated reading andwriting of the FPGA by the BFD addition or deletion operation of the same descriptor, and avoids the configuration redundancy on the FPGA.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a BFD protocol message filtering method and system. Background technique [0002] In order to reduce the impact of equipment failures on services and improve network reliability, when network failures occur, network equipment needs to be able to detect communication failures with its adjacent equipment as soon as possible, so that measures can be taken in time to ensure the continuation of services. In the existing network, for the detection of network faults, some links usually use hardware detection signals, such as using SDH (Synchronous Digital Hierarchy, Synchronous Digital Hierarchy) alarms to detect link faults, but not all All media can provide hardware detection. Some applications rely on the upper-layer protocol’s own Hello message mechanism for fault detection, but the detection time of the upper-layer protocol is more than 1 second, which is too long for some ap...

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/26H04L12/24
CPCH04L41/0813H04L41/0869H04L43/0811H04L43/50
Inventor 贾海东
Owner FENGHUO COMM SCI & TECH CO LTD
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