Servilla: Service Provisioning in Wireless Sensor Networks. Chenyang Lu

Similar documents
Internet of Things Wireless Sensor Networks. Chenyang Lu

Real- Time Wireless Control Networks for Cyber- Physical Systems

CSE 520S Real-Time Systems

Real-Time Wireless Control Networks for Cyber-Physical Systems

Adaptive QoS Control for Real-Time Systems

Philips Lifeline. Ø Chenyang Lu 1

Final Review. Chenyang Lu. CSE 467S Embedded Compu5ng Systems

Real-Time CORBA. Chenyang Lu CSE 520S

Fall Detection for Older Adults with Wearables. Chenyang Lu

CS 5523 Operating Systems: Intro to Distributed Systems

CS 5523: Operating Systems

Case 2:18-cv JRG Document 1 Filed 08/01/18 Page 1 of 26 PageID #: 1

New features in Oracle 11g for PL/SQL code tuning.

Cadac SoundGrid I/O. User Guide

Critiques. Ø Critique #1

SMS based Voting System

TinyOS and nesc. Ø TinyOS: OS for wireless sensor networks. Ø nesc: programming language for TinyOS.

Processes. Criteria for Comparing Scheduling Algorithms

Cloud Tutorial: AWS IoT. TA for class CSE 521S, Fall, Jan/18/2018 Haoran Li

COMP 635: WIRELESS & MOBILE COMMUNICATIONS COURSE INTRODUCTION. Jasleen Kaur. Fall 2017

Lecture 8: Verification and Validation

Batch binary Edwards. D. J. Bernstein University of Illinois at Chicago NSF ITR

Choosing the Right Monitor for Your Application

4th International Industrial Supercomputing Workshop Supercomputing for industry and SMEs in the Netherlands

Performance & Energy

IBM Cognos Open Mic Cognos Analytics 11 Part nd June, IBM Corporation

Verity Touch with Controller

HPCG on Tianhe2. Yutong Lu 1,Chao Yang 2, Yunfei Du 1

Last Time. Bit banged SPI I2C LIN Ethernet. u Embedded networks. Ø Characteristics Ø Requirements Ø Simple embedded LANs

Secure Electronic Voting

CS 2461: Computer Architecture I

CONCRETE: A benchmarking framework to CONtrol and Classify REpeatable Testbed Experiments

CS 5523 Operating Systems: Synchronization in Distributed Systems

ABC and Integrated Border management

Hoboken Public Schools. Project Lead The Way Curriculum Grade 8

TELECOMMUNICATIONS ORDINANCE (Chapter 106) WIRELESS INTERNET OF THINGS LICENCE. [Company Name]... [Address]

File Systems: Fundamentals

Department of Industrial Engineering: Research Groups

Kjell-Einar Anderssen. Country Manager Norway - Nutanix

Ø Project Description. Ø Design Criteria. Ø Design Overview. Ø Design Components. Ø Schedule. Ø Testing Criteria. Background Design Implementation

This tutorial also provides a glimpse of various security issues related to biometric systems, and the comparison of various biometric systems.

Digital research data in the Sigma2 prospective

Case Study. MegaMatcher Accelerator

TELECOMMUNICATIONS ORDINANCE (Chapter 106) SERVICES-BASED OPERATOR LICENCE. [Name of Licensee]...

Cyber-Physical Systems Scheduling

Key Considerations for Implementing Bodies and Oversight Actors

Installation Instructions HM2085-PLM Strain Gage Input Module

Design and Analysis of College s CPC-Building. System Based on.net Platform

Operating Systems. Chenyang Lu

Google App Engine 8/10/17. CS Cloud Compu5ng Systems--Summer II 2017

A 209 SRO Telecommunications (Terminal Equipment and Public Network) Regulations

THE PRIMITIVES OF LEGAL PROTECTION AGAINST DATA TOTALITARIANISMS

LPGPU. Low- Power Parallel Compu1ng on GPUs. Ben Juurlink. Technische Universität Berlin. EPoPPEA workshop

Review: SoBware Development

Strengthen Stewardship With Electronic Giving

IEEE COMMUNICATIONS SOCIETY CONSTITUTION (IEEE Approval: July 2015) (ComSoc Membership Approval: October 2015)

M-Vote (Online Voting System)

Objec&ves. Usability Project Discussion. May 9, 2016 Sprenkle - CSCI335 1

Civil Justice Improvements (CJI) Committee. Update #2

