Sentio: Distributed Sensor Virtualization for Mobile Apps

Slides:



Advertisements
Similar presentations
Vassal: Loadable Scheduler Support for Multi-Policy Scheduling George M. Candea, Oracle Corporation Michael B. Jones, Microsoft Research.
Advertisements

V-1 Part V: Collaborative Signal Processing Akbar Sayeed.
Programming Languages for End-User Personalization of Cyber-Physical Systems Presented by, Swathi Krishna Kilari.
By : Versha Thakur Shravani Aishwarya
1 Cheriton School of Computer Science 2 Department of Computer Science RemusDB: Transparent High Availability for Database Systems Umar Farooq Minhas 1,
Introduction to BlackBerry Push API Pratik Sapra, Mobile Application Development Specialist.
Notes to the presenter. I would like to thank Jim Waldo, Jon Bostrom, and Dennis Govoni. They helped me put this presentation together for the field.
Network and Systems Laboratory nslab.ee.ntu.edu.tw Kaisen Lin, Aman Kansal, Dimitrios Lymberopoulos, and Feng Zhao Archiang.
Improving Energy Efficiency of Location Sensing on Smartphones Kyu-Han Kim and Jatinder Pal Singh Deutsche Telekom Inc. R&D Lab USA Zhenyun Zhuang Georgia.
Android An open handset alliance project Janice Garcia September 18, 2008 MIS 304.
Timecard: Controlling User-Perceived Delays in Server-Based Mobile Applications Lenin Ravindranath, Jitu Padhye, Ratul Mahajan, Hari Balakrishnan.
ThinkAir: Dynamic Resource Allocation and Parallel Execution in Cloud for Mobile Code Offloading Sokol Kosta, Pan Hui Deutsche Telekom Labs, Berlin, Germany.
Scalable Server Load Balancing Inside Data Centers Dana Butnariu Princeton University Computer Science Department July – September 2010 Joint work with.
A Virtual Cloud Computing Provider for Mobile Devices Gonzalo Huerta-Canepa Dongman Lee.
P2P Systems Meet Mobile Computing A Community-Oriented Software Infrastructure for Mobile Social Applications Cristian Borcea *, Adriana Iamnitchi + *
Portable and Predictable Performance on Heterogeneous Embedded Manycores (ARTEMIS ) ARTEMIS Project Review 28 nd October 2014 Multimedia Demonstrator.
The NASA Smart Watch.
An approach to Intelligent Information Fusion in Sensor Saturated Urban Environments Charalampos Doulaverakis Centre for Research and Technology Hellas.
Monitoring Latency Sensitive Enterprise Applications on the Cloud Shankar Narayanan Ashiwan Sivakumar.
A service-oriented middleware for building context-aware services Center for E-Business Technology Seoul National University Seoul, Korea Tao Gu, Hung.
Timecard: Controlling User-Perceived Delays in Server-Based Mobile Applications Lenin Ravindranath, Jitu Padhye, Ratul Mahajan, Hari Balakrishnan.
07/09/04 Johan Muskens ( TU/e Computer Science, System Architecture and Networking.
The Second Life of a Sensor: Integrating Real-World Experience in Virtual Worlds using Mobile Phones Mirco Musolesi, Emiliano Miluzzo, Nicholas D. Lane,
Distribution and components. 2 What is the problem? Enterprise computing is Large scale & complex: It supports large scale and complex organisations Spanning.
Design Patterns -- Omkar. Introduction  When do we use design patterns  Uses of design patterns  Classification of design patterns  Creational design.
An Architecture to Support Context-Aware Applications
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 13. Review Shared Data Software Architectures – Black board Style architecture.
1 Supporting Dynamic Migration in Tightly Coupled Grid Applications Liang Chen Qian Zhu Gagan Agrawal Computer Science & Engineering The Ohio State University.
1.Research Motivation 2.Existing Techniques 3.Proposed Technique 4.Limitations 5.Conclusion.
Providing User Context for Mobile and Social Networking Applications A. C. Santos et al., Pervasive and Mobile Computing, vol. 6, no. 1, pp , 2010.
Internet of Things. IoT Novel paradigm – Rapidly gaining ground in the wireless scenario Basic idea – Pervasive presence around us a variety of things.
The Open Bluetooth Networking Game Development Platform Final Year Project Demonstration Carol & Marcus.
Data-Centric Systems Lab. A Virtual Cloud Computing Provider for Mobile Devices Gonzalo Huerta-Canepa presenter 김영진.
Wireless Mesh Networking or Peer to Peer Technology Andre Lukito – Johnsonsu – Wednesday, 9.
C ONTEXT AWARE SMART PHONE YOGITHA N. & PREETHI G.D. 6 th SEM, B.E.(C.S.E) SIDDAGANGA INSTITUTE OF TECHNOLOGY TUMKUR
Anne-Marie Sassen, Directorate General for Communication Networks, Content and Technology Factories of the Future Horizon.
Software-Defined Architecture for Mobile Clouds in Device-to-Device Communication Muhammad Usman; Anteneh A. Gebremariam; Fabrizio Granelli; Dzmitry Kliazovich.
SOURCE:2014 IEEE 17TH INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE AND ENGINEERING AUTHER: MINGLIU LIU, DESHI LI, HAILI MAO SPEAKER: JIAN-MING HONG.
Introduction to Mobile-Cloud Computing. What is Mobile Cloud Computing? an infrastructure where both the data storage and processing happen outside of.
Dynamic Mobile Cloud Computing: Ad Hoc and Opportunistic Job Sharing.
Google. Android What is Android ? -Android is Linux Based OS -Designed for use on cell phones, e-readers, tablet PCs. -Android provides easy access to.
Introduction to Operating Systems Concepts
Introduction to threads
Authors: Manoop Talasila, Reza Curtmola, and Cristian Borcea
2nd GEO Data Providers workshop (20-21 April 2017, Florence, Italy)
Smart World: A Better World
Walk n’ Play Project Group-8 Sivarama Krishna Polamraju
Supporting Mobile Collaboration with Service-Oriented Mobile Units
Harini Kolamunna Yining Hu Diego Perino Kanchana Thilakarathna
Information Collection and Presentation Enriched by Remote Sensor Data
Mobile Operating System
World-Leading Research with Real-World Impact!
Distribution and components
Collaborative Offloading for Distributed Mobile-Cloud Apps
Bluetooth Based Smart Sensor Network
Mobile-Controlled Lighting
Sri Naga Jahnavi Yeddanapudy
Cooperative System for Free Parking Assignment
PredictRemainingTime
On-The-Fly Curbside Parking Assignment
Chapter 40 Remote Method Invocation
WIS Strategy – WIS 2.0 Submitted by: Matteo Dell’Acqua(CBS) (Doc 5b)
Outline Announcements Lab2 Distributed File Systems 1/17/2019 COP5611.
Cloud Computing Architecture
Chapter 46 Remote Method Invocation
Network Slicing (and related) Features in 3GPP
Chapter 46 Remote Method Invocation
Sensor Networks – Motes, Smart Spaces, and Beyond
Outline Review of Quiz #1 Distributed File Systems 4/20/2019 COP5611.
Presentation transcript:

Sentio: Distributed Sensor Virtualization for Mobile Apps Hillol Debnath, Narain Gehani, Xiaoning Ding, Reza Curtmola, Cristian Borcea Department of Computer Science New Jersey Institute of Technology

Goal: Mobile Apps Access Distributed Sensors Seamlessly Mobile apps running on a device may need to Access sensors on other devices in real-time (e.g., mobile health, mobile gaming) Sensor fusion Cross-validation of data Choosing “best” sensor when several sensors of same type are available Access sensors from cloud when app components are offloaded Existing mobile sensing frameworks do not provide these features Difficult for apps to leverage the collective power of sensors on other devices Limited benefits from offloading context-aware apps that need sensor access

Sentio: High-Level View Distributed middleware that presents mobile apps with a personal virtual sensor system (PVSS) PVSS comprises of all available sensors from all devices (mobiles and IoT) belonging to the user running the app Public sensors belonging to other entities can become part of PVSS

Sentio: Features Common API for apps no matter where they run Offers support for creating individual and composite virtual sensors Provides access to virtual sensors in the same way with access to local sensors Allows programmers to specify a sensing mode, and then map the virtual sensor to the most suitable physical sensor for that mode Modes: accuracy, real-time, energy efficiency Middleware hides low-level communication and sensor management Supports real-time access to remote sensor data Maintains seamless connectivity to the physical sensor even after offloading app components to the cloud Adapts to context changes by re-mapping a virtual sensor to a more suitable physical sensor Does not require modifications to operating system

Comparison with Related Work

Outline Introduction Programming with Sentio’s API Middleware Design Prototype Implementation Experimental Evaluation Conclusion

Programming with Sentio’s API API follows an event-driven and callback-based asynchronous design For each API function, the app needs to provide a callback function An API call sends a request and returns immediately The middleware handles the request and returns the sensing data to the app by invoking the callback function Implementing a sensor listener callback

Building a Composite Sensor Composite sensor for climbing combines readings from: Most accurate Heart Rate Monitor and Barometric pressure sensor in PVSS Most energy-efficient Step Counter sensor in PVSS A custom fuse action is implemented by the programmer Warn mountain climbers when they should rest or drink more water at high altitude

Middleware Architecture Distributed middleware: instances run on every participating device Manages sensor registration, data collection, sensor mapping Instance in the cloud maintains global registry and sensor state Ad hoc networking is used for failover: primary device (smart phone) periodically synchronizes with the cloud instance to be able to take over in case of failures

Middleware Design

Design Details Sensor discovery is done during initialization Each instance builds local registry Cloud instance maintains global registry If app does not specify a sensing mode, Sentio makes the selection by balancing accuracy, latency, and power To reduce jitter, rate controller buffers data points arriving early and uses extrapolation to project data points that arrive late If context changes (e.g., low battery) in sensing provider device Instance in provider raises an alert event Instance in consumer device re-maps virtual sensor to another suitable sensor

Prototype and Apps Implemented for Android and Android Wear OS 3,127 LoC for the SDK 3,726 LoC for the Android middleware 561 additional LoC for the Android Wear middleware Implemented two proof-of-concept apps (SentioApp and SentioFit) Modified two open source games (Space Shooting and Tilt Control) to use Sentio API Only 6 LoC needed to be modified to use remote accelerometer on smart phone or smart watch Tested using Nexus 6, Nexus 5X, Moto X smart phones and Samsung Gear Live smart watch Bluetooth and WiFi used for data communication Android x86 64-bit VM is used as the cloud entity

Sentio Overhead Physical sensor on a phone Physical sensor on a watch Measured the difference between the observed sensor sampling period for virtual and physical accelerometer for Space Shooting game Metric quantifies Sentio’s overhead Communication is done over WiFi The results show minimal overhead

Sentio Overhead for Offloaded Computation Measured observed sampling period when Tilt Control game is offloaded to the cloud Accessing sensors from cloud works well The difference in sampling periods is negligible for all sampling rates, except Fastest The difference for Fastest is 5.32ms, which is acceptable in most practical situations

Jitter Virtual accelerometer is mapped to another phone Without data rate controller With data rate controller Virtual accelerometer is mapped to another phone Data rate controller reduces the jitter significantly

Cost of Re-mapping Virtual Sensor Virtual magnetic field sensor re-mapped from smart watch to smart phone The increase only affects the immediately next data point after switching For all practical purposes, skipping one data point is acceptable Data rate controller could smoothen this problem Context prediction can enable proactive switching

Conclusion Sentio provides a unified view of a personal sensing ecosystem Sentio enables new, distributed, efficient, context-aware mobile apps Apps can use Sentio API to Access virtual sensors in real-time Access the ‘best’ sensor of a particular type Build composite virtual sensors Sentio middleware Transparently re-maps virtual to physical sensors during context changes Provides seamless sensor connectivity for offloaded code Built prototype in Android and demonstrated low overhead and low latency for apps with tight real-time constraints

Thanks! http://cs.njit.edu/~borcea/avatar Acknowledgment: NSF Grants No. CNS 1409523, CNS 1054754, DGE 1565478, and SHF 1617749; DARPA/AFRL Contract No. A8650-15-C-7521