XJIPC OpenIR  > 多语种信息技术研究室
Thesis Advisor蒋同海
Degree Grantor中国科学院大学
Place of Conferral北京
Degree Name硕士
Degree Discipline计算机应用技术
Keyword数据同步 混合移动应用 Json 同步协议 Sqlite


Other Abstract

In recent years, with the rapid development of mobile Internet, the popularity of mobile smart devices is very high, as well as the number of mobile applications has also increased dramatically. Because mobile applications typically use the client server (C/S) architecture, therefore, the problem of data synchronization between clients mobile applications and servers applications has been becoming more and more urgent to be solved. While some solutions have been presented , there are some common weaknesses in them, such as the low synchronization efficiency, the problem of redundant data synchronization, and the problem of offline data synchronization.The main work of this paper is to design and implement a data synchronization scheme for mobile application, and several things have been finished. Firstly, a special data synchronization protocol is designed for clients to communicate with servers, and a protocol is the rules that mobile terminals and servers are going to meet to interact with each other, just as HTTP, TCP and IP do in a computer network, thus, a protocol is able to interact with heterogeneous systems, which makes data synchronization possible; Secondly, the synchronization algorithm of client and server is designed to ensure the synchronization of offline data can be carried out accurately and efficiently; Thirdly, the JSON is used for data exchanging format, while the traditional data synchronization method often uses XML, because JSON is more lightweight, no extra label and use the key-value pairs to represent data. Meanwhile, Java version 8 has added more JSON API, which will make JSON more and more widely used in the future; At last, the storage strategy uses the SQLite database to store data, while the most mobile applications use file system. Because SQLite database has good performance and powerful function, it is very suitable for applications with large amount of data to store data in SQLite.The actual test show that the efficiency of this strategy was significantly higher than that of XML and file storage based scheme, especially with the increase of data amount, this kind of advantage becomes more obvious, which proves that this strategy is reasonable and efficient in offline data synchronization, and provides some theoretical and practical supports .

Document Type学位论文
Recommended Citation
GB/T 7714
穆鑫鑫. 基于JSON的数据同步策略研究及应用[D]. 北京. 中国科学院大学,2017.
Files in This Item:
File Name/Size DocType Version Access License
基于JSON的数据同步策略研究及应用.p(2487KB)学位论文 开放获取CC BY-NC-SAApplication Full Text
Related Services
Recommend this item
Usage statistics
Export to Endnote
Google Scholar
Similar articles in Google Scholar
[穆鑫鑫]'s Articles
Baidu academic
Similar articles in Baidu academic
[穆鑫鑫]'s Articles
Bing Scholar
Similar articles in Bing Scholar
[穆鑫鑫]'s Articles
Terms of Use
No data!
Social Bookmark/Share
All comments (0)
No comment.

Items in the repository are protected by copyright, with all rights reserved, unless otherwise indicated.