SlideShare una empresa de Scribd logo
1 de 8
Descargar para leer sin conexión
An Approach for Data-Driven and Logic-
Based Complex Event Processing
Darko Anicic, Paul Fodor, Roland Stühmer, Nenad Stojanovic
3rd ACM International Conference on Distributed Event-Based Systems (DEBS
2009), Nashville, USA
Motivation

 Role of Logic in Event Processing:
   • Formal logical semantics to ground well defined behaviour of EP;
   • Further on, to control reactive behaviour (actions/reactions)
       triggered by detected events;
 Problem:
   • State-of-the-art logic-based EP is query driven (not event-driven)
 ETALIS approach is logic-based and event-driven!
   • Reasoning over time, space, and context in EP;
   • Detection of complex events, states, and situations of interest;
   • Pattern rule management: consistency checking, minimal set of
       rules, correctness.
ETALIS Algorithm
                                                        1. Complex pattern (not
a ⊗ b ⊗ c → ce1
                                                        event-driven rule)
((a ⊗ b) ⊗ c) → ce1                                     2. Decoupling

a ⊗ b → ie1                                             3. Binarization
ie1 ⊗ c → ce1

a :- while_do(a,1).
a(1) :- ins(goal(b,a,ie1)).                             4. Event-driven
                                                        backward
b :- while_do(b,1).
b(1) :- goal(b,a,ie1) ⊗ del(goal(b,a,ie1)) ⊗ ie1.       chaining
                                                        rules
ie1 :- while_do(ie1,1).
ie1(1) :- ins(goal(c,ie1,ce1)).

c :- while_do(c,1).
c(1) :- goal(c,ie1,ce1) ⊗ del(goal(c,ie1,ce1)) ⊗ ce1.

ce1 :- action1.
ETALIS Update Algorithm
a ⊗ b ⊗ c → ce1     a :- while_do(a,1).
                    a :- while_do(a,1).
                    a(1) :- ins(goal(b,a,ie1)).
b ⊗ c ⊗ d → ce2     a(1) :- ins(goal(b,a,ie1)).
                    b :- while_do(b,1).
c ⊗ d → ce3         b(1)while_do(b,1). ⊗ del(goal(b,a,ie1)) ⊗ ie1.
                    b :- :- goal(b,a,ie1)
                    b(1) :- goal(b,a,ie1) * del(goal(b,a,ie1)) * ie1.
                    b(2):-:-while_do(ie1,1).
                    ie1      ins(goal(c,b,ie2)).
                    ie1(1) :- ins(goal(c,ie1,ce1)).
                    c :- while_do(c,1).
                    c(1) :- goal(c,ie1,ce1) * del(goal(c,ie1,ce1)) * ce1.
                    c :- while_do(c,1).
                    c(2) goal(c,b,ie2) * ⊗ del(goal(c,ie1,ce1))
                    c(1) :- goal(c,ie1,ce1)del(goal(c,b,ie2)) * ie2. ⊗ ce1.
                    c(3) :- ins(goal(d,c,ce3)).
                    ce1 :- action1.
                    d :- while_do(d,1).
                    d(1) :- goal(d,ie2,ce2) * del(goal(d,ie2,ce2)) * ce2.
                    d(2) :- goal(d,c,ce3) * del(goal(d,c,ce3)) * ce3.

                    ie1 :- while_do(ie1,1).
                    ie1(1) :- ins(goal(c,ie1,ce1)).

                    ie2 :- while_do(ie2,1).
                    ie2(1) :- ins(goal(d,ie2,ce2)).
Representation of Binary Events
                                  1. Complex pattern (not
a ⊗ b ⊗ c → ce1
                                  event-driven rule)
((a ⊗ b) ⊗ c) → ce1               2. Decoupling

a ⊗ b → ie1                       3. Binarization
ie1 ⊗ c → ce1


    ie1                 ce1       4. Representation
                                  of binary events

    ⊗                   ⊗
a         b       ie1         c
ETALIS Candelas
a ⊗ b ⊗ c → ce1                             a

b ⊗ c ⊗ d → ce2                             b
c ⊗ d → ce3                                 c

                                            d

                                            ie1
                          ⊗
                                            ie2
                  ⊗
                                 ⊗          ce1

                                            ce2
                      ⊗                     ce3
      ⊗
Advantages of ETALIS
                      Possibilities to        Different consumption   Standard event
