数据同步方法、装置、设备、计算机可读介质和程序产品

By receiving and parsing the full data and accumulating and delaying the expiration time of incremental data, the problem of incremental data not being synchronized during data migration is solved, achieving data synchronization and consistency between the source and target ends and reducing the number of query failures.

CN118733669BActive Publication Date: 2026-07-17JD DIGITS HAIYI INFORMATION TECHNOLOGY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
JD DIGITS HAIYI INFORMATION TECHNOLOGY CO LTD
Filing Date
2023-03-29
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

During data migration, when the source end adds an expiration time for the keys of incremental data, the migration tool still uses the original expiration time as the standard. This causes the keys of the incremental data to fail to synchronize to the target end, resulting in a large number of times when the incremental data cannot be found when switching to the target end to query the data.

Method used

By receiving all data and parsing its synchronization information, accumulating incremental data synchronization information, determining the migration duration, and delaying incremental keys that meet the preset expiration time conditions to increase their expiration time, the incremental data is finally synchronized to the target end.

Benefits of technology

This reduces the number of times incremental data cannot be found when switching to the target end to query data, ensures data consistency between the source and target ends, and frees up human operation and maintenance resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733669B_ABST
    Figure CN118733669B_ABST
Patent Text Reader

Abstract

本公开的实施例公开了数据同步方法、装置、设备、计算机可读介质和程序产品。该方法的一具体实施方式包括:响应于接收到源端发送的全量数据,对全量数据进行解析;响应于接收到源端发送的增量数据同步信息,将增量数据同步信息添加至增量数据同步信息集合;确定迁移时长;将全量数据同步至目标端;响应于确定各个增量键中存在满足预设过期时间条件的增量键,根据迁移时长,对满足预设过期时间条件的每个增量键的过期时间进行延时处理;将对应增量数据同步信息集合的各个增量数据同步至目标端。该实施方式与数据同步有关,可以自动对增量数据的键的过期时间进行延时处理,减少了切换到目标端查询数据时无法查询到增量数据的次数。
Need to check novelty before this filing date? Find Prior Art