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

Regular expressions matching algorithm based on templates finite automata

在线阅读下载全文

作  者:邵翔宇[1] 刘勤让[1] 孙淼[1] 

机构地区:[1]国家数字交换系统工程技术研究中心,郑州450002

出  处:《计算机应用研究》2016年第7期2139-2142,2147,共5页Application Research of Computers

基  金:国家"973"计划资助项目(2013CB329104)

摘  要:采用规则分组的办法解决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.

关 键 词:正则表达式 确定型有限自动机 分组算法 规则模板 模板有限自动机 

分 类 号:TP393.08[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象