Code In The Air Simplifying Tasking on Smartphones

  • Slides: 1
Download presentation
Code In The Air: Simplifying Tasking on Smartphones Tasking Applications Users/Developers Run continuously, determine

Code In The Air: Simplifying Tasking on Smartphones Tasking Applications Users/Developers Run continuously, determine user context/activity and trigger actions Often involves coordination between multiple users and devices Disable Wi-Fi when I am outdoors and moving When I am driving, track and store movement tracks Send me a text message whenever my spouse leaves work Notify me when my friend is nearby Remind to fax document when I come to office Make my phone silent when I am in the lab and I am meeting my advisor Architecture Tasking Framework UI CITA Server CITA Client Scripting Split-Task Execution CITA Client Task Compiler Code In The Air (CITA) - Rapid development of tasking applications - Activity detection as primitives - CITA helps two groups of people Developers - Write only server side scripts even for tasks involving * multiple users and devices * a variety of sensors/activities * and the server. - Written in Java. Script Reduces coding and deploying effort by 100 x End-Users - State Condition/Action rules in UI - “Mix and match” activities and tasks Activity Layer - Several inbuilt activity primitives In. Location, Is. Walking, Is. Driving, Is. Moving, Is. Biking, Enter. Place, Leave. Place, Is. Outdoor, … Task Runtime Activity Layer Sub task Server Task Runtime Activity Layer Sensors - Trivial for end-users to state but non-trivial to develop - Simplementation can be energy-consuming Web Tasks (Java. Script) Task Coordination Users/Developers Push Service Push Client Phone Demo - Multi-device application Tiffany would like to be alerted when Hari is nearby. - Energy efficient execution of primitive and complex activities Tasking Framework - Server side scripting - Program devices as objects - Automatic code partitioning, execution and coordination across multiple devices - Single-device application Disable Wi-Fi when the battery is low and I am not using it.