1. MEdit4CEP-CPN: An approach for complex event processing modeling by prioritized colored petri nets
- Author
-
Juan Boubeta-Puig, Valentín Valero, Gregorio Díaz, Guadalupe Ortiz, and Hermenegilda Macià
- Subjects
Formal modeling ,Modeling language ,Computer science ,Complex event processing ,Petri nets ,Event processing language ,02 engineering and technology ,Event-based system ,computer.software_genre ,Business process management ,Application domain ,020204 information systems ,0202 electrical engineering, electronic engineering, information engineering ,Implementation ,computer.programming_language ,business.industry ,Programming language ,computer.file_format ,Petri net ,CPN Tools ,Hardware and Architecture ,020201 artificial intelligence & image processing ,Data mining ,Executable ,Model-driven engineering ,Model-driven architecture ,business ,computer ,Software ,Information Systems - Abstract
Complex Event Processing (CEP) is an event-based technology that allows us to process and correlate large data streams in order to promptly detect meaningful events or situations and respond to them appropriately. CEP implementations rely on the so-called Event Processing Languages (EPLs), which are used to implement the specific event types and event patterns to be detected for a particular application domain. To spare domain experts this implementation, the MEdit4CEP approach provides them with a graphical modeling editor for CEP domain, event pattern and action definition. From these graphical models, the editor automatically generates a corresponding Esper EPL code. Nevertheless, the generated code is syntactically but not semantically validated. To address this problem, MEdit4CEP is extended in this paper by Prioritized Colored Petri Net (PCPN) formalism, resulting in the MEdit4CEP-CPN approach. This approach provides both a novel PCPN domain-specific modeling language and a graphical editor. By using model transformations, event pattern models can be automatically transformed into PCPN models, and then into the corresponding PCPN code executable by CPN Tools. In addition, by using PCPNs we can compare the expected output with the actual output and can even conduct a quantitative analysis of the scenarios of interest. To illustrate our approach, we have conducted an air quality level detection case study and we show how this novel approach facilitates the modeling, simulation, analysis and semantic validation of complex event-based systems.
- Published
- 2019
- Full Text
- View/download PDF