WiFi UsabilityIdeaImplementationHigh-Level Architectural ViewClient View (Data Collection)Server View (Data Collection)Server View (Data Service)Client View (Data Service)Data CollectioncURL LibraryData BufferingDisplaying Mapped DataProblemsImprovementsQuestions?WIFI USABILITYReg ArvidsonIdeaTrack signal variances throughout the dayGet a feel for the “usability” of a WiFi access point (or location)Present this as a map to easily spot “lagging” areasImplementationCreate a client program to collect WiFi/GPS data and submit to a serverServer catalogues data into a database while waiting to serve map requestsClients can request a map from the server showing WiFi data for GPS pointsHigh-Level Architectural ViewGPS WiFiClientServerGPS/WiFi DataMap!If it was only that easy…Client View (Data Collection)GPS_ParserCOM_AccessWLAN_AccessGPS Serial DataWiFi Signal DataWiFiGPSDataUnit cURLInternetServer View (Data Collection)postdata.phpApache Web ServerMySQL DatabaseInternetServer View (Data Service)index.phpApache Web ServerMySQL DatabaseInternettestdisp.phpkml.kmlClient View (Data Service)InternetYour favorite web browser!http://shyguy2.mine.nuOr Google Earth…http://shyguy2.mine.nu/kml.kmlData CollectionFlag a GPS fix if at least 3 satellites in viewUtilize fix data to time 5 second intervalsIf fix, poll WiFi interface for access pointsTag SSID and signal strength to GPS fixIf internet available, submit data, else store for later!Runs in background, works even when using any access point or the InternetcURL LibraryCreated a URL to pass data to PHP scripthttp://shyguy2.mine.nu/postdata.php?datetime=1234&lon=-84.5675&lat=23.4326&ssid=UCF&sig=23...cURL library allows easy usage of GETIf GET fails then we leave data in buffer and try again laterData BufferingA cURL failed GET leaves data in a bufferAllows roaming off the network, across town, local pub, etcUpon reconnecting with friendly access point will push data to serverDisplaying Mapped DataGoing to homepage, index.php, triggers creation of KML file, kml.kml through use of testdisp.php, with all collected data from MySQL databaseAutomatically loads map using this freshly created KML fileMapped data shows signal strength of SSID tagged to a GPS point, marker colors reflect signal strengthCan also load KML into Google Earth for a much more interactive viewProblemsLaptop DiedCreated new databaseRecovery of project filesRebuilt for new target machinesRecollection of dataLack of data (due to stated death)ImprovementsCan easily add additional data in minutesSecurity algorithm (if used), for exampleBetter data transfer methodDirect connection to SQL server for instanceDATA DATA DATA DATA
View Full Document