The invention discloses an identity affirmation and compensation device in
data consistency comparison and a control method, and belongs to the technical field of
data processing. The device comprises a basic data module, a weight configuration module, a data identity affirmation module, a TAC module and a compensation check module. According to the method, key fields and non-key fields are dynamically divided through a weight configuration module, accurate matching is adopted for the key fields, and fuzzy matching based on an editing distance
algorithm is adopted for the non-key fields to calculate similarity; then, the average similarity of the fields is calculated according to weight grouping, and the identity affirmation rate percentage is obtained by combining weight weighting; if the affirmation rate exceeds a threshold value, starting consistency comparison, otherwise, transferring to manual review; and when the comparison result is inconsistent, the compensation check module performs
delay retry and targeted secondary check on the inconsistent field, so that the problem of false inconsistency caused by
data synchronization delay is effectively solved. And meanwhile, a layered matching mechanism is combined with compensation
verification, so that the data comparison success rate is remarkably improved.