19
Network Computing Laboratory Sentire: A Framework for Building Middleware for Sensor and Actuator Networks Joel W. Branch*, John Davis, Daby Sow, and Chatschik Bisdikian Rensselaer Polytechnic Institute – Troy, NY*, IBM T.J. Watson Research Center – Hawthorne, NY IEEE PerCom 2005 – PerSeNS Workshop Kauai Island, Hawaii March 8-12, 2005

Network Computing Laboratory Sentire: A Framework for Building Middleware for Sensor and Actuator Networks Joel W. Branch*, John Davis, Daby Sow, and Chatschik

Embed Size (px)

Citation preview

Page 1: Network Computing Laboratory Sentire: A Framework for Building Middleware for Sensor and Actuator Networks Joel W. Branch*, John Davis, Daby Sow, and Chatschik

Network Computing Laboratory

Sentire: A Framework for Building Middleware for Sensor and Actuator

Networks

Joel W. Branch*, John Davis, Daby Sow, and Chatschik BisdikianRensselaer Polytechnic Institute – Troy, NY*, IBM T.J. Watson Research Center –

Hawthorne, NY

IEEE PerCom 2005 – PerSeNS WorkshopKauai Island, Hawaii March 8-12, 2005

Page 2: Network Computing Laboratory Sentire: A Framework for Building Middleware for Sensor and Actuator Networks Joel W. Branch*, John Davis, Daby Sow, and Chatschik

Network Computing Laboratory | 2

Korea Advanced Institute of Science and Technology

Agenda

One-line comment Background

Sensor-Actuator Network

Motivation Solution approach

Overview Managers messages

Demonstration Collaborating sensing

Critique

Page 3: Network Computing Laboratory Sentire: A Framework for Building Middleware for Sensor and Actuator Networks Joel W. Branch*, John Davis, Daby Sow, and Chatschik

Network Computing Laboratory | 3

Korea Advanced Institute of Science and Technology

One-line comments

This paper, Sentire (latin, to sense), describes a framework for developing extensible middleware for sensor and actuator networks (SANETs)

Page 4: Network Computing Laboratory Sentire: A Framework for Building Middleware for Sensor and Actuator Networks Joel W. Branch*, John Davis, Daby Sow, and Chatschik

Network Computing Laboratory | 4

Korea Advanced Institute of Science and Technology

SANET

BackgroundSensor-actuator networks

Sensor-actuator network Sensor

Unreliable resource-constrained network

Actuator Control-oriented application

Middleware Application

Example Building control: Heating, ventilation

and air conditioning (HVAC) Sensors Actuators Controller A set of preferred temperature level

(user policy)

SANET middleware

Application(s)

Page 5: Network Computing Laboratory Sentire: A Framework for Building Middleware for Sensor and Actuator Networks Joel W. Branch*, John Davis, Daby Sow, and Chatschik

Network Computing Laboratory | 5

Korea Advanced Institute of Science and Technology

MotivationScaling up SANET-related systems

1-1000 1000-10M >10MNumber of embedded devices

Co

ntr

ol d

istr

ibu

tio

nC

entr

aliz

ed

Dec

entr

aliz

ed

Today

Tomorrow

Autos

Security systems

Smartbuildings

Adaptive trafficcontrol

Automatedfactories

Assettracking

Networked cities

Instrumentedfarm

Plant processcontrol

Habitatmonitoring

* Figure reproduced from [Zhao2004]

Trend points to increasing number of devices and decentralization

??

Page 6: Network Computing Laboratory Sentire: A Framework for Building Middleware for Sensor and Actuator Networks Joel W. Branch*, John Davis, Daby Sow, and Chatschik

Network Computing Laboratory | 6

Korea Advanced Institute of Science and Technology

Motivation“Reaching tomorrow” – Research motivation

SANET middlewaredevelopment standard

- Supports large scale development- Supports extensibility, reusability, and

interoperability- Supports SANET integration

SANET requirements- Resource management- Network management

- Data management

SANET applicationdevelopment

- Shield applicationdevelopers from writing complex andcustom code for multiple platforms

Page 7: Network Computing Laboratory Sentire: A Framework for Building Middleware for Sensor and Actuator Networks Joel W. Branch*, John Davis, Daby Sow, and Chatschik

Network Computing Laboratory | 7

Korea Advanced Institute of Science and Technology

The Sentire approachOverview

Objectives Introduce general software development framework for extensible SANET

middleware development Different from middleware instantiations

