Code processing method and related device

The embodiment of the invention discloses a code processing method and a related device, at least relates to technologies such as cloud technology and machine learning in artificial intelligence, realizes code analysis of incremental files, realizes state tracing of the same code block in code files...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: ZHANG YONGJUN, CHEN YUEWEI, QIN FENXIANG, LIN GUIHONG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The embodiment of the invention discloses a code processing method and a related device, at least relates to technologies such as cloud technology and machine learning in artificial intelligence, realizes code analysis of incremental files, realizes state tracing of the same code block in code files of different versions, completes accurate positioning of the code block, and improves the code processing efficiency. And the query accuracy of the code data of the code block is improved. The method comprises the steps of obtaining incremental file information of a target code file; determining position information and code difference information of a target code block in the incremental file information; determining state information of the target code block based on the position information and the code difference information; generating a mapping relation between the state information of the target code block and the storage path of the target code file; and sending the mapping relation to the server, wherein