SECURE REMOTE VOTER REGISTRATION

Contributary Platform User Terms of Service

Utilizing Siebel Clinical CTMS, RDC OnSite and AERS in the greater APAC region with multibyte charactersets

OPEN SOURCE CRYPTOCURRENCY E-PUB

WCN3620 Device Revision Guide

(a) A person under 18 years of age may not operate a motor vehicle while using a wireless communication [communications] device, except in case of

Concurrent Programing: Why you should care, deeply. Don Porter Portions courtesy Emmett Witchel

Kosovo Passport Europe s first Passport with certified SAC. Labinot Carreti, Head of Sales Europe / CIS / North Africa Montreal, 07th of October 2014

Graduate Development Program Engineering. Arrow Electronics July 2018

IMPLEMENTATION OF SECURE PLATFORM FOR E- VOTING SYSTEM

Awodele, 0.,1 Ajayi, 0.B.,2 and Ajayi, LA. 3

Singapore's Automated Clearance using Biometrics

9/15/14. Ø Discuss the concepts of population health and panel management. Ø Describe the recent (ongoing) transformation of healthcare

Care Management v2012 Enhancements. Lois Gillette Vice President, Care Management

Information and Guidelines Concerning the Patent and Copyright Process at East Tennessee State University

UNITED STATES PATENT AND TRADEMARK OFFICE BEFORE THE PATENT TRIAL AND APPEAL BOARD. UNITED PATENTS, INC., Petitioner, REALTIME DATA LLC, Patent Owner.

There s a Cloud in My Enterprise

UNITED STATES DISTRICT COURT

Cyber-Physical Systems Feedback Control

DRAFT RECOMMENDATION ON THE PROMOTION AND USE OF MULTILINGUALISM AND UNIVERSAL ACCESS TO CYBERSPACE OUTLINE

SUBSTANTIVE RESOLUTIONS PASSED BY THE NATIONAL ASSOCIATION OF REGULATORY UTILITY COMMISSIONERS COMMITTEE OF THE WHOLE

Learning Systems. Research at the Intersection of Machine Learning & Data Systems. Joseph E. Gonzalez

AFRICAN DECLARATION. on Internet Rights and Freedoms. africaninternetrights.org

SIGAR SEPTEMBER. Special Inspector General for Afghanistan Reconstruction. SIGAR Audit SIGAR Audit 13-17/Health Services in Afghanistan

Overview. Ø Neural Networks are considered black-box models Ø They are complex and do not provide much insight into variable relationships

DACS Website Licence Terms and Conditions November 2014

INDEX OF REGULATORY PROCEEDINGS OF INTEREST

BIOMETRICS - WHY NOW?

ADAMS ISP SERVICES AGREEMENT and NETWORK MANAGEMENT POLICY

Economic and Social Council

Implications for the future direction of the OLS NLS option:

CONTINUATION NOTICE TO BRITISH TELCOMMUNICATIONS PLC UNDER PARAGRAPH 9 OF SCHEDULE 18 TO THE COMMUNICATIONS ACT 2003

Estonian National Electoral Committee. E-Voting System. General Overview

IoT On National Sovereignty. Professor Dr Abdullah Gani Dean Faculty of Computer Science & Information Technology University of Malaya

ETSI Industry Specification Group Agreement relating to ISG IP6 (IPv6 integration)

Leading, Coordinating & Delivering for Refugees & Persons of Concern. Inclusivity Predictability Continuity

ORDINANCE NUMBER 1082

The U.S. Integrated Ocean Observing System (IOOS)

The Personal. The Media Insight Project

DIVISION E--INFORMATION TECHNOLOGY MANAGEMENT REFORM

Telecommunications (Interception Capability and Security) Bill

Transcription:

Servilla: Provisioning in Wireless Sensor Networks Chenyang Lu

Sensor Network Challenges Ø Device heterogeneity Ø Network dynamics q due to mobility and interference Ø Limited resources and energy Signal Strength (dbm) q e.g., memory Time Source: Hackmann, G., Chipara, O., and Lu, C., Robust Topology Control for Indoor Wireless Sensor Networks, SenSys 08. Device: Imote2 CPU: 32-bit 416MHz RAM: 32MB Power: 151mW Device: TelosB CPU: 16-bit 8MHz RAM: 10KB RAM Power: 0.33mW 2