Reasoning and         discover a desired      policies of events      operators supported:
querying over whole   state in the process    supported.
event space.          of pattern detection.                           • sequence
                                                                      • parallel composition
                                                                      • conjunction
                                                                      • negation
                                                                      • disjunction
                                              ⊗
                                                                      • window operators
                                                                      etc.
                      ⊗
                                                                ⊗     New operators easy to
                                                                      develop.

                                                                       Aggregation
                                                                       functions supported:
                                     ⊗                                 • count
         ⊗                                                             • sum
                                                  Handling out-of-     • min
                                                  order events
                                                  supported.           • max
                                                                       • average
Thank you!
                     ETALIS
(Event-driven Transaction Logic Inference System)
                   Open source:
         http://code.google.com/p/etalis

            See also our Live DEMO at:
    http://krake26.perimeter.fzi.de:8080/etalis

                                      darko.anicic@fzi.de
                                   pfodor@cs.sunysb.edu
                                  roland.stuehmer@fzi.de
                                 nenad.stojanovic@fzi.de

Más contenido relacionado

Destacado

Event Processing and Stream Reasoning with ETALIS
Event Processing and Stream Reasoning with ETALISEvent Processing and Stream Reasoning with ETALIS
Event Processing and Stream Reasoning with ETALISDarko Anicic
 
Twister.pps
Twister.ppsTwister.pps
Twister.ppskirdocs
 
Pmp pmi - training - project management certificate programme
Pmp   pmi - training - project management certificate programmePmp   pmi - training - project management certificate programme
Pmp pmi - training - project management certificate programmeYOUSUF KHAN
 
Evaluación Aeropuerto El Trompillo, by Roger Flores
Evaluación Aeropuerto El Trompillo, by Roger FloresEvaluación Aeropuerto El Trompillo, by Roger Flores
Evaluación Aeropuerto El Trompillo, by Roger FloresRoger Flores Laura
 
Hugo Brioso | Website Design & Development | Graphic Design | Portfolio
Hugo Brioso | Website Design & Development | Graphic Design | PortfolioHugo Brioso | Website Design & Development | Graphic Design | Portfolio
Hugo Brioso | Website Design & Development | Graphic Design | PortfolioHugo Brioso
 
Eye Caching Photos with Great Quotes
Eye Caching Photos with Great QuotesEye Caching Photos with Great Quotes
Eye Caching Photos with Great Quoteskirdocs
 
Next Generation Learning Berbasis Crayonpedia
Next Generation Learning Berbasis CrayonpediaNext Generation Learning Berbasis Crayonpedia
Next Generation Learning Berbasis CrayonpediaHemat Dwi Nuryanto
 
Hugo Brioso | Corporate Identity, Logo Design & Branding | Stationery | Adver...
Hugo Brioso | Corporate Identity, Logo Design & Branding | Stationery | Adver...Hugo Brioso | Corporate Identity, Logo Design & Branding | Stationery | Adver...
Hugo Brioso | Corporate Identity, Logo Design & Branding | Stationery | Adver...Hugo Brioso
 

Destacado (11)

Event Processing and Stream Reasoning with ETALIS
Event Processing and Stream Reasoning with ETALISEvent Processing and Stream Reasoning with ETALIS
Event Processing and Stream Reasoning with ETALIS
 
ETALIS at RR 2010
ETALIS at RR 2010ETALIS at RR 2010
ETALIS at RR 2010
 
Twister.pps
Twister.ppsTwister.pps
Twister.pps
 
Pmp pmi - training - project management certificate programme
Pmp   pmi - training - project management certificate programmePmp   pmi - training - project management certificate programme
Pmp pmi - training - project management certificate programme
 
Evaluación Aeropuerto El Trompillo, by Roger Flores
Evaluación Aeropuerto El Trompillo, by Roger FloresEvaluación Aeropuerto El Trompillo, by Roger Flores
Evaluación Aeropuerto El Trompillo, by Roger Flores
 
ETALIS_DEBS_2010
ETALIS_DEBS_2010ETALIS_DEBS_2010
ETALIS_DEBS_2010
 
Hugo Brioso | Website Design & Development | Graphic Design | Portfolio
Hugo Brioso | Website Design & Development | Graphic Design | PortfolioHugo Brioso | Website Design & Development | Graphic Design | Portfolio
Hugo Brioso | Website Design & Development | Graphic Design | Portfolio
 
