基于Android的WiFi文件传输系统的设计与实现
摘要:随着智能手机的普及,越来多的人会使用手机来分享文件。虽然目前应用市场上有很多文件分享的软件,但其传输的方式都存在一定的缺陷。本系统就是根据目前Android应用市场上各种文件传输软件的优缺点,使用WiFi直连和SOCKET通信来传输文件,解决了蓝牙传输速度慢,NFC传输数据小,网络传输需要流量或网络连接,WiFi热点传输时不能使用WiFi上网等问题。本系统包含了文件的搜索,管理,删除,文件/消息传输等功能。最多支持9个文件同时发送,在连接设备后,可以浏览对方设备的文件目录。
本文首先介绍了选题背景和现状,然后详细阐述了系统中使用的关键技术的发展和相关知识。通过对系统的运行测试得出可以发现:系统运行流畅,多文件传输稳定,传输速度也很快,满足用户需求,具有一定的商业价值及较强的使用推广价值。
关键词:WiFi直连;SOCKET通信;文件搜索
Design and Implementation of WiFi-Direct File Transfer System on Android Platform
Abstract:With the popularity of smart phones, more and more people will use mobile phon
es to share files, although there are a lot of documents on the market share of the software,but the way they are transferred to determine the existence of a certain. This system is designed to the advantages and disadvantages of the Android Market on a variety of file transfer software, using WiFi-Direct connection and socket communication to achieve the file transmission to solve the Bluetooth transmission speed is slow, small NFC data transmission, the transmission network to network traffic or connection, WiFi hotspots transmission cannot use WiFi Internet access and other issues. This application contains the file search, management, delete, file / message transfer and other functions. Supports up to 9 files at the same time, in connection with the device, you can browse the file directory of the other equipment.
This paper firstly introduces the background and current situation of the selected topic, and then describes the development of key technologies and related knowledge in detail. Through the operation test of the system obtained can be found: the operation of the system is very stable smooth, multi document transmission is relatively stable, transmission speed is faster, basically meet the needs of users, has a commercial value and good popul
arization and use value.
KeyWords: Wifi-Directwifi分享, socket communication, high-speed transmission