期刊文献+

基于三态内容寻址存储器的多模式匹配算法 被引量:1

Multi-pattern Matching Algorithm Based on Ternary Content Addressable Memory
下载PDF
导出
摘要 传统模式匹配算法在高速环境下无法实现数据包的实时处理。为此,提出一种基于三态内容寻址存储器(TCAM)的快速多模式匹配算法,通过模式移位将长模式截取为若干个子串,第1级TCAM存储子串,第2级TCAM存储子串的序列编号。搜索模式时,第1级TCAM向后端输出命中表项的编号,第2级TCAM实现序列编号的匹配,从而获得长模式的匹配信息,并通过编号空间划分方法压缩表项数目以提高资源利用率。实验结果表明,该算法可以实现网络数据的高速匹配处理,与基于hash标识的移位存储算法相比,具有空间消耗少的优势。 Traditional pattern matching algorithms can not process packet at line-speed under the high speed environment.This paper presents a fast multi-pattern matching algorithm based on Ternary Content Addressable Memory(TCAM) which cuts long pattern to short sub-string stored in the first TCAM by pattern shifting,and stores number in the second TCAM.In the search pattern process,the first TCAM returns the number of matching entry,the second TCAM matches the serial numbers and gives long pattern matching information.This paper proposes a space dividing method to compress the number of TCAM entries and improves the utilized rate of resources.Experimental results show that this algorithm can achieve high-speed packet processing and has lower space consumption compared with the pattern-shifted storing algorithm based on hash mark
出处 《计算机工程》 CAS CSCD 北大核心 2011年第13期52-54,共3页 Computer Engineering
基金 国家"863"计划基金资助项目(2009AA01A346)
关键词 多模式匹配 三态内容寻址存储器 空间压缩 静态随机存取存储器 multi-pattern matching Ternary Content Addressable Memory(TCAM) space compression Static Random Access Memory(SRAM)
  • 相关文献

参考文献7

  • 1单懿慧,蒋玉明,田诗源.面向入侵检测的改进BMHS模式匹配算法[J].计算机工程,2009,35(24):170-173. 被引量:13
  • 2Fang Yu, Katz R H, Lakshman T V. Gigabit Rate Packet Pattern- matching Using TCAM[C]//Proc. of the 12th IEEE International Conference on Network Protocols. Berlin, Germany: IEEE Press, 2004.
  • 3Sung Jung-Sik, Kang Seok-Min, Lee Young-Seok, et al. A Multi- gigabit Rate Deep Packet Inspection Algorithm Using TCAM[C]// Proc. of GLOBECOM'05. Saint Louis, USA: IEEE Press, 2005.
  • 4Gao Ming, Zhang Kenong, Lu Jiahua. Efficient Packet Matching for Gigabit Network Intrusion Detection Using TCAMs[C]//Proc.of the 20th International Conference on Advanced Information Networking and Applications. Vienna, Austria: [s. n.], 2006.
  • 5David J. Snort Rules[EB/OL]. (2008-11-05). http://www.snort.org/ start/rules.
  • 6Mac O S. Clamav Virus Database[EB/OL]. (2008-11-07). http:// www.Clam av.net.
  • 7Micah Beck, Kostas G. National Laboratory for Applied Network Research[EB/OL]. (2008-12-12). http://www.psc.edn/networking/nlanr/.

二级参考文献11

  • 1李雪莹,刘宝旭,许榕生.字符串匹配技术研究[J].计算机工程,2004,30(22):24-26. 被引量:26
  • 2王成,刘金刚.一种改进的字符串匹配算法[J].计算机工程,2006,32(2):62-64. 被引量:26
  • 3巫喜红,凌捷.BM模式匹配算法剖析[J].计算机工程与设计,2007,28(1):29-31. 被引量:19
  • 4李涛.网络安全概论[M].北京:电子工业出版社,2008.
  • 5Knuth D E, Morris J H, Pratt V R. Fast Pattern Matching in String[J]. SIAM Journal on Computing, 1977, 6(6): 323-350.
  • 6Charras C, Lecroq T. Brute Force Algorithm[EB/OL]. (1997-03-04). http://www-igm.univ-mlv.fr/-lecroqlstring/node3.html.
  • 7Boyer R S, Moore J S. A Fast String Searching Algorithm[J]. Communications of the ACM, 1977, 20(10): 762-772.
  • 8Franek F, Jennings C G, Smyth P W F. A Simple Fast Hybrid Pattern-matching Algorithm[J]. Journal of Discrete Algorithms, 2007, 4(5): 682-695.
  • 9Nigel-Horspool R. Practical-Fast Searching in Strings[J]. Practice and Experience, 1980, 10(6): 501-506.
  • 10Daniel M S. Very Fast Substring Search Algorithm[J]. Communications of the ACM, 1990, 33(8): 132-142.

共引文献12

同被引文献6

  • 1郑纬民;汤志忠.计算机系统结构(第2版)[M]{H}北京:清华大学出版社,199809.
  • 2Hushiliang,Kim I,Mikko H. An apprimplementing efficient su-perscalar CISC[A].Austin,Texas,USA"IEEE,2006.41-52.
  • 3Young-Su Kwon,Chong-Min Kyung. Performance driven event-based synchronization for milti-FPGA simulation accelerator with event time-multiplexing bus[J].{H}IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems,2005,(09):1444-1449.
  • 4Tessier,R.Betz,V.Neto,D.Egier,. Power-Efficient RAM Mapping Algorithms for FPGAEmbedded Memory Blocks[J].{H}IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems,2007,(02):278-283.
  • 5马秦生,曹阳,杨珺,张宁.多端口存储器控制器IP核的研究[J].西安电子科技大学学报,2010,37(1):142-147. 被引量:2
  • 6余慧,王健.一种专用可重配置的FPGA嵌入式存储器模块的设计和实现[J].电子学报,2012,40(2):215-222. 被引量:7

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部