Design and Implementation of Mobile Phone Instant Messaging System Based on J2ME
- Author
- WuYanFei
- Advisor
- FengLin
- School
- Dalian University of Technology
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 417
- Citations
- 7
Abstract
J2ME-based mobile instant messaging system , the system client and server communicate using Http protocol , the Http protocol characteristics are briefly described , combined with the use of the system , internal operational processes Http protocol . The operational message format specification for the system client and server communication , and focus on the mobile client polling, landing initialization , registration, login, send a chat and receive chat messages , message specifications for the analysis and design . The present system of the client via the polling mechanism with the server for active communication , is conducive to the optimization of the communication , to achieve a virtual persistent communication procedure . The core module in the architecture of the client module is a message of acceptance and sending module , two modules are multi-threaded execution , acts as the main role of the communication with the server . In the process of communication with the server , the client CMWAP CMNET two ways to connect to the network compatible . System server end of the design and analysis of a server-side system structure , and discuss the design of the server-side database , application server side load balancing carried out the analysis , combined with the actual situation of the system , given the a load balancing of solutions. Load balancing for the database , the introduction of table split and database hash table , the database server is divided into multiple groups share the load caused by high concurrent access to the database . Each database server group to establish a master-slave redundant structure , effective solution to the problem of database reads and writes conflict , shorten system response time . Each database group contains a number of beneficial to share the query load from the database . The master-slave type database redundancy structure conducive database backup and recovery , to avoid a single point of failure .
Table of contents
Abstract 4-5
Abstract 5-9
1 Introduction 9-13
1.1 the background 9-10
1.2 mobile instant messaging system Research 10-11
1.3 mobile phone instant messaging system trends 11-12
1.4 The main contents and structure 12-13
2 mobile phone instant messaging system agreement with the Communications Decency 13-31
the 2.1 HTTP Agreement 13-20 the
2.1.1 HTTP agreements characteristics and related concepts 13-14
2.1.2 HTTP protocol internal procedures 14-16
2.1.3 HTTP protocol domain parameter analysis 16-18 < br /> 2.1.4 HTTP specific communication 18-20
2.2 client communication with the server specification; nbsp 20-31
2.2.1 HTTP communication message format 20-22
2.2.2 mobile client polling design 22-23
2.2.3 Log initialization 23
2.2.4 Register Profile 23-24
2.2.5 normal landing 24
2.2.6 login fails processing 24-27
2.2.7 send chat messages 27-28
2.2.8 receive chat messages 28-29
2.2.9 user's personal data parameter table 29
2.2.10 Sign 29-31
3 mobile phone client instant messaging system designed 31-43
3.1 client architecture 31-32
3.2 customers side development environment 32
the 3.3 of CMWAP CMNET compatible; nbsp 32-36
3.4 client to send a message design 36-37
3.5 customers the end receive messages design 37-38
3.6 mobile client database design 38-40
3.7 mobile client MIDlet technology 40-43 <br / > 4 phone instant messaging client to achieve 43-48
4.1 chat feature the opening and unsubscribe 43-44
4.1.1 users registered 43 - 44
4.1.2 users to unsubscribe from business 44
4.2 client basic operation settings the <br 44-45 /> 4.2.1 to set friends authentication 44-45
4.2.2 changes online information 45
4.2.3 view contact information 45
4.3 contact management and messaging 45 -48
4.3.1 contact group 45-46
4.3.2 Add Contact 46
4.3.3 delete contacts 46 < br /> 4.3.4 send chat messages 46-47
4.3.5 receive chat messages 47-48
the 5 phone instant messaging system server-side design 48-61
5.1 server-side system structure 48-49
5.2 server-side database design 49-51
5.3 load balancing of the network system Technical Overview 51-54
5.3.1 Load Balancing Technical Overview 51-52
the 5.3.2 database cluster database hash table 52
5.3.3 cache 52-53
5.3.4 mirroring 53
5.3.5 DNS polling 53
5.3.6 hardware four exchange 53-54
5.3.7 software four exchange 54
5.4 The system server-side load balancing design 54-60
5.4.1 of the system load balancing scheme design
5.4.2 database 54-57 load balancing design of 57-59
5.4.3 system load balancing program performance analysis 59-60
5.5 Chapter Summary 60-61
concluded 61-62 the
refer to literature 62-65
studying for a master's degree published during the academic 65-66
Acknowledgements 66-67
Related dissertations
- Design and implementation of mobile phone software and network instant communication software
- Research and Implementation of the the Jabber protocol phone instant messaging system
- The Application of Load Balance for E-business Website
- Research and Application of Multi-Processing Load Balancing Technology Based on Multi-Core in Cloud Computing
- The Research of Dynamic Resource Management Key Technologies in Cloud Computing
- Research and Design of Scalable Network Server Based on Linux
- Research and application of pushing send technology of server cluster based on
- The Research for Distributed Control and Addressing Mode of Software Defined Network
- Research on Cloud Resource Scheduling Method Across Cloud Computing Federation
- Simulation and Implementation for Robust Energy-efficient Routing Algorithms Based on Network Topology in IP Backbone Networks
- Research on Resource Scheduling Algorithms in Cloud Computing Environment
- Design and Implementation of Crawler Subsystem of Alipay Merchant Risk Monitoring System
- Research and Implementation Based on the the J2ME Technology of Mobile Securities System
- Application and Research of Digital Room Service System Based on Cluster Server
- Design and Development of Postal Marketing Support Platform Based on Android
- The Design and Implementation of Phone Card Games Based on J2ME
- Design and Implementation of Video Monitoring Management and Load Balancing in Fuzhou
- Design and Implementation of Network Office System Based on Enterprise Instant Messaging Tool MyQQ
- Reseach on Marching-on In-time Scheme and the Fast Algorithm of Time Domain Integral Equation
- Dongguan City Environmental Protection Bureau analysis and design of collaborative office platform