摘要
针对智能终端存在与服务器数据不一致的问题,提出基于数字指纹的数据一致性保障方法.数字指纹又叫hash指纹,采用改进的BKDR哈希算法将消息数据和实体文件数据映射成相应的哈希码.将需要进行一致性处理的数据集按合适的粒度进行划分,并在SOAP消息中附带hash指纹提取协议,智能终端通过Web服务从服务器端获取需要的hash指纹信息文件,然后通过比较智能终端和服务器的hash指纹信息文件消除差异,从而保障智能终端缓存与服务器数据的一致性.
For the existence of intelligent terminal and the server data inconsistency issue, the method of data consistency based on dig- ital fingerprint is proposed. Digital fingerprint is also called hash fingerprint. The message data and entity file data are mapped into the corresponding hash code with the improved BKDR hash algorithm. The intelligent terminal can get the data set we need from the serv- er according to the appropriate size to be divided, and comes with hash fingerprint extraction protocol in the SOAP message, the intelli- gent terminal can obtain the required hash fingerprint information file from the server through the Web service,and then we can com- pare the hash fingerprint between intelligent terminal and server to ensure the consistency of intelligent terminal cache and server data.
出处
《小型微型计算机系统》
CSCD
北大核心
2017年第1期40-43,共4页
Journal of Chinese Computer Systems
基金
北京市属高等学校创新团队建设与教师职业发展计划项目(IDHT20130502)资助
北京市教育委员会科技计划面上项目(KM201310009003)资助
北京市自然科学基金项目(4131001)资助
关键词
智能终端
数据一致性
数字指纹
数据缓存
WEB服务
intelligent terminal
data consistency
digital fingerprint
data cache
web service