Fast flow classification method based on keyword decomposition hash algorithm

A keyword and flow classification technology, applied in the field of computer networks, can solve problems such as affecting the speed of flow classification, large calculation amount, and reduction of calculation time, so as to facilitate addition or deletion, improve query efficiency, and reduce resource consumption.

Inactive Publication Date: 2010-06-23
CHONGQING UNIV OF POSTS & TELECOMM
View PDF0 Cites 42 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] (1) Since the number of bits of each rule used for traffic classification is relatively long, it is necessary to map this complete space value to a smaller space, and the collision rate is very high, which seriously affects the speed of traffic classification
[0007] (2) Since a large number of bits of each rule in the classification rule base of convection measurement may be the same, the conventional Hash algorithm is adopted, and the result does not have the characteristics of uniform distribution
[0008] (3) Since the number of bits of each rule is long, and the data width of a general computer is short, the conventional Hash algorithm requires multiple squares or multiple sums when performing Hash operations, and the amount of calculation

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
  • Fast flow classification method based on keyword decomposition hash algorithm
  • Fast flow classification method based on keyword decomposition hash algorithm
  • Fast flow classification method based on keyword decomposition hash algorithm

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0025] The working steps of the keyword decomposition hash flow matching method are as follows:

[0026] The keyword decomposition Hash algorithm proposed by the present invention includes hashing the data blocks of multiple keywords at the head of the input data packet through an exclusive-OR hashing algorithm and obtaining a hash value; using linked list operations to simplify and quickly match the rule base operating. Select the size of the prime number according to the data type of the keyword, extract the data packet obtained through the underlying packet capture program, and obtain the keyword in the packet according to the IP data packet protocol type (such as the source IP address and destination IP address in the IP data packet) , Directly connect the keywords into a whole binary string and perform data block processing of equal size and XOR with the preferred prime number to obtain the hash key value. The data block processing is specifically based on different requirem...

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 fast flow classification method based on keyword decomposition hash algorithm relates to network flow measurement technology. The data blocks of multiple keywords of the packet head are connected into an integral binary string, and then the binary string is divided into a series of data blocks, the binary strings of the series of data blocks and prime numbers are performed with exclusion OR to obtain hash key values, the hash key values are processed by the hash function to obtain the matching rule set which is stored in a hush bucket, each matching rule set is simplified to a hash matched value stored in a matched linked list; the hash matched value is used as the index value of the linked list under query, the captured packets from the network receive keyword decomposition and hash value computation, and also perform quick flow matching with the rule sets in the hash bucket. The invention supports multiple keywords, is applicable to various classification modes, has high speed, low collision rate and is applicable to high speed network flow measurement.

Description

technical field [0001] The invention relates to computer network technology, in particular to flow measurement technology of high-speed network. Background technique [0002] In recent years, the speed of physical links has grown rapidly. According to the survey of the research organization Dataquest, in 2004, the link speed between 14% of core routers reached OC768 (40Gbps), and the link speed between 21% of edge routers reached OC192. (10Gbps). The current speed is faster than before, so to adapt to this development situation, the processing speed of the data flow is required to be faster and more efficient than before. [0003] There are mainly four types of traffic classification methods currently used. (1) BPF algorithm adopts CFG mode for packet filtering, which is complicated to compile filtering rules; (2) uses SRL to write matching rule sets [2] similar to a high-level language, which uses conditional statements and transition statements for matching rules The fo...

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
IPC IPC(8): H04L12/56H04L12/26
Inventor 唐红赵国峰徐川闫亮王影
Owner CHONGQING UNIV OF POSTS & TELECOMM
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