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

改进的多模式串匹配算法及GPU并行化研究
作者姓名:钱权  朱伟  车弘毅  张瑞
作者单位:1. 上海大学计算机工程与科学学院, 上海 200072;2. 中国科学院软件研究所信息安全国家重点实验室, 北京 100190
基金项目:国家自然科学基金(61003248);上海市自然科学基金(13ZR1416100);上海教委重点学科(J50103);上海教委创新项目(09YZ05);教育部博士点基金(20093108120016);上海科委开放课题(09511501300)资助 
摘    要:通过分析AC多模式匹配算法和正则语句搜索匹配在功能上的优劣,研究它们在生成确定性有穷自动机时的相同与差异,融合AC算法和正则语句运用于文本的多模式串匹配,使得AC算法能够识别正则语句,并且保持原有算法在匹配失败后,目标模式串指针不回退且AC自动机回退少的特点,使得算法兼有二者优点. 同时,讨论了在GPU上通过CUDA的并行程序环境实现算法的并行化,并详细比较了在GPU上利用不同类型存储器实现的算法的性能差异.

关 键 词:多模式匹配    正则语句匹配    GPU    CUDA
收稿时间:2012-10-11
修稿时间:2013-02-06

An improved multi-pattern string matching algorithm and GPU parallelization
Authors:QIAN Quan  ZHU Wei  CHE Hong-Yi  ZHANG Rui
Institution:1. School of Computer Engineering & Science, Shanghai University, Shanghai 200072, China;2. State Key Laboratory of Information Security, Institute of Software, Chinese Academy of Sciences, Beijing 100190, China
Abstract:Multi-pattern matching algorithm has been widely used in text searching, intrusion detection, and some other areas. We focus on two matching algorithms, AC and regular expression. By comparing their DFA automata building process, we integrate the two processes to a new novel AC algorithm. The new AC maintains the advantages of the traditional AC when matching fails, the pointer of the target pattern does not turn back, and the AC automata pointer just moves back by a few steps. Meanwhile, we also discuss the AC parallelization based on GPU and CUDA, and compare the running performance when using GPU global memory or the texture one.
Keywords:multi-pattern string matching                                                                                                                        regulation expression matching                                                                                                                        GPU                                                                                                                        CUDA
点击此处可从《》浏览原始摘要信息
点击此处可从《》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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