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

面向网络流的自适应正则表达式分组匹配算法
引用本文:杜文超,陈庶樵,胡宇翔. 面向网络流的自适应正则表达式分组匹配算法[J]. 西安交通大学学报, 2012, 46(8): 49-53,64
作者姓名:杜文超  陈庶樵  胡宇翔
作者单位:国家数字交换系统工程技术研究中心,450002,郑州
基金项目:国家重点基础研究发展计划资助项目,国家科技支撑计划资助项目
摘    要:针对当前的多正则表达式匹配算法占用较大的系统资源,且吞吐量较低的问题,在分析典型的正则表达式匹配算法的基础上,提出了一种自适应的多正则表达式分组匹配算法.该算法通过对正则表达式进行高效分组,将相互之间存在交叠且容易引起状态数指数增长的表达式相互隔离;将每个分组构造为一个确定性有限自动机(DFA),按匹配概率大小建立伸展树进行调度.仿真结果表明,该算法不仅大大节省了存储空间,而且吞吐量提高了大约3倍.

关 键 词:深度包检测  正则表达式  分组  有限自动机  伸展树

An Adaptive Matching Algorithm for Regular Expression Grouping in Network Traffic
DU Wenchao , CHEN Shuqiao , HU Yuxiang. An Adaptive Matching Algorithm for Regular Expression Grouping in Network Traffic[J]. Journal of Xi'an Jiaotong University, 2012, 46(8): 49-53,64
Authors:DU Wenchao    CHEN Shuqiao    HU Yuxiang
Affiliation:(National Digital Switching System Engineering & Technological R&D Center,Zhengzhou 450002,China)
Abstract:In view of current multiple regular expressions matching algorithms consume too large system resource,but provide low throughput,a new regular expression matching algorithm for network context is proposed through analyzing typical regular expression matching algorithms.The algorithm separates expressions that have interaction and could cause exponential increase in the number of states,and assigns them into different groups.Then a DFA is constructed for each group,and these DFAs are placed on the splay tree to schedule by their matching probabilities.Simulation results show that the proposed algorithm not only could save more memory space,but also could provide about three times higher throughput.
Keywords:deep packet inspection  regular expression  group  finite automata  splay tree
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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