Mobile Apps: It’s Time to Move Up to ConDOS
ConDOS: the Context Dataflow OS
david chu aman kansal jie liu feng zhao microsoft research redmond microsoft research asia
to ConDOS ConDOS: the Context Dataflow OS david chu aman kansal - - PowerPoint PPT Presentation
Mobile Apps: Its Time to Move Up to ConDOS ConDOS: the Context Dataflow OS david chu aman kansal jie liu feng zhao microsoft research redmond microsoft research asia APPS How Might New Apps Use New Sensors? camera
ConDOS: the Context Dataflow OS
david chu aman kansal jie liu feng zhao microsoft research redmond microsoft research asia
camera (x2) accelerometers microphone microphone (x2) camera gyroscopes magnetometer thermometer health sensors GPS barometer light sensors NFC
infrared camera
› “Don’t slouch while sitting.” › “You’ve been at your desk for too long.” › “Take the stairs instead of the elevator.”
› motion from IMU + sound from mic → various fitness activities › do this continuously
› key pieces are ready
› sensor hardware › application scenarios › algorithms (high accuracy inference, signal processing, db, etc.)
› where is the context? › who is responsible for context?
› individual apps
› … but mobile OSs limit apps to foreground › … or apps can run anything in the background(!)
› the cloud
› … but energy cost of TX/RX is high
› the mobile OS
Interruptible
yes, no
Logical Location
home, office, mall
Motion State
sitting, walking, running
Motion State
sitting, walking, running
Interruptible
yes, no
Logical Location
home, office, mall
Scheduling Security I/O Memory Management Energy Management Apps Apps Apps
Hardware Abstraction Layer Kernel Services
I/O Memory Management Context Preload Action in the office Email, Calendar at a party Twitter, Facebook
Security Energy Management
Scheduling Security I/O Memory Management Energy Management Apps Apps Apps
Hardware Abstraction Layer Kernel Services
› … vs. per sensor type access control
› … vs. no comprehension of what is being shared
Motion Features Motion State
sitting, walking, running
Audio Audio Features Interruptible
yes, no
CDU2 CDU3 IMU
accel, gyro, mag
Silence Filter Logical Location
home, office, mall
CDU1 Geolocation
GPS, Cell, WiFi
Location DB app A
app G
app Z User space Kernel space
…
Context Data Generators
Scheduling Security I/O Memory Management Energy Management
Audio IMU
accel, gyro, mag
Geolocation
GPS, Cell, WiFi
app A
app G
app Z User space Kernel space
…
traditional OS services
Scheduling Security I/O Memory Management Energy Management
¢filter ¢filter ¢filter strong isolation control iface resource multiplex function [engler ’95]
LittleRock
Cached Value
Motion Features Audio Audio Features Interruptible
yes, no
IMU
accel, gyro, mag
Silence Filter Motion State
sitting, walking, running
1. 3. 2. 4. 3.