Code visualization method and related device

By generating and optimizing a lineage diagram on the data transformation script view interface, the problem of data analysts having difficulty understanding the data flow is solved, enabling intuitive analysis of the data transformation script and reducing errors.

CN122363749APending Publication Date: 2026-07-10HUAWEI TECH CO LTD
0 Cites 0 Cited by

Patent Information

Application Number
CN202510032107.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-08
Publication Date
2026-07-10

AI Technical Summary

Technical Problem

When data analysts examine data transformation scripts, they often find it difficult to intuitively understand the relationships between data flows. Existing code highlighting methods cannot reveal the transformation processes between data, increasing the risk of drawing incorrect analytical conclusions.

Method used

By generating a kinship diagram, the variable relationships in the data transformation script are visualized and displayed on the same view interface. The diagram is then compared and analyzed with the data transformation script. Color coding and position adjustments are used to optimize the layout of the kinship diagram and reduce the number of intersecting lines.

Benefits of technology

This enables data analysts to intuitively and clearly analyze the data flow of data transformation scripts, reducing the risk of erroneous analysis and improving the reliability and efficiency of data transformation scripts.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention provides a code visualization method and a related device, the method relates to the field of data processing, the method comprises the following steps: obtaining a data conversion script, the data in the data conversion script exists in a table form, and the data conversion script comprises a plurality of variables, one of the multiple variables belongs to one of a table, a row in the table and a column in the table, a blood relationship graph is generated according to the relationship among the multiple variables in the data conversion script, the blood relationship graph represents the blood relationship among the multiple variables, and the blood relationship graph is displayed on a view interface where the data conversion script is located. According to the embodiment of the invention, the flow relationship among the variables in the data conversion script is represented through the blood relationship graph, and the blood relationship graph is displayed on the view interface where the data conversion script is located, so that a data analyst can conveniently analyze the data flow realized by the data conversion script, and data analysis is realized.
Need to check novelty before this filing date? Find Prior Art