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

基于两级存储的正则表达式匹配技术
引用本文:陈曙晖,徐成成. 基于两级存储的正则表达式匹配技术[J]. 通信学报, 2014, 35(6): 7-55. DOI: 10.3969/j.issn.1000-436x.2014.06.007
作者姓名:陈曙晖  徐成成
作者单位:国防科学技术大学 计算机学院,湖南 长沙 410073
摘    要:
为解决正则表达式匹配中内存需求与检测性能的矛盾,首次提出两级存储的匹配方案。将马尔可夫链理论应用于自动机,通过求解稳态向量,得到各状态被随机访问的概率。将高概率的状态表项配置在FPGA嵌入存储器中,低概率的状态表项配置在SRAM中。使用L7-filter规则集进行实验,吞吐量达到33Gbit/s,匹配性能比将状态表完全存储在SRAM中提高了50倍。

关 键 词:正则表达式;马尔可夫链;两级存储;混合自动机
收稿时间:2013-02-01

Regular expression matching technology with two-stage memory
Shu-hui CHEN,Cheng-cheng XU. Regular expression matching technology with two-stage memory[J]. Journal on Communications, 2014, 35(6): 7-55. DOI: 10.3969/j.issn.1000-436x.2014.06.007
Authors:Shu-hui CHEN  Cheng-cheng XU
Affiliation:College of Computer, National University of Defense Technology, Changsha 410073, China
Abstract:
To solve the contradiction between the memory requirement and the inspection performance, a matching engine with two-stage memory was proposed for the first time. To deploy the state table to two-stage memory, theories of Markov chain was applied to the FSA. By computing the steady vector, the random access probabilities of each state could be obtained. Further, the states with higher probabilities were deployed in the embedded memory of FPGA, and the states with lower probabilities were deployed in SRAM. Rules in L7-filter were tested in simulation experiments, and the results show that our method can reach a throughput of 33 Gbit/s in large scale FSA, which is 50 times than that of arranging the whole state table in SRAM.
Keywords:regular expression   Markov chain   two-stage memory   hybrid FA
点击此处可从《通信学报》浏览原始摘要信息
点击此处可从《通信学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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