Multi-Pattern Matching Algorithm with Wildcards Based on Bit-Parallelism

被引:0
|
作者
Ahmed A.F.Saif [1 ]
HU Liang [1 ]
CHU Jianfeng [1 ]
机构
[1] College of Computer Science and Technology,Jilin University
关键词
multi-pattern; string matching; wildcard; bit-parallelism;
D O I
暂无
中图分类号
TP391.1 [文字信息处理];
学科分类号
081203 ; 0835 ;
摘要
Multi-pattern matching with wildcards is a problem of finding the occurrence of all patterns in a pattern set{p~1,---,p~k}in a given text t. If the percentage of wildcards in pattern set is not high,this problem can be solved using finite automata. We introduce a multi-pattern matching algorithm with a fixed number of wildcards to overcome the high percentage of the occurrence of wildcards in patterns. In our proposed method,patterns are matched as bit patterns using a sliding window approach. The window is a bit window that slides along the given text,matching against stored bit patterns. Matching process is executed using bit wise operations. The experimental results demonstrate that the percentage of wildcard occurrence does not affect the proposed algorithm’s performance and the proposed algorithm is more efficient than the algorithms based on the fast Fourier transform. The proposed algorithm is simple to implement and runs efficiently in O(n+d(n/σ)(m/w))time,where n is text length,d is symbol distribution over k patterns,m is pattern length,and σ is alphabet size.
引用
收藏
页码:178 / 184
页数:7
相关论文
共 50 条
  • [21] An efficient parallel algorithm for exact multi-pattern matching
    Zhang, Hongli
    Xu, Dongliang
    Tian, Zhihong
    Fan, Yujian
    [J]. SECURITY AND COMMUNICATION NETWORKS, 2015, 8 (09) : 1688 - 1697
  • [22] WM+: An optimal multi-pattern string matching algorithm based on the WM algorithm
    Chen, XX
    Fang, BX
    Li, L
    Jiang, Y
    [J]. ADVANCED PARALLEL PROCESSING TECHNOLOGIES, PROCEEDINGS, 2005, 3756 : 515 - 523
  • [23] Algorithm of network video stream recognition and classification based on multi-pattern matching
    Sun, Qin-Dong
    Guo, Xiao-Jun
    Huang, Xin-Bo
    [J]. Dianzi Yu Xinxi Xuebao/Journal of Electronics and Information Technology, 2009, 31 (03): : 759 - 762
  • [24] Another CDFA based Multi-Pattern Matching Algorithm and Architecture for Packet Inspection
    Song, Tian
    Wang, Dongsheng
    [J]. 2011 20TH INTERNATIONAL CONFERENCE ON COMPUTER COMMUNICATIONS AND NETWORKS (ICCCN), 2011,
  • [25] High Efficient Multi-pattern URL Matching Algorithm Based on HTTP Protocol
    Zeng, Ping
    Tan, Qingping
    Cao, Wei
    Huang, Teng
    [J]. 2015 FIFTH INTERNATIONAL CONFERENCE ON COMMUNICATION SYSTEMS AND NETWORK TECHNOLOGIES (CSNT2015), 2015, : 1039 - 1043
  • [26] Indexed Multi-pattern Matching
    Gagie, Travis
    Karhu, Kalle
    Karkkainen, Juha
    Makinen, Veli
    Salmela, Leena
    Tarhio, Jorma
    [J]. LATIN 2012: THEORETICAL INFORMATICS, 2012, 7256 : 399 - 407
  • [27] Fast Multi-Pattern Matching Algorithm on Compressed Network Traffic
    Peng, Hao
    Li, Jianxin
    Li, Bo
    Arif, M. Hassan
    [J]. CHINA COMMUNICATIONS, 2016, 13 (05) : 141 - 150
  • [28] Improvement on Wu-Manber Multi-pattern Matching Algorithm
    Zhang, Liang
    Wang, Dawei
    He, Longtao
    Wang, Wei
    [J]. 2013 3RD INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND NETWORK TECHNOLOGY (ICCSNT), 2013, : 608 - 611
  • [29] Fast Multi-Pattern Matching Algorithm on Compressed Network Traffic
    Hao Peng
    Jianxin Li
    Bo Li
    M.Hassan Arif
    [J]. China Communications, 2016, 13 (05) : 141 - 150
  • [30] Multi-dimensional packet classification using tuple space based on Bit-Parallelism
    Wang Xue-Guang
    [J]. IIH-MSP: 2006 International Conference on Intelligent Information Hiding and Multimedia Signal Processing, Proceedings, 2006, : 197 - 200