Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for classifying network packets

A classification method and network packet technology, applied in the network field, can solve the problems of many decision tree nodes, slow decision tree generation, and reduced network packet classification efficiency, and achieve the effect of reducing the scale and improving the generation efficiency.

Active Publication Date: 2019-09-17
NEW H3C TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The current problem is that rule duplication may occur in the process of generating the above decision tree, that is, a certain classification rule is divided into two because it covers the split point, resulting in too many nodes in the decision tree, and the scale of the decision tree is too large. Large; the memory used to store the decision tree cannot support such a large amount of information, which limits the size of the rule set corresponding to the decision tree; and the larger decision tree also makes the generation time of the decision tree too long, the efficiency is too low, and the decision tree generation Slowness also reduces the efficiency of the corresponding network packet classification

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 and device for classifying network packets
  • Method and device for classifying network packets
  • Method and device for classifying network packets

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] "Network packet classification" may be used in functions such as access control, flow control, and intrusion detection provided by network equipment. The rule matching search finally obtains the classification rule matching the network packet, and the network packet is processed (for example, discarding the network packet) according to the operation action in the classification rule.

[0029] The above network packet classification process can be found in figure 1 example of figure 1 A simple example of the principle of network packet classification. Such as figure 1 As shown, the network packet classification is actually to find a classification rule matching the network packet 12 to be classified from the rule set 11. The rule set 11 includes many classification rules, and the classification rules are, for example, the form of the following table 1:

[0030] Table 1 classification rules

[0031] Rule ID source IP Destination IP source port destin...

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 present invention provides a network packet classification method and device, wherein the method includes: using a cyclic grouping method to group the initial rule set to generate a preset number of sub-rule sets, and the cyclic grouping method includes: selecting from the rule set set to be grouped The target rule set with the highest overlap rate of rule sets is segmented according to the segmentation point to obtain two sub-rule sets, and the rule set overlap rate of one sub-rule set in the two sub-rule sets is smaller than that of the other sub-rule set. The rule set overlap rate of the rule set; put the two sub-rule sets into the rule set set, and continue to split the sub-rule sets in the rule set set until the number of sub-rule sets in the rule set reaches The preset number; each sub-rule set is constructed separately to obtain a decision tree corresponding to the sub-rule set, and the decision tree is used to classify and process network packets. The invention improves the generation efficiency of the decision tree.

Description

technical field [0001] The invention relates to network technology, in particular to a network packet classification method and device. Background technique [0002] Network packet classification can be roughly understood as processing the values ​​of different fields in the network packet header according to the configured classification rules, obtaining the matching classification rules, and executing the operation actions configured by the rules. Many network devices provide functions such as access control, flow control, load balancing, and intrusion detection that require network packet classification. A commonly used network packet classification method in the related art is a network packet classification based on a decision tree. A decision tree is a data structure that describes the network packet classification process generated according to a preset rule set (the rule set includes many classification rules). When a network device receives a network packet, it wil...

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/70H04L29/06H04L45/74H04L47/32
CPCH04L47/2441H04L45/745H04L47/32H04L69/22
Inventor 徐达维魏初舜任凯
Owner NEW H3C TECH CO LTD