A Programmable Controller Architecture for Regular Expression String Matching

被引:0
作者
Chu Zhong [1 ]
Li Qiyue [2 ]
Li Jie [3 ]
Wang Jianping [2 ]
机构
[1] Hefei Univ, Dept Elect Informat & Elect Engn, Hefei 230601, Anhui, Peoples R China
[2] Hefei Univ Technol, Sch Elect Engn & Automat, Hefei 230009, Anhui, Peoples R China
[3] Hefei Univ Technol, Sch Comp & Informat, Hefei 230009, Anhui, Peoples R China
来源
PROCEEDINGS OF THE 31ST CHINESE CONTROL CONFERENCE | 2012年
关键词
regular expression; string matching; special purpose controller; fast branch;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The expressive power of regular expressions has been often adopted in network intrusion detection systems, virus scanners, and spam filtering applications. However in the CPU based systems, pattern matching is one of the most computation intensive parts. In this paper, we present the design, implementation and evaluation of a regular expression string matching programmable controller (SMPC). This special purpose controller is a parallel and pipelined processor architecture which can deal with the regular expression semantics. Two hardware stacks are implemented in SMPC to support fast branches when the non-matching occurs. Our implementation processes 4 characters per clock cycle (maximum performance of state of the art solutions) and occupies only O(n) memory (where n is the length of the regular expression). Via synthesizing the verilog description and analyzing area/time constraints, SMPC can achieve 200 similar to 400 times speedup over traditional CPU implementations and up to 7.9Gbps in processing throughput. Besides it outperforms the counterparts greatly as the complexity of regular expressions increases.
引用
收藏
页码:5814 / 5819
页数:6
相关论文
共 15 条
[1]  
[Anonymous], 2001, 9 ANN IEEE S FIELD P, DOI DOI 10.1109/FCCM.2001.22
[2]   Regular expression matching for reconfigurable packet inspection [J].
Bispo, Joao ;
Sourdis, Ioannis ;
Cardoso, Joao M. P. ;
Vassiliadis, Stamatis .
2006 IEEE INTERNATIONAL CONFERENCE ON FIELD PROGRAMMABLE TECHNOLOGY, PROCEEDINGS, 2006, :119-126
[3]  
Brown BO, 2004, P ANN INT IEEE EMBS, V26, P3043
[4]  
Buboltz J., 2008, P C DES AUT TEST EUR, P1456
[5]   IP route lookups as string matching [J].
Donnelly, A ;
Deegan, T .
25TH ANNUAL IEEE CONFERENCE ON LOCAL COMPUTER NETWORKS - PROCEEDINGS, 2000, :589-595
[6]   A system architecture for high-speed deep packet inspection in signature-based network intrusion prevention [J].
Kim, Sunil ;
Lee, Jun-yong .
JOURNAL OF SYSTEMS ARCHITECTURE, 2007, 53 (5-6) :310-320
[7]  
Lin C.-H., 2006, P C DES AUT TEST EUR, P119
[8]   A platform-based SoC design and implementation of scalable automaton matching for deep packet inspection [J].
Lin, Ying-Dar ;
Tseng, Kuo-Kun ;
Lee, Tsern-Huei ;
Lin, Yi-Neng ;
Hung, Chen-Chou ;
Lai, Yuan-Cheng .
JOURNAL OF SYSTEMS ARCHITECTURE, 2007, 53 (12) :937-950
[9]   Space Optimization on Counters for FPGA-Based Perl Compatible Regular Expressions [J].
Lo, Chia-Tien Dan ;
Tai, Yi-Gang .
ACM TRANSACTIONS ON RECONFIGURABLE TECHNOLOGY AND SYSTEMS, 2009, 2 (04)
[10]   Processor array architectures for flexible approximate string matching [J].
Michallidis, Panagiotis D. ;
Margaritis, Konstantinos G. .
JOURNAL OF SYSTEMS ARCHITECTURE, 2008, 54 (1-2) :35-54