###
计算机系统应用英文版:2017,26(12):257-261
←前一篇   |   后一篇→
本文二维码信息
码上扫一扫!
基于JSON的离线数据同步策略及应用
(1.中国科学院 新疆理化技术研究所, 乌鲁木齐 830011;2.新疆民族语音语言信息处理实验室, 乌鲁木齐 830011;3.中国科学院大学 计算机与控制学院, 北京 100049)
Offline Data Synchronization Strategy Based on JSON and its Application
(1.Xinjiang Technical Institute of Physics and Chemistry, Chinese Academy of Sciences, Urumqi 830011, China;2.Xinjiang Key Laboratory of Minority Speech and Language Information Processing, Urumqi 830011, China;3.School of Computer and Control Engineering, University of Chinese Academy of Sciences, Beijing 100049, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 1439次   下载 2597
Received:March 08, 2017    Revised:March 27, 2017
中文摘要: 针对智能移动应用的特殊性及其在离线情况下的数据同步问题,提出了一种数据同步方案,使用JSON技术设计数据交换协议,移动端离线数据存放在SQLite数据库中、使用基于时间戳的冲突检测算法提高同步的准确性,并采用增量同步方式保证同步的效率和准确性. 将该策略应用在智慧安防系统中,结果表明,基于JSON离线数据同步效率相比传统基于XML的方案提高约8%.
中文关键词: 数据同步  JSON  SQLite  混合移动应用
Abstract:In view of the particularity of intelligent mobile applications and its data offline synchronization problems, we put forward a scheme of data synchronization, using JSON technology to design data exchange protocol and the SQLite database to store the mobile terminal offline data, using the conflict detection algorithm based on time stamp to improve the accuracy of synchronization as well as the incremental synchronization mode to ensure the efficiency and accuracy of synchronization. This proposed method is applied to an intelligent security system, and the results show that the efficiency of offline data synchronization based on JSON is about 8% higher than that of the traditional XML based scheme.
文章编号:     中图分类号:    文献标志码:
基金项目:中国科学院西部之光人才培养计划项目(XBBS201319);新疆维吾尔自治区青年科技创新人才培养工程基金项目(2014721033)
引用文本:
穆鑫鑫,蒋同海,程力,马玉鹏.基于JSON的离线数据同步策略及应用.计算机系统应用,2017,26(12):257-261
MU Xin-Xin,JIANG Tong-Hai,CHENG Li,MA Yu-Peng.Offline Data Synchronization Strategy Based on JSON and its Application.COMPUTER SYSTEMS APPLICATIONS,2017,26(12):257-261