高性能正则表达式匹配算法综述

被引:19
作者
付哲 [1 ,2 ]
李军 [2 ]
机构
[1] 清华大学自动化系
[2] 清华大学信息技术研究院
基金
国家重点研发计划;
关键词
正则表达式匹配; 有穷自动机; 算法; 评测;
D O I
暂无
中图分类号
TP393.08 [];
学科分类号
0839 ; 1402 ;
摘要
深度检测在维护网络安全、保证服务质量等方面扮演着重要的角色。正则表达式匹配算法作为高性能深度检测的核心技术,具有重要的研究价值和实践意义。随着网络流量不断增长、规则数目持续增多以及网络结构日趋灵活和动态,现有的正则表达式匹配算法面临着匹配速度、内存占用和更新能力等多方面的挑战。介绍了正则表达式匹配算法的研究背景,从空间压缩、匹配加速、新型自动机设计以及规则拆分和分组四个角度入手,分类总结了学术界具有影响力的研究成果。通过基于真实网络流量的评测,比较了几种经典匹配算法在不同规则集上的匹配速度、内存占用和预处理时间等性能指标,并给出了不同需求场景下高效正则表达式匹配算法的选择建议,归纳了高性能正则表达式匹配算法的下一步发展方向。
引用
收藏
页码:1 / 13
页数:13
相关论文
共 21 条
  • [1] 正则表达式分组的1/(1-1/k)-近似算法
    柳厅文
    孙永
    卜东波
    郭莉
    方滨兴
    [J]. 软件学报, 2012, 23 (09) : 2261 - 2272
  • [2] Intelligent and efficient grouping algorithms for large-scale regular expressions[J] . Zhe Fu,Kai Wang,Liangwei Cai,Jun Li.Computers and Electrical Engineering . 2018
  • [3] Combining SIMD and Many/Multi-core Parallelism for Finite State Machines with Enumerative Speculation
    Jiang, Peng
    Agrawal, Gagan
    [J]. ACM SIGPLAN NOTICES, 2017, 52 (08) : 179 - 191
  • [4] Picking Pesky Parameters: Optimizing Regular Expression Matching in Practice[J] . Chen,Xinming,Jones,Brandon,Becchi,Michela,Wolf,Tilman.IEEE Transactions on Parallel and Distributed Systems: A Publication of the IEEE Computer Society . 2016 (5)
  • [5] FREME: A pattern partition based engine for fast and scalable regular expression matching in practice[J] . Kai Wang,Jun Li.Journal of Network and Computer Applications . 2015
  • [6] Bypassing Space Explosion in High-Speed Regular Expression Matching
    Patel, Jignesh
    Liu, Alex X.
    Torng, Eric
    [J]. IEEE-ACM TRANSACTIONS ON NETWORKING, 2014, 22 (06) : 1701 - 1714
  • [7] Practical regular expression matching free of scalability and performance barriers[J] . Kai Wang,Zhe Fu,Xiaohe Hu,Jun Li.Computer Communications . 2014
  • [8] Data-parallel finite-state machines[J] . Todd Mytkowicz,Madanlal Musuvathi,Wolfram Schulte.ACM SIGARCH Computer Architecture News . 2014 (1)
  • [9] Revisiting State Blow-Up: Automatically Building Augmented-FA While Preserving Functional Equivalence[J] . Yu,Xiaodong,Lin,Bill,Becchi,Michela.IEEE Journal on Selected Areas in Communications . 2014 (10)
  • [10] Towards Fast and Optimal Grouping of Regular Expressions via DFA Size Estimation
    Liu, Tingwen
    Liu, Alex X.
    Shi, Jinqiao
    Sun, Yong
    Guo, Li
    [J]. IEEE JOURNAL ON SELECTED AREAS IN COMMUNICATIONS, 2014, 32 (10) : 1797 - 1809