期刊文献+

用于检测过滤的多模式匹配

Multiple Patterns Matching for Filtering and Detection
下载PDF
导出
摘要 针对目前匹配速率过慢的问题,在有限自动机的多模式匹配算法的基础上,结合Boyer-Moore(BM)算法和改进的quick search(QS)算法的优点,提出了一个快速的多模式字符串匹配算法.一般情况下,该算法能充分利用匹配过程中本次匹配不成功的信息和已经匹配成功的信息,尽可能多地跳过待查文本串中的字符,所以不需要匹配目标文本串的每个字符就能一次性实现对文本的快速搜索.实验证明,在模式串较长和较短的情况下,算法都有很好的匹配性能,有效改善关键字检测过滤系统的性能. For the weakness of low string matching speed, a fast algorithm to perform multiple pattern matching in a string, based on finite state automaton combined with Boyer-Moore(BM) algorithm and an improved quick search(QS) algorithm, was presented. In general, the algorithm described does not need to test each character in the string, By making full use of the results of matching successes and failures, the algorithm can often bypass inspection of as many characters as possible and get all matching locations after one quick search. Experimental results demonstrate that the proposed algorithm has achieved excellent performance in the cases of both short patterns and long patterns and effectively improved the performance of keyword detection and filtering.
出处 《北京邮电大学学报》 EI CAS CSCD 北大核心 2007年第6期69-72,共4页 Journal of Beijing University of Posts and Telecommunications
基金 国家"973计划"项目(2007CB310704)
关键词 多模式匹配 有限自动机 关键字检测过滤 字符串 multiple pattern match finite state automaton keywords detection and filtering string
  • 相关文献

参考文献6

  • 1Boyer R S, Moore J S. A fast string searching algorithm [J]. Comm ACM, 1977, 20(10): 762-772.
  • 2Sunday D M. A very fast substring search algorithm[J]. Comm ACM, 1990, 33(8): 132-142.
  • 3Aho A V, Corasick M J. Efficient string matching: an aid to bibliographic search[J]. Comm ACM, 1975, 18 (6) : 333-340.
  • 4Fan J J, Keh-yih S U. An efficient algorithm for match multiple patterns[J]. IEEE Transactioins on Knowledge and Data Engineering, 1993, 5(2) : 339-351.
  • 5许一震,王永成,沈洲.一种快速的多模式字符串匹配算法[J].上海交通大学学报,2002,36(4):516-520. 被引量:29
  • 6Watson B W. The performance of single-keyword and multiple-keyword pattern matching algorithms[EB/OL]. (1994-04) [2007-01-23]. ftp: //ftp. win. rue. nl/pub/ techreports/pi/pattm/bench/.

共引文献28

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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