首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 125 毫秒
1.
基于WM算法的多模式匹配改进算法WMN   总被引:1,自引:0,他引:1  
入侵检测系统中有部分时间用来进行模式匹配,因此提高模式匹配算法的处理速度具有重要的意义。从两个方面改进了目前公认效率较高的多模式匹配算法WM,设计出WMN算法,并对该算法进行了性能测试和分析。实验证明该文提出的WMN算法能够有效提高模式匹配的处理速度。  相似文献   

2.
针对入侵检测软件snort的默认多模式匹配算法-MWM(Modified Wu-Manber)中存在模式匹配窗口移动距离偏小和缺少合适的哈希冲突处理的问题,对算法的模式集预处理阶段和文本匹配阶段进行了改进,设计和实现了一种新的多模式匹配算法-NMWM算法.实验结果表明,NMWM算法比MWM算法能够有效的提高模式匹配的处理速度.  相似文献   

3.
BM模式匹配改进算法   总被引:11,自引:0,他引:11  
字符串模式匹配在实际生活中被广泛的应用,它也是计算机基础科学的一个重要部分,现在比较著名的模式匹配算法有BF算法、KMP算法、RK算法和BM算法。讨论了一种基于BM模式匹配算法及其算法的改进。  相似文献   

4.
黄栋  余综 《计算机工程与设计》2006,27(17):3273-3276
随着网络技术的发展,在硬件上增加模式匹配的功能模块,来提高网络数据处理速度的需求越来越普遍。对目前现有的模式匹配算法进行了研究,并结合数字逻辑电路的特点,在现场可编程门阵列(FPGA)芯片上实现了字符串的模式匹配功能。最后,借助电子设计自动化(EDA)工具对设计进行了验证和性能分析,结果表明符合设计需求。  相似文献   

5.
在Robocode中实现快速模式匹配瞄准算法   总被引:2,自引:0,他引:2  
彭勇 《福建电脑》2008,24(8):102-103
通过分析现有Robocode的几种瞄准策略.提出了模式匹配瞄准算法。模式匹配瞄准算法是记录并寻找相似的对手的运动状态,并推测对手的运动方向、速度从而精确的击中对手,本文给出了模式匹配算法的实现步骤和具体的实现方法。实验证明。模式匹配算法是一种有效的瞄准算法。  相似文献   

6.
用多模式匹配的方法设计基于网络的IDS   总被引:2,自引:0,他引:2  
总结了4种高效的多模式匹配算法,并结合基于网络IDS的情况,根据这些算法的特点,对这4种算法的选择提出了一些观点,用二叉树描绘了入侵的攻击模式,对攻击模式的子模式进行分级定义,同时说明了攻击模式的分类,分类在用模式匹配方法设计基于网络的IDS中有着重要的作用。  相似文献   

7.
对目前常见的网络入侵检测系统中模式匹配算法进行研究总结,针对著名的Snort中的模式匹配算法,进行了详细分析和对比.以求取优化检测效率、降低算法的时间和空间复杂度为目标,设计基于网络入侵检测系统的改进BM模式匹配算法.将该改进BM模式匹配算法应用到实际网络入侵检测过程中,针对处理结果进行科学评价.通过实例的应用,验证了提出算法的可行性和高效性.  相似文献   

8.
入侵检测中模式匹配算法的研究   总被引:10,自引:2,他引:8  
本文主要分析了目前网络上最常用的模式匹配算法(KMP算法和BM算法),及其各自的特点。在此基础上提出了一种改进的模式匹配算法应用于我们的系统实现中。实验结果表明,改进的模式匹配算法,更适合于网络级入侵检测的实现,减少了系统的丢包率。  相似文献   

9.
多模匹配问题在IDS中的解决   总被引:1,自引:0,他引:1  
鲁鹏俊  钟亦平  张世永 《计算机工程》2005,31(4):146-147,151
传统的Snort系统引入单模式匹配速度较快的BM算法进行特定的模式匹配。文献[1]在Snort系统中引入了基于KMP的多模式匹配算法,能有效地提高系统的性能。但是该匹配算法本身存在着局限性,以致干无法完成含有多Content属性选项规则的匹配工作。该文从多content属性选项的规则匹配问题着手,提出了解决方案,从而进一步推进了多模式匹配算法在IDS中的引入。  相似文献   

10.
张桂刚 《计算机科学》2012,39(1):167-169,177
基于各种海量规则信息处理的需求,提出了一种海量规则模式匹配方法。设计了海量规则模式匹配方法的基本算法步骤,研究了各种规则节点的匹配处理方法。最后总结了海量规则模式匹配方法的特点。海量规则模式匹配算法部分拓展了现有规则匹配处理模式,提出了新的匹配处理方法。对比结果表明,该方法具有较好的效果。  相似文献   

