The invention relates to the technical field of
data security, and discloses a data desensitization method and
system. The method comprises the following steps: analyzing a
data access request of a user, and determining a target
data structure; based on the target
data structure, a target classification and grading
label is determined, and the classification and grading
label is generated by analyzing the initial
service information and the
system data source by using a
large model in advance and is matched with the corresponding
data structure in advance based on a preset matching rule; a target desensitization strategy is determined based on the target classification and grading
label, and the desensitization strategy is determined by analyzing the classification and grading label of the corresponding data in the
system data source through a
large model in advance; obtaining to-be-accessed data based on the
data access request; and performing desensitization
processing on the to-be-accessed data by using the target desensitization strategy to obtain desensitized data, and sending the desensitized data to the user. According to the technical scheme, the
data classification and grading efficiency and the desensitization
strategy making accuracy can be improved.