Method and device for classifying data packets
A classification method and data packet technology, applied in data exchange network, digital transmission system, advanced technology, etc., can solve the problem of low efficiency of data packet classification
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] like figure 1 As shown, it is an exemplary flow chart of the data packet classification method in the embodiment of the present invention, and the method includes the following steps:
[0028] Step 101: Receive a data packet to be classified, and determine an ACL for classifying the data packet to be classified.
[0029] Step 102: According to the preset matching method to which the ACL belongs, match the data packet to be classified with the ACL, and classify the data packet to be classified according to the matching result; where the ACL belongs to according to the following method The preset matching method: when the number of filtering rules of the ACL is less than or equal to the first preset value, it is determined that the ACL is matched using a linear matching algorithm; when the number of filtering rules of the ACL is greater than the first preset value, a non-linear matching algorithm is used Packet classification algorithm for matching.
[0030] Wherein, in...
Embodiment 2
[0057] The method for classifying data packets in the embodiment of the present invention will be described in detail below with an embodiment, as Figure 5 As shown, the method includes the following steps:
[0058] Step 501: Obtain the number of filtering rules of the ACL, and count the frequency of ACL modification within a preset time period.
[0059] Step 502: Perform preprocessing on the ACL to determine the matching method to which the ACL belongs.
[0060] Specifically: when the number of filtering rules of the ACL is less than or equal to the first preset value, it is determined that the ACL is matched using a linear matching algorithm;
[0061] When the number of filtering rules of the ACL is greater than the first preset value, and the frequency of the ACL being modified within the preset time period is less than or equal to the preset frequency, an improved RFC algorithm is used for matching;
[0062] When the number of filtering rules of the ACL is greater than ...
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