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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com