smartphone as a road sensor - university of british...

22
Smartphone as a Road Sensor Mark Shtern [email protected] York University Adaptive System Research Lab

Upload: others

Post on 28-Jul-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Smartphone as a Road Sensor - University of British …vleung/CVWS2012/Toronto/Presentations/...“Native Mobile App” •Advantages –Flexible development model/Enterprise Application

Smartphone as a Road Sensor

Mark Shtern [email protected]

York University Adaptive System Research Lab

Page 2: Smartphone as a Road Sensor - University of British …vleung/CVWS2012/Toronto/Presentations/...“Native Mobile App” •Advantages –Flexible development model/Enterprise Application

Negative Factors Impacting the

Driving Experience • Road conditions

• Traffic accidents

– Human factor -> 93%

• Traffic jams

• Parking

– Scarcity

– Locating

2

Page 3: Smartphone as a Road Sensor - University of British …vleung/CVWS2012/Toronto/Presentations/...“Native Mobile App” •Advantages –Flexible development model/Enterprise Application

Possible Avenues for Improvement

• Personalized notification

– Traffic conditions

– Road conditions

– Collision avoidance notification

• Intelligent route planners

• Traffic sensors

3

Page 4: Smartphone as a Road Sensor - University of British …vleung/CVWS2012/Toronto/Presentations/...“Native Mobile App” •Advantages –Flexible development model/Enterprise Application

Existing Sensors

• Road traffic monitoring

– Cameras, Traffic light, Vehicle Counter, Traffic Speed

• Weather conditions

• Social media

– (?) limited to information about highways

4

Page 5: Smartphone as a Road Sensor - University of British …vleung/CVWS2012/Toronto/Presentations/...“Native Mobile App” •Advantages –Flexible development model/Enterprise Application

Wish List…

• Inexpensive maintenance

• Easy for mass-deployment

• Mobile sensor

5

Page 6: Smartphone as a Road Sensor - University of British …vleung/CVWS2012/Toronto/Presentations/...“Native Mobile App” •Advantages –Flexible development model/Enterprise Application

Smartphone

• Several built-in sensors

– GPS (Position, Speed)

– Gyroscope

– Accelerometer

– Compass

• Personal device

• Popular device

6

Page 7: Smartphone as a Road Sensor - University of British …vleung/CVWS2012/Toronto/Presentations/...“Native Mobile App” •Advantages –Flexible development model/Enterprise Application

Smartphone as a Road Sensor

7

•Road conditions assessment •Adaptive route planner •Personalized traffic notification •Collision avoidances notification •Optimization fuel consumption •Parking assistance •Traffic conditions

Page 8: Smartphone as a Road Sensor - University of British …vleung/CVWS2012/Toronto/Presentations/...“Native Mobile App” •Advantages –Flexible development model/Enterprise Application

Challenges (Non-technical)

• User acceptance – Privacy/Trust

• Human interaction – Mobile phones and driving safety

• Data ownership • Regulations

– Personal Information Protection and Electronic Documents Act

– Path planner on local roads

• Accountability

8

Page 9: Smartphone as a Road Sensor - University of British …vleung/CVWS2012/Toronto/Presentations/...“Native Mobile App” •Advantages –Flexible development model/Enterprise Application

Challenges (Technical)

• Functional

– High volume of data

– Large number of online users (mobile devices)

– Real-time

– Human interaction

• Non-functional

– Privacy/Security

– Several popular incompatible smart phone models

9

Page 10: Smartphone as a Road Sensor - University of British …vleung/CVWS2012/Toronto/Presentations/...“Native Mobile App” •Advantages –Flexible development model/Enterprise Application

Envisioned Smart Transportation Platform

10

Page 11: Smartphone as a Road Sensor - University of British …vleung/CVWS2012/Toronto/Presentations/...“Native Mobile App” •Advantages –Flexible development model/Enterprise Application

Features

• Cloud based application server

• Data storage

• Communication – Real-time notification

• Security/Privacy/Trust

• Intelligent content delivery

• Auto-scalable

• Support mobile and desktop users

• RAPID development

11

Page 12: Smartphone as a Road Sensor - University of British …vleung/CVWS2012/Toronto/Presentations/...“Native Mobile App” •Advantages –Flexible development model/Enterprise Application

Past Attempt

• AppScale/Google AppEngine

– Frontend

• HTML5 Web Application

– Backend

• Google SQL/MySQL

• AppScale/Google AppEngine

– Real-time

• Socket (HTML5), XMPP

12

Page 13: Smartphone as a Road Sensor - University of British …vleung/CVWS2012/Toronto/Presentations/...“Native Mobile App” •Advantages –Flexible development model/Enterprise Application

Past Attempt (continued)

• Advantages – Write once, run anywhere

– Existing technology

– Several traffic applications have developed

– Auto-scalable

• Disadvantages – Limited development model

– Relational database may fail to meet our big data requirements

– Mobile device may not be fully HTML5 compliance

13 http://gigaom.com/cloud/facebook-trapped-in-mysql-fate-worse-than-death/

Page 14: Smartphone as a Road Sensor - University of British …vleung/CVWS2012/Toronto/Presentations/...“Native Mobile App” •Advantages –Flexible development model/Enterprise Application

Current Attemp

• “Native Mobile App” – Frontend

• JavaScript

• PhoneGap platform (http://phonegap.com/)

– Backend • J2EE

• MangoDB

– Real-time • AJAX, Comet technique

(http://www.sitepen.com/blog/2010/07/19/real-time-comet-applications-on-node-with-tunguska/)

14

Page 15: Smartphone as a Road Sensor - University of British …vleung/CVWS2012/Toronto/Presentations/...“Native Mobile App” •Advantages –Flexible development model/Enterprise Application

“Native Mobile App”

• Advantages – Flexible development model/Enterprise

Application

– MangoDB • Real-time

• Big data/easy scale-out

– Scalable Enabled

– Support for many mobile OSs • iOS, Android, Blackberry, Windows Phone, WebOS,

Bada and Symbian

15

Page 16: Smartphone as a Road Sensor - University of British …vleung/CVWS2012/Toronto/Presentations/...“Native Mobile App” •Advantages –Flexible development model/Enterprise Application

Status

• Development State – Initial implementation

• Map • Data On/Off • Mark bad road • Store data on device • Store data on server

– Collecting data

• Bumps in the road – Power management – Accuracy of collected data – Data interpretation

16

Page 17: Smartphone as a Road Sensor - University of British …vleung/CVWS2012/Toronto/Presentations/...“Native Mobile App” •Advantages –Flexible development model/Enterprise Application

Security

• Network

– Sniffing network traffic

– Masquerade (spoofing)

– Denial of Service (DoS)

– Message tampering (session hijacking)

• Privacy

• Access Control

• Auditing

17

Page 18: Smartphone as a Road Sensor - University of British …vleung/CVWS2012/Toronto/Presentations/...“Native Mobile App” •Advantages –Flexible development model/Enterprise Application

Privacy and Accountability

• Group Signature – Valid signatures by group members always verify

correctly, and invalid signatures always fail verification

– Given a message and its signature, the identity of the individual signer cannot be determined without the group manager's secret key

– Given two messages and their signatures, we cannot tell if the signatures were from the same signer or not.

18

http://en.wikipedia.org/wiki/Group_signature

Page 19: Smartphone as a Road Sensor - University of British …vleung/CVWS2012/Toronto/Presentations/...“Native Mobile App” •Advantages –Flexible development model/Enterprise Application

Access Control

• Expressive and flexible policies

• Context- aware model

• Distributed and suitable for big data

• Need-to-share paradigm

19

Page 20: Smartphone as a Road Sensor - University of British …vleung/CVWS2012/Toronto/Presentations/...“Native Mobile App” •Advantages –Flexible development model/Enterprise Application

Policy-Based Access Control

• Dynamic nature

• Draws policies and attributes from many Community of Interests (COIs)

• Utilizes extensible Access Control Markup Language (XACML)

• Technica’s open source PBAC reference implementation

20

http://www.gosac-n.org/sites/default/files/GOSAC-N%20Whitepaper_v2.0_5.25.11.pdf

Page 21: Smartphone as a Road Sensor - University of British …vleung/CVWS2012/Toronto/Presentations/...“Native Mobile App” •Advantages –Flexible development model/Enterprise Application

Conclusion

– Smartphone as road sensors

– Technical and non-technical challenges

– Conceptual approaches for attacking data collection and security issues

21

Page 22: Smartphone as a Road Sensor - University of British …vleung/CVWS2012/Toronto/Presentations/...“Native Mobile App” •Advantages –Flexible development model/Enterprise Application

Acknowledgements

• Prof. Marin Litoiu

• Graduate Students

– Vasileios Theodorou

– Mitch Constantine

22