Regular Expression Matching Algorithm Based on FPGA Circuit

With the rapid development of network bandwidth, the matching-performance of regular expression is gradually of crucial importance for networking security. There are many hardware acceleration designs of regular expression matching on the basis of NFA and DFA, of which NFA designs require more logic...

Full description

Saved in:
Bibliographic Details
Published inApplied Mechanics and Materials Vol. 556-562; pp. 1730 - 1736
Main Authors Guo, Cheng Qing, Xu, Jun Feng
Format Journal Article
LanguageEnglish
Published Zurich Trans Tech Publications Ltd 01.05.2014
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:With the rapid development of network bandwidth, the matching-performance of regular expression is gradually of crucial importance for networking security. There are many hardware acceleration designs of regular expression matching on the basis of NFA and DFA, of which NFA designs require more logic circuit resources while the DFA designs more memory resources. However, because there are too many states and transition edges in DFA, the performance of DFA is much inferior to the performance of NFA. In this paper we designed a DFA regular expression matching algorithm fully based on FPGA logic circuit. The algorithm exploits the feature of DFA that many transitions for a state may have the same next state pointer and setting a default transition for each state of DFA will result in the reduction of logic circuit and the simplification of the electronic circuit. To evaluate performance, this DFA algorithm was mapped onto the Altera Cyclone FPGA, and got the experimental results based on the L7-filter rule set. The performance of the DFA algorithm acquired an approximate performance compared to the NFA algorithm. Experimental result shows that, compared with the NFA algorithm, in the improved DFA plan, 10% rules got a higher throughput, reaching 60% in the best case; while 62% rules cost less logic resources, saving 87% logic resources in the best case.
Bibliography:Selected, peer reviewed papers from the 2014 International Conference on Mechatronics Engineering and Computing Technology (ICMECT 2014), April 9-10, 2014, Shanghai, China
ISBN:3038351156
9783038351153
ISSN:1660-9336
1662-7482
1662-7482
DOI:10.4028/www.scientific.net/AMM.556-562.1730