通信学报 ›› 2014, Vol. 35 ›› Issue (8): 162-168.doi: 10.3969/j.issn.1000-436x.2014.08.020

• 学术论文 • 上一篇    下一篇

基于TCAM的低能耗正则表达式匹配算法

丁麟轩1,黄昆2,张大方1   

  1. 1 湖南大学 信息科学与工程学院,湖南 长沙 410082
    2 中国科学院 计算技术研究所,北京 100190
  • 出版日期:2014-08-25 发布日期:2017-06-29
  • 基金资助:
    国家重点基础研究发展规划(“973计划)基金资助项目;国家自然科学基金资助项目;国家自然科学基金资助项目

Low-power TCAM for regular expression matching

Lin-xuan DING1,Kun HUANG2,Da-fang ZHANG1   

  1. 1 College of Computer Science and Electronic Engineering, Hunan University, Changsha 410082, China
    2 Institute of Computing Technology, Chinese Academy of Sciences, Beijing 100190, China
  • Online:2014-08-25 Published:2017-06-29
  • Supported by:
    The National Basic Research Program of China (973 Program);The National Natural Science Foundation of China;The National Natural Science Foundation of China

摘要:

提出一种基于字符索引的正则表达式匹配算法,对确定型有限自动机(DFA, deterministic finite automaton)的字母表和状态进行分离存储,构建字符索引,减少匹配时激活的TCAM块数,显著降低TCAM能耗。实验结果表明:与DFA相比,基于字符索引的DFA(CIDFA, character-indexed DFA)在能耗上平均减少了92.7%,在存储空间开销上平均减少了32.0%,在吞吐量上平均提高了57.9%。

关键词: 正则表达式匹配, 字符索引, 分块存储, 低能耗

Abstract:

A character-indexed regular expression matching algorithm was presented to address the limitations of TCAM power consumption. This algorithm used the idea of separating the alphabet table from the states in deterministic finite automaton (DFA) for building a character index, in order to reduce the number of activated TCAM blocks, which in turn translated low TCAM power. Experimental results showed that proposed algorithm reduces the TCAM power by 92.7% on average as well as the TCAM space usage by 32.0% on average, and improves the matching throughput by 57.9% on average compared to previous solutions based on DFA.

Key words: regular expression matching, character index, block-based storage, low power

No Suggested Reading articles found!