首页 | 本学科首页   官方微博 | 高级检索  
     

移动数据库缓存一致性比较的矩阵校验算法研究
引用本文:邵雄凯,赵鹏飞,唐华.移动数据库缓存一致性比较的矩阵校验算法研究[J].湖北工业大学学报,2006,21(4):88-91.
作者姓名:邵雄凯  赵鹏飞  唐华
作者单位:湖北工业大学计算机学院,湖北,武汉,430068
摘    要:在移动计算系统中,移动单元通常缓存一些数据片段,但是由于移动单元的频繁断接性,缓存会与固定数据库之间发生不一致,为及时更新移动单元所缓存的数据片段,首先必须确定是否发生不一致,哪些页发生了不一致.针对该问题,在以前相关研究成果的基础上,提出一种结合了各种方法优点的新算法,通过分别在固定数据库和缓存计算数据页的校验和,并按照同样的策略将校验和排列成矩阵再进行比较,诊断出不一致的页面.有效地减少了数据传送量,提高了诊断精度,且简单易行.

关 键 词:移动计算  数据库  数据复制  同步  数据一致  文件比较
文章编号:1003-4684(2006)08-0088-04
收稿时间:2006-05-23
修稿时间:2006年5月23日

A Matrix Algorithm of File Comparison to Keep Data Consistency in Mobile Database
SHAO Xiong-kai,ZHAO Peng-fei,TANG Hua.A Matrix Algorithm of File Comparison to Keep Data Consistency in Mobile Database[J].Journal of Hubei University of Technology,2006,21(4):88-91.
Authors:SHAO Xiong-kai  ZHAO Peng-fei  TANG Hua
Affiliation:School of Computer, Hubei Univ. of Technology, Wuhan 430068, China
Abstract:Among the mobile computing system,mobile units usually cache some data fragment in them.,There may be some disagreements between fixed database and mobile unit cache,for they frequently connect and disconnect.In order to update the cache,we have to attain the information whether there are disagreements or not;and if disagreements do exist,which pages are not identical.On the basis of the findings of former researches,this article presents a new algorithm which combines virtues of them.This algorithm compute checksums of data pages on fixed database and mobile unit respectively,then compare the checksums after arraying them to a matrix in a same strategy,and finally diagnose the pages that are not identical.It is proved that,there are less data transfer and more diagnosis precision in our algorithm which is simple as well.
Keywords:mobile computing  database  data replication  synchronization  data consistency  file comparisons  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号