sase: complex event processing over streams€¦ · sase: complex event processing over streams....

Post on 24-Jun-2020

7 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Computer Science Department

Daniel Gyllstrom, Eugene Wu, Hee-JinChae, Yanlei Diao, Gordon Anderson,

and Patrick Stahlberg

SASE: Complex EventProcessing Over Streams

2Computer Science Department

Complex Event Processing

High-volume event streams• Sensing devices• Financial services• Network monitors• …

Complex event processing (CEP)FilteringCorrelationAggregationTransformation

3Computer Science Department

The SASE Event Processor

SASE: A declarative event language, formalsemantics, and an efficient implementation

SequencingNegationKleene closureParameterized predicatesSliding window…

Related Systems Relational stream systems Active databases Commercial event systems …

4Computer Science Department

Demo Architecture

Historical Data

MySQLEvent DB

Archive Stream

EventStream

Cleaning And Association

RFID Devices

Raw RFIDStream

Live Data

SASEEvent Processor

Continuous queries Results

AreaID TagEPC TimeIn TimeOut

SQL queries Results

Data/Queries

5Computer Science Department

Shoplifting

EVENT SEQ(Shelf_Reading x, !(Register_Reading y),

Exit_Reading z)

WHERE x.TagId = z.TagId AND x.TagId = y.TagID /* Equivlanent to [TagId] */

WITHIN 12 HOURS

RETURN x.TagId, x.ProdName,x.AreaId, z.AreaId, retrieveLocationName(z.AreaId)

“Item seen at a shelf and then at an exit, but not at anyregister in between.”

6Computer Science Department

Shoplifting Screenshot

7Computer Science Department

Misplaced Inventory

EVENT SEQ(Shelf_Reading x, Shelf_Reading y, !(ANY(Register_Reading, Shelf_Reading) z) )

WHERE [TagId] ANDx.AreaId != y.AreaId ANDx.AreaId = z.AreaId

WITHIN 1 minute

RETURN x.TagId, x.ProdId, x.AreaId, y.AreaId,retrieveHistOfMvmt(x.TagId)

“Item seen at Shelf A and then Shelf B, without beingpurchased or put back to the original shelfafterwards.”

8Computer Science Department

Misplaced Inventory Screenshot

9Computer Science Department

Questions

top related