摘要: 针对移动通信网络不稳定所造成的数据同步中断问题,使用可扩展标记语言设计一种可增量同步的网络应用协议,采用标记位方式记录同步执行情况,通过数据库、文件系统的相互配合实现增量同步,以提高系统性能及安全性,并利用增量文件传输技术提高数据同步效率。将该协议用于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
中图分类号:
刘宇, 戴鸿君, 郭凤华, 赵国玲. Android平台可增量同步的网络应用协议[J]. 计算机工程, 2011, 37(18): 59-61.
LIU Yu, DAI Hong-Jun, GUO Feng-Hua, DIAO Guo-Ling. Incremental Synchronizable Network Application Protocol on Android Platform[J]. Computer Engineering, 2011, 37(18): 59-61.