基于Android平台的Ad Hoc通信系统设计
发布时间:2018-07-23 12:37
【摘要】:随着移动互联网的快速发展,通过移动手持设备接入网络已成为主流。目前,智能手机市场中最主流,最普及的操作系统当属Android操作系统。然而,目前对于Android平台通信系统的研究,都是一些都是在集中式、固定网络下实现的。Android移动设备想要在网络中通信必须通过无线接入点或基站。这让搭载Android操作系统的终端在接入网络时对基础设施过于依赖,令其灵活性大打折够。为此,笔者提出了一种适合移动终端的Ad Hoc网络,并在Android操作系统下对其做了具体实现。本文中,设计了一个Android平台下的Ad Hoc网络通信系统。此系统可以实现搭载Android操作系统的移动终端的Ad Hoc通信。整个系统的设计参考了TCP/IP协议,分为链路层、网络层、传输层以及应用层。链路层选用最新的WiFi Direct技术,在程序中通过调用Android API从而实现了节点间点对点的链路传输。网络层选择了适合Android操作系统的AODV协议,AODV是Ad Hoc网络中的混合型路由协议,在对此协议进行必要的修改后在Android平台上进行了实现。传输层依然使用TCP/IP中的UDP协议来完成相邻节点的端到端传输。随后把这三层一起封装成Ad Hoc协议库,这样就使得任何开发者都可以通过此协议库来实现其具有Ad Hoc功能的应用。在应用层,笔者开发了一个基于Ad Hoc协议库的聊天程序,在本文的最后介绍了这个程序。本文中开发的Ad Hoc协议库和Android聊天应用均是在Windows 7操作系统下Eclipse IDE环境中完成的,编程语言为Java。
[Abstract]:With the rapid development of mobile Internet, mobile handheld devices access network has become the mainstream. At present, the most popular and popular operating system in the smartphone market is the Android operating system. However, the research on the Android platform communication system is the.Android shift implemented under the centralized and fixed network. If the device wants to communicate in the network, it must pass through the wireless access point or the base station. This makes the terminal on the Android operating system too dependent on the infrastructure while accessing the network, which makes it flexible enough. For this reason, a Ad Hoc network suitable for mobile terminals is proposed and implemented under the Android operating system. In this paper, a Ad Hoc network communication system under the Android platform is designed. This system can implement Ad Hoc communication of the mobile terminal carrying the Android operating system. The whole system design refers to the TCP/IP protocol, which is divided into link layer, network layer, transmission layer and application layer. The link layer selects the latest WiFi Direct technology and is used in the program. Android API is invoked to achieve link point link transmission between nodes. Network layer selects AODV protocol suitable for Android operating system. AODV is a hybrid routing protocol in Ad Hoc network. After the necessary modification of this protocol, it is implemented on the Android platform. The transmission layer still uses UDP protocol in TCP/IP to complete the protocol. The end to end of adjacent nodes is transmitted. Then these three layers are encapsulated into Ad Hoc protocol library, so that any developer can use this protocol library to implement its application with Ad Hoc function. In the application layer, I developed a chat program based on Ad Hoc protocol library. In the end of this paper, the program is introduced. The developed Ad Hoc protocol library and Android chat application are completed in the Eclipse IDE environment under the Windows 7 operating system, and the programming language is Java..
【学位授予单位】:天津大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TN929.5;TP316
[Abstract]:With the rapid development of mobile Internet, mobile handheld devices access network has become the mainstream. At present, the most popular and popular operating system in the smartphone market is the Android operating system. However, the research on the Android platform communication system is the.Android shift implemented under the centralized and fixed network. If the device wants to communicate in the network, it must pass through the wireless access point or the base station. This makes the terminal on the Android operating system too dependent on the infrastructure while accessing the network, which makes it flexible enough. For this reason, a Ad Hoc network suitable for mobile terminals is proposed and implemented under the Android operating system. In this paper, a Ad Hoc network communication system under the Android platform is designed. This system can implement Ad Hoc communication of the mobile terminal carrying the Android operating system. The whole system design refers to the TCP/IP protocol, which is divided into link layer, network layer, transmission layer and application layer. The link layer selects the latest WiFi Direct technology and is used in the program. Android API is invoked to achieve link point link transmission between nodes. Network layer selects AODV protocol suitable for Android operating system. AODV is a hybrid routing protocol in Ad Hoc network. After the necessary modification of this protocol, it is implemented on the Android platform. The transmission layer still uses UDP protocol in TCP/IP to complete the protocol. The end to end of adjacent nodes is transmitted. Then these three layers are encapsulated into Ad Hoc protocol library, so that any developer can use this protocol library to implement its application with Ad Hoc function. In the application layer, I developed a chat program based on Ad Hoc protocol library. In the end of this paper, the program is introduced. The developed Ad Hoc protocol library and Android chat application are completed in the Eclipse IDE environment under the Windows 7 operating system, and the programming language is Java..
【学位授予单位】:天津大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TN929.5;TP316
【参考文献】
相关期刊论文 前5条
1 叶才卫;;移动互联网浪潮下的智能手机发展浅析[J];移动通信;2012年15期
2 周颖;沈艳秋;;手机发展史[J];科技信息;2010年33期
3 张二征;杨浩宇;;移动通信技术发展与趋势研究[J];河北省科学院学报;2010年03期
4 李宗恒;李俭伟;;主要智能手机操作系统发展现状及前景展望[J];移动通信;2010年Z1期
5 姚昱e,
本文编号:2139436
本文链接:https://www.wllwen.com/kejilunwen/wltx/2139436.html