检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:杨超[1]
出 处:《计算机系统应用》2011年第3期222-225,共4页Computer Systems & Applications
摘 要:在经典的多模式字符串匹配算法-AC算法的基础上,提出了双向AC算法。该算法在预处理阶段构造正向和反向两个有限状态自动机,匹配时使用正向有限自动机从文本串中间位置向右扫描,同时依据反向有限状态自动机从中间位置向左扫描。将该算法应用于开放源码的入侵检测系统Snort中,实验结果表明较BM算法、WM算法和AC算法本算法有更好的时间性能。如使用发现攻击即停止匹配方式检测,则该算法的效率约为AC算法的1.5倍。Based on AC algorithm for performing multiple string matching algorithms,two-way AC algorithm was proposed.The algorithm constructs a forward finite automaton and a reversed finite automaton in the preprocessing stage.In the Matching stage it scans the text string from middle to right with a forward finite automaton and concurrently from middle to left with a reversed finite automaton.The algorithm has been implemented by modifying the source code of Snort.The experimental result shows that the time performance of two-way AC algorithm is superior to BM algorithm,WM algorithm and AC algorithm.Efficiency of the algorithm is about 1.5 times AC algorithm if the mode of detection is to discover and stop.
关 键 词:AC算法 WM算法 BM算法 串匹配算法 入侵检测系统 SNORT
分 类 号:TP393.08[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.20