Font Size: a A A

Based On The Jabber Protocol Mobile Instant Messaging System

Posted on:2008-10-22Degree:MasterType:Thesis
Country:ChinaCandidate:C L GuoFull Text:PDF
GTID:2208360215966686Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Instant Messaging (IM) is an internet-based protocol application that allows communication between users employing a variety of device. The most popular form of IM is chatting, at the same time text-based messages are exchanged among computers. Now we can say that IM has become a valuable tool from fashion (such as OICQ, MSN and so on). In commercial domain IM software has become more and more important day by day. It not only makes timely communication between colleagues but also provides a platform to reply the customers promptly. It has become a new hotspot after short message, the free mailbox and the search engine.Along with the popularity of mobile phone and the mightiness of its function the market has already prepared for the transplant of IM from PC to handheld device. Otherwise, as the solution of Java on handheld devices, J2ME (Java 2 Micro Edition) has obtained greatly progressed. The inosculation between mobile communication and internet provides extremely convenient condition. In fact, IM facility on micro mobile information device has giant market potential. Except the traditional superiority, IM facility on mobile phone has proper character- convenience and popularity. It can serve perfect service. Users can chat or trade with their partners anywhere.This topic is established under such background condition.First of all, history, present situation and prospects of IM are briefly introduced in this paper. After that Jabber's system architecture and component, Subscriptions' mechanism and server's solution are described detailedly. At last author explain how to develop IM system on mobile phone using Jabber. And the pivotal codes were given in the paper. The main work, nodus of technology and the innovation are as follow:1,The research of Jabber's technology: reading plenty of papers and codes, tracing its developing process, analyzing Jabber's system architecture and develop pattern, optimizing functions on system's stability, extendibility.2,Accomplish a IM system on mobile phone: author accomplished a IM system using J2ME based on Jabber. Because of Jabber this system can provide self-Presence information to make users' state on line anytime. In this paper the system architecture is made out and discuss how to achieve a perfect IM system based on Jabber step by step.3,The design of system architecture: the architecture of IM system in this paper is C/S pattern. The server uses WildFire based on Jabber. The system information and users' data are stored by MySQL. And because the client is based on Java platform in mobile phone, J2ME language is used.4,Analysing and researching the solution of sever: the popular IM server is analysed and compared from several different sides in this paper. The characters and advantages of WildFire which is open source are discussed. The solution of server is made.5,Design a solution of client for micro mobile information device: the micro mobile information device has some weaknesses such as worse operation ability, little memory and not enough support for Java. These disadvantages lead many difficulties in developing. In this paper the client is made off four parts, communication module, data parsing module, data defining module and function module.6,Design the perfect solution of network connection for diverse users: the connection between server and client is on the GPRS of China Mobile Co. The users' mobile phones and network conditions are different. So there are two connection modes in the system. They are Http mode and Socket mode. And they can be switched automatically.7,Encoding and decoding in communication: in the process of this system communication XML data stream are transferred among client, WildFire server and MySQL. The communication is analysed detailedly, the feasible solution is given about encoding and decoding data stream in communication to ensure the it is expedite and effective.The IM system introduced in this paper has already been carried out on several brand mobile phones, include Nokia, Motorola, SE and so on. The system works normally and registered users are more than 500,000. It has obtained considerable value in economy and society.The author has published a paper in publication named computer systems & applications during his study for master's degree.
Keywords/Search Tags:J2ME, Instant Messaging, Jabber, WildFire, XML, XMPP
PDF Full Text Request
Related items