期刊文献+

基于多维有限自动机的DFA改进算法 被引量:5

Improved DFA algorithm based on multi-dimensional finite automata
下载PDF
导出
摘要 多个正则表达式规则编译成一个DFA(deterministerfiniteautomata)时,会产生状态爆炸、存储急剧增加的现象。针对最严重的状态爆炸问题,从信息论的角度给出了解释,并提出多维数学模型,将冗余状态分为0维状态和1维状态,通过前者按照维度压缩,后者动态构建的方法将空间复杂度降到理论下界,并在此基础上提出多维有限白动机(MFA,multi—dimensionalfiniteautomata)。实验表明,MFA构造时间比XFA略少,比DFA、STT冗余压缩算法和Hybrid.FA降低了2~3个数量级;存储空间比XFA略高,比DFA、STT冗余压缩算法、mDFA、Hybrid-FA降低了1-2个数量级;匹配时间比DFA、Hybrid.FA略多,但是比XFA略少,比sTT冗余压缩算法和mDFA降低了1-2个数量级。 Compiling multiple regular expression signatures into a combined DFA can blowup in state and storage space. Explanations from the prospective of information theory and multi-dimensional mathematical model were proposed fo- cusing on the most serious state explosion. Redundancy states were divided into zero-dimensional ones and one-dimensional ones. The former were compressed by dimension, and the later were dynamically built. The space com- plexity of the model came to the theoretical lower bound by the above methods. Then the multi-dimensional finite auto- mata (MFA) was proposed with the model. Experiments show that, the construction time taken by MFA is slightly less than XFA and is 2-3 orders of magnitude lower than DFA, STT redundancy compression algorithms and Hybrid-FA; the memory space of MFA is slightly higher than XFA, but is 1-2 orders of magnitude lower than DFA, STT redundancy compression algorithms, mDFA and Hybrid-FA; in the aspect of matching time, MFA ranks after DFA and Hybrid-FA, but ranks before XFA, and it achieves 1-2 orders of magnitude lower than that of STT redundancy compression algo- rithms and mDFA.
出处 《通信学报》 EI CSCD 北大核心 2015年第5期174-186,共13页 Journal on Communications
基金 国家高技术研究发展计划("863"计划)基金资助项目(2011AA01A103 2011AA01A101) 国家重点基础研究发展计划("973"计划)基金资助项目(2012CB315901 2013CB329104) 国家科技支撑计划基金资助项目(2011BAH19B01)~~
关键词 正则表达式 DFA 有限自动机 状态爆炸 regular expression DFA finite automata state explosion
  • 相关文献

参考文献22

  • 1HOPCROFT J E, ULLMANJ D. Introduction to Automata Theory, Lan- guages and Computation 2nd Edition[M]. US: Addison Wesley, 2001.
  • 2YU F, CHEN Z F, DIAO Y L, et al. Fast and memory-efficient regular expression matching for deep packet inspection[A]. Proceedings of the IEEE/ACM Symposium on Architectures for Networking and Com- munications Systems[C]. San Jose, Canada, 2006.93-102.
  • 3徐乾,鄂跃鹏,葛敬国,钱华林.深度包检测中一种高效的正则表达式压缩算法[J].软件学报,2009,20(8):2214-2226. 被引量:28
  • 4BECCHI M, CROWLEY E A hybrid finite automaton for practical deep packet inspection [A].Proceedings of the 2007 ACM CoNEXT conference[C]. New York, USA, 2007. 1.
  • 5张树壮,罗浩,方滨兴,云晓春.一种面向网络安全检测的高性能正则表达式匹配算法[J].计算机学报,2010,33(10):1976-1986. 被引量:27
  • 6乔登科,王卿,柳厅文,孙永,郭莉.基于状态分组的高效i-DFA构造技术[J].通信学报,2013,34(8):102-109. 被引量:4
  • 7贺炜,郭云飞,扈红超.基于状态约束的大规模正则表达式匹配算法[J].通信学报,2013,34(10):183-190. 被引量:3
  • 8YANG Y H E, PRASANNA V K. Space-time tradeoff in regular ex- pression matching with semi-deterministic finite automata[A]. IN- FOCOM, 2011 Proceedings IEEE[C]. Shanghai, China, 2011. 1853-1861.
  • 9KUMAR S, CHANDRASEKARAN B, TURNER J, et al. Curing regular expressions matching algorithms from insomnia, amnesia, and acalculia[A]. Proceedings of the 3rd ACM/IEEE Symposium on Ar- chitecture for Networking and Communications Systems[C]. Orlando, USA, 2007. 155-164.
  • 10SMITH R, ESTAN C, JHA S, et al. Deflating the big bang: fast and scalable deep packet inspection with extended f'mite automata [A].SIGCOMM '08 Proceedings of the ACM SIGCOMM 2008 con- ference on Data communication [C]. Seattle, USA, 2008. 207-218.

二级参考文献62

  • 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.

共引文献79

同被引文献23

引证文献5

二级引证文献6

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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