期刊文献+

基于BM方法的字符串匹配复化算法 被引量:1

Composite string matching algorithm based on boyer-moore method
原文传递
导出
摘要 在分析经典的BM算法及其相关的改进算法的基础上,提出了一种基于BM算法的改进复化算法CBM.在字符串匹配过程中,CBM算法采用了与BM算法类似的字符比较方式,从模式的右端开始比较字符,但是,CBM算法利用前几轮的匹配信息生成了不同的模式前移距离表格,表格中的前移距离往往大于BM算法的相应前移距离,这样就可以使匹配过程中的模式前移速度加快,从而提高字符串匹配的效率.对于字母表较小的字符串匹配(如二进制搜索和DNA序列测试),CBM算法有较好的实际效果. Classical Boyer-Moore (BM) algorithms and its improvements were analyzed. By compositing the main method of the BM algorithm, a new algorithm--the composite BM algorithm (CBM) is proposed. In the process of string matching, the CBM algorithm uses the charter comparing manner from right to left similar BM. But, the CBM algorithm takes full advantage of the historical matching information, generate different pattern forward table, usually, the pattern forward distance is more than of BM algorithm. In this way, CBM accelerates the forward speed of the pattern during the matching, and hence the whole string matching process was speeded up effectively. In the case of small alphabet (such as binary searching and DNA sequence test), the CBM algorithm has the practical effect of better.
出处 《华中科技大学学报(自然科学版)》 EI CAS CSCD 北大核心 2009年第12期48-51,共4页 Journal of Huazhong University of Science and Technology(Natural Science Edition)
基金 国家自然科学基金资助项目(60773194) 国家重点基础研究发展计划资助项目(2004CB31800)
关键词 字符串匹配 模式匹配 算法 DNA序列 二进制搜索 预处理 string matching pattern matching algorithms DNA sequences binary searcbing preprocess
  • 相关文献

参考文献10

  • 1Boyer R S, Moore J S. A fast string searching algorithm[J]. Communications of the ACM, 1977, 20(10): 762-772.
  • 2Frank Stomp. Correctness of substring-preprocessing in Boyer-Moore' s pattern matching algorithm[J]. Theoretical Computer Science, 2003, 290 (1) : 59-78.
  • 3Han Kesong, Wang Yongcheng, Chen Guilin. Research on a faster algorithm for pattern matching [C]// Proceedings of the Fifth International Workshop on on Information Retrieval with Asian Languages. Hong Kong.. [s.n.], 2000: 119-124.
  • 4Erdogan O, Cao P. Hash-AV: fast virus signature scanning by cache-resident filters[J]. International Journal of Security and Networks, 2007, 2(1/2) : 50- 59.
  • 5Baeza-Yates R, Gonnet G H. A new approach to text searching[J]. Communications of the ACM, 1992, 35(10):74-82.
  • 6Lu Yi, Lu Shiyong, Ram J L. Fast search in DNA sequence databases using punctuation and indexing [C] // Proceedings of the 2nd IASTED International Conference on Advances in Computer Science and Technology. Anaheim: ACTA, 2006, 351-356.
  • 7金人超,宋恩民.一种改进Boyer-Moore算法效率的预处理算法[J].华中科技大学学报(自然科学版),2005,33(z1):265-267. 被引量:1
  • 8李洋,王康,谢萍.BM模式匹配改进算法[J].计算机应用研究,2004,21(4):58-59. 被引量:16
  • 9钱屹,侯义斌.一种快速的字符串匹配算法[J].小型微型计算机系统,2004,25(3):410-413. 被引量:24
  • 10王浩,周晓峰.基于入侵检测系统snort的BM模式匹配算法的研究和改进[J].计算机安全,2009(2):38-40. 被引量:5

二级参考文献10

共引文献41

同被引文献7

引证文献1

二级引证文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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