吉林大学学报(信息科学版) ›› 2026, Vol. 44 ›› Issue (4): 985-990.

• • 上一篇    下一篇

基于哈希图的数据库信息批量无损迁移方法

王振强1 , 王 超2   

  1. 1. 邯郸市第一医院 信息科, 河北 邯郸 056002; 2. 邯郸学院 软件学院, 河北 邯郸 056005
  • 收稿日期:2024-06-20 出版日期:2026-08-06 发布日期:2026-08-06
  • 作者简介:王振强(1987— ), 男, 河北魏县人, 邯郸市第一医院系统架构设计师, 主要从事数据库、 医学信息化研究, (Tel)86- 13483083690(E-mail)Popwzy3@ qq. com。
  • 基金资助:
    河北省教育科学“十四五"规划基金资助项目(2303150)

Batch Lossless Migration Method for Database Information Based on Hash Graph

WANG Zhenqiang1, WANG Chao2   

  1. 1. Information Department, Handan First Hospital, Handan 056002, China;2. School of Software, Handan College, Handan 056005, China
  • Received:2024-06-20 Online:2026-08-06 Published:2026-08-06

摘要:

针对在数据迁移过程中, 为保证数据的一致性和完整性, 避免数据丢失或损坏, 降低重复数据量的问题,提出了一种基于哈希图的数据库信息批量无损迁移方法。根据数据库数据属性的相似度和二分图最优匹配算法获得数据库数据间的相似度, 并根据相似度完成重复数据的检测和删除。通过局部敏感哈希函数计算去重后各数据的哈希值, 基于所有数据的哈希值建立哈希图。利用条件深度卷积生成对抗网络对数据进行批量迁移, 并对迁移后的数据哈希值和哈希图中对应的值进行比较, 对哈希值不同的数据重新实施迁移, 以确保数据库信息的无损迁移。实验结果表明, 该方法的信息迁移速度较快, 数据重复率较低, 并且能保证数据的一致性, 说明其具备可行性。

关键词:

Abstract:

In the process of data migration, it is necessary to ensure the consistency and integrity of data, avoid data loss or damage, and reduce the amount of duplicate data. Therefore, a hash graph based batch lossless database information migration method is proposed. The similarity of data between database is obtained based on the similarity of database data attributes and the optimal matching algorithm for bipartite graphs, the detection and deletion of duplicate data is completed based on the similarity. The hash values of each data after deduplication is calculated using a locally sensitive hash function, and a hash graph based on the hash values of all data is established. Conditional deep convolution is utitized to generate adversarial networks for batch migration of data, and the hash values of the migrated data is compared with the corresponding values in the hash graph. The migration is re-expanding for data with different hash values to ensure lossless migration of database information. The experimental results show that this method has a fast information transfer speed, low data duplication rate, and can ensure data consistency, indicating that it has achieved the research objectives and is feasible.

Key words:

中图分类号: 

  • TP391