The application relates to the technical field of
data processing, in particular to a data desensitization method and
system capable of keeping expected data characteristics, which comprises the following steps: firstly, determining a key data column and a characteristic set of an
original data set; secondly, performing
standardization processing on the
original data set; thirdly, dividing the
original data set into a plurality of data clusters with similar characteristics by using a clustering analysis technology; fourthly, replacing data points in the data clusters; fifthly, calculating characteristic differences between the original
data set and a desensitized
data set; and finally, performing k-
anonymity and l-diversity tests on the desensitized
data set. While ensuring data privacy security, the application effectively keeps key characteristics of the original data, significantly improves the
usability of the desensitized data, accurately controls desensitization intensity through a
dynamic clustering and characteristic weighting mechanism, avoids data
distortion problems caused by excessive desensitization in traditional methods, and ensures that the data meets strict
privacy protection requirements through the k-
anonymity and l-diversity tests.