Structural Health Monitoring Ø >26% of bridges were structurally deficient in 2009 [ASCE] Ø Locates damage by analyzing a structure s natural frequencies. Ø Evaluated on a 5.6m steel truss using 11 Imote2s q Imote2 necessary due to high computational complexity. q It worked! [RTSS 2008] Ø Problem: Imote2 is power-hungry Ø Solution: Use middleware to exploit device heterogeneity by integrating energy-efficient nodes 3

Pa7ent Monitoring Ø 4-17% of hospitalized patients suffer clinical deterioration. q Wireless clinical monitoring system collect patients vital signs. q Difficult due to patient mobility. Ø Dynamic Relay Association Protocol (DRAP) [SenSys 2010] q Automatically adapts to dynamic network topology q Real-time monitoring of mobile patients Ø Implemented and underwent clinical trials at Barnes-Jewish Hospital in St. Louis. Ø Problem: Application-specific Ø Solution: Provide adaptation via middleware 4

Servilla Ø An adaptive middleware for heterogeneous WSNs Ø Introduces -Oriented Computing into WSNs Ø Features q Multiple forms of service invocation q Energy-aware service binding q invocation sharing q Adaptive binding q Middleware asymmetry Network Dynamics Limited Resources Device Heterogeneity 5

Servilla s Programming Model Application Scripts (Platform-Independent & Interpreted) Device Heterogeneity script script script script Medical Patient Monitoring Building Automation Security Structural Health Monitoring Dynamic discovery and binding using SOC Patient Sensors Occupancy Sensor Door/Window Sensor s (Platform-Specific & Native) HVAC Actuators Energy Meter Vibration Sensor DSP Limited Resources Network Dynamics 6

- Oriented Compu7ng (SOC) User Application Invoke Specification User Application User Application Dynamic Discovery, Matching, and Binding 7

Evolu7on of SOC in WSNs Web Application Web Application User Application Registry Registry Atlas (King 06), TinySOA (Lopez 07), PhyNet (ArchRock 08), TinyWebs (Pryantha 08) Enables In-Network Processing Servilla (Fok 09) 8

Mul7ple Forms of Invoca7on On-Demand Periodic 1 4 These three types of service invocations are 2 commonly used in WSN applications. 3 Selecting a suitable type of invocation can significantly increase energy efficiency. Event-Based 9

Energy- aware Binding Ø Selectively bind to the most efficient service provider q Possible due to device heterogeneity Ø Requires additional information about energy efficiency q sends 8 attributes to consumer during discovery q calculates and selects the most efficient provider Ac7on / State TelosB Imote2 Idle (Sensor Off) 0.45 109.7 Idle (Sensor On) - - 204.83 Sensing 102.9 241.83 Message Tx 51.82 184 Message Rx 57.52 192.91 Power (mw) Ac7on / State TelosB Imote2 Sensing 18.49 2.61 Message Tx 725 506 Message Rx 6.17 14.07 Latency (ms) 10

Invoca7on Sharing Ø can optimize for energy efficiency by grouping multiple service invocations into one Ø Reflected in the provider s energy specification sent to the consumer q Process is opportunistic, automatic and hidden from consumer 11

Adap7ve Binding Ø Middleware performs adaptive binding transparently from the application Flush service registry and re-discover services after three consecutive failures Registry switch 12

Lightweight Specifica7ons Ø Traditional specifications impose too much overhead q WSDLInterpreter (Vaughan 07) consumes 48KB memory Ø ServillaSpec: Interface for Accuracy Attributes for Flexibility NAME = fft METHOD = fft-real INPUT = {int dir, int numsamples, float[] data} OUTPUT = float[] ATTRIBUTE Version = 5.0 Attribute MaxSamples = 5000 Attribute Power = 10 Implementation using TinyOS 2.x consumes only 1.4KB memory 13

Rapid Matching Ø 10s of milliseconds to establish service match q Proportional to specification size 14

Simple Interface Ø Applications access services using a single line of code q Hides the complexities of service discovery, binding, execution, and adaptation 1. uses AccelTrigger; // declare required service 2. 3. void main() { 4. int flag = 0; 5. while(flag == 0) { 6. flag = invoke(acceltrigger, check ); // invoke service 7. } 8. // send alert 9. } All complexity due to service discovery, network heterogeneity, network dynamics, and energy efficiency hidden 15

