Font Size: a A A

Design And Implementation Of Mobile Shared And Communication Platform Based On Wi-Fi Direct

Posted on:2015-09-10Degree:MasterType:Thesis
Country:ChinaCandidate:N N ShiFull Text:PDF
GTID:2298330422985893Subject:Transportation engineering
Abstract/Summary:PDF Full Text Request
The Wi-Fi Direct criterion was released by Wi-Fi Alliance in October2010,then Android4.0began to support it. Wi-Fi Direct is a communication protocol, which allows theequipments in the wireless network to connect to each other without hot spots such as a router.Wi-Fi Direct mainly suitable for the point to point communication of medium range, highbandwidth. It works more quickly、reliably and further than Bluetooth.Using Wi-Fi Direct Android application interface, you can search and connect to otherWi-Fi Direct devices in the working distance. By using sockets to establish communicationlinks, can transmit and receive data streams between supported devices (including cell phones,printers, TVs, car navigation, etc.). As a high-bandwidth alternative to Bluetooth, Wi-FiDirect particularly suitable receiving media file sharing and real-time media streamingoperations.The thesis uses Android4.2.2as the development platform, designs and implements awireless Resource Sharing and Instant Message system based on Wi-Fi Direct, which meetspeople’s demands of Resource Sharing and Instant Message without accessing to the networkfacilities, such as wireless routers.The software is divided into four basic modules: Wi-Fi Direct module performs todiscover devices and services, when two mobile devices connect to each other, they create agroup by Wi-Fi Direct. One of them is a team manager, it manages the group, adds anddeletes devices. The other is customers and realizes the function of non-access point; Socketcommunication module is the basis of the data transmission, According to the current deviceinformation, the module decide which device as a server, the server creates a ServerSocket tolisten the connection requests, and the client creates a Socket to request connection. At themeaning time the port is specified. The file sharing module uses TCP/IP networkcommunication protocol, write and read the file name through the input and output streamsprovided by Java, send and receive the file byte through FileOutputStream andFileInputStream to complete the file transfer content sharing; Instant messaging modulesends and receives messages through two children threads, the main thread handles sendingand receiving messages and updating interface real-timely. After several rounds of testing in different scenarios, the system basically achieve theabove functions, and achieve the overall design goals for future research and applicationdevelopment Wi-Fi Direct to lay a certain foundation.
Keywords/Search Tags:Wi-Fi Direct, Android, Socket, Resource Sharing, Instant Message
PDF Full Text Request
Related items