文档介绍:摘要XMPP(ExtensibleMessagingandPresenceProtocol,可扩展消息处理现场协议)是一种开放的、灵活的、基于XML的实时通讯协议,具有良好的可扩展性,它用于即时消息以及现场探测,能够很好地解决了异构网络的互联互通的问题。它由IETF组织完成标准化,目前,已成为互联网即时通信协议标准。LBS(LocationBasedService,基于位置的服务)是移动通信网络和卫星定位系统相结合,通过获取移动终端用户的位置信息,在GIS(GeographicInformationSystem,地理信息系统)平台的支持下,为用户提供增值服务的一种增值业务。本文主要研究基于XMPP协议和LBS的即时通信系统开发,该系统采用基于XMPP协议实现的开源的openfire服务器作为即时通信服务器,对openfire采用插件开发的形式扩展功能,采用面向对象的方法对用户注册、用户登录、即时消息处理、好友管理功能进行设计。利用网络通信技术和多线程技术完成了对模块的编码和实现。对LBS服务器,采用模块化的方法进行开发,主要分为两部分,首先,完成与IM服务端接口部分设计。其次,LBS功能插件服务部分设计,并对用户位置定位计算服务给出实现方案。后台数据库均使用MySQL,分别完成了对openfire数据库和LBS数据库进行设计。关键词:XMPPXMPPXMPPXMPPopenfireopenfireopenfireopenfireLBSLBSLBSLBS即时通信AbstractXMPP(ExtensibleMessagingandPresenceProtocol)isXML-basedreal-municationprotocolwithgoodscalability,-,(LocationBasedServices)workandsatellitepositioningsystem,esstothelocationinformationofthemobileend-user,toprovideusersvalue-addedserviceswiththesupportoftheGIS(GeographicInformationSystem)---orientareusedindesignofuserregistration,userlogin,-,thedesignofLBSfeaturesplugpart,-:Keywords:Keywords:Keywords:XMPPXMPPXMPPXMPPopenfireopenfireopenfireopenfireLBSLBSLBSLBSInstantInstantInstantInstantMessagingMessagingMessagingMessaging目录第一章绪论......................................................................