240 likes | 361 Views
Vitaly Gordievsky Alex Trefonas Scott Richard Matt Beckford. PeopleFinder. Midway Design Review. Background. Wide spread use of social networking sites Facebook MySpace Many clones of Facebook Facebook is particularly popular amongst college students Major Graduation Year
E N D
Vitaly Gordievsky Alex Trefonas Scott Richard Matt Beckford PeopleFinder Midway Design Review
Background • Wide spread use of social networking sites • Facebook • MySpace • Many clones of Facebook • Facebook is particularly popular amongst college students • Major • Graduation Year • List of courses • Status Bar
Purpose of PeopleFinder Locate friends on university campus through wired and wireless connectivity on Facebook application The application to use before making a call Easily available and convenient Brings friends together one step closer Quickly know status and location of friends Features Available to all Facebook users in UMASS network Interactive map displaying user locations Free to use Concept
Design • Web-server hosted by (HostGator) • MySQL Database • Windows executable (fetches user ID and MAC) • Interactive Flash Map • Facebook Application for Integration
MySQL database Apache / PHP server Facebook Our Third Party Web Server PeopleFinder App. User 2 Laptop Windows PeopleFinder.exe Web Browser Wired Network Card Wireless Card Block Diagram Internet MySQL database Apache / PHP server Facebook Our Third Party Web Server PeopleFinder App. User 1 Laptop Windows PeopleFinder.exe Web Browser Wired Network Card Wireless Card
MDR Specifications • Setup XAMPP for development testing • Register Facebook application • Create relevant MySQL database tables • Create program with Visual Studio to get MAC Address of the router and user ID • Create an interactive interface for Facebook Application (Flash)
Project Specifications • Server load time: Under 50ms • Brower page rendering time: Under 4s • Location Accuracy: Depends on the distance from the router (usually under 400ft) • Map update time: 20s
Data • Browser page rendering time • Goal: under 4 seconds on most computers • Average Time = 2.34807 sec • Standard deviation = 0.289 sec
PHP Server load time • Time it takes for our third party server to generate the webpage • Depends on number of friends of Facebook user • 604 friends – 32.48 ms with standard deviation of .289 • 124 friends – 16.352 ms with standard deviation of .275ms
Flash Interface • Needs to be integrated with Facebook application through HTML • Coordinates need to be stored in MySQL database • Demo only shows the basic concept of the user interface.
Design Challenges • Forced to use API’s for Flash and PHP due to Facebook security restrictions for applications • 1 MAC address for large area on the UMASS wireless network - from campus center to engineering lab. • Portability of Windows application
MAC Address Retrieval Wired Connections: • Using (ARP) protocol and windows API’s • Mapping a host's link layer (MAC address) when only its Internet Layer (IP) is known. Wireless Connections: • Obtain information about access points within wireless range • Record signal strength received from various nodes • Correlate signal strength over time (statistical averages)
Windows Application Specifications PeopleFinder.exe (sdpapp.exe for MDR) Minimal user configuration Runs in background of Windows 1 ) Asks user for input : Facebook User Id Number 2 ) Sends http request to refresh ARP table entries 3 ) Runs arp.exe and obtains routers MAC address 4 ) Packages userid and macaddress for server 5 ) Sends http request to server
Facebook Application Main interface for PeopleFinder Clean and easy to use Eventually all Facebook users can add application Communicates with 3rd Party Server using PHP API Contains Flash Map Canvas PHP page includes Flash map and shows debugging data for application http://apps.facebook.com/peoplefindert/ (currently only developers can access)
MySQL Database • 2 Tables to contain user data and location data • MAC addresses of router • Locations of routers • Unique Facebook ID’s of users • Signal strengths of various access points in Range • Last login times • Last locations of users
3rd Party Server • Hosted with XAMPP on local server on Umass network • Includes PHP and MySQL server • Stores all user and location data • Pages requested by facebook.com • Communicates with Windows executable to update user locations • Passes HTML and FBML (facebook markup language) to facebook.com
Realistic Constraint Long page load times for all Flash applications and Facebook site (over 3 seconds) Cannot open ports on UMass network due to Firewalls, so web server needs to be hosted off-campus
Budget Due to the nature of our project and design we did not need to borrow any money from the Department of Electrical Engineering
Team Roles Project Manager Vitaly Gordievsky Windows API Scott Richard Application Layer PHP/MySQL Alex Scott GUI design Alex Trefonas Matt Flash Map Matt Beckford VitalyGordievsky
MDR Deliverables Setup XAMPP Register Facebook application Create database tables Create program with Visual Studio to get MAC Address of the router and user ID Create an interactive interface for Facebook Application (Flash) Needs to be integrated with Facebook
Achievement • Demo of Facebook Application • Demo of Flash Map • Demo of MySQL database
Questions Comments / Questions?