Using remote data access and merge copy to synchronize data has some problems with data security and is unsuitable for complex network structure. Synchronization service realized data synchronization by the way of reconstructing synchronization components, so the server synchronization components and the client synchronization components could be deployed separately. To encapsulate server components by Windows Communication Foundation ( WCF), the server components provided data synchronization service as an application service layer individually and the problems of data security and unsuitability for complex network structure caused by Remote Data Access (RDA) or merge copy could 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, thus a perfect mobile data synchronization solution based on WCF distributed framework was established.%远程数据访问及合并复制同步方式存在数据安全性及不适合复杂网络环境的问题,而同步服务通过组件重构的方式实现数据同步,因此可以方便地将服务端同步组件和客户端同步组件分别部署.通过使用WCF封装服务端同步组件,可以使得服务端同步组件单独作为应用程序服务层为所有的客户端提供同步服务,从而解决了数据安全及复杂网络环境问题.可以自定义服务端同步适配器实现服务端和客户端之间的增量数据同步,利用同步服务冲突管理机制,又可以采用服务端优先或客户端优先方式解决数据冲突,从而给出一个完善的基于分布式框架的移动数据同步解决方案.
展开▼