18
Software Architecture Conference Speaker: Opher Etzion THE INTERNET OF THINGS AN EVENT-DRIVEN PERSPECTIVE

IoT - Event-Driven aspects

Embed Size (px)

Citation preview

Page 1: IoT - Event-Driven aspects

Software Architecture Conference Speaker: Opher Etzion

THE INTERNET OF THINGSAN EVENT-DRIVEN PERSPECTIVE

Page 2: IoT - Event-Driven aspects

None of the authorized drivers location is near the car’s location theft is concluded

Use a built-in car stopper to slow the intruder and dispatch the security companyA person enters a

car and the car starts moving; the person does not look like one of the authorized drivers

Such applicationsbecome possible

since everything isconnected

2

Page 3: IoT - Event-Driven aspects

More IoT Applications:

A driver gets notification on the car screen: the person crossing the street is an Alzheimer patient out of his regular route, he lives in 5 King Street.

A national park gets information on all cars heading to the park from the car computer; can open more parking lots and notify cars that the park will be closed.

Page 4: IoT - Event-Driven aspects

And some emerging areas…

Your robot sees that you are about to spill coffee on your laptop and grasps the cup before it happens

Driverless car Driverless cars become the state of the practice, no accidents occur anymore, and the route is being adapted to the traffic conditions

An autonomic computing using biological sensors and actuators: a step towards singularity and overcoming biological limitations.

Page 5: IoT - Event-Driven aspects

5

The term “Internet of Things” was coined by Kevin Ashton in 1999 .

His observation was that all the data on the Internet has been created by a human .

His vision was: “we need to empower computers with their own means of gathering information, so they can see, hear, and smell the world by

themselves .”

Page 6: IoT - Event-Driven aspects

6

The value of sensors

Kevin Ashton: “track and count everything, and greatly reduce waste, loss, and cost. We could know when things needs replacing, repairing or recalling, and whether they were fresh or past their best”

The value is in the ability to know and react in a timely manner to situations that are detected by sensors

Page 7: IoT - Event-Driven aspects

7

“How does Event Processing get into the picture?”

While the weakest link is now considered the data integration issue – looking beyond that we can find event processing

Combining data from multi-sensors to get observations, alerts, and actions in real-time gets us to the issue of detecting patterns in event streams

However much of the IoT world has not realized it yet…

Page 8: IoT - Event-Driven aspects

What is “event processing” anyway?

or

Event processing is a form of computing that performs operations on events

Page 9: IoT - Event-Driven aspects

What is an event

There are various definitions of events

Event is an occurrence within a particular system ordomain; the word event has double meaning: the real-worldOccurrence as well as its computerized representation

Page 11: IoT - Event-Driven aspects

What we actually want to react to are – situations

TOLL VILOATOR FRUSTRATED

CUSTOMER Sometimes the situation is determined by detecting thatsome pattern occurred in theFlowing events.

Toll violation Frustrated customer

Sometimes the events can approximate or indicate withsome certainty that the situation has occurred

Page 12: IoT - Event-Driven aspects

EventPatterns

Pattern detection is one of the notable functions ofevent processing

Page 13: IoT - Event-Driven aspects

Event Driven Architecture

Event driven architecture: asynchronous, decoupled; each component is autonomic.

Page 14: IoT - Event-Driven aspects

14

Principle of decoupling

An event producer does not depend on any particular processing or course of action being taken by any event consumer. An event consumer does not depend on any processing performed by the producer other than the production of the event itself.

Page 15: IoT - Event-Driven aspects

15

Event Processing Agent

Context

EventChannel

EventConsumer

EventType

EventProducer

GlobalState

The seven Building blocks

Page 16: IoT - Event-Driven aspects

16

FFD EPN – The assignment system

Automatic assignment

Driver

Bid routing

Store reference

Manual assignment preparationBid Request

channel Bid enrichment

Assignment manager

Alerts channel

Assignment channel

Assignment request channel

Page 17: IoT - Event-Driven aspects

IBM Haifa Research Lab – Event Processing

IBM Haifa Research Lab – Event Processing © 2008 IBM Corporation

DetectDecide

Respond

EP Solution Segments – Business Value

Real-Time Operational

Information Dissemination

Observation

Predictive ProcessingActive Diagnostics

Reactions to events are done as part of business transactions – achieving low latency decisions, and quick reaction to threats and opportunities

Getting the right information in the right granularity to the right person at the right time

Diagnose problems based on symptoms and resolve them

Quick observation into exceptional business behavior and notification to the appropriate people.

Mitigate or eliminate predicted events

Page 18: IoT - Event-Driven aspects

18

The hype is there… The potential to be the basis of a revolution is there…Some solutions are there….

Bridging the gaps are on the way.... The community needs to focus on the crucial issues…