Hardware Architecture for High-Performance Regular Expression Matching

被引:5
作者
Lee, Tsern-Huei [1 ]
机构
[1] Natl Chiao Tung Univ, Dept Commun Engn, Hsinchu 300, Taiwan
关键词
Hardware acceleration; nondeterministic finite automaton; regular expression;
D O I
10.1109/TC.2008.145
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
This paper presents a bitmap-based hardware architecture for the Glushkov nondeterministic finite automaton (G-NFA), which recognizes a given regular expression. We show that the inductions of the functions needed to construct the G-NFA can be generalized to include other special symbols commonly used in extended regular expressions such as the POSIX 1003.2 format. Our proposed implementation can detect the ending positions of all substrings of an input string T, which start at arbitrary positions of T and belong to the language defined by the given regular expression. To achieve high performance, the implementation is generalized to the NFA, which processes K symbols in each operation cycle. We provide an efficient solution for the boundary condition when the length of the input string is not an integral multiple of K. Compared with previous designs, our proposed architecture is more flexible and programmable because the pattern matching engine uses memory rather than logic.
引用
收藏
页码:984 / 993
页数:10
相关论文
共 20 条
[11]  
Kumar S., 2006, P ACM SIGCOMM
[12]  
LEE TH, 2006, P IEEE TECHN C TENCO
[13]  
MOSCOLA J, 2003, P IEEE WORKSH FPGAS
[14]  
ROAN HC, 2006, P 16 INT C FIELD PRO
[15]  
SIDHU R, 2001, P 9 IEEE S FIELD PRO
[16]  
SOURDIS I, 2004, P 12 ANN IEEE S FIEL
[17]  
SUGAWARA Y, 2004, P 14 INT C FIELD PRO
[18]  
TAN L, 2005, P INT SOC COMP THEIR
[19]  
Tuck N, 2004, IEEE INFOCOM SER, P2628
[20]  
YUSUF S, 2005, P 15 INT C FIELD PRO