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

一种新的多模式快速匹配算法
引用本文:王若梅,张绮雯,周凡.一种新的多模式快速匹配算法[J].中山大学学报(自然科学版),2005,44(2):107-110.
作者姓名:王若梅  张绮雯  周凡
作者单位:中山大学计算机科学系,广东广州510275
基金项目:广东科技计划资助项目(20042060274)
摘    要:提出了一种针对多模式的快速模式匹配算法。算法分为预处理阶段和匹配阶段两个部分,预处理阶段对所有待匹配的模式进行分析,构造一个关于这些模式的树型有限状态自动机,匹配阶段利用这个模式自动机.对文本串进行一次性的搜索,查找文本是否包含模式集中的模式。为了提高了匹配速度,算法利用已匹配的字符串信息实行跳跃式的比较,避免了文本扫描指针的回溯。

关 键 词:模式匹配  多模式  有限状态自动机  内容过滤
文章编号:0529-6579(2005)02-0107-04
收稿时间:08 8 2005 12:00AM
修稿时间:2004年3月31日

A New Fast Multiple Pattern Matching Algorithm
WANG Ruo-mei, ZHANG Qi- wen, ZHOU Fan.A New Fast Multiple Pattern Matching Algorithm[J].Acta Scientiarum Naturalium Universitatis Sunyatseni,2005,44(2):107-110.
Authors:WANG Ruo-mei  ZHANG Qi- wen  ZHOU Fan
Institution:Department of Computer Science, Sun Yat-sen University, Guangzhou 510275, China
Abstract:To present a new multiple-pattern matching algorithm. The algorithm includes pre-processing and matching processing. Pre-processing analyzes all the patterns to build finite state automata. Matching processing uses these automata to search the patterns. The algorithm uses jump comparison to improve the speed.
Keywords:pattern matching  multi-pattem  finite state automata  content filtering
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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