基于JSON的离线数据同步策略及应用
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

中国科学院西部之光人才培养计划项目(XBBS201319);新疆维吾尔自治区青年科技创新人才培养工程基金项目(2014721033)


Offline Data Synchronization Strategy Based on JSON and its Application
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 增强出版
  • |
  • 文章评论
    摘要:

    针对智能移动应用的特殊性及其在离线情况下的数据同步问题,提出了一种数据同步方案,使用JSON技术设计数据交换协议,移动端离线数据存放在SQLite数据库中、使用基于时间戳的冲突检测算法提高同步的准确性,并采用增量同步方式保证同步的效率和准确性. 将该策略应用在智慧安防系统中,结果表明,基于JSON离线数据同步效率相比传统基于XML的方案提高约8%.

    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.

    参考文献
    相似文献
    引证文献
引用本文

穆鑫鑫,蒋同海,程力,马玉鹏.基于JSON的离线数据同步策略及应用.计算机系统应用,2017,26(12):257-261

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2017-03-08
  • 最后修改日期:2017-03-27
  • 录用日期:
  • 在线发布日期: 2017-12-07
  • 出版日期:
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京海淀区中关村南四街4号 中科院软件园区 7号楼305房间,邮政编码:100190
电话:010-62661041 传真: Email:csa (a) iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号