Font Size: a A A

Design And Implementation Of Web-Oriented Instant Messaging Syatem Based On XMPP Protocol

Posted on:2011-01-22Degree:MasterType:Thesis
Country:ChinaCandidate:L WangFull Text:PDF
GTID:2178360308462031Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
Instant Messaging System, a hot research direction of the internet industry at present, not only supplies the realtime messaging communication platform, changing the e-mail-based traditional means of communication, and enriches ways of people's contact, but also improves work efficiency between the co-workers. With the development of the network technology, many kinds of instanct messaging products emerge, such as MSN, QQ, Fetion and etc. Recently, there comes a new IM system called Online Custom Service System based on web. It provides an application platform for SMEs to raise the company's profile, Increase the Web sales and lower the publicity costs.However, it's difficult for the systems above to exchange information with each other due to the different protocols they use.The IETF's XMPP, benefited from the modle based on XML and distributed network architecture, breaks the situation that traditional instant messaging systems can't interoperate with each other and helps enhance IM interoperability. XMPP is an open, flexible and extensible protocol based on XML for real-time messaging, presence and request-response services, making it the protocol of choice for real-time communications over the Internet. XML is a human-readable text format, so it's open, flexible, portable, and simple to create and read. Through XML, it is easy to build a gateway to interoperate with non-XMPP system for communication. The XMPP gateway is a special-purpose server to translate XMPP into the protocol used by the non-XMPP system, as well as to translate the response data into XMPP.Web browser-based client, in addition to the basic instant messaging features, relieves the users from the tedious work about installing the desktop terminal or updating the software, and provides the client the possibility to use IM whenever he wants, as long as the browser is available. The technic of the Web2.0 brings the benefits of ensuring the real-time feature for the web client and enhancing the user experience, and provides technical support for the web-oriented application.In this paper, the author does research on web-oriented instant messaging system based on XMPP protocal. The details are about five points.First, the author researchesthe feature and archecture of the IM system and makes comparison of the two protocols:XMPP and SIMPLE. Second,the author studies the XMPP, which provides theoretical support for designing the whole system. Thirdly, the author designs and implements the IM system using Java programming language, which is consist of server based on distributed architecture and the client with B/S mode.The functions of the system are about registering, login/logout, changing the status, looking over the friends'status, adding/deleting a friend, and delivering the instance messages. Fourth, the author designs and implements the client with JavaScript and AJAX, one of the rich client technologies, and long-polling technique to implement the communication between the browser and the web server.Fifth, the author proposes the interoperability solution of the IM system based on XMPP and the short message/ multimedia message system,making the one using mobile phone communicate with the XMPP client through short message or multimedia message service.
Keywords/Search Tags:instant messaging, XMPP, interoperability, web-oriented
PDF Full Text Request
Related items