Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and system for filtering BFD protocol packets

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

Active Publication Date: 2020-09-01
FENGHUO COMM SCI & TECH CO LTD
View PDF10 Cites 0 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

The invention discloses a BFD protocol message filtering method and system, which relate to the field of communication technology. The method includes comparing the key value and content between the BFD configuration sent from the control layer to the local and the BFD configuration saved locally. Mark the BFD configuration delivered by the control layer, and save the marked BFD configuration to the local binary tree; when the timer interrupts the response, traverse the local binary tree that saves the BFD configuration, and based on the marking result of the BFD configuration, Send the BFD configuration saved in the binary tree that needs to be added or deleted to the application layer, and then add or delete the BFD configuration in the application layer according to the marking result of the BFD configuration. The present invention realizes the filtering of BFD messages on the forwarding layer, avoids repeated reading and writing of FPGA by BFD addition and deletion operations of the same descriptor, and avoids 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 Patents(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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products