您好,欢迎访问三七文档
毕业设计论文设计(论文)题目:基于Android的手机即时消息学生姓名:许树林学号:1405080215所在学院:电子与信息工程学院专业:计算机科学与技术(软件)指导教师:蔚承建2012年6月13日I摘要随着移动通信与Internet的飞速发展及相互融合,GPRS使无线网络高速接入到Intemet成为现实,移动用户从而可以享受到Intemet提供的服务。即时通讯是基于互联网协议的应用程序,它能够使应用不同设备的用户进行通信,随着手机的不断普及以及性能的不断提升,为即时通讯系统从传统的PC机到手机的移植提高了很好的条件。而且在中国庞大的手机用户中,通过手机使用即时通讯软件的用户越来越多。当前的手机操作系统都过于封闭,各大即时通讯软件采用的通讯协议也不统一,而Android是基于Linux的开源的手机操作系统平台,XMPP是基于XML的开源的即时通讯协议,因此基于Android平台和XMPP协议开发即时通讯系统具有很好的应用前景。本文首先给出了系统的研究背景,对当前手机操作系统、即时通讯软件和即时通讯协议的发展现状做了简单的介绍。进而详细的分析了Android的特征、架构以及Android应用的构成和工作机制,并对Android与其他手机操作系统进行了比较,说明了Android在手机操作系统中的优势。本文详细的提出了系统的架构,以及系统服务器端和客户端的解决方案,采用开源的Openfire作为系统的即时通讯平台,实现移动客户端之间的即时通讯。对系统客户端的组成模块进行了介绍,对即时通讯协议XMPP以及系统的通讯机制进行了分析。对服务器的运行流程进行了分析并对系统客户端进行了详细的设计与实现,最后对系统进行了部署和测试。关键词:Android,XMPP,Openfire,即时通讯IIABSTRACTWiththerapiddevelopmentandintegrationofmobilecommunicationandInternet,GPRSwirelessnetworksmakinghigh-speedaccesstotheInternetbecomesrealityandmobileuserscanenjoyservicesprovidedbyInternet.InstantmessagingisbasedonapplicationsofInternetprotocol,whichcanenableuserstousedifferentdevicestocommunicate.Andwiththeconstantpopularityofmobilephonesaswellasthecontinuousperformanceimprovement,itistimeforreal-timecommunicationsystemstotransplantfromthetraditionalPC-Mobile.Additonally,inthemarketofChina’shugemobilephoneusers,mobileusersofinstantsoftwareisincreasing.Currently,mobileoperatingsystemsaretooclosedandthemajorinstantmessagingsoftwarecommunicationprotocolsusedarenotunified.Androidisbasedontheopen-sourceLinuxmobileoperatingsystemplatformandXMPPisaXML-basedopen-sourceinstantmessagingprotocol,soAndroidandXMPP-basedinstantmessagingsystemshavegoodapplicationprospect.Inthispaper,firstofall,asystematicstudyofthebackgroundonthecurrentmobileisintroduced.Thenthestatesofmobileoperatingsystems,instantmessagingsoftwareandinstantmessagingprotocol’sdevelopmentaresimplydescribed.Furthermore,thecharacteristics,architecture,compositionandworkingmechanismofAndroidareanalyzedindetail.Finally,theadvantagesofandroidareinstructedthroughcomparisonwithothermobileoperatingsystem.Thispaperputsforwardadetailedsystemarchitectureandthesolutionofsystemserversideandclientside.Usingopen-sourceOpenfireasasystemofinstantmessagingplatformrealizesclient-sideinstantmessaging.Themodulecompositionofthesystemclient-sideisintroduced,andXMPPinstantmessagingprotocolandthecommunicationmechanismofthesystemareanalyzed.RunningProcessesoftheIIIserverareanalyzed.Inaddition,thesystemclient’ssideisdesignedandrealizedindetail.Finally,thesystemisdeployedandtested.KeyWords:Android,XMPP,Openfire,InstantMessaging目录摘要.................................................................................................................................................IABSTRACT......................................................................................................................................II第一章绪论.....................................................................................................................................11.1系统背景.............................................................................................................................11.2相关技术的发展现状.........................................................................................................21.2.1手机操作系统的发展现状......................................................................................21.2.2即时通讯软件的发展现状......................................................................................21.2.3即时通讯协议的发展现状......................................................................................31.3本文主要工作.....................................................................................................................41.4论文组织结构.....................................................................................................................4第二章开发语言与相关技术.........................................................................................................52.1Android架构分析...............................................................................................................52.1.1Android特征............................................................................................................52.1.2Android架构............................................................................................................62.1.3Android应用的构成和工作机制............................................................................82.1.4Android与其他手机操作系统的比较.................................................................102.2系统即时通讯协议...........................................................................................................102.2.1XMPP协议............................................................................................................102.2.2XMPP地址结构....................................................................................................102.3.3XMPP协议消息格式.............................................................................................112.3.4XML流.........................................................
本文标题:安卓即时通信
链接地址:https://www.777doc.com/doc-315930 .html