期刊文献+

基于有序二叉树的快速多模式字符串匹配算法 被引量:6

Fast Multi-pattern String Matching Algorithm Based on Sequential Binary Tree
下载PDF
导出
摘要 将有序二叉树和QS算法相结合,提出一种快速多模式字符串匹配算法,实现在多模式匹配过程中不匹配字符的连续跳跃。为提高匹配速度,利用已匹配的字符串信息进行跳跃式的比较,避免文本扫描指针的回溯。实验结果表明,与SMA算法相比,该算法在预处理阶段构造速度和匹配速度更快,在模式串较长的情况下,性能更优越。 This paper combines sequential binary tree with Quick Search(QS) algorithm to propose a fast multi-pattern string matching algorithm, which achieves better performance by shifting unmatched characters continuously in the process of multi-pattern matching. It uses jump comparison with unmatched strings to enhance the speed and decrease character matching operations. Experimental results demonstrate that the algorithm constructs more quickly in preprocessing process and its search speed is higher than SMA algorithm. It achieves better performance in the eases of longer string patterns.
出处 《计算机工程》 CAS CSCD 北大核心 2010年第17期42-44,共3页 Computer Engineering
基金 安徽省自然科学基金资助项目(090412051) 广东省教育部产学研结合基金资助项目(2008B090500240)
关键词 有序二叉树 多模式匹配 QS算法 sequential binary tree multi-pattern matching Quick Search(QS) algorithm
  • 相关文献

参考文献7

  • 1Knuth D E,Morris J H,Pratt V R.Fast Pattern Matching in Strings[J].SIAM Journal on Computing,1977,6(2):323-350.
  • 2Boyer R S,Moore J S.A Fast String Searching Algorithm[J].Communications of the ACM,1977,20(10):762-772.
  • 3Sunday D M.A Very Fast Substring Search Algorithm[J].Communications of the ACM,1990,33(8):132-142.
  • 4Aho A V,Corasick M J.Efficient String Matching:An Aid to Bibliographic Search[J].Communications of the ACM,1975,18(6):330-340.
  • 5Wu Sun,Manber U.A Fast Algorithm for Multi-pattern Searching[Z].Taiwan,China:Department of Computer Science,Chung-Cheng University,1994.
  • 6Commemtz W R.A String Matching Algorithm Fast on the Average[C] //Proceedings of the 6th Colloquium on Automata,Languages and Programming.[S.l.] :Springer-Verlag,1979.
  • 7胡佩华,王永成,刘功申.基于有序二叉树的多模式匹配算法[J].计算机科学,2002,29(11):65-68. 被引量:4

二级参考文献7

  • 1Aho A V,Corasick M J. Efficient string matching: An aid to bibliographic search. Commun. ACM, 1975,18(6) :333~340
  • 2Lewis H R,Papadimitriou C H. Elements of the theory of computation (Second Edition). Prentice-Hall International, Inc. 1998
  • 3Fan J-J,Su K-Y. An efficient algorithm for match multiple patterns. IEEE Trans. on Knowledge and Data Engineering, 1993, 5(2) :339~351
  • 4Shaffer C A. A practice introduction to data structures and algorithm analysis. New York Prentice Hall, 1997
  • 5Chen Guilin. Some Technology Research in Automatic Abstract: [PH. D Paper]. Shanghai Jiaotong University, Shanghai China,2000,4 (In Chinese)
  • 6Boyer R S. Moore J S. A fast string searching algorithm. Commun. ACM, 1977, 20(10): 762-772
  • 7Sunday D M. A very fast substring search algorithm. Commun. ACM, 1990, 33(8):132-142

共引文献3

同被引文献60

  • 1周钦亮,李玉忱,公爱国.一种新的高效生成FP-Tree条件模式基的算法[J].计算机应用,2006,26(6):1418-1421. 被引量:7
  • 2邓日失,刘又诚.软件标准符合性测试[J].北京航空航天大学学报,1997,23(1):68-73. 被引量:12
  • 3Yu Fang, 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.
  • 4Sung J, Kang S, Lee Y. A Multi-gigabit Rate Deep Packet Inspection Algorithm Using TCAM[C] //Proc. of GLOBECOM’05. [S. l.] : IEEE Press, 2005.
  • 5Taylor D E. Survey Taxonomy of Packet Classification Tech- niques[J]. ACM Computing Surveys, 2005, 37(3): 238-275.
  • 6Meiners C R, Liu A X, Torng E. Bit Weaving: A Non-prefix Approach to Compressing Packet Classifiers in TCAMs[C] //Proc. of ICNP’09. Princeton, USA: [s. n.] , 2009.
  • 7Liu A X, Gouda M G. Complete Redundancy Removal for Packet Classifiers in TCAMs[J]. IEEE Transactions on Parallel and Distributed Systems, 2010, 21(4): 424-437.
  • 8Dharmapurikar S, Krishnamurthy P, Sproull T S, et al. Deep Packet Inspection Using Parallel Bloom Filters[J]. IEEE Micro, 2004, 24(1): 52-61.
  • 9Knuth D E, Morris J H. Pattern Matching in Strings[J]. SIAM Journal on Computing, 1977, 6(2): 323-350.
  • 10Boyer R S, Moore J S. A Fast String Searching Algorithm[J]. Communications of the ACM, 1988, 31(10): 762-772.

引证文献6

二级引证文献10

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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