A parallel automaton string matching with pre-hashing and root-indexing techniques for content filtering coprocessor

Kuo-Kun Tseng, Ying-Dar Lin, Tsern-Huei Lee, Y. Lai
{"title":"A parallel automaton string matching with pre-hashing and root-indexing techniques for content filtering coprocessor","authors":"Kuo-Kun Tseng, Ying-Dar Lin, Tsern-Huei Lee, Y. Lai","doi":"10.1109/ASAP.2005.8","DOIUrl":null,"url":null,"abstract":"We propose a new parallel automaton string matching approach and its hardware architecture for content filtering coprocessor. This new approach can improve the average matching time of the parallel automaton with pre-hashing and root-indexing techniques. The pre-hashing technique uses a hashing function to verify quickly the text against the partial patterns in the automaton, and the root-indexing technique matches multiple bytes for the root state in one single matching. A popular automaton algorithm, Aho-Corasick (AC) is chosen to be implemented by adding the two techniques; we employ these two techniques in a memory efficient version of AC namely bitmap AC. For the average-case time, our approach improves bitmap AC by 494% and 224% speedup for URL and virus patterns, respectively. Since pre-hashing and root-indexing techniques can be concurrently executed with bitmap AC in the hardware, our proposed approach has the same worst-case time as bitmap AC.","PeriodicalId":412171,"journal":{"name":"2005 IEEE International Conference on Application-Specific Systems, Architecture Processors (ASAP'05)","volume":"82 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2005-07-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"16","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2005 IEEE International Conference on Application-Specific Systems, Architecture Processors (ASAP'05)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ASAP.2005.8","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 16

Abstract

We propose a new parallel automaton string matching approach and its hardware architecture for content filtering coprocessor. This new approach can improve the average matching time of the parallel automaton with pre-hashing and root-indexing techniques. The pre-hashing technique uses a hashing function to verify quickly the text against the partial patterns in the automaton, and the root-indexing technique matches multiple bytes for the root state in one single matching. A popular automaton algorithm, Aho-Corasick (AC) is chosen to be implemented by adding the two techniques; we employ these two techniques in a memory efficient version of AC namely bitmap AC. For the average-case time, our approach improves bitmap AC by 494% and 224% speedup for URL and virus patterns, respectively. Since pre-hashing and root-indexing techniques can be concurrently executed with bitmap AC in the hardware, our proposed approach has the same worst-case time as bitmap AC.
具有预哈希和根索引技术的并行自动字符串匹配的内容过滤协处理器
提出了一种新的内容过滤协处理器并行自动机字符串匹配方法及其硬件结构。这种新方法可以通过预哈希和根索引技术提高并行自动机的平均匹配时间。预散列技术使用散列函数根据自动机中的部分模式快速验证文本,根索引技术在一次匹配中为根状态匹配多个字节。选择了一种流行的自动机算法,Aho-Corasick (AC),将这两种技术结合起来实现;我们在内存高效的AC版本中采用了这两种技术,即位图AC。对于平均情况时间,我们的方法分别将位图AC的URL和病毒模式加速了494%和224%。由于预哈希和根索引技术可以在硬件中与位图AC同时执行,因此我们提出的方法具有与位图AC相同的最坏情况时间。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书