The application discloses a sensitive data desensitization method for a
bank service scene, and belongs to the technical field of data desensitization, and comprises the following steps: obtaining a query
result set, and traversing fields in the query
result set; identifying whether the fields belong to sensitive fields based on semantic features of the fields, wherein the sensitive fields at least include one or more types of a name field, a
mobile phone number field, an ID number field, a
bank card number field and an account number field; selecting corresponding desensitization rules from a preconfigured desensitization rule set according to types of the identified sensitive fields; performing field-level desensitization
processing on the query
result set, replacing sensitive
data field by field according to the selected desensitization rules, and generating a desensitized result set. By identifying dynamically changing query result fields, desensitization omission caused by non-
uniform field naming is avoided, and by using a differentiated desensitization strategy, sensitive information is protected while data service availability is retained.