Application Research of Database Synchronization Mechanism between Mobile Terminal and Server
- Author
- FangHengMing
- Advisor
- ChenJia
- School
- Dalian Maritime University
- Major
- Management Science and Engineering
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 6
- Citations
- 0
Abstract
At present, information system has a wide range of applications. In order to make the information system become more sophisticated and meet more needs of users, information system must be allowed to have the characteristics of real-time. With the rapid development and upgrades of mobile hardware products, making the problems of information system real-time can be solved. But with the mobile terminal device to join, data of information system becomes more complex and decentralized. This creates a problem:distributed databases and heterogeneous database. In conventional distributed database, the synchronization technology of database has gradually matured. After the introduction of the mobile terminal, because of the characteristics of mobile terminal devices and embedded database, makes the data synchronization issues become more complicate. For this reason, this thesis needs to find a perfect application scheme which is responsible for the mobile terminal and the server data synchronization, in this way to provide better services for users.This thesis has studied large numbers of pertinent literature about database synchronization technologies; Android system and SQLite database, and to combine these technologies and platforms, and then researched the mobile terminal device in data storage and synchronization. Because of the isomerism between the Android system and computer architecture, SQLite database and Oracle, SQL Server database and so on, when to solve the problem of synchronization opportunity between movable termination and servers, this thesis firstly studied the interactive data format between the mobile terminal and the servers, response mechanism and interface standard, and then discussed several data synchronization situations which may be exist in the information system. After that, this thesis tried to design the overall list synchronization mechanism, the field tag synchronization mechanism, the storage key and the corresponding operation synchronization mechanism and storing the SQL statement synchronization mechanism. In addition, this thesis summarized usable conditions of each scheme and relative merits. At last, this thesis took the pilot dispatching information system for example, to realize the data synchronization, and to solve the problem of synchronization of mobile terminal and the server data, and to achieve the demand of real-time and unity of the information system. The data synchronization mechanism established in this thesis solved the problem of data synchronization of mobile terminal equipment; accordingly, removed an obstacle for the development and wider application of the information system. In this way, to make the information system becomes more real-time, adaptive, integrity, consistency and scalability.
Table of contents
Summary 5-6
ABSTRACT 6-10
Chapter 1 Introduction 10-16
1.1 subject background 10-11
1.2 theoretical significance and research value 11-12
1.3 current research 12-14
1.3.1 data integration and synchronization status quo at home and abroad 12-13
1.3.2 Android system to synchronize data with the status quo at home and abroad about the 13-14
1.4 the main work 14
1.5 thesis content arrangement 14-16
Chapter 2 Summary of relevant technical theory 16-29
2.1 Android system 16-24
2.1.1 Android system architecture structure and working mechanism 17-18
2.1.2 Android application 18-22
advantage 2.1.3 Android platform 22-23
2.1.4 SQLite database 23-24
2.2 data Interchange Format - JSON and XML 24-27
2.2.1 JSON 25 <br / > 2.2.2 XML 25-26
2.2.3 JSON and XML in contrast to Android interaction with the server 26-27
2.3 Android JSON servers use to interact with the principle 27
2.4 Summary 27-29
Chapter 3 pilotage system mobile terminal data synchronization mechanism design 29-52
3.1 pilot scheduling information system needs analysis drawbacks 29-32
3.1.1 traditional pilot scheduling system 29-30
3.1.2 pilot scheduling system business processes 30-32
Requirements 3.1.3 mobile devices 32
3.2 mobile terminals to synchronize data in the form and characteristics 32-39
3.2.1 mobile terminal features 32-34
3.2.2 mobile terminal to store data in the form of 34-37
3.2.3 mobile terminal data synchronization features 37
3.2.4 mobile the main function of the terminal 37-39
3.3 mobile terminal data synchronization mechanism design 39-50
3.3.1 overall design 39-42
table 3.3.2 overall synchronization mechanism design 42-44
3.3.3 fields marked synchronization mechanism design 44-46
3.3.4 storage keywords and corresponding synchronous operation mechanism design 46-48
3.3.5 SQL statements stored synchronization mechanism design 48-50
3.4 Summary 50-52
Article Chapter 4 pilotage system to synchronize the mobile data terminal 52-70
4.1 development tools 52-53
4.1.1 Eclipse 52
4.1. 2 Android SDK 52-53
4.1.3 Android emulator 53
4.2 Android development environment 53-54
4.2.1 Android development environment structures 53-54
4.2.2 Android mobile platform environment 54
realize 4.3 pilotage scheduling information systems 54-60
4.3.1 development -level framework 54-56
realize 4.3.2 core functions 56-59
4.3.3 mobile terminals to achieve data synchronization interface 59-60
4.4 to synchronize the mobile data terminal 60-69
4.4.1 JSON string conversion classes - GSON 61-62
4.4.2 interface layer to achieve 62-64 realization 4.4.3 logic layer
64-67
4.4.4 synchronization effect instance 67-69
4.5 chapter Summary 69-70
Chapter 5 conclusions 70-74
5.1 summarizes 70-72
5.2 Prospects 72-74 <br / > References papers published during the 74-78
pursue a degree 78-79
Thanks 79
Related dissertations
- The Design and Implementation of Mobile Medical Management System
- The Design and Implementation of Mobile Monitoring System in Safety Production of Coal Mine Based on Android
- Research and Design of Embedded Gateway Based on BACnet Protocol
- Design and Implementation of a Android-based Home Security Remote Monitoring Terminal System
- Research and Implementation of Vedio Surveillance System Based on Android Architecture and Smoke Detection
- Design and Implementation of Crane Monitoring System Based on Android
- Research and Implementation of Intelligent Video Surveillance System Based on Android
- Design and Research of Mobile Video Surveillance System Based on MJPG-Streamer
- Research and implementation of remote monitor system of ship based on the technology of the Internet of things
- Security Detection System Based on the Android Paltform
- Research on Meteorological Data Acquisition and Processing System
- The Research of Fall Detection Based on Mobile Terminal
- Design and Implementation of a Human Activity Monitoring System Based on Smart Mobile Terminal
- The Smart Home Control System Based on Android System
- The Design and Implementation of Android Smart Home Control System
- Embedded System Applications in the Smart Home
- Design and Implementation of Intelligence Home System Based on ZigBee
- Design and Implementation of Smart Home System Based on Android Platform
- Remote Home Monitoring and Control System Based on ARM9
- Research and Design of Embedded Intelligent Bus Station Guideboard Control System