Compound Event Processing Using Regular Expressions: Examples from EventScript

Many formalisms have been proposed for specifying patterns of events and responses to the recognition of such patterns. Too often, these formalisms are intricate, unintuitive, and unfamiliar to typical programmers. We propose an alternative that is simple, intuitive, and familiar: regular expressions with placeholders for particular types of events, interleaved with actions that perform computations and emit output events. We have designed and implemented a language called EventScript that uses such regular expressions as the basis for building event-processing applications. Through dozens of short examples, spanning the spectrum from device-level events to cyber-physical system events to business events, we show that regular expressions with actions are a powerful and versatile basis for specifying event-processing logic.

By: Norman H. Cohen

Published in: RC24517 in 2008

LIMITED DISTRIBUTION NOTICE:

This Research Report is available. This report has been submitted for publication outside of IBM and will probably be copyrighted if accepted for publication. It has been issued as a Research Report for early dissemination of its contents. In view of the transfer of copyright to the outside publisher, its distribution outside of IBM prior to publication should be limited to peer communications and specific requests. After outside publication, requests should be filled only by reprints or legally obtained copies of the article (e.g., payment of royalties). I have read and understand this notice and am a member of the scientific community outside or inside of IBM seeking a single copy only.

rc24517.pdf

Questions about this service can be mailed to reports@us.ibm.com .