skip to main content
10.1145/1375657.1375673acmconferencesArticle/Chapter ViewAbstractPublication PagescpsweekConference Proceedingsconference-collections
research-article

EventScript: an event-processing language based on regular expressions with actions

Published:12 June 2008Publication History

ABSTRACT

EventScript is a simple but powerful language for programming reactive processes. A stream of incoming events is matched against a regular expression. Actions embedded within the regular expression are executed in response to the matching of patterns of events. These actions include assigning computed values to variables and emitting output events. The definition of EventScript presented a number of novel and interesting language-design choices. EventScript has an efficient implementation, and has been used in a development environment for complex event-based applications. We have used EventScript to program both small examples and large industrial applications. Readers of EventScript programs find them easy to understand, and are comfortable with the familiar model of matching regular expressions.

References

  1. Adi, Asaf, Botzer, David, and Etzion, Opher. The situation manager component of Amit-active middleware technology. In Alon Halevy and Avigdor Gal, eds., Next Generation Information Systems and Technologies: 5th International Workshop, NGITS 2002, Caesarea, Israel, June 24-25 2002, Proceedings. LNCS 2382, Springer, Berlin, 2002, 158--168. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Amini, Lisa, Jain, Navendu, Sehgal, Anshul, Silber, Jeremy, and Verscheure, Olivier. Adaptive control of extreme-scale stream processing systems. 26th IEEE International Conference on Distributed Computing Systems (ICDCS '06), 2006, 71--77. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Benveniste, Albert, Caspi, Paul, Edwards, Stephen A., Halbwachs, Nicolas, le Guernic, Paul, and de Simone, Robert. The synchronous languages 12 years later. Proc. IEEE 91, No. 1 (Jan. 2003), 64--83.Google ScholarGoogle ScholarCross RefCross Ref
  4. Berry, Gérard. The Esterel v5 Language Primer: Version 5.21 release 2.0. Centre de Mathématiques Appliquées, Sophia-Antipolis, France, Apr. 1999. ftp://ftp-sop.inria.fr/meije/esterel/papers/primer.pdfGoogle ScholarGoogle Scholar
  5. Bruggemann-Klein, Anne, and Wood, Derick. One-unambiguous regular languages. Information and Computation 142, 2 (1998), 182--206. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Brzozowski, Janusz A. Derivatives of regular expressions. J. ACM 11, 4 (Oct. 1964), 481--194. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Chakavarthy, Sharma, and Mishra, Deepak. Snoop: an expressive event specification language for active databases. Tech. report UF-CIS-TR-93-007, Dept. of Comp. and Inf. Sci., U. of Florida, Mar. 1993.Google ScholarGoogle Scholar
  8. Chen, H., Chou, P.B., Cohen, N.H., Duri, S.S., and Jung, C.W. A distributed responsive infrastructure virtualization environment for sensor and actuator applications. IBM Sys. J. 47, No. 2 (May 2008).Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Cohen, Norman H. EventScript: Using regular expressions to program event-processing agents. IBM Research Report RC 24387, October 23, 2007Google ScholarGoogle Scholar
  10. Collet, Christine, and Coupaye, Thierry. Primitive and Composite Events in NAOS. Actes des 12e Journées Bases de Données Avancées, Cassis (France), August 1996, 331--349.Google ScholarGoogle Scholar
  11. Dayal, U., Blaustein, B., Buchmann, A., Chakravarthy, U., Hsu, M., Ledin, R., McCarthy, D., Rosenthal, A., Sarin, S., Carey, M. J., Livny, M., and Jauhari, R. The HiPAC project: combining active databases and timing constraints. SIGMOD Rec. 17, 1 (Mar. 1988), 51--70. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Dittrich, Klaus R., Fritschi, Hans, Gatziu, Stella, Geppert, Andreas, and Vaduva, Anca. SAMOS in hindsight: experiences in building an active object-oriented DBMS. Technical report 2000.05, Database Technology Research Group, University of Zurich Department of Information Technology, ftp://ftp.ifi.unizh.ch/pub/techreports/TR-2000/ifi-2000.05.pdf Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Gehani, Narain, Jagadish, H. V., and Shmueli, O. COMPOSE: a system for composite event specification and detection. In Adam, Nabil R., and Bhargava, Barat K., eds., Advanced Database Systems, LNCS 759, 1994, 3--15. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Glushkov, V.M. The abstract theory of automata. Russian Mathematical Surveys 16 (1961), 1--53.Google ScholarGoogle ScholarCross RefCross Ref
  15. Halbwachs, Nicolas, Caspi, Paul, Raymond, Pascal, and Pilaud, Daniel. The synchronous data flow language LUSTRE. Proc. IEEE 79, No. 9 (Sep. 1991), 1305--1320.Google ScholarGoogle ScholarCross RefCross Ref
  16. Harel, David. Statecharts: a visual formalism for complex systems. Science of Computer Programming 8 (1987) 231--274. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Kappel, Gerti, Rausch-Schott, Stefan, and Retschitzegger, Werner. A tour on the TriGS active database system--architecture and implementation. In Proceedings of the 1998 ACM Symposium on Applied Computing (SAC '98), Atlanta, Georgia, Feb. 27 - Mar. 1, 1998, 211--219. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Luckham, David. The Rapide pattern language. In The Power of Events: An Introduction to Complex Event Processing in Distributed Enterprise Systems. Addison-Wesley, Boston, 2002, chapter 8.Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. Maraninchi, F. The Argos language: graphical representation of automata and description of reactive systems. Proceedings, IEEE Workshop on Visual Languages, Kobe, Japan, Oct. 1991.Google ScholarGoogle Scholar
  20. McNaughton, R., and Yamada, H. Regular expressions and state graphs for automata. IRE Transactions on Electronic Computers EC-9, 1 (Mar. 1960), 39--47.Google ScholarGoogle ScholarCross RefCross Ref
  21. Rabin, M.O., and Scott, D. Finite automata and their decision problems. IBM Journal of Research and Development 3, 2 (April 1959), 114--125.Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. Thompson, Ken. Regular expression search algorithm. Commun. ACM 11, 6 (June 1968), 419--422. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. EventScript: an event-processing language based on regular expressions with actions

                  Recommendations

                  Comments

                  Login options

                  Check if you have access through your login credentials or your institution to get full access on this article.

                  Sign in
                  • Published in

                    cover image ACM Conferences
                    LCTES '08: Proceedings of the 2008 ACM SIGPLAN-SIGBED conference on Languages, compilers, and tools for embedded systems
                    June 2008
                    180 pages
                    ISBN:9781605581040
                    DOI:10.1145/1375657
                    • cover image ACM SIGPLAN Notices
                      ACM SIGPLAN Notices  Volume 43, Issue 7
                      LCTES '08
                      July 2008
                      167 pages
                      ISSN:0362-1340
                      EISSN:1558-1160
                      DOI:10.1145/1379023
                      Issue’s Table of Contents

                    Copyright © 2008 ACM

                    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

                    Publisher

                    Association for Computing Machinery

                    New York, NY, United States

                    Publication History

                    • Published: 12 June 2008

                    Permissions

                    Request permissions about this article.

                    Request Permissions

                    Check for updates

                    Qualifiers

                    • research-article

                    Acceptance Rates

                    Overall Acceptance Rate116of438submissions,26%

                  PDF Format

                  View or Download as a PDF file.

                  PDF

                  eReader

                  View online with eReader.

                  eReader