| 本文已被:浏览 9784次 下载 11258次 |
 码上扫一扫! |
|
|
| 多模式匹配算法及硬件实现 |
|
李伟男1,2, 鄂跃鹏1,2, 葛敬国1, 钱华林1
|
|
1.中国科学院,计算机网络信息中心,北京,100080;2.中国科学院,研究生院,北京,100049
|
|
| 摘要: |
| 介绍了多模式匹配的算法和硬件实现方法.首先介绍了两种常用的多模式匹配算法--Aho-Corasick基于自动机的算法和Wu-Manber基于hash的后缀匹配加移位跳跃的算法以及相关的改进算法.并通过实验对各种多模式匹配算法的时空复杂度进行了分析比较.通过几个硬件实现的实例介绍了多模式匹配的硬件实现方法及策略.最后对多模式匹配的发展趋势进行了展望. |
| 关键词: 多模式匹配 Aho-Corasick算法 有限状态自动机 Wu-Manber算法 FPGA(现场可编程门阵列) TCAM(三态内容寻址存储器) bloom filter |
| DOI: |
| 分类号: |
| 基金项目:Supported by the National Natural Science Foundation of China under Grant No.90412011 (国家自然科学基金); the Special Foundation of President of the Chinese Academy of Sciences under Grant No. KGCX2-YW- 106 (中国科学院院长基金) |
|
| Multi-Pattern Matching Algorithms and Hardware Based Implementation |
|
LI Wei-Nan,E Yue-Peng,GE Jing-Guo,QIAN Hua-Lin
|
| Abstract: |
| This paper surveys the algorithms and hardware implementations of the multi-pattern matching. Firstly, two commonly used multi-pattern algorithms, Aho-Corasick’s automata based algorithm and Wu-Manber’s hash based suffix matching with skipping algorithm are introduced. And then, some improving ways are referred. Next, time and space complexity of these algorithms are analyzed, and the experimental results show their performances. Further, several hardware based implementations are taken as examples to demonstrate the general methods and strategies for the implementation on hardware. The developing trend is predicted in the end. |
| Key words: multi-pattern matching Aho-Corasick algorithm finite state automata Wu-Manber algorithm FPGA (field programmable gate array) TCAM (ternary content addressable memory) bloom filter |