The invention is suitable for the technical field of
data processing, and provides a universal method for automatic desensitization based on a
data dictionary development state, which comprises the following steps: a
design stage: configuring a
data dictionary desensitization attribute; identifying a business field with a
high security level, performing desensitization attribute maintenance by using a
data dictionary related tool, and storing the business field in a
database through a research and development asset management module of the unified development platform; in the development stage, associated annotations and desensitization codes are generated; data dictionary services are linked in the micro-service application development process, and preprocessing is provided for subsequent stages through application
data modeling,
data model reference and desensitization
code generation; in the operation stage, the associated
annotation and the desensitization code are analyzed and processed; and when the micro-service runs, automatically performing desensitization
processing according to the desensitization
annotation and the code. According to the method, the security of application data is remarkably improved, the
system design and implementation process are optimized, the development and maintenance cost is reduced, and meanwhile, a good foundation is provided for future extension and self-definition.