11.
一种串匹配的快速Boyer-Moore算法*   总被引:5,自引:0,他引:5  
在对经典的Boyer-Moore和Quick Search串匹配算法进行分析的基础上,提出了一种更加快速的串匹配算法Quick Boyer-Moore(QBM)。QBM算法利用当前尝试中的已匹配子串、匹配失败字符信息以及与当前窗口下一个字符的位置信息,以在每一次跳跃中获得更大的跳跃距离,从而使算法具有更高的效率。在真实语料上的实验结果表明,QBM算法的效率较显著地高于原始的BM算法及其改进算法Impmved Boyer-Moore(IBM)。  相似文献   

12.
字符串匹配技术研究   总被引:17,自引:0,他引:17  
简述了字符串匹配算法的研究进展,分析了Knuth—Morris-Pratt算法、Boycr—Moore算法以及Horspool、Wu&Manber和Aho—Corasick针对Boyer—Moore算法提出的多种改进算法,并基于网络安全应用中开放源码的NIDS系统——Snort2.0,对其中几个算法进行评测,指出了实际应用中字符串匹配技术的关键点和解决办法,探讨了应用字符串匹配技术的NIDS的研发方向。  相似文献   

13.
文中提出并实现了一种Windows2000/XP操作系统下的基于WinPcap和Boyer-Moore的网络入侵检测系统,重点阐述了该系统的体系结构,WinPcap数据包捕获技术,以及入侵检测系统中字符匹配算法Boyer-Moore等关键技术。  相似文献   

14.
We present the first derivation of the search phase of the Boyer-Moore string-matching algorithm by partial evaluation of an inefficient string matcher. The derivation hinges on identifying the bad-character-shift heuristic as a binding-time improvement, bounded static variation. An inefficient string matcher incorporating this binding-time improvement specializes into the search phase of the Horspool algorithm, which is a simplified variant of the Boyer-Moore algorithm. Combining the bad-character-shift binding-time improvement with our previous results yields a new binding-time-improved string matcher that specializes into the search phase of the Boyer-Moore algorithm.  相似文献   

15.
邓一贵 《计算机科学》2008,35(6):168-170
本文提出的基于字符使用频率及分治法的改进字符串模式匹配算法可以在扫描被匹配目标串时每次跳过的字符在统计结果上比目前广泛使用的Boyer-Moore算法跳过的字符更多,进一步减少了匹配的统计次数.  相似文献   

16.
Andrew Hume  Daniel Sunday 《Software》1991,21(11):1221-1248
Since the Boyer-Moore algorithm was described in 1977, it has been the standard benchmark for the practical string search literature. Yet this yardstick compares badly with current practice. We describe two algorithms that perform 47% fewer comparisons and are about 4.5 times faster across a wide range of architectures and compilers. These new variants are members of a family of algorithms based on the skip loop structure of the preferred, but often neglected, fast form of Boyer-Moore. We present a taxonomy for this family, and describe a toolkit of components that can be used to design an algorithm most appropriate for a given set of requirements.  相似文献   

17.
The notion of Boyer-Moore automaton was introduced by Knuth, Morris, and Pratt in their historical paper on fast pattern matching. It leads to an algorithm that requires more preprocessing but is more efficient than the original Boyer-Moore's algorithm. We formalize the notion of Boyer-Moore automaton and we give an efficient building algorithm. Also, bounds on the number of states are presented, and the concept of potential of a transition is introduced to improve the worst-and average-case behavior of these machines. We show that looking at the rightmost unknown character, as suggested by Knuthet al., is not necessarily optimal.R. A. Baeza-Yates gratefully acknowledges the support of Grant C-11001 from Fundación Andes, and C. Choffrut gratefully acknowledges the support of the PRC Mathématiques et Informatique.  相似文献   

18.
提出了一种基于BM算法思想的、改进了的多模式串匹配算法,并且讨论了它在一个网络入侵检测系统(NIDS)中的实际应用情况。从具体实验中可以看到匹配时间上的显著改进。  相似文献   

19.
面向入侵检测的模式匹配算法研究   总被引:17,自引:2,他引:17  
在入侵检测系统的实现中,关键部分是检测引擎的实现。而在检测引擎的实现中,关键的是数据分析模块。对于基于规则的入侵检测来说,模式匹配算法非常重要,它直接影响到系统的准确性和实时性能。论文主要研究了BruteForce算法,Boyer-Moore算法,Aho-Corasick算法,Set-wiseBoyer-Moore-Horspool算法,Aho-Corasick_Boyer-Moore算法。  相似文献   

20.
Two new pattern-matching algorithms based on the Boyer-Moore algorithm are presented. Their performance is compared to that of earlier relevant variants in terms of the number of character comparisons and the required running time by exhaustive simulation. Experimental results show the efficiency of both these two new algorithms.  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号