云题海 - 专业文章范例文档资料分享平台

当前位置:首页 > 基于Android的WiFi文件传输系统的设计与实现

基于Android的WiFi文件传输系统的设计与实现

  • 62 次阅读
  • 3 次下载
  • 2025/5/25 10:27:17

西南科技大学本科生毕业论文 I

基于Android的WiFi文件传输系统的设

计与实现

摘要:随着智能手机的普及,越来多的人会使用手机来分享文件。虽然目前应用市场上有很多文件分享的软件,但其传输的方式都存在一定的缺陷。本系统就是根据目前Android应用市场上各种文件传输软件的优缺点,使用WiFi直连和SOCKET通信来传输文件,解决了蓝牙传输速度慢,NFC传输数据小,网络传输需要流量或网络连接,WiFi热点传输时不能使用WiFi上网等问题。本系统包含了文件的搜索,管理,删除,文件/消息传输等功能。最多支持9个文件同时发送,在连接设备后,可以浏览对方设备的文件目录。

本文首先介绍了选题背景和现状,然后详细阐述了系统中使用的关键技术的发展和相关知识。通过对系统的运行测试得出可以发现:系统运行流畅,多文件传输稳定,传输速度也很快,满足用户需求,具有一定的商业价值及较强的使用推广价值。

关键词:WiFi直连;SOCKET通信;文件搜索

西南科技大学本科生毕业论文 II

Design and Implementation of WiFi-Direct File

Transfer System on Android Platform

With the popularity of smart phones, more and more people will use mobile Abstract:

phones 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 popularization and use value.

KeyWords: Wifi-Direct, socket communication, high-speed transmission

西南科技大学本科生毕业论文 III

目 录

第1章 绪 论................................................................................................................ 1

1.1引言................................................................................................................... 1 1.2选题的目的及意义........................................................................................... 1 1.3国内外相关研究............................................................................................... 1 第2章 系统需求分析.................................................................................................. 4

2.1 应用需求概述.................................................................................................. 4 2.2 用户类与特征.................................................................................................. 4 2.3 系统功能性需求分析...................................................................................... 4 2.4 系统非功能性需求.......................................................................................... 5 第3章 系统概要设计.................................................................................................. 7

3.1 应用模块划分及模块功能介绍...................................................................... 7 3.2 应用的数据存储.............................................................................................. 8 3.3 数据库设计...................................................................................................... 9

3.3.1 Android数据库介绍 .............................................................................. 9 3.3.2本系统数据库设计................................................................................. 9 3.4 Android开发相关技术介绍 .......................................................................... 10

3.4.1 Android的发展历史 ............................................................................ 10 3.4.2 Android系统结构介绍 ........................................................................ 11 3.4.3 Android四大组件 ................................................................................ 12

第4章 系统详细设计及实现.................................................................................... 15

4.1 开发工具和软件平台.................................................................................... 15 4.2 传输记录模块................................................................................................ 15

4.2.1 查看传输记录...................................................................................... 17 4.3 数据库操作模块............................................................................................ 18 4.4 文件管理模块................................................................................................ 19

4.4.1 选择要发送的文件.............................................................................. 21 4.4.2 移除要发送的文件.............................................................................. 22 4.4.3 查看文件属性...................................................................................... 23 4.4.4 打开音乐,视频等文件...................................................................... 24

西南科技大学本科生毕业论文 IV

4.4.5 遍历手机文件...................................................................................... 26 4.5 设备连接管理模块........................................................................................ 27

4.5.1 连接其他设备...................................................................................... 28 4.5.2 重命名本机设备.................................................................................. 30 4.6 文件/数据传输模块 ...................................................................................... 31

4.6.1 设置同时发送文件最大个数.............................................................. 33 4.6.2 发送文件.............................................................................................. 34 4.6.3 文件/数据传输性能 ............................................................................ 35 4.7 应用UI设计 ................................................................................................. 36

4.7.1应用界面框架结构设计....................................................................... 36 4.7.2主界面的设计....................................................................................... 37 4.7.3 UI控件的使用 ..................................................................................... 37

第5章 系统测试........................................................................................................ 39

5.1测试环境......................................................................................................... 39 5.2模块功能测试................................................................................................. 39

5.2.1 设置同时传输文件最大个数功能测试.............................................. 39 5.2.2 重命名本机设备功能测试.................................................................. 40 5.2.3 选择要发送的文件功能测试.............................................................. 41 5.2.4 移除要发送的文件功能测试.............................................................. 42 5.2.5 发送文件功能测试.............................................................................. 43 5.2.6 查看传输记录功能测试...................................................................... 44 5.2.7 打开本机音乐,视频等文件功能测试.............................................. 45 5.2.8 查看文件属性功能测试...................................................................... 46 5.2.9 连接设备功能测试.............................................................................. 48 5.3非功能性测试................................................................................................. 48

5.3.1 连文件传输性能测试.......................................................................... 48 5.3.2 系统兼容性测试.................................................................................. 49

结 论............................................................................................................................ 51 致 谢............................................................................................................................ 52 参考文献...................................................................................................................... 53

  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

西南科技大学本科生毕业论文 I 基于Android的WiFi文件传输系统的设计与实现 摘要:随着智能手机的普及,越来多的人会使用手机来分享文件。虽然目前应用市场上有很多文件分享的软件,但其传输的方式都存在一定的缺陷。本系统就是根据目前Android应用市场上各种文件传输软件的优缺点,使用WiFi直连和SOCKET通信来传输文件,解决了蓝牙传输速度慢,NFC传输数据小,网络传输需要流量或网络连接,WiFi热点传输时不能使用WiFi上网等问题。本系统包含了文件的搜索,管理,删除,文件/消息传输等功能。最多支持9个文件同时发送,在连接设备后,可以浏览对方设备的文件目录。 本文首先介绍了选题背景和现状,然后详细阐述了系统中使用的关键技术的发展和相关知识。通过对系统的运行测试得出可以发现:系统运

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:10 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219
Copyright © 云题海 All Rights Reserved. 苏ICP备16052595号-3 网站地图 客服QQ:370150219 邮箱:370150219@qq.com