首页 | 本学科首页   官方微博 | 高级检索  
     

支持模式串动态更新的多模式匹配Karp-Rabin算法
引用本文:王 歧,卢毓海,刘 洋,刘燕兵,谭建龙,孙 波. 支持模式串动态更新的多模式匹配Karp-Rabin算法[J]. 计算机工程与应用, 2017, 53(4): 39-44. DOI: 10.3778/j.issn.1002-8331.1608-0004
作者姓名:王 歧  卢毓海  刘 洋  刘燕兵  谭建龙  孙 波
作者单位:1.中国科学院 信息工程研究所,北京 1000932.中国科学院大学,北京 1000493.信息内容安全技术国家工程实验室,北京 1000934.国家计算机网络应急技术处理协调中心,北京 100029
摘    要:多模式匹配算法是网络监测和内容过滤系统的核心算法,但是现有的多模式匹配算法无法实现高并发下动态更新模式串的功能。通过改进Karp-Rabin 算法,实现了多模式字符串匹配技术,实验表明多模式Karp-Rabin算法具有良好的性能。随后在多模式Karp-Rabin 算法的基础上进一步改进,使其在高并发情况下能够支持模式串动态增删功能。实验表明该算法在单个线程不断更新的条件下,随着扫描线程个数的增加,搜索速度能够保持线性增长。

关 键 词:多模式匹配  Karp-Rabin算法  动态更新  入侵检测系统  多线程  

Dynamical adaptive Karp-Rabin multi-pattern matching algorithm
WANG Qi,LU Yuhai,LIU Yang,LIU Yanbing,TAN Jianlong,SUN Bo. Dynamical adaptive Karp-Rabin multi-pattern matching algorithm[J]. Computer Engineering and Applications, 2017, 53(4): 39-44. DOI: 10.3778/j.issn.1002-8331.1608-0004
Authors:WANG Qi  LU Yuhai  LIU Yang  LIU Yanbing  TAN Jianlong  SUN Bo
Affiliation:1.Institute of Information Engineering, Chinese Academy of Sciences, Beijing 100093, China2.University of Chinese Academy of Sciences, Beijing 100049, China3.National Engineering Laboratory for Information Security Technologies, Beijing 100093, China4.National Computer Network Emergency Response Technical Team Coordination Center of China, Beijing 100029, China
Abstract:Multi-pattern matching algorithm plays an important role in network monitoring and filtering system, but the existing multi-pattern matching algorithms can not achieve the function of updating patterns dynamically with high concurrencies. Firstly, the paper has realized multi-pattern matching technology by improving Karp-Rabin algorithm. Experiments show that the improved algorithm exhibits good performance. Then on the basis of the improvement, functionality of updating patterns dynamically is improved. Experiments show that if there is a single thread updating continuously, search speed keeps linear growth with the increase of scanning thread.
Keywords:multi-pattern matching  Karp-Rabin  updating dynamically  intrusion detection system  multi-thread  
点击此处可从《计算机工程与应用》浏览原始摘要信息
点击此处可从《计算机工程与应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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