Eye Caching Photos with Great Quotes
Eye Caching Photos with Great QuotesEye Caching Photos with Great Quotes
Eye Caching Photos with Great Quotes
 
Next Generation Learning Berbasis Crayonpedia
Next Generation Learning Berbasis CrayonpediaNext Generation Learning Berbasis Crayonpedia
Next Generation Learning Berbasis Crayonpedia
 
Hugo Brioso | Corporate Identity, Logo Design & Branding | Stationery | Adver...
Hugo Brioso | Corporate Identity, Logo Design & Branding | Stationery | Adver...Hugo Brioso | Corporate Identity, Logo Design & Branding | Stationery | Adver...
Hugo Brioso | Corporate Identity, Logo Design & Branding | Stationery | Adver...
 
GAS - Google Analytics on Steroids
GAS - Google Analytics on SteroidsGAS - Google Analytics on Steroids
GAS - Google Analytics on Steroids
 

Último

digital marketing , introduction of digital marketing
digital marketing , introduction of digital marketingdigital marketing , introduction of digital marketing
digital marketing , introduction of digital marketingrajputmeenakshi733
 
Data Analytics Strategy Toolkit and Templates
Data Analytics Strategy Toolkit and TemplatesData Analytics Strategy Toolkit and Templates
Data Analytics Strategy Toolkit and TemplatesAurelien Domont, MBA
 
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...ssuserf63bd7
 
Driving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerDriving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerAggregage
 
Guide Complete Set of Residential Architectural Drawings PDF
Guide Complete Set of Residential Architectural Drawings PDFGuide Complete Set of Residential Architectural Drawings PDF
Guide Complete Set of Residential Architectural Drawings PDFChandresh Chudasama
 
Memorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQMMemorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQMVoces Mineras
 
Darshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdfDarshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdfShashank Mehta
 
WSMM Technology February.March Newsletter_vF.pdf
WSMM Technology February.March Newsletter_vF.pdfWSMM Technology February.March Newsletter_vF.pdf
WSMM Technology February.March Newsletter_vF.pdfJamesConcepcion7
 
14680-51-4.pdf Good quality CAS Good quality CAS
14680-51-4.pdf  Good  quality CAS Good  quality CAS14680-51-4.pdf  Good  quality CAS Good  quality CAS
14680-51-4.pdf Good quality CAS Good quality CAScathy664059
 
WSMM Media and Entertainment Feb_March_Final.pdf
WSMM Media and Entertainment Feb_March_Final.pdfWSMM Media and Entertainment Feb_March_Final.pdf
WSMM Media and Entertainment Feb_March_Final.pdfJamesConcepcion7
 
Unveiling the Soundscape Music for Psychedelic Experiences
Unveiling the Soundscape Music for Psychedelic ExperiencesUnveiling the Soundscape Music for Psychedelic Experiences
Unveiling the Soundscape Music for Psychedelic ExperiencesDoe Paoro
 
Excvation Safety for safety officers reference
Excvation Safety for safety officers referenceExcvation Safety for safety officers reference
Excvation Safety for safety officers referencessuser2c065e
 
Church Building Grants To Assist With New Construction, Additions, And Restor...
Church Building Grants To Assist With New Construction, Additions, And Restor...Church Building Grants To Assist With New Construction, Additions, And Restor...
Church Building Grants To Assist With New Construction, Additions, And Restor...Americas Got Grants
 
Effective Strategies for Maximizing Your Profit When Selling Gold Jewelry
Effective Strategies for Maximizing Your Profit When Selling Gold JewelryEffective Strategies for Maximizing Your Profit When Selling Gold Jewelry
Effective Strategies for Maximizing Your Profit When Selling Gold JewelryWhittensFineJewelry1
 
TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024Adnet Communications
 
NAB Show Exhibitor List 2024 - Exhibitors Data
NAB Show Exhibitor List 2024 - Exhibitors DataNAB Show Exhibitor List 2024 - Exhibitors Data
NAB Show Exhibitor List 2024 - Exhibitors DataExhibitors Data
 
How To Simplify Your Scheduling with AI Calendarfly The Hassle-Free Online Bo...
How To Simplify Your Scheduling with AI Calendarfly The Hassle-Free Online Bo...How To Simplify Your Scheduling with AI Calendarfly The Hassle-Free Online Bo...
How To Simplify Your Scheduling with AI Calendarfly The Hassle-Free Online Bo...SOFTTECHHUB
 
