基于WM多模式匹配算法的分析-计算机软件与理论专业论文.docxVIP

基于WM多模式匹配算法的分析-计算机软件与理论专业论文.docx

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
基于 WM 的多模式匹配算法的研究 摘 要 模式匹配技术是计算机领域的研究热点之一。随着网络的发展,模式 匹配技术应用广泛于搜索引擎、网络安全和计算生物学等方面。 本文先介绍了当前模式匹配算法的研究现状以及经典的单模式和多模 式匹配算法 ,分析了各种算法的原理以及时间复杂度 ,讨论了算法的优缺 点 ,举例说明算法的执行流程 ,并设计试验对这些算法的时间性能进行了 测试。 针对 WM 算法的不足 ,对 WM 算法进行改进 。改进算法改变了 HASH 表的构造方法 ;去除了 PRE FIX 表 ,增加了一个 SHIFT;并 结合滑动窗口 右边一个相邻字符,改进的 WM 算法减少了匹配过程中的比较次数,增 大了滑动窗口跳跃的距离,提高了算法的时间性能。 实验部分先介绍了 linux 防火墙内的 netFilter 框架以及 iptabl es 工具, 然后将 AC 算法 、WM 算法和改进的 WM 算法嵌入到防火墙的内容过滤模 块中进行对比实验。实验结果显示,改进的 WM 算法效率显著高于 WM 算法,在模式串数量多的情况下,效率提高明显。 最后,对本文进行总结和展望。 关键词: 信息安全;哈希方法;字符串匹配;WM 算 法 The Research for Multi-pattern Algorithm Based on WM ABSTRACT Pattern matching is one of the important research hotspots in computer field. With the development of network, it has been widely applied to search engine,network security and computational biology. The dissertation first introduced the present research status of pattern matching algorithm,classical single and multiple pattern matching algorithm, then it analysed the principle and time complexity of these algorithm,discussed the advantages and disadvantages of these algorithm, illustrated their execution procedures, and designed experiments to test time performance of these algorithms. An enhanced algorithm was proposed to overcome the disadvantage of WM algorithm. By changing the mothod of making HASH table; Removing PREFIX table, adding a SHIFT table; Combining with the next character of the sliding window, the improved algorithm reduces the times of comparing in the process of matching, increases the sliding distance of sliding window, and improves the time performance of the algorithm. Experiment section first introduced the netFilter framework and the iptables tools in Linux firewall, then embeded AC algorithm, WM algorithm and improved WM algorithm in the content filtering module of the firewall for compared experiments. Experiment results showed the improved the efficiency of the algorithm is significantly higher than the original algorithm, especially when the number of patterns

您可能关注的文档

文档评论(0)

131****9843 + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档