A novel JSON']JSON based regular expression language for pattern matching in the internet of things

被引:5
作者
Rasool, Raihan Ur [1 ,3 ]
Najam, Maleeha [2 ]
Ahmad, Hafiz Farooq [3 ]
Wang, Hua [1 ]
Anwar, Zahid [4 ,5 ]
机构
[1] Victoria Univ, Melbourne, Vic, Australia
[2] FJWU, Dept Elect Engn, Rawalpindi, Pakistan
[3] King Faisal Univ, Coll Comp Sci & Informat Technol, Al Hasa, Saudi Arabia
[4] Natl Univ Sci & Technol, Islamabad, Pakistan
[5] Fontbonne Univ, St Louis, MO USA
关键词
Deep packet inspection; Deep content inspection; Efficient matching; !text type='Java']Java[!/text]Script Object Notation ([!text type='JSON']JSON[!/text]); Pattern matching; Parsing; Regular expressions; DFA;
D O I
10.1007/s12652-018-0869-1
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The Internet of Things work by constantly sensing the physical properties in the vicinity of the user such as ambient light, sounds, motion and temperature. These sensors produce huge volumes of data that has to be efficiently sifted for relevant events required triggering certain actions. In addition, filtering has to be performed to ensure that privacy-sensitive confidential data is not leaked. Efficient and expressive pattern matching is thus a key enabling technology for the full realization of ambient and humanized computing. The bulk of research in this area has focused on the use of specialized hardware and reducing of the memory footprint. Unfortunately, there has been limited work if any on optimizing the core elements of pattern matching- the regular expression language and the compilation process that is responsible for converting patterns into internal data structures. The importance of writing good REs so that on compilation they do not lead to unrealizable data structures is relatively less understood. In the proposed research, we empirically compare different RE processing engines and practically demonstrate that the compilation phase is highly memory intensive and time-consuming as compared to the matching phase -and hence is worth exploring for new techniques and optimizations. As a second important contribution, we propose a novel technique for defining regular expressions by utilizing JavaScript Object Notation. Our evaluation with carefully created patterns shows that the performance of the proposed technique is at par with competing approaches. It is also less ambiguous, extensible, more expressive and much appropriate for defining large and complex patterns.
引用
收藏
页码:1463 / 1481
页数:19
相关论文
共 30 条
  • [1] A novel JSON based regular expression language for pattern matching in the internet of things
    Raihan ur Rasool
    Maleeha Najam
    Hafiz Farooq Ahmad
    Hua Wang
    Zahid Anwar
    Journal of Ambient Intelligence and Humanized Computing, 2019, 10 : 1463 - 1481
  • [2] COMPACT FUNCTION FOR REGULAR EXPRESSION PATTERN MATCHING
    RICHARDS, M
    SOFTWARE-PRACTICE & EXPERIENCE, 1979, 9 (07) : 527 - 534
  • [3] Pattern-Unit Based Regular Expression Matching with Reconfigurable Function Unit
    Cong, Ming
    An, Hong
    Cao, Lu
    Liu, Yuan
    Li, Peng
    Wang, Tao
    Yu, Zhi-hong
    Liu, Dong
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS - ICCSA 2010, PT 4, PROCEEDINGS, 2010, 6019 : 427 - +
  • [4] Regular Expression Based Pattern Matching for Gene Expression Data to Identify the Abnormality Gnome
    Sharmila, L.
    Sakthi, U.
    Geethanjali, A.
    Sagadevan, Suresh
    2017 SECOND INTERNATIONAL CONFERENCE ON RECENT TRENDS AND CHALLENGES IN COMPUTATIONAL MODELS (ICRTCCM), 2017, : 301 - 305
  • [5] Efficient Regular Expression Pattern Matching for Network Intrusion Detection Systems using Modified Word-based Automata
    Kumar, Pawan
    Singh, Virendra
    PROCEEDINGS OF THE FIFTH INTERNATIONAL CONFERENCE ON SECURITY OF INFORMATION AND NETWORKS, 2012, : 103 - 110
  • [6] APPROXIMATE REGULAR EXPRESSION PATTERN-MATCHING WITH CONCAVE GAP PENALTIES
    KNIGHT, JR
    MYERS, EW
    ALGORITHMICA, 1995, 14 (01) : 85 - 121
  • [7] Optimization of pattern matching circuits for, regular expression on FPGA
    Lin, Cheng-Hung
    Huang, Chih-Tsun
    Jiang, Chang-Ping
    Chang, Shih-Chieh
    IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, 2007, 15 (12) : 1303 - 1310
  • [8] Regular Expression Pattern Matching with Sliding Windows over Probabilistic Event Streams
    Sugiura, Kento
    Ishikawa, Yoshiharu
    2019 IEEE INTERNATIONAL CONFERENCE ON BIG DATA AND SMART COMPUTING (BIGCOMP), 2019, : 103 - 110
  • [9] Hierarchical State Machine Architecture for Regular Expression Pattern Matching
    Lin, Cheng-Hung
    Hsiao, Hsien-Sheng
    GLSVLSI 2009: PROCEEDINGS OF THE 2009 GREAT LAKES SYMPOSIUM ON VLSI, 2009, : 133 - 136
  • [10] Efficient Regular Expression Pattern Matching on Graphics Processing Units
    Ponnemkunnath, Sudheer
    Joshi, R. C.
    CONTEMPORARY COMPUTING, 2011, 168 : 92 - 101