Font Size: a A A

Design And Implementation Of Web Instant Message System Based On XMPP

Posted on:2016-10-06Degree:MasterType:Thesis
Country:ChinaCandidate:Q P ChenFull Text:PDF
GTID:2308330479993989Subject:Pattern Recognition and Intelligent Systems
Abstract/Summary:PDF Full Text Request
With the advent of the Internet and the rapid development of Web2.0 era, the traditional C/S architecture of instant messaging software, has been unable to fully meet the needs of users to chat anytime, anywhere. The Web-based instant messaging software does not need to download the client, you can use instant messaging services just by opening the browser. This style of service access has inherent convenience of Web applications, and points where futural Internet technologies develop. Therefore, the development of Web-based instant messaging software has great significance. The real-time communication system this topic develops will be embedded into the website to provide users with real-time communication services,which is a basic service of the personal information management and fitness sports circles cloud platform project,being developed by a company in Shenzhen.This paper chooses the open source XMPP protocol as the communication protocol, based on understanding of the principles and characteristics of instant messaging system, combined with the project functional requirements analysis. XMPP protocol is open, distributed, secure, scalable, etc., and XMPP protocol uses a distributed network architecture, and can interact with non-XMPP instant messaging software. In this paper, a detailed study of the XMPP protocol including address space, XML streams and XML stanzas, XMPP session and analysis of the business processes of the XMPP client and XMPP server are made. On the basis of in-depth study of the XMPP protocol and the project requirements, we design the overall structure and framework of the Web side instant messaging system, using ejabberd and exmpp as a development platform. Ejabberd is the mainstream open source XMPP server and supports distributed and modular development.The inner workings of ejabberd’s communication framework and modular mechanism are analyzed in this paper on behave of futural plugin development. Exmpp is Erlang language library that provides the underlying communication support for XMPP. Erlang is a functional programming language with advantages of high concurrency, distribution, fault tolerance and heat code exchange, suitable for development of high-concurrency server applications, and can effectively solve the problems of large concurrent access and software upgrading.The web client is developed using the zotonic framework,which is Erlang?s web development framework and supports front-end communication technologies such as Comet and Web Socket.These techniques can meet the requirements of real-time refreshment that instant messaging system need.Finally performance and functional testing are done on the site instant messaging system and the system gets through the web end user registration, login and logout, friends management, messaging and other functions test,and is concluded into a test report, which proves the site instant messaging system meet our needs.
Keywords/Search Tags:Site Instant Messaging, XMPP protocol, Erlang, Exmpp
PDF Full Text Request
Related items