Method and device for identifying sensitive fields in SQL (Structured Query Language) statement and electronic equipment
By parsing and semantically analyzing SQL statements, combining them with a rule base to identify sensitive fields in the SQL statements, and dynamically selecting privacy policies based on the scenario, the problem of easy omissions in manual annotation and fixed policies is solved, thus realizing automated identification and dynamic protection of sensitive fields.
Patent Information
- Application Number
- CN202511898987.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-16
- Publication Date
- 2026-03-24
AI Technical Summary
In existing technologies, the identification of sensitive fields in SQL statements relies on manual annotation, which is prone to omissions. Furthermore, the desensitization strategy is fixed and cannot dynamically adjust the protection level according to the visitor's identity and business scenario, resulting in insufficient data leakage risk and security.
By parsing SQL statements, a semantic analysis model and a preset rule base are used to perform dual sensitivity identification on each field. Combining field type and query scenario, an appropriate privacy processing strategy is selected from a preset privacy policy set.
It achieves automated identification and dynamic protection of sensitive fields, reduces configuration costs, improves identification accuracy and security, and adapts to various SQL scenarios and complex query structures.