计算机应用 ›› 2011, Vol. 31 ›› Issue (12): 3281-3284.

• 数据库技术 • 上一篇    下一篇

应用WCF分布式框架实现移动数据同步

刘黎志1,2,吴云韬1,2   

  1. 1. 武汉工程大学 计算机科学与工程学院,武汉 430205
    2. 武汉工程大学 智能机器人湖北省重点实验室,武汉 430205
  • 收稿日期:2011-06-01 修回日期:2011-07-08 发布日期:2011-12-12 出版日期:2011-12-01
  • 通讯作者: 刘黎志
  • 基金资助:
    国家自然科学基金资助项目;武汉工程大学智能机器人湖北省重点实验室开放基金资助项目

Application of WCF distributed framework to mobile data synchronization

LIU Li-zhi1,2,WU Yun-tao1,2   

  1. 1. Hubei Province Key Laboratory of Intelligent Robot,Wuhan Institute of Technology,Wuhan Hubei 430205,China
    2. School of Computer Science and Engineering,Wuhan Institute of Technology, Wuhan Hubei 430205,China
  • Received:2011-06-01 Revised:2011-07-08 Online:2011-12-12 Published:2011-12-01
  • Contact: LIU Li-zhi

摘要: 远程数据访问及合并复制同步方式存在数据安全性及不适合复杂网络环境的问题,而同步服务通过组件重构的方式实现数据同步,因此可以方便地将服务端同步组件和客户端同步组件分别部署。通过使用WCF封装服务端同步组件,可以使得服务端同步组件单独作为应用程序服务层为所有的客户端提供同步服务,从而解决了数据安全及复杂网络环境问题。可以自定义服务端同步适配器实现服务端和客户端之间的增量数据同步,利用同步服务冲突管理机制,又可以采用服务端优先或客户端优先方式解决数据冲突,从而给出一个完善的基于分布式框架的移动数据同步解决方案。

关键词: WCF, 移动数据, 数据同步

Abstract: Using remote data access and merge copy to synchronize data exists problems of data security and unsuitable with complex network structure. Synchronization service realizes data synchronization by the way of reconstructing synchronization components, so the server synchronization components and the client synchronization components can be deployed separately. To encapsulate server components by WCF, the server components provide data synchronization service as an application service layer individually and the problems of data security and unsuitable with complex network structure caused by RDA or merge copy can be resolved by this way. Incremental data synchronization can be applied by customizing data adapters and data conflicts can be resolved by data synchronization service conflict management mechanism using server priority or client priority, so a perfect mobile data synchronization solution based on WCF distributed framework is given by this paper.

Key words: Windows Communication Foundation (WCF), Mobile Data, data synchronization