期刊文献+

基于模板有限自动机的正则表达式匹配算法 被引量:3

Regular expressions matching algorithm based on templates finite automata
下载PDF
导出
摘要 采用规则分组的办法解决DFA状态爆炸问题,随着规则数目的增加,空间压缩效率大大降低。针对此问题提出了模板有限自动机分组算法。该算法基于规则模板对规则集进行分组,各分组分别构建匹配引擎;同时,根据实际规则数目和系统结构改变规则子集的数目,达到更好的匹配效率。理论分析和实验表明,与传统分组算法相比,在存储空间压缩相当情况下,分组数目大大减少;与其他典型的DFA改进算法相比,预处理时间和存储空间有数量级别的缩减,且匹配速率没有明显降低。 As the signature number grows, the classical signature grouping algorithm solves the DFA state explosion problem with a big decrease on space compression efficiency. This paper presented a grouping algorithm based on templates finite automata(TFA), which divided regex set based on signature templates and constructed matching engines in each set. At the same time, to achieve a better matching efficiency, it changed the group number based on signature number and system structure. Experiment results show that the preprocessing time and storage are reduced by 2 - 5 orders of magnitude compared with classical DFA improved algorithms, and this algorithm brings no obvious decrease on matching efficiency.
出处 《计算机应用研究》 CSCD 北大核心 2016年第7期2139-2142,2147,共5页 Application Research of Computers
基金 国家"973"计划资助项目(2013CB329104)
关键词 正则表达式 确定型有限自动机 分组算法 规则模板 模板有限自动机 regular expression deterministic finite automata(DFA) grouping algorithm signature templates templates finite automata
  • 相关文献

参考文献13

  • 1Yu Fang,Chen Zhifeng,Diao Yanlei,et al.Fast and memory-efficient regular expression matching for deep packet inspection[C]//Proc of IEEE/ACM Symposium on Architectures for Networking and Communications Systems.New York:ACM Press,2006:93-102.
  • 2徐乾,鄂跃鹏,葛敬国,钱华林.深度包检测中一种高效的正则表达式压缩算法[J].软件学报,2009,20(8):2214-2226. 被引量:28
  • 3柳厅文,孙永,卜东波,郭莉,方滨兴.正则表达式分组的1/(1-1/k)-近似算法[J].软件学报,2012,23(9):2261-2272. 被引量:12
  • 4Becchi M,Crowley P.A hybrid finite automaton for practical deep packet inspection[C]//Proc of ACM CoNEXT Conference.New York:ACM Press,2007.
  • 5张树壮,罗浩,方滨兴,云晓春.一种面向网络安全检测的高性能正则表达式匹配算法[J].计算机学报,2010,33(10):1976-1986. 被引量:27
  • 6Kumar S,Chandrasekaran B,Turner J,et al.Curing regular expressions matching algorithms from insomnia,amnesia,and acalculia[C]//Proc of the 3rd ACM/IEEE Symposium on Architecture for Networking and Communications Systems.New York:ACM Press,2007:155-164.
  • 7Smith R,Estan C,Jha S,et al.Deflating the big bang:fast and scalable deep packet inspection with extended finite automata[J].ACM SIGCOMM Computer Communication Review,2008,38(4):207-218.
  • 8张大方,张洁坤,黄昆.一种基于智能有限自动机的正则表达式匹配算法[J].电子学报,2012,40(8):1617-1623. 被引量:14
  • 9Liu Cong,Wu Jie.Fast deep packet inspection with a dual finite automata[J].IEEE Trans on Computers,2013,62(2):310-321.
  • 10Liu Cong,Pan Yan,Chen Ai,et al.A DFA with extended character-set for fast deep packet inspection[J].IEEE Trans on Computers,2014,63(8):1527-1937.

二级参考文献42

  • 1黄昆,张大方,谢高岗,金军航.一种面向深度数据包检测的紧凑型正则表达式匹配算法[J].中国科学:信息科学,2010,40(2):356-370. 被引量:12
  • 2李伟男,鄂跃鹏,葛敬国,钱华林.多模式匹配算法及硬件实现[J].软件学报,2006,17(12):2403-2415. 被引量:42
  • 3Yu Fang, Chen Zhifeng, Diao Yanlei et al. Fast and memory-efficient regular expression matching for deep packet in spection//Proceedings of the IEEE/ACM ANCS. San Jose California, 2006:93-102.
  • 4Kumar S, Dharmapurikar S, Yu F et al. Algorithms to accelerate multiple regular expressions matching for deep pack et inspection//Proceedings of the ACM SIGCOMM. Pisa, Italy, 2006:339-350.
  • 5Becchi M, Cadambi S. Memory-efficient regular expression search using state merging/ /Proceedings of the IEEE Infocom. Anchorage, Alaska, 2007:1064-1072.
  • 6Kumar S, Chandrasekaran G, Turner Jet al. Curing regular expressions matching from insomnia, amnesia and acalculia// Proceedings of the 3rd ACM/IEEE Symposium on Architecture for Networking and Communications Systems. Orlando, Florida, USA, 2007. 155-164.
  • 7Becchi M, Crowley P. A hybrid finite automaton for practical deep packet inspection//Proceedings of the ACM CoNEXT. New York, 2007:1-12.
  • 8Smith Randy, Estan Cristian, Jha Somesh et al. Fast signature matching using extended finite automaton(XFA)//Proceedings of the ICISS Hyderabad. India, 2008. 158 -172.
  • 9Kong Shijin, Smith Randy, Estan Cristian. Efficient signature matching with multiple alphabet compression tables// Proceedings of the 4th International Conference on Security and Privacy in Communication Netowrks. Istanbul, Turkey, 2008.- 1-10.
  • 10Ficara D, Giordano S, Procissi G et al. An improved DFA for fast regular expression matching. ACM SIGCOMM Computer Communication Review, 2008, 38(5) : 29-40.

共引文献65

同被引文献22

引证文献3

二级引证文献18

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部