Middleware Asymmetry Ø Increases the types of devices supported Ø Possible due to the decoupling of consumers and providers in the SOC programming model Ø Hidden from the application developer Servilla Servilla Provisioning Framework Virtual Machine CPU: 32-bit 416MHz Memory: 32MB RAM Power: 151mW Powerful platform Provisioning Framework CPU: 16-bit 8MHz RAM: 10KB RAM Power: 0.33mW Weak platform 16

Servilla s Implementa7on Ø On top of TinyOS 2.x Ø Tested on Imote2 and TelosB devices Scripts execute on VM to ensure platform independence Provisioning Framework (SPF) modularized to enable middleware asymmetry Servilla Middleware Architecture 17

Memory Footprint on TelosB Ø Nearly all of the memory on a TelosB is consumed by just the virtual machine! Ø TelosB can still participate as a service provider 46KB 5KB 48KB Limit 29KB Plenty of room for services 18

Structural Health Monitoring Ø Do not continuously run DLAC due to high energy costs Ø During idle periods use AccelTrigger q An energy efficient service q Periodically sense vibration to determine likelihood of damage q Only perform DLAC if potential damage exists Ø Energy-aware service binding q Should AccelTrigger be bound locally or remotely? TelosB TelosB Imote2 Local invocation Imote2 Remote invocation 19

Significant Energy Savings Possible % Energy Savings Remote vs. Local Invoca7on Ø Energy-aware service binding is critical due to significant differences in energy efficiency among providers Ø In the structural health monitoring application, energy consumption can be reduced by up to 98.9% 100 80 60 40 20 0 Periodic Invocation 1Hz Sensing Frequency 7Hz Sensing Frequency 14Hz Sensing Frequency 0 0.5 1 1.5 2 Invoca7on Period (minutes) 100 80 60 40 20 0 Event-based Invocation 1Hz Sensing Frequency 7Hz Sensing Frequency 14Hz Sensing Frequency 0 0.5 1 1.5 2 Invoca7on Period (minutes) 20

Energy Footprint (mj) Valida7on of Energy- Awareness Ø The consumer can determine the most efficient provider using the eight provider attributes 2000 1800 1600 1400 1200 1000 800 600 400 200 0 q 10% radio duty cycle, 1Hz invocation and sensing frequencies q Bind to remote service when number of service executions 4 Local InvocaUon Remote InvocaUon 0 2 4 6 8 10 Number of Execu7ons Local Invoke (Predicted) Remote Invoke (Predicted) Local Invoke (Actual) Remote Invoke (Actual) 21

Medical Pa7ent Monitoring Ø Servilla hides the complexities of adapting to network topology changes due to patient mobility Ø Using Servilla, the application implementation is trivial 1. uses Sensor, DataRelay; 2. 3. void main() { 4. while(true) { 5. int data = invoke(sensor, get ); 6. invoke(datarelay, send, data); 7. sleep(15); // sleep 15 seconds 8. } 9. } 22

Experimental Setup Ø WSN test bed containing 73 TelosB nodes deployed across two buildings at Washington University in St. Louis Ø Patient travels along 359m path at two speeds q Slow: 0.7m/s average q Fast: 1.6m/s average Ø Patient s node invokes data relay service every 15s 23

Successful Adapta7on Ø Adaptive service binding enables the application to achieve 100% successful delivery of patient data Ø Adaptation process hidden from the application developer q Abstracted by a simple invoke interface Invocation Success Rate Servilla CTP Non-adaptive native implementation Fast Walk 100% ± 0% 31.6% ± 7.6% Slow Walk 100% ± 0% 40.47% ± 11.2% 24

Conclusions Ø Middleware can simplify sensor network applications while enhancing software flexibility and network efficiency Ø Servilla supports service-oriented computing over sensors q Multiple forms of service invocation q Energy-aware service binding q invocation sharing q Adaptive binding q Middleware asymmetry Ø Efficacy demonstrated via real-world applications q Medical patient monitoring reliability despite mobility q Structural health monitoring energy savings due to network heterogeneity 25

References Ø C.-L. Fok, G.-C. Roman and C. Lu, Servilla: a Flexible Provisioning Middleware for Heterogeneous Sensor Networks, Science of Computer Programming, Special Issue on Best Papers of Coordination'09, 77(6): 663 684, June 2012. Ø C.-L. Fok, G.-C. Roman and C. Lu, Adaptive Provisioning for Enhanced Energy Efficiency and Flexibility in Wireless Sensor Networks, Science of Computer Programming, Special Issue on Best Papers of Coordination'10, accepted. 26