引用本文:徐乾,鄂跃鹏,葛敬国,钱华林.深度包检测中一种高效的正则表达式压缩算法.软件学报,2009,20(8):2214-2226
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 6607次   下载 10944 本文二维码信息
码上扫一扫!
分享到: 微信 更多
深度包检测中一种高效的正则表达式压缩算法
徐乾1,2, 鄂跃鹏1,2, 葛敬国1, 钱华林1
1.中国科学院 计算机网络信息中心,北京 100190;2.中国科学院 研究生院,北京 100049
摘要:
提出一种基于确定的有穷状态自动机(deterministic finite automaton,简称DFA)的正则表达式压缩算法.首先,定义了膨胀率DR(distending rate)来描述正则表达式的膨胀特性.然后基于DR提出一种分片的算法RECCADR (regular expressions cut and combine algorithm based on DR),有效地选择出导致DFA状态膨胀的片段并隔离,降低了单个正则表达式存储需求.同时,基于正则表达式的组合关系提出一种选择性分群算法REGADR(regular expressions group algorithm based on DR),在可以接受的存储需求总量下,通过选择性分群大幅度减少了状态机的个数,有效地降低了匹配算法的复杂性.
关键词:  正则表达式  确定的有穷状态自动机(deterministic finite automaton,简称DFA)  深度包检测(deep packet inspection,简称DPI)  多模式匹配算法  入侵检测
DOI:
分类号:
基金项目:Supported by the National High-Tech Research and Development Plan of China under Grant No.2007AA01Z214 (国家高技术研究发展计划(863)); the Youth Foundation of the Computer Network Information Center (CNIC), the Chinese Academy of Sciences under Grant No.0714071101 (CNIC青年基金)
Efficient Regular Expression Compression Algorithm for Deep Packet Inspection
XU Qian,E Yue-Peng,GE Jing-Guo,QIAN Hua-Lin
Abstract:
A memory efficient regular expression compression algorithm is devised for deep packet inspection. First, a parameter DR (distending rate) is defined to quantify the explosive quality of regular expressions. Then based on DR, a regular expression cutting algorithm is proposed to downsize the storage needs of individual regular expression, by detecting and confining the parts which cause DFA (deterministic finite automaton) states’ exponential growth. Then according to the relation of different regular expressions, a selective grouping algorithm is introduced for regular expression sets, which could cut down the number of finite automata, and reduce the runtime memory consumption.
Key words:  regular expression  DFA (deterministic finite automaton)  deep packet inspection  multi-pattern matching algorithm  intrusion detection

引用本文:
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览次   下载  
分享到: 微信 更多
摘要:
关键词:  
DOI:
分类号:
基金项目:
Abstract:
Key words: