220 likes | 382 Views
Crowd Sourced Traffic Monitoring. JAM DODGE. By Mitchell Cox, Alec Larsen and Benjamin Sim. Overview. Motivation Demonstration Iterations Contributions. Motivation. [1] http://healthylifecarenews.com/wp content/uploads/2011/05/Congestion.jpg
E N D
Crowd Sourced Traffic Monitoring JAM DODGE By Mitchell Cox, Alec Larsen and Benjamin Sim
Overview • Motivation • Demonstration • Iterations • Contributions
Motivation [1] http://healthylifecarenews.com/wp content/uploads/2011/05/Congestion.jpg [2] http://thenack.iblog.co.za/files/2009/06/traffic.jpg [1] [2]
Iterations • Two iterations • 1st iteration = majority of features included • 2nd iteration = additional features incorporated. • Responsibility shifted between the two iterations.
First Iteration Alec Mitch Benji
Second Iteration Alec Mitch Benji
Backend Functionality • Login • Point Logging • Point Retrieval
Does having a login make sense? • All data is anonymous to prevent system abuse • Logging in is a hassle – you don’t log into your GPS • Two distinct login processes: • Android login • PC/Mobile login • Protection against freeloading
Android Login • Simple with no user interaction • Only users logging in from the Android Application will have PC access
PC/Mobile Login • Uses selective redirection based on device: • Mobile – Automatic redirection to map page • PC – Requires a valid unique identifier to gain access to the maps page
Point Logging • Points passed in via a Query String in the URL • Query string has parameters for: • Latitude • Longitude • Speed • Bearing • Points within similar geographic location have speed and bearing averaged
Point Logging (Example) jam-dodge.enox.co.za/LogPoint.php?lat=26.123&lng=28.001&s=2&b=180 • This causes the backend to process the point and update or add it to the database • Query string used instead of HTTP POST, for use by simple devices
Point Retreival • Query string used to get points from backend according to bounds • Appropriate points are returned as a list via AJAX • 26.1000 28.0000 90 FF0000 1;
Database • Simple Structure • Large Tables
Android App • Simple application: • Activates GPS • Loads frontend web page • Generates unique user ID • Loads from web for future ease of portability
Frontend Web Page • Uses JavaScript with AJAX • W3C Geolocation for positioning • Page designed for use on almost any mobile device and on PC’s • Index page is used for description and login
Thank You http://jam-dodge.enox.co.za