登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 电子信息类 > 通信工程 > 正文

Android设备间资源无线共享软件设计毕业论文

 2021-05-18 10:05  

摘 要

近年来智能手机的功能越来越强劲,用户通过手机看视频听音乐的兴致越来越高,数据流的传输成为了必不可少的部分。传统生活中人们如果想和周围的人分享图片或视频,要通过有线将数据传输到电脑上观看,费时费力,而且传输的时候还会碰到如传输速率过慢、传输信号不稳定等现象。目前市面上已有多种近距离文件传输方式,比如NFC、蓝牙、Wi-Fi等,而NFC、蓝牙都有自身的种种缺陷不能满足我们的日常需求,用户亟须新的传输技术来满足稳定的文件传输功能。2011年Wi-Fi联盟新增Wi-Fi Direct规范,允许两台或两台以上设备无须热点即可建立点对点连接,让近距离无线高速传输成为了可能。

本课题通过对Android平台的Wi-Fi Direct进行详细研究,研读了Google官方Wi-Fi Direct文档,了解了Wi-Fi Direct相关API接口,按照原理介绍、系统设计、核心模块设计、测试等四大步骤,实现了Android设备间的资源共享。本课题讨论了基于Wi-Fi Direct的Android设备间资源共享功能的实现。从以下几个方面展开:

(1)研究了Wi-Fi Direct相关的国内外研究现状,通过与其相似的蓝牙4.0技术、NFC、云传输等进行比较得出Wi-Fi Direct在点对点传输上距离远、速度快、耗电低、兼容性强的优势。

(2)研究了Wi-Fi Direct的技术标准和Android平台。通过阅读Google官方Wi-Fi Direct API档案,将Wi-Fi Direct技术和Android平台相结合,运用到本系统中。

(3)编写了基于Android平台的本系统的程序,其对系统进行了服务端和客户端的划分,让用户自主选择发送或者接收文件。本系统对设备连接模块、设备文件传输模块、用户界面交互模块进行了详细的设计和实现。

本文所设计的系统主要包含了设备间的搜索与连接、文件传输等功能,对于Wi-Fi Direct技术在未来移动办公、智能家居生活中都有一定的指导意义。

关键词:Android;Wi-Fi Direct;文件传输

Abstract

In recent years, there are more functions of smart phone while the users have more fun watching video and listening music through mobile phone, the transmission of data flow has become an indispensable part. In traditional life people only used cable transmission to share images and videos with other people, time-consuming and laborious and the transmission rate is to slow. Nowadays there have been many ways to file transmission, such as NFC and Bluetooth, Wi-Fi. While these methods all have their intrinsic defects, users urgently need for new transmission technology to meet the stability of the file transfer function. In 2011 Wi-Fi alliance established new Wi-Fi Direct specification, allowing two or more devices setting equipment to be hot spots to establish point-to-point connection, making it possible for wireless high-speed transmission.

This passage mainly describes Wi-Fi Direct technology through Android platform after reading the official Google Wi-Fi Direct document, understanding the Wi-Fi Direct API interface. This system realizes the function of sharing files with other devices using Wi-Fi Direct, in accordance with the principle, system design, the core module design and testing. The realization of resource sharing between Wi-Fi devices based on Android is discussed in this paper from the following several aspects:

1) Research on the Wi-Fi Direct related domestic and foreign present situation, through its similar Bluetooth 4.0 technology, NFC, cloud transmission comparison Wi-Fi direct at the point of transmission distance, fast, low power consumption, strong compatibility advantage.

2) Research on the technical standard of Wi-Fi Direct technology and Android platform. By reading the Google official Direct API Wi-Fi files, the Direct Wi-Fi technology and Android platform, we use the relating technology to the system.

3) Written prepared system procedures based on the Android platform, including the server and client versions, allowing users to choose to send or receive documents. The system is designed and implemented in detail. The system is designed and implemented on the device connection module, the device file transfer module and the user interface module.

This article written by the system mainly studies the device connection, file transformation, learning the android app development for Wi-Fi Direct technology in the future mobile office and intelligent home life has certain directive significance.

Keywords: Android, Wi-Fi Direct, file transmission

目 录

第1章 绪论 1

1.1 研究目的及意义 1

1.2 研究背景及现状 1

1.3 研究内容 4

1.4 论文组织结构 4

第2章 系统需求分析及开发平台简介 6

2.1 系统需求分析 6

2.2 Android及开发工具介绍 6

2.2.1 Android简介 6

2.2.2 Android Studio介绍 7

2.2.3 Wi-Fi Direct API 8

2.2.4 NavigationView 10

2.2.5 Material Design设计语言 11

2.3 本章小结 11

第3章 系统整体设计 12

3.1 系统业务流程 12

3.2 系统框架设计 14

3.3 系统详细设计方案 14

3.3.1 初始化系统权限 14

3.3.2 广播接收器的设计 14

3.3.3 设备连接模块 15

3.3.4 文件传输模块 19

3.3.5 系统界面模块 23

3.4 本章小结 26

第4章 系统测试 27

4.1 设备连接模块测试 27

4.2 文件传输模块测试 27

4.3 程序运行测试图 28

4.4 本章小结 32

第5章 总结与展望 33

5.1 工作总结 33

5.2 系统的不足和改进 33

参考文献 34

附录A 35

致 谢 38

第1章 绪论

本章主要介绍本毕设的研究背景、研究现状、研究的目的及意义和全文的组织结构。

1.1 研究目的及意义

本课题研究的目的是通过Android系统与Wi-Fi联盟制定的Wi-Fi标准中的Wi-Fi Direct技术完成Wi-Fi P2P的功能(P2P技术的主要特点就是充分利用带宽、计算性能、内容等分布在终端的边缘性网络资源来降低对中央服务器资源的消耗需求[1]),使用户在移动终端之间方便、快捷、直观地进行资源互通共享。在没有Wi-Fi网络的情况下,手机之间互相分享资源比如视频、图片、文档等十分不便,若通过手机蜂窝网络传输会消耗大量的流量造成不必要的金钱消耗,WiFiP2P则不需要通过无线局域网及蜂窝网络即可实现手机之间的点对点配对和数据传输,从而达到方便、快捷地分享资源的目的。

目前Wi-Fi Direct的优势已经凸显,方便快捷的操作和广大需求使利用Wi-Fi Direct的资源共享技术成为必然趋势,而且Wi-Fi联盟与DLNA联盟的合作更加方便地向其它无线设备直接共享多媒体信息,甚至未来Wi-Fi Direct取代数据线传输也是有可能的。

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图