The invention relates to the technical field of
data processing, can be applied to business scenes of financial science and technology,
medical health and the like, and discloses a
data migration method, device, equipment and medium based on task offload, which comprises the following steps: scanning a source end
directory hierarchy and a target end
directory hierarchy, and generating source end file
metadata and target end file
metadata; files are classified into source-end unique files, target-end unique files and two-end shared files based on file paths, and the files are transmitted to a comparison
processing module; generating a source end newly-added migration task, a difference coverage migration task and a target end deletion migration task; and transmitting the migration task to a migration
processing module and executing the migration task to generate a migration result. According to the method, source-end unique files, difference files and target-end redundant files are processed in a classified mode, full-amount migration is disassembled into incremental tasks to be executed in a split mode, and the
invalid data transmission amount is reduced; a difference coverage task is generated based on double comparison of
metadata and content, repeated coverage of homonymous files is avoided, and redundant data is automatically cleaned.