A Multiple-Pattern Matching Algorithm Based on Bitmap

ZHANG Yuan-jing,ZHANG Wei-zhe
2010-01-01
Abstract:In order to reduce the memory consumption of automata algorithms in the field of multi-pattern matching,this paper proposes an efficient space optimization algorithm based on bitmap.It divides all the states in the automata into two groups by their depth in the data structure trie,and reduces the memory consumption of the deeper group that will be retrieved less.It also makes use of bitmap to improve the time efficiency of the deeper group.Our experiments show that this algorithm can sharply reduce the memory consumption,and when the number of patterns is more than the level of 10 thousand,the space consumption can be decreased by 25%-70%.
What problem does this paper attempt to address?