Easy applications’ usage of integrated, heterogeneous sensor and actuator-enabled systems

Partition middleware development into logically related sub-tasks Share a common plug-in infrastructure

Page 8: Network Computing Laboratory Sentire: A Framework for Building Middleware for Sensor and Actuator Networks Joel W. Branch*, John Davis, Daby Sow, and Chatschik

Network Computing Laboratory | 8

Korea Advanced Institute of Science and Technology

The Sentire approachOverview

Current components Centralized component-

interaction model Managers Messages

Current assumptions Direct-transmission (1-hop)

networks Middleware residing on edge-

servers, stargates, etc.

Interface manager

Query results,Admit/reject decisions

Sensor dataQueries, Device instructions

Sensor manager

Resource manager

Resource data

Admit/rejectdecisions

Data manager Actuator manager

Query results

Queries,Device instructions

Sentireframework

Queries

Sensor and actuator network(s)

Sensor and actuator network(s)

SANET application(s)

Deviceinstructions

Device instr.

Queries

Page 9: Network Computing Laboratory Sentire: A Framework for Building Middleware for Sensor and Actuator Networks Joel W. Branch*, John Davis, Daby Sow, and Chatschik

Network Computing Laboratory | 9

Korea Advanced Institute of Science and Technology

The Sentire approachManagers

Interface manager Funnels application queries and instructions to appropriate managers Provides initial layer of query/instruction filtering via developer-defined admit/reject

policies Assign unique IDs to the queries and instructions

Sensor and actuator managers Controls sensor and actuator device behavior

Influences both the quality of sensed information and adjustments to the environment Request authorization

Resource manager Implements service registration of SANETs Tracks SANET resource usage (e.g., energy, bandwidth) Supports other managers in their policy-based decisions

Authorization and confirmation Adjusts resource usage

Data manager Embodies develop-defined data processing routines (e.g., event detection, data

cleaning, etc.) Interact with the sensor and actuator managers to Instantiate more complex sensing

and actuation

Page 10: Network Computing Laboratory Sentire: A Framework for Building Middleware for Sensor and Actuator Networks Joel W. Branch*, John Davis, Daby Sow, and Chatschik

Network Computing Laboratory | 10

Korea Advanced Institute of Science and Technology

The Sentire approachMessages

Sentire queries Interaction with external user application Header: Query’s ID, Priority, Data type, QoI requirement, and Query type

(e.g., single query, subscription, event notification) Sentire messages

“Publish-subscribe” used for inter-manager communication Structure for inter-manager communication Header: Priority, timestamp, sending manager

Data messages Response to queries Header: Corresponding query ID, Data type

Customizable XML payload structures Promotes flexible message attributes and data payloads Extensible inter-component interaction Simple “plug-in” environment

Page 11: Network Computing Laboratory Sentire: A Framework for Building Middleware for Sensor and Actuator Networks Joel W. Branch*, John Davis, Daby Sow, and Chatschik

Network Computing Laboratory | 11

Korea Advanced Institute of Science and Technology

SANET

Sentire demonstrationCollaborative sensing

Demonstration Scenario

Motion SensorActuator

Sentire middleware

If (car exist & head light is on) then turn on a streetlamp

Light Sensor

Oh, it’s too dark!!

Is there any light?

Sensingresponse instruction

Page 12: Network Computing Laboratory Sentire: A Framework for Building Middleware for Sensor and Actuator Networks Joel W. Branch*, John Davis, Daby Sow, and Chatschik

Network Computing Laboratory | 12

Korea Advanced Institute of Science and Technology

Sentire demonstrationCollaborative sensing

Implemented using Sentire and LEGO® MindstormsTM hardware [LEGO]

The motion detector monitors for vehicle movement in 2 zones

Upon detected movement in a zone, re-bind to the zone’s respective light sensor

If light is detected, the zone’s respective LED powers on.

Zone 1

Zone 2

SANETmiddleware

SANETgateway

Low-energymotion detector

High-energylight sensor

Target

RCXbrick

Legacynetwork

LED

Page 13: Network Computing Laboratory Sentire: A Framework for Building Middleware for Sensor and Actuator Networks Joel W. Branch*, John Davis, Daby Sow, and Chatschik

Network Computing Laboratory | 13

Korea Advanced Institute of Science and Technology

Sentire demonstrationCollaborative sensing

Sentire operation details

Interface manager Registry event notification

Sensor manager Decompose request Check permission

