搜档网
当前位置:搜档网 › 移动数据库中数据复制同步处理策略的研究

移动数据库中数据复制同步处理策略的研究

2016,52(1)1引言移动数据库复制是一种异步复制,将用户频繁访问的数据预先缓存到数据库中,在网络断接时,用户根据本地缓存对数据副本操作,从而提高数据的可用性并减少对数据请求的平均响应时间,但它同时也带来了数据

冲突问题[1-4]。为此,目前已提出许多模型和算法解决该问题,如两级复制机制、多版本冲突消解算法等。但这些方法都存在同步过程通讯数据量大,消耗较多存储空移动数据库中数据复制同步处理策略的研究

王瑞峰,张小花,张迎春

WANG Ruifeng,ZHANG Xiaohua,ZHANG Yingchun

兰州交通大学自动化与电气工程学院,兰州730070

School of Automation and Electrical Engineering,Lanzhou Jiaotong University,Lanzhou 730070,China

WANG Ruifeng,ZHANG Xiaohua,ZHANG Yingchun.Research on synchronous processing strategy of data repli-cation in mobile https://www.sodocs.net/doc/f59127707.html,puter Engineering and Applications,2016,52(1):61-65.

Abstract :Synchronization is one of the key technologies in maintaining the consistency of replicated mobile database systems.The current mobile replication synchronization technology has many defects,such as the large amount of com-munication data and storage space consumption,especially,when the network bandwidth falls,it cannot update the client data timely,which lead to fail to perform mobile transactions.In order to solve the above shortcomings,the paper adopts UTLRSP (Union Transaction-Level Result-Set the Propagation )replication synchronization model combined with the data broadcasting technology,and by using the incremental updating algorithm based on priority to realize client and center database server data synchronization processing.Experimental results show that the model effectively reduces the consump-tion of client storage space and cuts down the communication costs compared with the two levels of replication mechanism.It associates the performing transaction with other transactions,and only saves transaction execution results.When the wireless network bandwidth falls,the algorithm prioritizes data according to the freshness.It ensures the highest freshness data transfer firstly.The algorithm improves the efficiency of data transmission,dynamic freshness and scalability for the client.

Key words :mobile database;Union Transaction-Level Result-Set the Propagation (UTLRSP );replication;synchronization;conflict resolution;dynamic freshness

摘要:同步技术是保证复制移动数据库系统一致性的一项关键技术,鉴于目前移动复制同步技术存在通讯数据量大,存储空间消耗多,尤其是在网络带宽下降时,不能及时更新客户端的数据,导致移动事务执行失败等缺陷。通过UTLRSP (Union Transaction-Level Result-Set Propagation ,关联事务结果集)复制同步模型结合数据广播技术,并利用基于优先级的增量更新算法实现客户端与中心数据库服务器的数据同步处理。实验结果表明,与两级复制机制相比,UTLRSP 模型将事务作相关联处理,且只保存事务结果,有效降低了存贮空间的消耗,减小了同步过程中通讯数据量;基于优先级的增量更新算法根据数据新鲜度排列优先级,保证在无线网络带宽下降时新鲜度最高的数据先传输,提高了数据的传输效率、动态新鲜度以及客户端的可扩展性。

关键词:移动数据库;关联事务结果集(UTLRSP );复制;同步;冲突处理;动态新鲜度

文献标志码:A 中图分类号:TP311doi :10.3778/j.issn.1002-8331.1312-0262

基金项目:甘肃省自然科学基金(No.1310RJZA046)。

作者简介:王瑞峰(1966—),女,教授,硕士研究生导师,主要研究领域为交通信息工程及控制;张小花(1990—),女,硕士研究生,主

要研究领域为交通信息工程及控制,E-mail :740593171@https://www.sodocs.net/doc/f59127707.html, ;张迎春(1984—),男,工程师,主要研究领域为弱电设计。收稿日期:2014-01-04修回日期:2014-03-01文章编号:1002-8331(2016)01-0061-05

CNKI 网络优先出版:2014-04-30,https://www.sodocs.net/doc/f59127707.html,/kcms/doi/10.3778/j.issn.1002-8331.1312-0262.html Computer Engineering and Applications 计算机工程与应用

61

相关主题