gas tracker 9000 semester project
TRANSCRIPT
![Page 1: Gas Tracker 9000 Semester Project](https://reader031.vdocuments.mx/reader031/viewer/2022020207/558fc1241a28abe1668b4635/html5/thumbnails/1.jpg)
Gas Tracker 9000Semester Project EEL 6788 Spring 2010
Chris Giles
EEL6788 12-April-2010
University of Central Florida
![Page 2: Gas Tracker 9000 Semester Project](https://reader031.vdocuments.mx/reader031/viewer/2022020207/558fc1241a28abe1668b4635/html5/thumbnails/2.jpg)
Contents
Introduction Requirements Architecture Results Applicable Future Work Questions
![Page 3: Gas Tracker 9000 Semester Project](https://reader031.vdocuments.mx/reader031/viewer/2022020207/558fc1241a28abe1668b4635/html5/thumbnails/3.jpg)
Introduction
Gas Tracker 9000 resulted in an application for the Android platform with the following end-to-end functional capabilities. The Android application is capable of:
Ubiquitously capturing and posting current real world prices of gasoline to a central server.
Ubiquitously querying and displaying current real world prices of gasoline from a central server.
The central server is capable of: Responding to user posts. Responding to user queries. Displaying a temporal heat map and functional statistical information
of the remotely collected data over a region.
![Page 4: Gas Tracker 9000 Semester Project](https://reader031.vdocuments.mx/reader031/viewer/2022020207/558fc1241a28abe1668b4635/html5/thumbnails/4.jpg)
Requirements
Android Handset: Submit price of Gasoline:
Capture current price of gasoline at a gas station. Includes octane, price, and location.
Octane: 87, 89, 93. Dollars and cents. GPS coordinates of purchase.
Captured data is uploaded wirelessly to the server. Ubiquitously sent to central server using Android based device with Gas Tracker
9000 client software. Query price of Gas:
Query the closest location. Includes octane and radius of search.
Octane: 87, 89, 93. Radius: 5 and 10 miles. Haversine Formula: “as the crow flies” distance formula for round objects.
Display results of query. Google map view.
Display details about type, price, and location.
![Page 5: Gas Tracker 9000 Semester Project](https://reader031.vdocuments.mx/reader031/viewer/2022020207/558fc1241a28abe1668b4635/html5/thumbnails/5.jpg)
Requirements
Web Server Process post:
Receives captured gasoline data. Store all received posts in a database. Organizes posts.
Add calendar date of reception to post. Replaces duplicates and takes into account data obsolescence.
Process query: Determine cheapest gas from query origination.
Return only 1 solution with limits as specified by the user. Type of gas. Radius. Takes into account data obsolescence.
Stores number of times type of gas is queried for relation to demand.
![Page 6: Gas Tracker 9000 Semester Project](https://reader031.vdocuments.mx/reader031/viewer/2022020207/558fc1241a28abe1668b4635/html5/thumbnails/6.jpg)
Requirements
Web Server Display results of analysis of captured data:
Display temporal heat map of the data. Google maps view. Display data as green, yellow, orange, red.
Assigned in quartiles respectively, i.e. most expensive is red.
Display statistical data. Fluctuation of the price and demand for gasoline over
time. Date, type, low price, mid price, high price, &
demand (parametrics).
![Page 7: Gas Tracker 9000 Semester Project](https://reader031.vdocuments.mx/reader031/viewer/2022020207/558fc1241a28abe1668b4635/html5/thumbnails/7.jpg)
Network Architecture
Internet
Web Server
www.rigbot.com
Android Device
Cell TowerCell Service Provider
PC
User
Admin
![Page 8: Gas Tracker 9000 Semester Project](https://reader031.vdocuments.mx/reader031/viewer/2022020207/558fc1241a28abe1668b4635/html5/thumbnails/8.jpg)
Software Architecture Server
Internet
Post
Data Base
Query
Web Server
Central Server
User
User
Admin
![Page 9: Gas Tracker 9000 Semester Project](https://reader031.vdocuments.mx/reader031/viewer/2022020207/558fc1241a28abe1668b4635/html5/thumbnails/9.jpg)
Key Technologies
HTML, PHP, & JavaScript Apache Web Server Web Pages:
HTML forms. Google Maps API. Java based networking.
![Page 10: Gas Tracker 9000 Semester Project](https://reader031.vdocuments.mx/reader031/viewer/2022020207/558fc1241a28abe1668b4635/html5/thumbnails/10.jpg)
Additional Key Technologies
Distance formula (2D) http://math.about.com/library/bldistance.htm
Works on 2D Cartesian maps. ~ 69.172 miles per degree of latitude. Doesn’t work for spheres because longitude conjoins at
the north and south poles. Haversine Formula (3D Spheres)
http://www.movable-type.co.uk/scripts/latlong.html Works for spheres (i.e. earth). As the crow flies. Gas Tracker uses this distance formula.
![Page 11: Gas Tracker 9000 Semester Project](https://reader031.vdocuments.mx/reader031/viewer/2022020207/558fc1241a28abe1668b4635/html5/thumbnails/11.jpg)
Software Architecture Handset
Post
Query
Android API
HandsetAndroid Device
![Page 12: Gas Tracker 9000 Semester Project](https://reader031.vdocuments.mx/reader031/viewer/2022020207/558fc1241a28abe1668b4635/html5/thumbnails/12.jpg)
Activities (Flow)
Launch
Post Query
Map View
![Page 13: Gas Tracker 9000 Semester Project](https://reader031.vdocuments.mx/reader031/viewer/2022020207/558fc1241a28abe1668b4635/html5/thumbnails/13.jpg)
Key Technologies
Java Extensive use of Android API.
Grants access to platform functionality. GPS, Time, dalvik virtual machine, etc. Activities & intents.
![Page 14: Gas Tracker 9000 Semester Project](https://reader031.vdocuments.mx/reader031/viewer/2022020207/558fc1241a28abe1668b4635/html5/thumbnails/14.jpg)
Requirements to Run Prototype
Android Device or EmulatorGoogle Maps Platform v2.1API level v7
Mozilla Firefox v3.6.3 JRE v6 Gas Tracker 9000
![Page 15: Gas Tracker 9000 Semester Project](https://reader031.vdocuments.mx/reader031/viewer/2022020207/558fc1241a28abe1668b4635/html5/thumbnails/15.jpg)
Results
End to end demonstration:Android Emulation Handset.www.rigbot.com
![Page 16: Gas Tracker 9000 Semester Project](https://reader031.vdocuments.mx/reader031/viewer/2022020207/558fc1241a28abe1668b4635/html5/thumbnails/16.jpg)
Applicable Future Work
Features Use of GEO Coding. Refinement of database storage methods. Higher degree of precision in distance calculations. Refinement of web side map view
Scalable display of information based on current view. Addition of proactive web based searching via the server.
Not sure if this is possible i.e. resource may not be available because this is expensive information.
Refinement of GUIs. More messages and so forth.
Security… LoL.
![Page 17: Gas Tracker 9000 Semester Project](https://reader031.vdocuments.mx/reader031/viewer/2022020207/558fc1241a28abe1668b4635/html5/thumbnails/17.jpg)
Questions