检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:夏念[1] 嵩天[1] XIA Nian;SONG Tian(School of Computer, Beijing Institute of Technology University, Beijing 100081, China)
出 处:《计算机工程与应用》2017年第7期1-8,共8页Computer Engineering and Applications
基 金:国家自然科学基金(No.61672101;No.61272510)
摘 要:随着网络技术快速发展,多模式匹配算法所处理的模式集合数目呈爆炸式增长且模式长度不统一,传统的多模式匹配算法已无法有效适应新的模式集合:不同的模式集合,同一算法呈现的性能差异明显。针对模式长度不等且分布不均匀的模式集合,提出一种改进WM的多模式匹配算法(MWM),将模式集合分为长短两个集合并构造各自的长短SHIFT表,辅助WM算法原有SHIFT表验证匹配效果,匹配过程由单一线程完成。该算法不仅减少了模式验证次数,而且提高了算法的平均跳转距离。实验结果表明,所提出的多模式匹配算法(MWM)在模式长度不等且分布不均匀的模式集合下表现出更优的性能,随着模式集合的数目增多,性能提升越明显。在模式集合数目达到100 000时,相比WM算法,该算法性能提升达到了40%。With the rapid development of network technology,the number of pattern,used in multi-pattern matching algorithms,have experienced explosive growth in recent years,and the length of pattern is not uniform.Traditional multi-patternmatching algorithm cannot meet the newest pattern sets:the characteristic of pattern set plays largely influences onthe performance of algorithms.A novel algorithm enhanced from the Wu-Manber(WM)algorithm,namely the ModifiedWu-Manber(MWM)algorithm,is responsible for pattern set which has variant length of pattern and uneven distribution.The new algorithm partitions the pattern set into long and short subset and constructs respective SHIFT table in order tohelp the original SHIFT built in WM to verify whether exists pattern matching more deeply under a single thread program.In fact,the new algorithm not only reduces the verification frequency but also increases the average shift distance.Experiments show that the improved multi-pattern algorithm has better performance to deal with the non-uniform distributionand variant length of pattern set,in addition,the larger the pattern set,the better improved performance with new algorithm.Especially,when the number of pattern is100000,it improves performance by more than40percent.
关 键 词:模式匹配 字符串匹配 WU-MANBER算法
分 类 号:TP301.6[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.222