【Android论文栏目提醒】:网学会员为需要Android论文的朋友们搜集整理了基于XMPP协议的Android即时通信系统设计 - 期刊论文相关资料,希望对各位网友有所帮助!
第19卷 第8期 电子设计工程 2011年4月 V01.19 NO.8 Electronic Design Engineering Apr.2011 基于XMPP协议的Android即时通信系统设计 黄伟敏 (陕西铁路工程职业技术学院陕西渭南714000) 摘要:即时通信通过互联网给人们提供了便捷的通信手段,针对手机覆盖区域和效果的不断提升.提出一种在流行 的Android手机操作系统上,实现客户端与客户端之间的即时通信的设计方案。
设计基于开源的XMPP即时通信协 议,采用C/S体系结构,通过GPRS无线网络用TCP协议连接到服务器,以架设开源的Openfn’e服务器作为即时通讯 平台。
极大地方便了互联网通信不畅的用户。
关键词:Android;XMPP;Openfire;即时通信 中图分类号:TP399 文献标识码:A 文章编号:1674—6236(2011)08瑚57—03 Design of Android Instant Messaging system based on XMPP agreement HUANG Wei.min (Shatmxi Railway Institute,Weinan 714000,Ch/na) Abstract:Instant Messaging over the Intemet to provide a convenient lneans of communication,aiming at constant rise of mobile coverage area and the effects,on the pop Android mobile operating system,a design t明:heme was presented to achieve instant communication between the client and the client program.A XMPP Instant Messaging protocol based on open 80uFce wa8 designed,it used C/S architectureand TCP protocol to connect to the server via GPRS wireless network,to set up Openfire server a8 open souI℃e instant messaging platform.which greatly facilitated the user whose Internet communication is not smooth. Key words:Android;XMPP;Openfire;Instant Messaging 2007年11月,Coosle推出了底层使用开放性Linux 域名服务器1 l型鲨查生鲎I恒型Kernel为架构.包含中间件、用户界面、应用软件组成的一套智能开源手机平台一Andmid〔1l。
Android SDK提供Android平 两i雾墓司伍石两i芬暮司I茎垡垦查墨台上使用Java语言进行Android应用开发必须的工具和API XMPP客户 I删PP客户端1.·<逊试网接口。
本文的研究目的就是基于XMPP(Extensible Messagingand Presence Protoc01)协议冈,提供在Android平台上实现一 图l系统体系结构图 Fig.1 System Architecture 1)iaFam种能够使用户在手机上方便、迅捷的收发即时消息、传输图片的即时通信服务系统设计方案。
程,进行即时通信时,由客户端负责向服务器发起创建连接 请求。
系统通过GPRS无线网络与Internet网络建立连接,通1系统体系结构 过服务器实现与Android客户端或PC机客户端之间的即