| With the popularization of Internet and rapid development of network technology, real-time intercommunion becomes more and more indispensable, nowadays. Instant Messaging(IM) is a kind of new application which is based on Internet,it brings a new communication method for us, and can be near-real-time transmits information between persons or facilities. Text chat is the basic function of IM,and some other functions can be integrated in IM,such as audio,video and SMS. At present, the most popular applications about IM are Tencnet's QQ,Microsoft's MSN, Yahoo's messenger and Google's Google talk and Skype. They all have their own a masse of users. Since they employ different communication protocols,it is very difficult to exchange information among these systems, and prevent information exchange between each other. In recent years,the open-source organization has developed a new IM technology called Jabber. Its core protocol is XMPP(eXtensible Message Presence Protocol) based on XML (eXtensible Marked Language). The content of XMPP is open, and now it has established by IETF as a standard protocol of the IM system.Firstly, the paper deeply analyzes the theory and technology of IM system. Then make a detailed study on the characteristics of the XMPP protocol, the network model and the communication process. Lastly, develop an IM system based on XMPP protocol. The system uses Eclipse as the program development tool and SQL Server as the database, adopts client/server mode. The server-side system uses modular design, its core components include: information processing, session management, authentication, perception and so on. Client system uses JAVA SWING technology implements a friendly, attractive and graphical user interface system. Server-side systems and client systems are connected through the SOCKET (TCP), and multi-threaded is used in order to meet the request of multi-user. At the same time, the system can communicate with other non-XMPP IM systems by the extend transport component. |