首页 | 本学科首页   官方微博 | 高级检索  
     检索      

HashTrie:一种空间高效的多模式串匹配算法
引用本文:张 萍,刘燕兵,于 静,谭建龙.HashTrie:一种空间高效的多模式串匹配算法[J].通信学报,2015,36(10):172-180.
作者姓名:张 萍  刘燕兵  于 静  谭建龙
基金项目:The National Natural Science Foundation of China;The National High Technology Research and Development of China(863 Program);The Strategic Priority Research Program of the Chinese Academy of Sci-ences
摘    要:


HashTrie:a space-efficient multiple string matching algorithm
Ping ZHANG,Yan-bing LIU,Jing YU,Jian-long TAN.HashTrie:a space-efficient multiple string matching algorithm[J].Journal on Communications,2015,36(10):172-180.
Authors:Ping ZHANG  Yan-bing LIU  Jing YU  Jian-long TAN
Institution:1. Institute of Information Engineering,Chinese Academy of Sciences,Beijing 100093,China;2. University of Chinese Academy of Sciences,Beijing 100049,China;3. National Engineering Laboratory for Information Security Technologies,Beijing 100093,China
Abstract:The famous multiple string matching algorithm AC consumed huge memory when the string signatures were massive,thus unable to process high speed network traffic efficiently.To solve this problem,a space-efficient multiple string matching algorithm-HashTrie was proposed.This algorithm adopted recursive hash function to store the patterns in bit-vectors in place of the state transition table in order to reduce space consumption.Further more it made use of the rank operation for fast verification.Theoretic analysis shows that the space complexity of HashTrie is O(|P|),which is linear with the size of pattern set |P|and is independent of the alphabetsize σ.The space complexity is superior to the complexity O(|P|σlog|P|)of AC.Experiments on synthetic datasets and real-world datasets(such as Snort,ClamAV and URL)show that HashTrie saves up to 99.6% storage cost compared with AC,and in the meanwhile it runs at a matching speed that is about half of AC.HashTrie is a space-efficient multiple string matching algorithm that is appropriate to search large scale pattern strings with short lengths.
Keywords:intrusion detection  multiple string matching  bit-vector  recursive hash function  space-efficient  
点击此处可从《通信学报》浏览原始摘要信息
点击此处可从《通信学报》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号