Method, device and electronic equipment for field bloodline analysis based on SQL
By standardizing and preprocessing the SQL text, the problem of low accuracy in SQL parsing results was solved, and more accurate field lineage analysis was achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- DIGITAL ZHEJIANG TECH OPERATION CO LTD
- Filing Date
- 2022-12-01
- Publication Date
- 2026-06-16
AI Technical Summary
Existing technologies for data lineage analysis using SQL suffer from low accuracy, especially when encountering code with asterisks, which can lead to missing lineage relationships and results that may not match reality.
By performing standardized preprocessing on the original SQL text, including basic formatting, asterisk removal, and target field replacement, standardized SQL text is generated. It is then parsed based on an abstract syntax tree, and combined with program logic judgment and testing, the field lineage data is output.
It improves the accuracy of SQL parsing results, ensures that the parsing results match the actual data, and outputs more granular field lineage data.
Smart Images

Figure CN115934757B_ABST