计算机工程 ›› 2011, Vol. 37 ›› Issue (18): 59-61.doi: 10.3969/j.issn.1000-3428.2011.18.020

• 网络与通信 • 上一篇    下一篇

Android平台可增量同步的网络应用协议

刘 宇 1,戴鸿君 1,郭凤华 1,赵国玲 2   

  1. (1. 山东大学计算机科学与技术学院,济南 250101;2. 山东电子职业技术学院,济南 250014)
  • 收稿日期:2011-02-16 出版日期:2011-09-20 发布日期:2011-09-20
  • 作者简介:刘 宇(1987-),男,硕士研究生,主研方向:网络协议设计,嵌入式系统;戴鸿君,讲师、博士后;郭凤华,副教授、 博士;赵国玲,教授
  • 基金项目:

    国家科技重大专项基金资助项目“新一代宽带无线移动通信网”(2009ZX03001-016-02-04, 2009ZX03004-005-01)

Incremental Synchronizable Network Application Protocol on Android Platform

LIU Yu 1, DAI Hong-jun 1, GUO Feng-hua 1, ZHAO Guo-ling 2   

  1. (1. School of Computer Science and Technology, Shandong University, Jinan 250101, China;2. Shandong College of Electronic Technology, Jinan 250014, China)
  • Received:2011-02-16 Online:2011-09-20 Published:2011-09-20

摘要: 针对移动通信网络不稳定所造成的数据同步中断问题,使用可扩展标记语言设计一种可增量同步的网络应用协议,采用标记位方式记录同步执行情况,通过数据库、文件系统的相互配合实现增量同步,以提高系统性能及安全性,并利用增量文件传输技术提高数据同步效率。将该协议用于Android手机宿舍管理系统,结果表明,系统支持传输中断,数据同步的可靠性明显提高。

关键词: Android平台, 客户端/服务器架构, 增量同步, 可扩展标记语言, 标记位

Abstract: In order to solve data synchronization interruption caused by instability of mobile communication network, this paper uses Extensible Markup Language(XML) to design incremental synchronizable network protocol, and tags-bit to record incremental synchronization information. The protocol achieves the incremental synchronization process by coordinating of database and file system to improve the system performance and security. The incremental file transfer technology used in the protocol can improve the efficiency of data synchronization. The network protocol is applied to a dormitory management system on mobile phone with Android. Experimental results show that the system supports transmission interrupt and the reliability of the data synchronization is improved.

Key words: Android platform, Client/Service(C/S) architecture, incremental synchronization, Extensible Markup Language(XML), tag bit

中图分类号: