Towards Net-based Formal Methods for Complex Event Processing

Complex event processing (CEP) systems evaluate continuous queries over event streams in order to detect event patterns that characterise a situation of interest. Over the last decade, models and systems for CEP have been an active area of research. A plethora of languages for the definition of queries as well as algorithms and architectures for their efficient and robust evaluation have been proposed. However, we argue that much of this work adopted a pragmatic view, striving for technical solutions of problems that are rooted directly in specific applications. As such, formal methods that help in the design and implementation of CEP systems are underdeveloped. In this paper, we put forward the idea of exploiting well-established formalisms for concurrent systems in the analysis of CEP systems. We discuss query verification, query parallelisation, and out-of-order event handling as three exemplary use cases for formal methods for CEP. Moreover, we outline our initial results on addressing these use cases through a Petri-net-based formalisation of event queries, event streams, and evaluation architectures.

[1]  Elke A. Rundensteiner,et al.  Scalable Pattern Sharing on Event Streams* , 2016, SIGMOD Conference.

[2]  Kurt Rothermel,et al.  SPECTRE: supporting consumption policies in window-based parallel complex event processing , 2017, Middleware.

[3]  Elke A. Rundensteiner,et al.  Sequence Pattern Query Processing over Out-of-Order Event Streams , 2009, 2009 IEEE 25th International Conference on Data Engineering.

[4]  Wolfgang Reisig,et al.  Understanding Petri nets , 1995, IEEE Parallel & Distributed Technology: Systems & Applications.

[5]  Karsten Wolf,et al.  Petri Net Model Checking with LoLA 2 , 2018, Petri Nets.

[6]  Mathias Weske,et al.  Optimizing Event Pattern Matching Using Business Process Models , 2014, IEEE Transactions on Knowledge and Data Engineering.

[7]  Neil Immerman,et al.  On complexity and optimization of expensive queries in complex event processing , 2014, SIGMOD Conference.

[8]  Alessandro Margara,et al.  Processing flows of information: From data stream to complex event processing , 2012, CSUR.