WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering CROWDSOURCED...

Post on 20-Jan-2016

212 views 0 download

Tags:

Transcript of WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering CROWDSOURCED...

WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering

CROWDSOURCED TRAFFIC MAP

Team Members:

Faculty Mentor:

David Williams

Mark Ghareeb

Richard Burris

Joshua Douty

Yaser P. Fallah

WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering

OUTLINE• Problem Statement

• System Highlights

• Challenges

• Depiction of Design

• Summary of Technology

• Building the Project

• Problems

• Data Flow

• Lessons Learned

• Future Needs

• Conclusion

WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering

PROBLEM• Traffic conditions tend to be difficult to predict and can vary within minutes.

• Monitor resources that are already in place and gather information from users

• Goal is to provide real time traffic data to Morgantown

• At the time of 480, Google did not support the area

WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering

SYSTEM HIGHLIGHTS• Accuracy

– Provide the most dependable traffic information based on gathered data

• Scalability

– System will handle request from a small to large number of users

• Reliability

– Software should be accessible at anytime that cell service is available

• Flexibility

– Handle multiple types of Android versions and devices

WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering

CHALLENGES• Learning curve of unfamiliar Software

– SQL

– Apache HTTP

• Power Management

• User Security/Anonymity

• Develop algorithms to calculate traffic patterns

• Handling Multiple input devices

• Creating OpenStreetMap Layers

• Collaboration with Graduate Researcher doing similar project with Google Maps

WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering

DESIGN

WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering

SUMMARY OF TECHNOLOGY • Collection Devices

– Android Smartphone

• Traffic Information Display

– Android Smartphone application

– Computer Based Web Browser

• Map Software

– OpenStreetMap

– PostgreSQL

• Server

– Apache HTTP Server

– OSM Map Tile Server

WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering

BUILDING THE PROJECT• Software

– Eclipse IDE with ADT plugin

– Ubuntu 12.04.1 LTS Server

– ClockworkMod – Android image backup

– OSM Tile Server

– Apache HTTP server

– Android OS (2.3-3.2, 4.1-4.2)

– GitHub

• Hardware

– Devices: Samsung Galaxy SII Samsung Galaxy SIII, Samsung Galaxy Note 10.1 HTC Thunderbolt, HTC Inspire

– Server: Dell XPS M1530 Laptop

WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering

PROBLEMS• Installation issues

– “Clean installs” needed several times for Server software

• Android device fragmentation

– Scores of devices and multiple different OS versions

– Avoided by having server do all heavy lifting

• Antiquated hardware

– Intel 2.0 GHz Dual core laptop processor from 2008

– Overheats

• No static IP address

– Couldn’t test sending data over Cellular networks

• Schedule Conflicts

• Lack of Server/PostgreSQL knowledge

WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering

DATA FLOW

WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering

LESSONS LEARNED• Use budget wisely

– Using recycled hardware caused more problems than gave solutions

• Better Allocation of work

– Split into two teams: App and Server

• Switch priorities

– Focus on back end first, Client side will come easier

• Reduce number of workarounds

– Causes more problems than solutions in the long run

• Time Management is crucial

• Don’t deal with own hardware, try purchasing hosted server time

WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering

FUTURE NEEDS• Map-matching GPS coordinates to road vectors

• App development for other smartphone platforms

– iPhone, Windows Phone

• Fine tuning of GPS collection

• Dedicated server

– Static IP address

– Ability to transmit and receive data

• University internet regulation don’t allow this

• Most home IPs are dynamic

• Interface external devices

– Road sensors for more data collection

WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering

CONCLUSION• This project gives us the opportunity to gain experience with:

– Web Development

– Mobile application development

– Server side development /maintenance

WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering

QUESTIONS