Parameterized dictionary matching and recognition with one gap

被引:2
|
作者
Shalom, B. Riva [1 ]
机构
[1] Shenkar Coll, Dept Software Engn, IL-52526 Ramat Gan, Israel
关键词
Parameterized matching; Dictionary matching; Gapped pattern matching; ALGORITHMS; STRINGS; PATTERN; SET;
D O I
10.1016/j.tcs.2020.11.017
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Dictionary Matching is a variant of the Pattern Matching problem where multiple patterns are simultaneously matched to a single text. In case where the patterns contain sequences of don't care symbols, the problem is called Dictionary Matching with Gaps. The problem is related to cyber security, where the patterns represent the malware sequences we want to detect in the text, which may appear in several packets. Another famous variant of Pattern matching is the Parameterized Matching, where two equal-length strings are a parameterized match if there exists a bijection on the alphabets, such that one string matches the other under the bijection. In this paper the problem of Parameterized Dictionary Matching with One Gap is described, which is an extension of the Dictionary Matching with Gaps, where the parameterized match serves as encryption system of the malware sequences. The paper presents two algorithms solving the Parameterized Dictionary Matching with One Gap, for dictionaries with non-uniformly bounded gaps. The first solves the problem with a query time of O (vertical bar T vertical bar delta(max)log(2) d + occ), while the second solution has a query time of O (vertical bar T vertical bar delta(max) + occ), where vertical bar T vertical bar is the size of the text, d is the number of gapped patterns in the dictionary, delta(max) is the difference between the highest upper bound and the lowest lower bound of the gaps and occ is the number of the gapped patterns reported as output. We also suggest the related problem of Parameterized Dictionary Recognition with One Gap, which requires reporting a single parameterized appearance of each gapped pattern. This is of interest in case we want only to know which malware sequences where detected in the text, and not the details of all their appearances in the text, that may be numerous. We present similar algorithms for this problem as well. (C) 2020 Elsevier B.V. All rights reserved.
引用
收藏
页码:1 / 16
页数:16
相关论文
共 50 条
  • [1] Online parameterized dictionary matching with one gap
    Levy, Avivit
    Shalom, B. Riva
    THEORETICAL COMPUTER SCIENCE, 2020, 845 : 208 - 229
  • [2] Dictionary Matching with One Gap
    Amir, Amihood
    Levy, Avivit
    Porat, Ely
    Shalom, B. Riva
    COMBINATORIAL PATTERN MATCHING, CPM 2014, 2014, 8486 : 11 - 20
  • [3] Mind the Gap!Online Dictionary Matching with One Gap
    Amihood Amir
    Tsvi Kopelowitz
    Avivit Levy
    Seth Pettie
    Ely Porat
    B. Riva Shalom
    Algorithmica, 2019, 81 : 2123 - 2157
  • [4] Mind the Gap!: Online Dictionary Matching with One Gap
    Amir, Amihood
    Kopelowitz, Tsvi
    Levy, Avivit
    Pettie, Seth
    Porat, Ely
    Shalom, B. Riva
    ALGORITHMICA, 2019, 81 (06) : 2123 - 2157
  • [5] Online recognition of dictionary with one gap
    Amir, Amihood
    Levy, Avivit
    Porat, Ely
    Shalom, B. Riva
    INFORMATION AND COMPUTATION, 2020, 275
  • [6] Dictionary Matching with a Bounded Gap in Pattern or in Text
    Hon, Wing-Kai
    Lam, Tak-Wah
    Shah, Rahul
    Thankachan, Sharma V.
    Ting, Hing-Fung
    Yang, Yilin
    ALGORITHMICA, 2018, 80 (02) : 698 - 713
  • [7] Dictionary Matching with a Bounded Gap in Pattern or in Text
    Wing-Kai Hon
    Tak-Wah Lam
    Rahul Shah
    Sharma V. Thankachan
    Hing-Fung Ting
    Yilin Yang
    Algorithmica, 2018, 80 : 698 - 713
  • [8] Compressed Dictionary Matching With One Error
    Hon, Wing-Kai
    Ku, Tsung-Han
    Shah, Rahul
    Thankachan, Sharma V.
    Vitter, Jeffrey Scott
    2011 DATA COMPRESSION CONFERENCE (DCC), 2011, : 113 - 122
  • [9] Target recognition with radar images via parameterized dictionary sets
    Wang, Dang-Wei, 1600, Electromagnetics Academy (53):
  • [10] Text indexing and dictionary matching with one error
    Amir, A
    Keselman, D
    Landau, GM
    Lewenstein, M
    Lewenstein, N
    Rodeh, M
    JOURNAL OF ALGORITHMS-COGNITION INFORMATICS AND LOGIC, 2000, 37 (02): : 309 - 325