Environmental Impact Of Rotary Screw Compressors
Environmental Impact Of Rotary Screw CompressorsEnvironmental Impact Of Rotary Screw Compressors
Environmental Impact Of Rotary Screw Compressorselgieurope
 

Último (20)

digital marketing , introduction of digital marketing
digital marketing , introduction of digital marketingdigital marketing , introduction of digital marketing
digital marketing , introduction of digital marketing
 
Data Analytics Strategy Toolkit and Templates
Data Analytics Strategy Toolkit and TemplatesData Analytics Strategy Toolkit and Templates
Data Analytics Strategy Toolkit and Templates
 
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
 
WAM Corporate Presentation April 12 2024.pdf
WAM Corporate Presentation April 12 2024.pdfWAM Corporate Presentation April 12 2024.pdf
WAM Corporate Presentation April 12 2024.pdf
 
Driving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerDriving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon Harmer
 
Guide Complete Set of Residential Architectural Drawings PDF
Guide Complete Set of Residential Architectural Drawings PDFGuide Complete Set of Residential Architectural Drawings PDF
Guide Complete Set of Residential Architectural Drawings PDF
 
Memorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQMMemorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQM
 
Darshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdfDarshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdf
 
WSMM Technology February.March Newsletter_vF.pdf
WSMM Technology February.March Newsletter_vF.pdfWSMM Technology February.March Newsletter_vF.pdf
WSMM Technology February.March Newsletter_vF.pdf
 
The Bizz Quiz-E-Summit-E-Cell-IITPatna.pptx
The Bizz Quiz-E-Summit-E-Cell-IITPatna.pptxThe Bizz Quiz-E-Summit-E-Cell-IITPatna.pptx
The Bizz Quiz-E-Summit-E-Cell-IITPatna.pptx
 
14680-51-4.pdf Good quality CAS Good quality CAS
14680-51-4.pdf  Good  quality CAS Good  quality CAS14680-51-4.pdf  Good  quality CAS Good  quality CAS
14680-51-4.pdf Good quality CAS Good quality CAS
 
WSMM Media and Entertainment Feb_March_Final.pdf
WSMM Media and Entertainment Feb_March_Final.pdfWSMM Media and Entertainment Feb_March_Final.pdf
WSMM Media and Entertainment Feb_March_Final.pdf
 
Unveiling the Soundscape Music for Psychedelic Experiences
Unveiling the Soundscape Music for Psychedelic ExperiencesUnveiling the Soundscape Music for Psychedelic Experiences
Unveiling the Soundscape Music for Psychedelic Experiences
 
Excvation Safety for safety officers reference
Excvation Safety for safety officers referenceExcvation Safety for safety officers reference
Excvation Safety for safety officers reference
 
Church Building Grants To Assist With New Construction, Additions, And Restor...
Church Building Grants To Assist With New Construction, Additions, And Restor...Church Building Grants To Assist With New Construction, Additions, And Restor...
Church Building Grants To Assist With New Construction, Additions, And Restor...
 
Effective Strategies for Maximizing Your Profit When Selling Gold Jewelry
Effective Strategies for Maximizing Your Profit When Selling Gold JewelryEffective Strategies for Maximizing Your Profit When Selling Gold Jewelry
Effective Strategies for Maximizing Your Profit When Selling Gold Jewelry
 
TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024
 
NAB Show Exhibitor List 2024 - Exhibitors Data
NAB Show Exhibitor List 2024 - Exhibitors DataNAB Show Exhibitor List 2024 - Exhibitors Data
NAB Show Exhibitor List 2024 - Exhibitors Data
 
How To Simplify Your Scheduling with AI Calendarfly The Hassle-Free Online Bo...
How To Simplify Your Scheduling with AI Calendarfly The Hassle-Free Online Bo...How To Simplify Your Scheduling with AI Calendarfly The Hassle-Free Online Bo...
How To Simplify Your Scheduling with AI Calendarfly The Hassle-Free Online Bo...
 
Environmental Impact Of Rotary Screw Compressors
Environmental Impact Of Rotary Screw CompressorsEnvironmental Impact Of Rotary Screw Compressors
Environmental Impact Of Rotary Screw Compressors
 

