检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:唐球[1,2] 姜磊[2] 谭建龙[2] 刘金刚[1,2]
机构地区:[1]首都师范大学计算机科学联合研究院,北京100037 [2]中国科学院计算技术研究所,北京100190
出 处:《小型微型计算机系统》2012年第11期2405-2409,共5页Journal of Chinese Computer Systems
基 金:国家自然科学基金面上项目(61070026)资助;国家"八六三"高技术研究发展计划项目(2011AA010705)资助
摘 要:分析出影响FPGA实现的正则表达式匹配性能的关键因素是正则表达式匹配性能优化的前提.首先由L7-Filter各个规则的性能测试结果分析出低主频规则有别于其它高主频规则的三个特征.其后通过设计多个字符组串联而成的特殊正则表达式测试模型去验证这三个特征对基于FPGA的正则表达式自动机性能的影响程度.得出如下结论:基于FPGA的正则表达式自动机的主频随字符组宽度的增长而迅速下降,随字符组串联数目的增长而缓慢下降;星号(*)或问号(?)重复语法对字符组规则主频的影响大于加号(+)重复语法对字符组规则主频的影响.最后将基于字符组的结论推广至更普遍的大量字符"或(|)"操作的层面.In order to optimize the performance of regular expression matching,key factors impacting on the performance of regular expression matching have to be found out at first.Three key characteristics were concluded by comparing and analyzing the performance testing results of L7-filter rules.Then specific regular expression test models of multiple-cascaded character classes were designed to verify the three characteristics' influence degree to the performance of regular expression circuits.Conclusions were drawn from these experiments,which are the frequency of regular expression circuits declined rapidly with the growth of the width of the character class and declined slowly with the growth of the number of character classes cascade.And the impact of asterisk(*) or question(?) repetition syntax is greater than the plus(+) repetition syntax on the frequency of regular expression circuits.Finally,the conclusions based on the character class were inferred to a more general case of a large number of 'OR(|)' operators.
关 键 词:现场可编程门阵列 正则表达式 字符组 重复语法 模式匹配
分 类 号:TP393[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.46