| 注册
首页|期刊导航|计算机应用研究|一种面向深度包检测的DFA压缩算法

一种面向深度包检测的DFA压缩算法

张伟 许海洋

计算机应用研究2017,Vol.34Issue(5):1525-1530,6.
计算机应用研究2017,Vol.34Issue(5):1525-1530,6.DOI:10.3969/j.issn.1001-3695.2017.05.056

一种面向深度包检测的DFA压缩算法

Algorithm to compress DFA for deep packet inspection

张伟 1许海洋2

作者信息

  • 1. 中国劳动关系学院计算机应用教研室,北京100048
  • 2. 青岛农业大学理学与信息学院,山东青岛266109
  • 折叠

摘要

Abstract

DFA(deterministic finite automata) is very important to achieve deep packet inspection (deep packet inspection,DPI) technology.With the growing number of deep packet inspection rules,the storage space of DFA expands rapidly.Therefore,this paper presented an effective compression algorithm based character replacement.Using the characteristics that the state transition table in each state is often only a few different jumps,it decomposed the state transition table into the remaining table and the character replacement table to make storage space reduce.In addition,many similar states could share the same character replacement table to further compress the storage space.Finally,it presented an O(n2) compression algorithm which n denoted the number of DFA states.The test results show that the proposed algorithm is more stable compression ratio on the L7-filter and Snort rule set,and the compression ratio is below 5 %.

关键词

正则表达式/字符替换/状态转换表压缩/确定性有限自动机/深度包检测

Key words

regular expression/character replacement/state transition table compression/deterministic finite automata/deep packet inspection

分类

信息技术与安全科学

引用本文复制引用

张伟,许海洋..一种面向深度包检测的DFA压缩算法[J].计算机应用研究,2017,34(5):1525-1530,6.

基金项目

国家自然科学基金青年科学基金资助项目(61403223) (61403223)

中国劳动关系学院中央高校基本科研业务费专项基金项目(17ZY005) (17ZY005)

计算机应用研究

OA北大核心CSCDCSTPCD

1001-3695

访问量0
|
下载量0
段落导航相关论文