湖南师范大学硕士学位论文基于Android平台的即时通讯
系统的研究与实现:罗伟申请学位级别:硕士专业:
计算机软件与理论指导教师:高春鸣20090301
摘
要
随着移动
通信与Internet的飞速发展及相互融合,GPRS使无线
网络高速接入到Intemet成为现实,移动用户从而可以享受到Intemet提供的服务。即时通讯是基于互联网协议的应用
程序,它能够使应用不同设备的用户进行通信,随着手机的不断普及以及性能的不断提
升,为即时通讯系统从传统的PC机到手机的移植提高了很好的条件。
而且在中国庞大的手机用户中,通过手机使用即时通讯软件的用户越来越多。当前的手机操作系统都过于封闭,各大即时通讯软件采用的通讯协议也不统一,而Android是基于Linux的开源的手机操作系统平台,XMPP是基于XML的开源的即时通讯协议,因此基于Android平台和XMPP协议开发即时通讯系统具有很好的应用前景。本文首先给出了系统的研究背景,对当前手机操作系统、即时通讯软件和即时通讯协议的发展现状做了简单的介绍。进而详细的分析
了Android的特征、架构以及Android应用的构成和
工作机制,并对
Android与其他手机操作系统进行了比较,说明了Android在手机操
作系统中的优势。本文详细的提出了系统的架构,以及系统服务器端和客户端的解决
方案,采用开源的Openfire作为系统的即时通讯平台,实现移动客户端之间的即时通讯。对系统客户端的组成模块进行了介绍,对即时通讯协议XMPP以及系统的通讯机制进行了分析。针对当前通信数
据的安全
问题并结合本系统的特点,对IDEA数据加密算法进行了改
进,提出了A.IDEA算法的
设计,并对两种算法从几个方面进行了对
比分析,对于图片文件的加密,采用A.IDEA与RSA算法相结合的
方案。对服务器的运行流程进行了分析并对系统客户端进行了详细,最后对系统进行了部署和测试。关键i:百---]l
Android,XMPP,A—IDEA,Openfire,即时通讯
ABSTRACT
With
the
rapid
development
and
integration
of
mobile
comrrlunication
accessto
and
Internet,GPRSwirelessnetworksmakinghigh—speed
theIntemetbecomesreality
andmobileusers
isbased
touse
can
enjoyservices
of
to
providedby
Interact.Instantmessaging
can
on
applications
Intemetprotocol,which
enableUSerS
differentdevices
as
communicate.Andwiththe
as
constant
popularityofmobilephones
well
thecontinuousperformanceimprovement,itistimeforreal—time
to
communicationsystems
transplant
fromthetraditionalPC—Mobile.
Additionally,inthemarketofChina’Shugemobilephoneusers,mobile
phone
users
usingof
instantmessaging
aretoo
softwareisincreasing.Currently,
mobileoperatingsystems
software
on
closed,andthe
majorinstantmessaging
communication
protocolsusedarenotunified.Androidisbased
theopen-sourceLinuxmobileoperatingsystemplatform,and
a
XMPP
is
XML-based
open-source
instantmessagin
gprotocol,S0Androidand
goodapplicationprospect.
XMPP—basedinstantmessagingsystemshave
Inthispaper,firstofall,asystematicstudyofthe
current
background
on
the
mobileoperating
systems
are
isintroduced.Thenthestatesofmobile
operatingsystem,instantprotocol’S
messagingsoftwareandinstantmessagingsimplydescribed.Furthermore,the
development
characteristics,architecture,compositionandworkingmechanismof
Android
This
are
analyzedindetail.Finally,the
advantagesof
Android
are
instructedthroughcomparisonwithothermobileoperatingsystem.
paperpu