| Popularity of smart phones mobile Internet ushered in a good opportunity for development, mobile platform instant messaging technology rapid rise of instant messaging as a form of real-time online interaction has penetrated into the various fields of social life. Development of traditional instant messaging systems into the stationary phase, has many mature instant messaging systems, such as micro letter, QQ and other personal free communications software. Now it’s turning the direction of the vertical business mobile terminal, in the electricity business, community service and other areas to join chat.XMPP is based on the open IM protocol XML language, Chinese translated into scalable messaging and presence protocol, enabling interoperability between applications developed using XMPP. The network architecture XMPP protocol, combined with the system’s functional requirements, you can use C/S architecture model design instant messaging software modules. Selection of open source server Openfire, for Openfire secondary development, add a lot of functionality extensions, while the preparation of the record-keeping and permanent chat room plug-in and performance is optimized for Openfire. Characteristics of the project on a mobile platform designed buddy management, registration connectivity, messaging and local data caching four modules. Android and IOS platforms Coding registered user login, sending and receiving messages, group chat and friends to add and delete other basic functions.Instant messaging platform for mobile health system was functional and performance testing. On both platforms clients can successfully run each module provides the basic user management function, it can also complete interactive text, pictures and other information, and functions to achieve good. Use Tsung for Openfire stress test, after optimization significantly improves concurrency Openfire server. The system running smoothly across different platforms can interact to meet project requirements. |