Data manager Receive and verify events Route events to sensor and

actuator manager Resource manager

Check battery charge Suppress instruction

Zone 1

Zone 2

SANETmiddleware

SANETgateway

Low-energymotion detector

High-energylight sensor

Target

RCXbrick

Legacynetwork

LED

Interface manager

Query results,Admit/reject decisions

Sensor dataQueries, Device instructions

Sensor manager

Resource manager

Resource data

Admit/rejectdecisions

Data manager Actuator manager

Query results

Queries,Device instructions

Sentireframework

Queries

Sensor and actuator network(s)

Sensor and actuator network(s)

SANET application(s)

Deviceinstructions

Device instr.

Queries

Page 14: Network Computing Laboratory Sentire: A Framework for Building Middleware for Sensor and Actuator Networks Joel W. Branch*, John Davis, Daby Sow, and Chatschik

Network Computing Laboratory | 14

Korea Advanced Institute of Science and Technology

ConclusionResearch progress

Current progress Middleware methodology for facilitating applications’

interaction with integrated sense-and-respond system

Research timelinePerSeNS 2005

Future work Extend methodology for “closed-loop” sensor-

actuator interaction Distribute Sentire functionality

Coordinate multiple edge-servers, etc. Distribute framework to the device level

Page 15: Network Computing Laboratory Sentire: A Framework for Building Middleware for Sensor and Actuator Networks Joel W. Branch*, John Davis, Daby Sow, and Chatschik

Network Computing Laboratory | 15

Korea Advanced Institute of Science and Technology

Critique

Strong point Framework for developing middleware for SANET Integrate heterogeneous SANET Lesson of Sentire comparing to SCANET

Thinking of core part Fast development Simple and Practical experiment

Weak point Dim management classification

Ambiguous role distribution between manager Anyway, we must develop a “specific” middleware for each system

using sentire Sentire just help a development of middleware

Page 16: Network Computing Laboratory Sentire: A Framework for Building Middleware for Sensor and Actuator Networks Joel W. Branch*, John Davis, Daby Sow, and Chatschik

Network Computing Laboratory | 16

Korea Advanced Institute of Science and Technology

New idea

Modify message to remove ambiguous role Missing part of global query

handler Developer concentrate on data

manager develop-defined data processing

routines Query handling routines

Other manager can be shared

Interface manager

Query results,Admit/reject decisions

Sensor dataQueries, Device instructions

Sensor manager

Resource manager

Resource data

Admit/rejectdecisions

Data manager Actuator manager

Query results

Queries,Device instructions

Sentireframework

Sensor and actuator network(s )

Sensor and actuator network(s )

SANET application(s)

Device instr.

Queries

QueriesDeviceinstructions

Page 17: Network Computing Laboratory Sentire: A Framework for Building Middleware for Sensor and Actuator Networks Joel W. Branch*, John Davis, Daby Sow, and Chatschik

Network Computing Laboratory | 17

Korea Advanced Institute of Science and Technology

New idea

Merging Sentire with MASDAQ

Interface manager

Query results,Admit/reject decisions

Sensor dataQueries, Device instructions

Sensor manager

Resource manager

Resource data

Admit/rejectdecisions

Data manager Actuator manager

Query results

Queries,Device instructions

Sentireframework

Sensor and actuator network(s )

Sensor and actuator network(s )

SANET application(s)

Device instr.

Queries

QueriesDeviceinstructions

Application

Sensors

PSC: Probabilistic Sample Collector

QSO: QoI-aware Sampling Optimizer

Page 18: Network Computing Laboratory Sentire: A Framework for Building Middleware for Sensor and Actuator Networks Joel W. Branch*, John Davis, Daby Sow, and Chatschik

Network Computing Laboratory | 18

Korea Advanced Institute of Science and Technology

Backup slides

Page 19: Network Computing Laboratory Sentire: A Framework for Building Middleware for Sensor and Actuator Networks Joel W. Branch*, John Davis, Daby Sow, and Chatschik

Network Computing Laboratory | 19

Korea Advanced Institute of Science and Technology

Signal landscape

SANET

The Sentire approachFramework

Sentire middleware

Application 1

Priority=1, Data_type=Movement, Query_Type=1_time

Location=North_walkway, Object=people, Metric=Quantity, Quality=low

Query_ID=1_1234, Priority=1, Data_type=Audio, Query_Type=1_time

Location=N_h, Object=P, Metric=Quantity, Sensors=1,3

From sensor manager

SANET