Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Complex event processing
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
'''Event processing''' is a method of tracking and [[data analytics|analyzing]] (processing) streams of information (data) about things that happen (events),<ref name=LuckhamD>{{cite book|last=Luckham|first=David C.|title=Event Processing for Business: Organizing the Real-Time Enterprise|url=http://ee.stanford.edu/~luckham/|publisher=John Wiley & Sons, Inc.|location = Hoboken, New Jersey|year=2012|page=3|isbn=978-0-470-53485-4}}</ref> and deriving a conclusion from them. '''Complex event processing''' ('''CEP''') consists of a set of concepts and techniques developed in the early 1990s for processing real-time events and extracting information from event streams as they arrive. The goal of complex event processing is to identify meaningful events (such as [[business opportunity|opportunities]] or threats)<ref name=Bates>{{citation|last=Bates|first=John|title=John Bates of Progress explains how complex event processing works and how it can simplify the use of algorithms for finding and capturing trading opportunities|date=15 June 2011|url=http://fixglobal.com/home/secrets-revealed-trading-tools-uncover-hidden-opportunities/|publisher=Fix Global Trading|access-date=May 14, 2012}}</ref> in real-time situations and respond to them as quickly as possible. These events may be happening across the various layers of an organization as sales leads, orders or [[customer service]] calls. Or, they may be news items,<ref>{{citation|last=Crosman|first=Penny|title=Aleri, Ravenpack to Feed News into Trading Algos|url=http://www.wallstreetandtech.com/articles/217500395|publisher=Wall Street & Technology|date=May 18, 2009}}{{Dead link|date=July 2019 |bot=InternetArchiveBot |fix-attempted=yes }}</ref> [[text message]]s, [[social media]] [[Posting style|posts]], business processes (such as supply chain), [[traffic report]]s, [[weather forecasting|weather report]]s, or other kinds of data.<ref name=LuckhamD /> An event may also be defined as a "change of state," when a measurement exceeds a predefined threshold of time, temperature, or other value. Analysts have suggested that CEP will give organizations a new way to analyze patterns in real-time and help the business side communicate better with IT and service departments.<ref>{{citation|last=McKay|first=Lauren|title=Forrester Gives a Welcoming Wave to Complex Event Processing|url=http://www.destinationcrm.com/Articles/CRM-News/Daily-News/Forrester-Gives-a-Welcoming-Wave-to-Complex-Event-Processing-55492.aspx|publisher=Destination CRM|date=August 13, 2009}}</ref> CEP has since become an enabling technology in many systems that are used to take immediate action in response to incoming streams of events. Applications are now to be found (2018) in many sectors of business including stock market trading systems, [[mobile device]]s, internet operations, [[fraud detection]], the [[transportation industry]], and [[Intelligence gathering network|governmental intelligence gathering]]. The vast amount of information available about events is sometimes referred to as the event cloud.<ref name=LuckhamD /> ==Conceptual description== Among thousands of incoming events, a monitoring system may for instance receive the following three from the same source: # church bells ringing. # the appearance of a man in a tuxedo with a woman in a flowing white gown. # rice flying through the air. From these events the monitoring system may infer a ''complex event'': a wedding. CEP as a technique helps discover complex events by analyzing and correlating other events:<ref>D. Luckham, "The Power of Events: An Introduction to Complex Event Processing in Distributed Enterprise Systems", Addison-Wesley, 2002.</ref> the bells, the man and woman in wedding attire and the rice flying through the air. CEP relies on a number of techniques,<ref>O. Etzion and P. Niblett, "Event Processing in Action", Manning Publications, 2010.</ref> including: * Event-[[pattern detection]] * Event [[Abstraction (computer science)|abstraction]] * Event filtering * Event aggregation and transformation * Modeling event hierarchies * Detecting relationships (such as [[causality]], [[meronymy|membership]] or [[Synchronization|timing]]) between events * Abstracting [[event-driven programming|event-driven]] processes Commercial applications of CEP exist in variety of industries and include the detection of [[credit card fraud|credit-card fraud]], [[business activity monitoring]], and security monitoring.<ref> [http://www.complexevents.com Details of commercial products and use cases]</ref> ==History== The CEP area has roots in [[discrete event simulation]], the [[active database]] area and some programming languages. The activity in the industry was preceded by a wave of research projects in the 1990s. According to<ref>{{citation|last=Leavit|first=Neal|title=Complex-Event Processing Poised for Growth|url= http://www.computer.org/csdl/mags/co/2009/04/mco2009040017-abs.html|publisher=Computer, vol. 42, no. 4, pp. 17-20 Washington|date=April 2009}}</ref> the first project that paved the way to a generic CEP language and execution model was the Rapide project in [[Stanford University]], directed by [[David Luckham]]. In parallel there have been two other research projects: Infospheres in [[California Institute of Technology]], directed by [[K. Mani Chandy]], and [[Apama (software)|Apama]] in [[University of Cambridge]] directed by John Bates. The commercial products were dependents of the concepts developed in these and some later research projects. Community efforts started in a series of event processing symposia organized by the [[Event Processing Technical Society]], and later by the ACM DEBS conference series. One of the community efforts was to produce the event processing manifesto.<ref>{{cite journal|url=http://drops.dagstuhl.de/opus/volltexte/2011/2985|title=10201 Executive Summary and Manifesto – Event Processing|first1=Mani K.|last1=Chandy|first2=Opher|last2=Etzion|first3=Rainer von|last3=Ammon|journal=Drops-Idn/V2/Document/10.4230/Dagsemproc.10201.1 |series=Dagstuhl Seminar Proceedings|editor-first1=K. Mani|editor-last1=Chandy|editor-first2=Opher|editor-last2=Etzion|editor-first3=Rainer von|editor-last3=Ammon|date=22 December 2017|volume=10201 |pages=1–60 |publisher=Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik, Germany|doi=10.4230/DagSemProc.10201.1 |doi-access=free |via=Dagstuhl Research Online Publication Server}}</ref> ==Related concepts== CEP is used in [[operational intelligence]] (OI) products to provide insight into business operations by running query analysis against live feeds and event data. OI collects real-time data and correlates against historical data to provide insight and analysis. Multiple sources of data can be combined to provide a common operating picture that uses current information. In [[network management]], [[systems management]], [[application management]] and [[service management]], people usually refer instead to [[event correlation]]. As CEP engines, event correlation engines (''event correlators'') analyze a mass of events, pinpoint the most significant ones, and trigger actions. However, most of them do not produce new inferred events. Instead, they relate high-level events with low-level events.<ref>J.P. Martin-Flatin, G. Jakobson and L. Lewis, "Event Correlation in Integrated Management: Lessons Learned and Outlook", Journal of Network and Systems Management, Vol. 17, No. 4, December 2007.</ref> [[Inference engine]]s, e.g., [[rule-based system|rule-based reasoning engine]]s, typically produce inferred information in [[artificial intelligence]]. However, they do not usually produce new information in the form of complex (i.e., inferred) events. ==Example== A more systemic example of CEP involves a car, some sensors and various events and reactions. Imagine that a car has several sensors—one that measures tire pressure, one that measures speed, and one that detects if someone sits on a seat or leaves a seat. In the first situation, the car is moving and the pressure of one of the tires moves from 45 [[pound per square inch|psi]] to 41 psi over 15 minutes. As the pressure in the tire is decreasing, a series of events containing the tire pressure is generated. In addition, a series of events containing the speed of the car is generated. The car's Event Processor may detect a situation whereby a loss of tire pressure over a relatively long period of time results in the creation of the "lossOfTirePressure" event. This new event may trigger a reaction process to note the pressure loss into the car's maintenance log, and alert the driver via the car's portal that the tire pressure has reduced. In the second situation, the car is moving and the pressure of one of the tires drops from 45 psi to 20 psi in 5 seconds. A different situation is detected—perhaps because the loss of pressure occurred over a shorter period of time, or perhaps because the difference in values between each event were larger than a predefined limit. The different situation results in a new event "blowOutTire" being generated. This new event triggers a different reaction process to immediately alert the driver and to initiate onboard computer routines to assist the driver in bringing the car to a stop without losing control through skidding. In addition, events that represent detected situations can also be combined with other events in order to detect more complex situations. For example, in the final situation the car is moving normally and suffers a blown tire which results in the car leaving the road and striking a tree, and the driver is thrown from the car. A series of different situations are rapidly detected. The combination of "blowOutTire", "zeroSpeed" and "driverLeftSeat" within a very short period of time results in a new situation being detected: "occupantThrownAccident". Even though there is no direct measurement that can determine conclusively that the driver was thrown, or that there was an accident, the combination of events allows the situation to be detected and a new event to be created to signify the detected situation. This is the essence of a complex (or composite) event. It is complex because one cannot directly detect the situation; one has to infer or deduce that the situation has occurred from a combination of other events. ==Integration with business process management== A natural fit for CEP has been with [[business process management]] (BPM).<ref>C. Janiesch, M. Matzner and O. Müller: "A Blueprint for Event-Driven Business Activity Management", Lecture Notes in Computer Science, 2011, Volume 6896/2011, 17-28, {{doi|10.1007/978-3-642-23059-2_4}}</ref> BPM focuses on end-to-end business processes, in order to continuously optimize and align for its operational environment. However, the optimization of a business does not rely solely upon its individual, end-to-end processes. Seemingly disparate processes can affect each other significantly. Consider this scenario: In the aerospace industry, it is good practice to monitor breakdowns of vehicles to look for trends (determine potential weaknesses in manufacturing processes, material, etc.). Another separate process monitors current operational vehicles' life cycles and decommissions them when appropriate. One use for CEP is to link these separate processes, so that in the case of the initial process (breakdown monitoring) discovering a malfunction based on metal fatigue (a significant event), an action can be created to exploit the second process (life cycle) to issue a recall on vehicles using the same batch of metal discovered as faulty in the initial process. The integration of CEP and BPM must exist at two levels, both at the business awareness level (users must understand the potential holistic benefits of their individual processes) and also at the technological level (there needs to be a method by which CEP can interact with BPM implementation). For a recent state of the art review on the integration of CEP with BPM, which is frequently labeled as Event-Driven Business Process Management, refer to.<ref>J. Krumeich, B. Weis, D. Werth and P. Loos: "Event-Driven Business Process Management: where are we now?: A comprehensive synthesis and analysis of literature", Business Process Management Journal, 2014, Volume 20, 615-633, {{doi|10.1108/BPMJ-07-2013-0092}}</ref> Computation-oriented CEP's role can arguably be seen to overlap with Business Rule technology. For example, customer service centers are using CEP for click-stream analysis and customer experience management. CEP software can factor real-time information about millions of events (clicks or other interactions) per second into [[business intelligence]] and other [[decision-support]] applications. These "[[recommendation application]]s" help agents provide personalized service based on each customer's experience. The CEP application may collect data about what customers on the phone are currently doing, or how they have recently interacted with the company in other various channels, including in-branch, or on the Web via self-service features, instant messaging and email. The application then analyzes the total customer experience and recommends scripts or next steps that guide the agent on the phone, and hopefully keep the customer happy.<ref>{{citation|last=Kobielus|first=James|title=Really Happy in Real Time|url=http://www.destinationcrm.com/Articles/Columns-Departments/Connect/Really-Happy-in-Real-Time-50530.aspx|publisher=Destination CRM|date=September 2008}}</ref> ==Integration with time series databases== A [[time series database]] is a software system that is optimized for the handling of data organized by time. Time series are finite or infinite sequences of data items, where each item has an associated timestamp and the sequence of timestamps is non-decreasing. Elements of a time series are often called ticks. The timestamps are not required to be ascending (merely non-decreasing) because in practice the time resolution of some systems such as financial data sources can be quite low (milliseconds, microseconds or even nanoseconds), so consecutive events may carry equal timestamps. Time series data provides a historical context to the analysis typically associated with complex event processing. This can apply to any vertical industry such as finance<ref>{{cite web|url=http://cs.nyu.edu/shasha/papers/jagtalk.html|title=Time Series in Finance|website=cs.nyu.edu}}</ref> and cooperatively with other technologies such as BPM. The ideal case for CEP analysis is to view historical time series and real-time streaming data as a single time continuum. What happened yesterday, last week or last month is simply an extension of what is occurring today and what may occur in the future. An example may involve comparing current market volumes to historic volumes, prices and volatility for trade execution logic. Or the need to act upon live market prices may involve comparisons to benchmarks that include sector and index movements, whose intra-day and historic trends gauge volatility and smooth outliers. ==Internet of things and smart cyber-physical systems== Complex event processing is a key enabler in [[Internet of things]] (IoT) settings and smart [[cyber-physical system]]s (CPS) as well. Processing dense and heterogeneous streams from various sensors and matching patterns against those streams is a typical task in such cases.<ref>{{cite web|url=http://msdl.cs.mcgill.ca/people/istvan/pub/mtcps2016|title=Balogh, Dávid, Ráth, Varró, Vörös: Distributed and Heterogeneous Event-based Monitoring in Smart Cyber-Physical Systems, In 1st Workshop on Monitoring and Testing of Cyber-Physical Systems, Vienna, Austria. 2016.}}</ref> The majority of these techniques rely on the fact that representing the IoT system's state and its changes is more efficient in the form of a data stream, instead of having a static, materialized model. Reasoning over such stream-based models fundamentally differs from traditional reasoning techniques and typically require the combination of [[model transformation]]s and CEP.<ref>I. Dávid, I. Ráth, D. Varró: Foundations for Streaming Model Transformations by Complex Event Processing, International Journal on Software and Systems Modeling, pp 1--28, 2016. {{doi|10.1007/s10270-016-0533-1}}</ref> ==See also== * [[Event correlation]] * [[Event-driven architecture]] — (EDA) is a software architecture pattern promoting the production, detection, consumption of, and reaction to events. * [[Staged event-driven architecture|SEDA]] - Staged event-driven architecture decomposes complex, event-driven architectures into stages * [[Event Processing Technical Society]] — (EPTS) is an event processing community of interest * [[Event stream processing]] — (ESP) is a related technology that focuses on processing streams of related data. * [[Kinetic Rule Language]] — (KRL) is an event-condition-action rule language with an embedded complex event expression language. * [[Operational intelligence]] — Both CEP and ESP are technologies that underpin operational intelligence. * [[Pattern matching]] * [[Real-time business intelligence]] — Business Intelligence is the application of knowledge derived from CEP systems * [[Real-time computing]] — CEP systems are typically real-time systems * [[Real time enterprise]] ===Vendors and products=== * [[Apama (software)|Apama]] by [[Software AG]] - monitors rapidly moving event streams, detects and analyzes important patterns, and takes action according to rules.<ref>[http://www.softwareag.com/corporate/products/bigdata/apama/overview/default.asp Apama Real-Time Analytics Overview] {{Webarchive|url=https://web.archive.org/web/20151025155227/http://www.softwareag.com/corporate/products/bigdata/apama/overview/default.asp |date=2015-10-25 }}. Softwareag.com. Retrieved on 2013-09-18.</ref> * [[Azure Stream Analytics]] * [[Drools|Drools Fusion]] * [[Esper (software)|Esper]] Complex event processing for Java and C# (GPLv2). * [[Feedzai|Feedzai - Pulse]] * [[Microsoft|Microsoft StreamInsight]] Microsoft CEP Engine implementation<ref>{{cite web|url=https://technet.microsoft.com/en-us/library/ee362541(v=sql.111).aspx|title=Microsoft StreamInsight|website=technet.microsoft.com|date=28 July 2016 }}</ref> * [[openPDC]] — A set of applications for processing streaming time-series data in real-time. * [[Oracle SOA Suite|Oracle Event Processing]] - for building applications to filter, correlate, and process events in real time. * [[SAP SE|SAP ESP]] - A low-latency, rapid development and deployment platform that allows processing multiple streams of data in real time<ref>{{Cite web |url=http://scn.sap.com/community/developer-center/esp |title=SAP ESP - Developers community |access-date=2014-07-17 |archive-url=https://web.archive.org/web/20150105095944/http://scn.sap.com/community/developer-center/esp |archive-date=2015-01-05 |url-status=dead }}</ref> * SQLstream SQLstream's stream processing platform, s-Server, provides a relational stream computing platform for analyzing large volumes of service, sensor and machine and log file data in real-time. * [[TIBCO| TIBCO BusinessEvents & Streambase ]] - CEP platform and High Performance Low Latency Event Stream Processing * [[WebSphere Business Events]] * [[Apache Flink]] Open-source distributed stream processing framework with a CEP API<ref>{{cite web|url=https://ci.apache.org/projects/flink/flink-docs-release-1.2/dev/libs/cep.html|title=Apache Flink 1.2 Documentation: FlinkCEP - Complex event processing for Flink|website=ci.apache.org}}</ref> for Java and Scala. * [[Apache Storm]] Free and open source distributed realtime computation system. Storm processes unbounded streams of data in realtime. ==References== {{reflist}} [[Category:Information systems]] [[Category:Cognition]] [[Category:Events (computing)]] [[Category:Process (computing)]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Citation
(
edit
)
Template:Cite book
(
edit
)
Template:Cite journal
(
edit
)
Template:Cite web
(
edit
)
Template:Dead link
(
edit
)
Template:Doi
(
edit
)
Template:Reflist
(
edit
)
Template:Webarchive
(
edit
)