摘要
为实现界面美观、功能丰富、对用户友好的基于Android的即时通信功能,本系统利用Jabber/XMPP的体系结构,构建了一个基于XMPP协议的包括客户端和服务器端的即时通信系统。其中服务器端采用开源的Jabber服务器Openfire,客户端基于XMPP核心及扩展协议,利用Beem的开发包Asmack进行研究开发。本系统采用MVC软件设计模式,对系统进行了分层建模,从HTTP传输,XMPP协议解析到客户端的各个模块部分都进行分析设计,提出了系统的体系结构和整体构架设计方案。最终,本系统采用松散耦合的方式设计,建立了可扩展的会话模型,设计了一个与Openfire互联通信的客户端系统,实现了Android平台上基于XMPP协议的文字实时数据通信等功能。
To achieve beautiful interface,feature-rich,user-friendly Android-based instant messaging capabilities,this system uses architecture Jabber / XMPP,building a system based on XMPP instant messaging protocol,including client and server side. Where the server uses the open source Jabber server Openfire,client-based XMPP core and extension agreement,the use of development kits Asmack Beem research and development. This system uses the MVC software design patterns,the system is a hierarchical modeling,analytical transmission from HTTP,XMPP protocol to the client portion of each module are designed to analyze proposed architecture and overall design of the system architecture. Ultimately,this system uses a loosely coupled manner designed to establish a scalable model sessions designed a connected client systems to communicate with Openfire,achieve real-time data communication,such as text-based XMPP protocol functions on the Android platform.
出处
《自动化与仪器仪表》
2016年第2期64-66,共3页
Automation & Instrumentation