Font Size: a A A

Design And Implementation Of Mobile Phone Instant Messaging System Based On J2ME

Posted on:2008-11-04Degree:MasterType:Thesis
Country:ChinaCandidate:Y F WuFull Text:PDF
GTID:2178360242467559Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
This paper realize a mobile phone instant message system based on j2me, the communication protocol between client and server is http, we described the basic character and inner operation flow of http communication. we designed the criterion of message passed between client and server. Especially, we gave detailed design of client's initiaion, register, login, sending message, receiving message, and so on.The communication between client and server of the system is launched by client other than server, this mechanism is make for optimization of communication and it realized the virtual permanence of communication. The core modules in the client architecture are sending message module and receiving message module, these two modules runed in the separate threads which used to communicate with servers. The client of the system also supported connecting server using both cmwap and cmnet.In the last part, we gave a architecture diagram of the servers. we described the design of the database, especially, analysed the load balancing problem of the servers and gave a scheme of load balaning of the system at the end.In order to solving the load balancing problem of database,we introduced technology of partitioning table,which partitioned a database into several groups and each group contains a master database and several slave databases.The master-slave architecture is able to solving read-write conflict problem,reducing the system respond time effectively,making for database backup and resume,avoiding a single point of failure.
Keywords/Search Tags:Instant Message, J2me, Load Balancing, Table Hash
PDF Full Text Request
Related items