Event condition action

Event condition action

Event Condition Action (ECA) is a short-cut for referring to the structure of active rules in event driven architecture and database systems.

Such a rule did traditionally consist of three parts:

* The "event" part specifies the signal that triggers the invocation of the rule
* The "condition" part is a logical test that, if satisfied or evaluates to true, causes the action to be carried out
* The "action" part consists of updates or invocations on the local data

This structure was used by the early research in active databases which started to use the term ECA. Current state of art ECA rule engines uses a many variations on rule structure. Also other features not considered by the early research is introduced, such as stragegies for event selection into the event part.

In a memory-based rule engine, the condition could be some tests on local data and actions could be updates to object attributes. In a database system, the condition could simply be a query to the database, with the result set (if not null) being passed to the action part for changes to the database. In either case, actions could also be calls to external programs or remote procedures.

Note that for database usage, updates to the database are regarded as internal events. As a consequence, the execution of the action part of an active rule can match the event part of the same or another active rule, thus triggering it. The equivalent in a memory-based rule engine would be to invoke an external method that caused an external event to trigger another ECA rule.

ECA rules can also be used in rule engines that use variants of the Rete algorithm for rule processing.

References

* Klaus R. Dittrich, Stella Gatziu, Andreas Geppert: The Active Database Management System Manifesto: A Rulebase of ADBMS Features. Lecture Notes in Computer Science 985, Springer 1995, ISBN 3-540-60365-4, pages 3-20.


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Condition — • That which is necessary or at least conducive to the actual operation of a cause Catholic Encyclopedia. Kevin Knight. 2006. Condition     Condition      …   Catholic encyclopedia

  • Event-driven architecture — (EDA) is a software architecture pattern promoting the production, detection, consumption of, and reaction to events. An event can be defined as a significant change in state [K. Mani Chandy Event Driven Applications: Costs, Benefits and Design… …   Wikipedia

  • Data event — A data event is a relevant state transition defined in an event schema[1]. Typically, event schemata are described by pre and post condition for a single or a set of data items. In contrast to ECA (Event condition action), which considers an… …   Wikipedia

  • Action — Ac tion, n. [OF. action, L. actio, fr. agere to do. See {Act}.] 1. A process or condition of acting or moving, as opposed to rest; the doing of something; exertion of power or force, as when one body acts on another; the effect of power exerted… …   The Collaborative International Dictionary of English

  • Action on the case — Case Case, n. [F. cas, fr. L. casus, fr. cadere to fall, to happen. Cf. {Chance}.] 1. Chance; accident; hap; opportunity. [Obs.] [1913 Webster] By aventure, or sort, or cas. Chaucer. [1913 Webster] 2. That which befalls, comes, or happens; an… …   The Collaborative International Dictionary of English

  • Event-driven process chain — Businesses use EPC diagrams to lay out business process work flows, originally in conjunction with SAP R/3 modeling, but now more widely. There are a number of tools for creating EPC diagrams, including ARIS Toolset of [http://www.ids scheer.com/ …   Wikipedia

  • Action potential — In physiology, an action potential is a short lasting event in which the electrical membrane potential of a cell rapidly rises and falls, following a consistent trajectory. Action potentials occur in several types of animal cells, called… …   Wikipedia

  • Action T4 — This poster (from around 1938) reads: 60,000 Reichsmarks is what this person suffering from a hereditary defect costs the People s community during his lifetime. Fellow citizen, that is your money too. Read [A] New People , the monthly magazine… …   Wikipedia

  • condition — Verb: To put in shape, as a horse for a race, a pugilist for a match. Noun: A provision in a contract creating no right or duty of and in itself but merely limiting or modifying rights and duties under the contract. 17 Am J2d Contr § 320; a… …   Ballentine's law dictionary

  • Action Comics — Supercbbox| title=Action Comics caption= Action Comics #1 (June 1938), the debut of Superman. Cover art by Joe Shuster. schedule=Monthly format= ongoing=y multigenre=y Anthology = y Superhero = y publisher=DC Comics date=June 1938 present… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”