ETALIS at Debs 09

  • 1. An Approach for Data-Driven and Logic- Based Complex Event Processing Darko Anicic, Paul Fodor, Roland Stühmer, Nenad Stojanovic 3rd ACM International Conference on Distributed Event-Based Systems (DEBS 2009), Nashville, USA
  • 2. Motivation  Role of Logic in Event Processing: • Formal logical semantics to ground well defined behaviour of EP; • Further on, to control reactive behaviour (actions/reactions) triggered by detected events;  Problem: • State-of-the-art logic-based EP is query driven (not event-driven)  ETALIS approach is logic-based and event-driven! • Reasoning over time, space, and context in EP; • Detection of complex events, states, and situations of interest; • Pattern rule management: consistency checking, minimal set of rules, correctness.
  • 3. ETALIS Algorithm 1. Complex pattern (not a ⊗ b ⊗ c → ce1 event-driven rule) ((a ⊗ b) ⊗ c) → ce1 2. Decoupling a ⊗ b → ie1 3. Binarization ie1 ⊗ c → ce1 a :- while_do(a,1). a(1) :- ins(goal(b,a,ie1)). 4. Event-driven backward b :- while_do(b,1). b(1) :- goal(b,a,ie1) ⊗ del(goal(b,a,ie1)) ⊗ ie1. chaining rules ie1 :- while_do(ie1,1). ie1(1) :- ins(goal(c,ie1,ce1)). c :- while_do(c,1). c(1) :- goal(c,ie1,ce1) ⊗ del(goal(c,ie1,ce1)) ⊗ ce1. ce1 :- action1.
  • 4. ETALIS Update Algorithm a ⊗ b ⊗ c → ce1 a :- while_do(a,1). a :- while_do(a,1). a(1) :- ins(goal(b,a,ie1)). b ⊗ c ⊗ d → ce2 a(1) :- ins(goal(b,a,ie1)). b :- while_do(b,1). c ⊗ d → ce3 b(1)while_do(b,1). ⊗ del(goal(b,a,ie1)) ⊗ ie1. b :- :- goal(b,a,ie1) b(1) :- goal(b,a,ie1) * del(goal(b,a,ie1)) * ie1. b(2):-:-while_do(ie1,1). ie1 ins(goal(c,b,ie2)). ie1(1) :- ins(goal(c,ie1,ce1)). c :- while_do(c,1). c(1) :- goal(c,ie1,ce1) * del(goal(c,ie1,ce1)) * ce1. c :- while_do(c,1). c(2) goal(c,b,ie2) * ⊗ del(goal(c,ie1,ce1)) c(1) :- goal(c,ie1,ce1)del(goal(c,b,ie2)) * ie2. ⊗ ce1. c(3) :- ins(goal(d,c,ce3)). ce1 :- action1. d :- while_do(d,1). d(1) :- goal(d,ie2,ce2) * del(goal(d,ie2,ce2)) * ce2. d(2) :- goal(d,c,ce3) * del(goal(d,c,ce3)) * ce3. ie1 :- while_do(ie1,1). ie1(1) :- ins(goal(c,ie1,ce1)). ie2 :- while_do(ie2,1). ie2(1) :- ins(goal(d,ie2,ce2)).
  • 5. Representation of Binary Events 1. Complex pattern (not a ⊗ b ⊗ c → ce1 event-driven rule) ((a ⊗ b) ⊗ c) → ce1 2. Decoupling a ⊗ b → ie1 3. Binarization ie1 ⊗ c → ce1 ie1 ce1 4. Representation of binary events ⊗ ⊗ a b ie1 c
  • 6. ETALIS Candelas a ⊗ b ⊗ c → ce1 a b ⊗ c ⊗ d → ce2 b c ⊗ d → ce3 c d ie1 ⊗ ie2 ⊗ ⊗ ce1 ce2 ⊗ ce3 ⊗
  • 7. Advantages of ETALIS Possibilities to Different consumption Standard event Reasoning and discover a desired policies of events operators supported: querying over whole state in the process supported. event space. of pattern detection. • sequence • parallel composition • conjunction • negation • disjunction ⊗ • window operators etc. ⊗ ⊗ New operators easy to develop. Aggregation functions supported: ⊗ • count ⊗ • sum Handling out-of- • min order events supported. • max • average
  • 8. Thank you! ETALIS (Event-driven Transaction Logic Inference System) Open source: http://code.google.com/p/etalis See also our Live DEMO at: http://krake26.perimeter.fzi.de:8080/etalis darko.anicic@fzi.de pfodor@cs.sunysb.edu roland.stuehmer@fzi.de nenad.stojanovic@fzi.de