基于服务器推送技术和XMPP的WebIM系统实现  被引量:26

Implementation of web instant message system based on server push technology and XMPP

在线阅读下载全文

作  者:陈航[1,2] 赵方[1] 

机构地区:[1]北京林业大学信息学院,北京100083 [2]Sun中国工程研究院,北京100084

出  处:《计算机工程与设计》2010年第5期925-928,994,共5页Computer Engineering and Design

基  金:国家"十一五"科技支撑基金项目(2006BAD10A03)

摘  要:为解决现有WebIM系统中大量用到AJAX周期请求而产生的系统消息延迟,以及客户端和服务器端通信量大的问题,提出了以服务器推送技术作为基础的WebIM系统,并选择XMPP作为服务器和客户端的通信协议。在比较AJAX和Comet技术原理的基础上,给出了Comet技术实现HTTP长连接的策略。通过一个原型WebIM系统,验证了Comet技术在WebIM系统中使用的确可以有效地解决大量AJAX周期请求的问题。To solve AJAX' s great amount periodic request problem in existing system, which result in message delay and communication overload between client and server, an web instant-message system based on server push technology is proposed, meanwhile XMPP is used for the communication protocol. With comparing AJAX and comet' s technical principle, long-lived HTTP connection strategy are presented which relied on comet technology. An application case of web instant message prototype system validated the AJAX' s periodic request problem can solved with comet.

关 键 词:Web即时通讯 Comet技术 可扩展消息处理在线协议 Jetty服务器 服务器推送 

分 类 号:TP393[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象