An intuitive and resource-efficient event detection algebra

In reactive systems, execution is driven by external events to which the system should respond with appropriate actions. Such events can be simple, but systems are often supposed to react to sophisticated situations involving a number of simpel events occurring in accordance with some pattern. A sys...

Full description

Bibliographic Details
Main Author: Carlson, Jan
Format: Others
Language:English
Published: Mälardalens högskola, Institutionen för Datavetenskap 2004
Online Access:http://urn.kb.se/resolve?urn=urn:nbn:se:mdh:diva-104
http://nbn-resolving.de/urn:isbn:91-88834-49-2
id ndltd-UPSALLA1-oai-DiVA.org-mdh-104
record_format oai_dc
spelling ndltd-UPSALLA1-oai-DiVA.org-mdh-1042013-12-04T04:40:11ZAn intuitive and resource-efficient event detection algebraengCarlson, JanMälardalens högskola, Institutionen för DatavetenskapInstitutionen för Datavetenskap2004In reactive systems, execution is driven by external events to which the system should respond with appropriate actions. Such events can be simple, but systems are often supposed to react to sophisticated situations involving a number of simpel events occurring in accordance with some pattern. A systematic approach to handle this type of systems is to separate the mechanism for detecting composite events from the rest of the application logic. A detection mechanism listens for simple event occurrences and notifies the application when one of the complex event patterns of interest occur. The event detection mechanism can for example be based on an event algebra, i.e., expressions that correspond to the event patterns of interest are built from simple events and operators from the algebra. This thesis presents a novel event algebra with two important characteristics: It complies with algebraic laws that intuitively ought to hold for the operators of the algebra, and for a large class of expressions the detection can be correctly performed with limited resources in terms of memory and time. In addition to the declarative algebra semantics, we present an imperative detection algorithm and show that it correctly implements the algebra. This algorithm is analysed with respect to memory requirements and execution time complexity. To increase the efficiency of the algebra, we also present a semantic-preserving transformation scheme by which many expressions can be transformed to meet criteria under which limited resource requirements are guaranteed. Finally, we present a prototype implementation that combines the algebra with the event system in Java. Licentiate thesis, monographinfo:eu-repo/semantics/masterThesistexthttp://urn.kb.se/resolve?urn=urn:nbn:se:mdh:diva-104urn:isbn:91-88834-49-2Mälardalen University Press Licentiate Theses, 1651-9256 ; 29application/pdfinfo:eu-repo/semantics/openAccess
collection NDLTD
language English
format Others
sources NDLTD
description In reactive systems, execution is driven by external events to which the system should respond with appropriate actions. Such events can be simple, but systems are often supposed to react to sophisticated situations involving a number of simpel events occurring in accordance with some pattern. A systematic approach to handle this type of systems is to separate the mechanism for detecting composite events from the rest of the application logic. A detection mechanism listens for simple event occurrences and notifies the application when one of the complex event patterns of interest occur. The event detection mechanism can for example be based on an event algebra, i.e., expressions that correspond to the event patterns of interest are built from simple events and operators from the algebra. This thesis presents a novel event algebra with two important characteristics: It complies with algebraic laws that intuitively ought to hold for the operators of the algebra, and for a large class of expressions the detection can be correctly performed with limited resources in terms of memory and time. In addition to the declarative algebra semantics, we present an imperative detection algorithm and show that it correctly implements the algebra. This algorithm is analysed with respect to memory requirements and execution time complexity. To increase the efficiency of the algebra, we also present a semantic-preserving transformation scheme by which many expressions can be transformed to meet criteria under which limited resource requirements are guaranteed. Finally, we present a prototype implementation that combines the algebra with the event system in Java.
author Carlson, Jan
spellingShingle Carlson, Jan
An intuitive and resource-efficient event detection algebra
author_facet Carlson, Jan
author_sort Carlson, Jan
title An intuitive and resource-efficient event detection algebra
title_short An intuitive and resource-efficient event detection algebra
title_full An intuitive and resource-efficient event detection algebra
title_fullStr An intuitive and resource-efficient event detection algebra
title_full_unstemmed An intuitive and resource-efficient event detection algebra
title_sort intuitive and resource-efficient event detection algebra
publisher Mälardalens högskola, Institutionen för Datavetenskap
publishDate 2004
url http://urn.kb.se/resolve?urn=urn:nbn:se:mdh:diva-104
http://nbn-resolving.de/urn:isbn:91-88834-49-2
work_keys_str_mv AT carlsonjan anintuitiveandresourceefficienteventdetectionalgebra
AT carlsonjan intuitiveandresourceefficienteventdetectionalgebra
_version_ 1716616640439779329