一种基于位图的多模式匹配算法
CSTR:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

TP301.6

基金项目:

国家自然科学基金资助项目(60703014);高等学校博士学科点专项科研基金资助项目(20070213044);中国博士后科学基金资助项目(20070410263);哈尔滨工业大学优秀青年教师培养计划资助项目(HITQNJS.2007.034)


A multiple-pattern matching algorithm based on bitmap
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    为降低自动机类多模匹配算法的空间开销,同时仍保持较低的算法时间复杂度,提出了一种基于位图的空间优化算法.将自动机全部状态按照字典树结构的层数划分,将访问频率较低的后若干层状态对应的转移表压缩存储,并使用位图提高对被压缩信息的检索速度.经过实验和在实际应用环境中的验证,这种改进算法能够大幅降低空间开销,而匹配时间或响应时间基本不变.在模式串的数量达到万条以上规模时,实验表明优化算法能够降低25%~70%的空间消耗.

    Abstract:

    In order to reduce the memory consumption of automata algorithms in the field of multi-pattern matching,this paper proposes an efficient space optimization algorithm based on bitmap.It divides all the states in the automata into two groups by their depth in the data structure "trie",and reduces the memory consumption of the deeper group that will be retrieved less.It also makes use of bitmap to improve the time efficiency of the deeper group.Our experiments show that this algorithm can sharply reduce the memory consumption,and when the number of patterns is more than the level of 10 thousand,the space consumption can be decreased by 25%-70%.

    参考文献
    相似文献
    引证文献
引用本文

张元竞,张伟哲.一种基于位图的多模式匹配算法[J].哈尔滨工业大学学报,2010,42(2):277. DOI:10.11918/j. issn.0367-6234.2010.02.022

复制
分享
相关视频

文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2012-05-03
  • 出版日期:
文章二维码