DocumentCode :
1629633
Title :
A serial and non-collision hash algorithm
Author :
Fengjun Shang ; Fengjun Shang
Author_Institution :
Coll. of Comput. Sci. & Technol., Chongqing Univ. of Posts & Telecommun., China
Volume :
1
fYear :
2004
Firstpage :
591
Abstract :
In order to deal with the classification of IP packets, a novel IP classification is proposed based the serial and non-collision hash (SNH) algorithm, which is based on non-collision hash trie-tree algorithm and grid of tries algorithm. The core of the algorithm has three parts: (1) the structure of the hash function, which is constructed mainly based on destination port and protocol-type field so that the hash function can avoid a space explosion problem; (2) we transform grid of tries for the trie-tree pruned and jumping table in order to reduce space complexity toward the source IP prefix; (3) we use the trie-tree pruned toward the destination IP prefix so that stock space does not exceed total rule number, and at the same time, we introduce a serial algorithm in the source port lookup. After expanding normally, it does not increase the time complexity of the algorithm, because we introduce the jumping table. The SNH algorithm used for packet classification includes two phases. The first is a preprocessing phase, in which the hash table and pruned trie-tree are created based on a matching rule set. The second is a matching phase in which packet classification is executed. The test results show that the classification rate of the SNH algorithm is up to 0.4 million packets per second and the maximum memory consumed is 8 MB for 10,000 rules.
Keywords :
Internet; computational complexity; file organisation; table lookup; trees (mathematics); 8 MB; IP packet classification; Internet service provider; destination IP prefix; destination port; grid of tries algorithm; hash function; jumping table; lookup table; matching rule set; protocol-type field; serial hash algorithm; serial noncollision hash algorithm; source IP prefix; space complexity; space explosion problem; time complexity; trie-tree algorithm; trie-tree pruned table; Classification algorithms; Computer science; Databases; Educational institutions; Explosions; Filters; Laboratories; Measurement; Protocols; Quality of service;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Communications, Circuits and Systems, 2004. ICCCAS 2004. 2004 International Conference on
Conference_Location :
Chengdu
Print_ISBN :
0-7803-8647-7
Type :
conf
DOI :
10.1109/ICCCAS.2004.1346205
Filename :
1346205
Link To Document :
بازگشت