Top Banner
Code In The Air
9

Code In The Air

Feb 23, 2016

Download

Documents

Chloe

Code In The Air. Code In The Air. s = gps.getSpeed(); d = gps.getDirection(); send(5sec, s + d );. Phones execute code based on location. Code In The Air. s = gps.getSpeed(); d = gps.getDirection(); send(5sec, s + d);. s = gps.getSpeed(); d = gps.getDirection(); send(30sec , s + d);. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Code In The Air

Code In The Air

Page 2: Code In The Air

Code In The Air

s = gps.getSpeed();d = gps.getDirection();send(5sec, s + d);

Phones execute code based on location

Page 3: Code In The Air

Code In The Air

s = gps.getSpeed();d = gps.getDirection();send(5sec, s + d);

s = gps.getSpeed();d = gps.getDirection();send(10sec, s + d);

s = gps.getSpeed();d = gps.getDirection();send(30sec, s + d);

s = gps.getSpeed();d = gps.getDirection();send(5sec, s + d);

s = gps.getSpeed();d = gps.getDirection();send(30sec, s + d);

s = gps.getSpeed();d = gps.getDirection();send(5sec, s + d);

s = gps.getSpeed();d = gps.getDirection();send(10sec, s + d);

s = gps.getSpeed();d = gps.getDirection();send(5sec, s + d);

Remotely program through a web service

Page 4: Code In The Air

ApplicationsCrowd sourcing

Page 5: Code In The Air

Applications

phone.setVibrate();alert(“send taxes”);tweet(“reached office”);

Crowd sourcingLocation based

Page 6: Code In The Air

Applications

“this restaurant sucks”

Crowd sourcingLocation basedSocial/Collaborative

Page 7: Code In The Air

ApplicationsCrowd sourcingLocation basedSocial/CollaborativeDeveloper Platform

Page 8: Code In The Air

Research Challenges• Can we reduce the coding effort by 100x?

l = getLocation();s = getSpeed();r = roadSegment(l);sum[r] = sum[r] + s; count[r] = count[r] + 1avgSpeed[r] = sum[r] / count[r];

• Developer writes simple server side code – Algorithms automatically partition code to run on phones

• How do we scale to thousands of phones?

• Security, Privacy and Incentives

l = gps.getLocation();s = gps.getSpeed();send(l, s);

Page 9: Code In The Air

Contact

• Professors– Hari Balakrishnan ([email protected])– Sam Madden ([email protected])

• Grad students– Lenin Ravindranath ([email protected])– Arvind Thiagarajan ([email protected])