期刊文献+

新颖的正则NFA引擎构造方法 被引量:4

Novel NFA engine construction method of regular expressions
下载PDF
导出
摘要 提出了一种新颖的正则NFA引擎构造方法——PFA构造法。PFA构造法包括3个主要算法:预处理算法、解析树编码算法和基于编码树的NFA构造算法。采用PFA构造法能够构造出只含有一个开始状态和一个终止状态的规模更小的NFA,称其为NFAp。NFAp的规模与正则表达式组的长度线性相关,较Thompson自动机、后跟自动机、位置自动机以及部分派生自动机的规模都要小,是Thompson NFA的1/3,比已经接近最优的后跟自动机构造法所获得的NFA还要小。 A novel method for constructing smaller non-deterministic finite automata (NFA) engine from given regularexpressions named PFA was proposed. There are three main algorithms in PFA, the pretreatment algorithm, the codingparser tree algorithm and the NFA construction algorithm based on the coded binary tree. The smaller NFA named NFApwith only one start state and one final state can be obtained by using PFA construction method. NFAp have linear size interms of the size of given regular expressions. It is the smallest NFA comparing with current methods likeThompson NFA, follow automata, position automata and partial derivatives automata. The size of NFAp is onethird of Thompson's and it is smaller than the size of follow automata whose size has nearly closed to optimal.
出处 《通信学报》 EI CSCD 北大核心 2014年第10期98-106,共9页 Journal on Communications
基金 国家自然科学基金资助项目(61100021 61121061 61202447) 河北省自然科学基金资助项目(F2012501014) 河北省教育厅自然科学指导基金资助项目(Z2010215)~~
关键词 深度分组检测 模式匹配 正则表达式 有穷自动机 构造算法 deep packet inspection pattern matching regular expression finite automata construction algorithm
  • 相关文献

参考文献5

二级参考文献26

  • 1Floyd R W, Ullman J D. The Compilation of Regular Expressions into Integrated Circuits [J]. Journal of the ACM, 1982, 29(3): 603-622.
  • 2Sidhu R, Prasanna V K. Fast Regular Expression Matching using FPGAs [C]//the 9th Annual IEEE Symposium on Field-Programmable Custom Computing Machines. USA: Rohnert Park, California, 2001:227-238.
  • 3Brodie B C, Taylor D E, Cytron R K. A scalable architecture for high-throughput regular-expression pattern matching [C]//33rd International Symposium on Computer Architecture (ISCA'06). USA: Boston, MA, 2006: 191- 202.
  • 4Baker Z K, Jung H J, Prasanna V K. Regular expression software deceleration for intrusion detection systems [C]//16th International Conference on Field Programmable Logic and Applications. SPAIN: Melia Madrid Princesa, Madrid, 2006 : 1 - 8.
  • 5Joao B, Ioannis S, Cardoso J M, et al matching for reconfigurable Regular expression packet inspection [C]//Proceedings of IEEE International Conference on Field-Programmable Technology (FPT). Thailand : Bangkok, 2006:119 - 126.
  • 6Kumar S, Dharmapurikar S, Yu F, et al. Algorithms to accelerate multiple regular expression matching for deep packet inspection [C]//Proceedings of the 2006 Conference on Applications, Technologies, Architectures, and Protocols for Computer Communications. Italy : Pisa, 2006 : 339- 350.
  • 7Song T, Zhang W, Wang D S, et al. A memory efficient multiple pattern matching architecture for network [C]//Proceedings of the IEEE INFOCOM 2008. USA: Phoenix, 2008:166 - 170.
  • 8孙怀民,离散数学,1990年
  • 9曹京,谭建龙,刘萍,郭莉.布尔表达式匹配问题研究[J].计算机应用研究,2007,24(9):70-72. 被引量:5
  • 10Snort user manual,the snort project. http://ww.snort.org/assets/82/snort_manual.pdf .

共引文献48

同被引文献23

  • 1AlfredV.Aho编译原理[M].北京:机械工业出版社,2009.
  • 2Jreffrey.Friedl精通正则表达式[M].北京:机械工业出版社,2012.
  • 3Jing Maohua, Yang Yixian, Lu Ning, et al. Postfix au- tomata[ J ]. Theoretical Computer Science, 2015 ( 562 ) : 590-605.
  • 4Sidhu R, Prasanna V K. Fast regular expression matching using FPGAs [ C ]////Field-Programmable Custom Compu- ting Machines, FCCM 2001. France: 1EEE Press, 2001 : 227-238.
  • 5Cho Y H, Navab S, Mangione-Smith W H. Specialized hardware for deep network packet filtering [ C ] // Field Programmable Logic and Applications: Reconfigurable Computing is Going Mainstream. [ S. 1. ] : Springer Ber- lin Heidelberg, 2002 : 452-461.
  • 6Bispo J, Sourdis I, Cardoso J M P, et al. Regular ex- pression matching for reconfigurable packet inspection [ C] //Field Programmable Technology, FPT 2006. IEEE International Conference on Field Programmable Technol- ogy. Bangkok: IEEE Press, 2006: 119-126.
  • 7Badran T F, Ahmad H H, Abdelgawad M. A reconfigu- rable multi-byte regular-expression matching architecture for signature-based intrusion detection [ C ] // Information and Communication Technologies: from Theory to Appli- cations, ICTTA 2008. Piscataway: IEEE Press, 2008: 1-4.
  • 8Yamagaki N, Sidhu R, Kamiya S. High-speed regular expression matching engine using multi-character NFA [ C ]// Field Programmable Logic and Applications, FPL 2008. Heidelberg: IEEE Press, 2008: 131-136.
  • 9Korenek J, Kosar V. Efficient mapping of nondeterminis- tic automata to FPGA for fast regular expression matching [ C]// Design and Diagnostics of Electronic Circuits and Systems, DDECS 2010. Piscataway: IEEE Press, 2010: 54-59.
  • 10徐乾,鄂跃鹏,葛敬国,钱华林.深度包检测中一种高效的正则表达式压缩算法[J].软件学报,2009,20(8):2214-2226. 被引量:28

引证文献4

二级引证文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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