Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

111 results about "Code annotation" patented technology

Annotation is a term used in computer programming to refer to documentation and comments that may be found on code logic. Annotation is typically ignored once the code is executed or compiled.

Adaptive code annotation updating method and system, terminal and storage medium

The invention relates to the technical field of software development, and particularly provides a self-adaptive code annotation updating method and system, a terminal and a storage medium, and the method comprises the following steps: confirming that codes are updated, extracting an updated code set, and combining and constructing an abstract syntax tree for the codes; performing semantic analysis on the abstract syntax tree by using a deep learning model to generate a semantic vector, and constructing a program dependency graph based on the semantic vector; analyzing a dependency relationship among code elements in the program dependency graph by utilizing a graph neural network; and generating a code annotation based on the semantic vector and the dependency relationship between the code elements by using a natural language generation model. According to the method, the real-time performance and the accuracy of the code document are ensured, the readability and the maintainability of the code are greatly improved, and the maintenance cost is reduced.
Owner:浪潮智慧科技有限公司 +1

Automatic test case generation method based on large model and particle swarm optimization

The invention discloses an automatic test case generation method based on a large model and a particle swarm algorithm, and the method comprises the steps: designing a large language model demand analysis module, carrying out the semantic analysis of a demand document or code annotation of a software system through a large model, and generating a preliminary test case template; designing a particle swarm optimization module, and globally optimizing an input parameter combination and an execution path of the test case through a particle swarm optimization so as to improve the test coverage rate and the defect detection capability; and an automatic test execution and feedback module is designed, the particle swarm optimization evaluates the effectiveness of the test case according to the fitness function, a strategy is iteratively optimized and generated, and the test case is adjusted through a feedback mechanism. According to the method, efficient test cases can be effectively generated, various functions and boundary conditions of the system are covered, dynamic optimization of the test cases is achieved through a feedback mechanism, and comprehensiveness and reliability of system testing are ensured.
Owner:BEIHANG UNIV

Automatic interface document generation method and related equipment thereof

The invention discloses an interface document automatic generation method and related equipment thereof, and belongs to the technical field of artificial intelligence. The method comprises the following steps: receiving an interface document generation instruction, obtaining an interface source code and a code annotation, and obtaining an interface document template; analyzing the interface source code and the code annotation by using a code analyzer to obtain code metadata; constructing a code analysis tree for the interface source code, and performing static code analysis on the code analysis tree according to the source code grammar detection rule to obtain context information; selecting an adaptive controller class and a class processing method to package the code metadata and the context information, and generating response data; and importing the response data into the interface document template to generate an interface document corresponding to the interface source code. The invention further relates to the technical field of block chains, and source codes are stored on a block chain network. According to the method and the device, the problem of document errors or omission caused by lack of metadata or context information in a traditional interface document automatic generation process is solved.
Owner:PING AN BANK CO LTD

Automated code activity graph generation system and method

The invention relates to an automatic code activity graph generation system and method, and the system comprises a plurality of modules. The source code analysis module extracts source codes from the code file and generates an abstract syntax tree corresponding to the source codes. The model conversion engine is based on query view conversion specification operation, analyzes a method calling relation and an execution sequence in the abstract syntax tree by utilizing a group of analysis rules, and converts the source code into a programming language abstract model. And the model warehouse is used for storing the abstract model, identifying the language type through the extension name of the source code file, and matching the corresponding programming language model. The activity graph generator then generates an activity graph according to the abstract model, including an activity graph reflecting code logic and an activity graph generated based on code annotations. The layout module determines the position, the size and the shape of each node in the activity graph through an analysis method calling relation and an execution path, and generates a connecting line between the nodes. The system can visually display the code process and improve the efficiency of developers.
Owner:HUNAN SANXIANG BANK CO LTD

Method and system for establishing relation between software code and demand tracking

The invention discloses a method and system for establishing a software code and demand tracking relation, and relates to the computer and software engineering technology, and the method comprises the steps: translating a Chinese demand and a code annotation into English, and separating a code logic from an annotation text based on a specified rule; word embedding is carried out on the preprocessed Chinese requirements, the code logic and the annotation text to obtain embedded semantic vector representation; performing hierarchical mixed matching based on the obtained semantic vector representation so as to associate the demand with the code; and fusing the association results through configurable decision logic to determine a final matching result. According to the method provided by the embodiment of the invention, based on a multi-modal semantic alignment technology of the pre-training model, high-precision and robust tracking relation identification is realized by combining deep semantic association of the modeling demand text and the code snippets.
Owner:BEIHANG UNIV

Low-code management system and method based on AIot Internet of Things

The invention discloses a low-code management system and method based on the AIot Internet of Things, and relates to the technical field of code management, the system comprises a template learning optimization module, a component dynamic adaptation module, a demand conversion module, a code annotation generation module and a code compatibility conversion module; the template learning optimization module is used for automatically extracting optimization points and updating template settings by analyzing historical cases and user data so as to improve the applicability of the template in practical application; according to the invention, through the template learning optimization module, deep analysis of historical cases and user data is realized, optimization points are automatically extracted, template setting is updated, the applicability and development efficiency of the template in practical application are remarkably improved, and through the automatic template updating process, manual intervention is reduced, the development cost is reduced, and the development efficiency is improved. And meanwhile, the stability and compatibility of the system are kept.
Owner:TIANJIN SENYUEXING INTELLIGENT TECH CO LTD

Intelligent contract vulnerability detection method based on code slices and neural network

The invention provides an intelligent contract vulnerability detection method based on code slices and a neural network, and relates to the technical field of contract vulnerability detection, and the method specifically comprises the following steps: carrying out the static analysis of an intelligent contract code; checking a program execution path through depth-first traversal of the control flow diagram, detecting timestamp dependent vulnerabilities and unchecked external call vulnerabilities, and positioning vulnerability paths in the control flow diagram according to nodes corresponding to vulnerability statements; normalizing the smart contract code, removing smart contract code annotations, unifying variables and function naming, not renaming related state information related variables, converting a smart contract code statement into vector representation, and training and updating a vector; constructing a multilayer graph convolutional neural network as a neural network model for training and detecting vulnerabilities; and outputting a detection result by the multilayer graph convolutional neural network. According to the technical scheme, the problem that the intelligent contract vulnerability cannot be accurately and effectively detected in the prior art is solved.
Owner:CHINA UNIV OF PETROLEUM (EAST CHINA)

Code and development document automatic synchronization method based on large model

The invention relates to a method for automatically synchronizing a code and a development document based on a large model, which ensures that the document and the code are always kept consistent by correlating the document and the code and adopting an AI automatic synchronization mechanism, and avoids various development problems caused by manual updating errors or neglecting updating. According to the technical scheme, the method comprises the steps that a development document link is added into a code annotation, a code address is added into a development document, and bidirectional association is formed; and after the development document is changed, an AI synchronization button is clicked, and the AI automatically analyzes the document change and generates a changed code in combination with the business logic of the code. And after the code is changed, an AI synchronization button is clicked, and the AI automatically analyzes the code change and generates a changed development document in combination with the content of the development document.
Owner:SHANGHAI CAIJIANG INTELLIGENT TECH CO LTD

Code annotation generation method and device, electronic equipment, storage medium and product

The invention discloses a code annotation generation method and device, electronic equipment, a storage medium and a product, which are applied to the technical field of computers and are used for solving the problem of low efficiency caused by manual annotation writing in the prior art and effectively ensuring the accuracy and practicability of annotation so as to improve the readability of codes. Determining an annotation prompting rule; the annotation prompting rule comprises a corresponding relation between a code statement type and a code annotation type; analyzing the target program code by utilizing a large language model, and determining a to-be-annotated code snippet in the target program code and semantic information and a statement type of the to-be-annotated code snippet; determining an annotation type corresponding to the to-be-annotated code snippet according to an annotation prompt rule and the statement type of the to-be-annotated code snippet; and generating a target annotation text corresponding to the to-be-annotated code snippet according to the annotation type and semantic information corresponding to the to-be-annotated code snippet, and inserting the target annotation text into an annotation position corresponding to the to-be-annotated code snippet.
Owner:JINAN INSPUR DATA TECH CO LTD

Code annotation quality assurance

Code annotation quality assurance includes calculating complexity of a code portion, extracting one or more annotations associated with the code portion from the code portion, converting the one or more annotations into a set of textual features, quantifying the set of textual features, and outputting the quantified set of textual features. An alignment between the one or more annotations and the associated code portion is determined for the one or more annotations using quantification of the set of textual features and a complexity of the code portion, and a notification is triggered in response to determining that the one or more annotations are not aligned with the associated code portion.
Owner:INTERNATIONAL BUSINESS MACHINE CORPORATION

Automobile fault code labeling method and device, computer equipment and storage medium

The invention relates to the technical field of data processing, and discloses an automobile fault code labeling method and device, computer equipment and a storage medium, and the automobile fault code labeling method comprises the steps: carrying out the recognition processing of fault maintenance data, generating structured data, carrying out the standardization processing of the structured data, and generating text verification data; fault code fields and state information are extracted based on the text verification data, preliminary annotation data are constructed, recognition enhancement processing is carried out according to the preliminary annotation data, and fusion annotation data are generated; carrying out maintenance part matching processing on the fusion annotation data to generate image-text annotation structure data; and performing format processing on the image-text annotation structure data to generate target automobile fault code annotation data. According to the method, the labeling capability of the complex maintenance data can be effectively improved, the manual operation burden is reduced, and the efficiency, accuracy and consistency of data labeling are greatly improved.
Owner:THINKCAR TECH CO LTD

Code annotation information processing method and device, computer equipment and storage medium

The invention relates to a code annotation information processing method and device, computer equipment and a storage medium, and belongs to the technical field of code detection. Evaluating the complexity of the code, and determining a complex code according to an evaluation result; obtaining first code annotation information corresponding to the complex code, and preprocessing the first code annotation information to obtain target code annotation information; performing syntactic analysis on the target code annotation information to obtain a syntactic analysis result; and determining and complementing missing information in the target code annotation information according to a syntactic analysis result. According to the method, the completeness and accuracy of the annotation information of the complex code can be remarkably improved, the annotation content is more coherent and clearer, the readability of the complex code is improved, the time of manually compiling and revising the annotation information of the complex code by developers is shortened, and the efficiency of the overall development process is improved.
Owner:JINAN INSPUR DATA TECH CO LTD

Source code obfuscation method and system

The invention discloses a source code obfuscation method and system, and belongs to the technical field of software development. According to the source code obfuscation method, in the preprocessing obfuscation stage, all first compiling units in a source code to be obfuscated are subjected to lexical analysis one by one to obtain corresponding lexical units, and a preprocessing instruction tree is generated according to all the lexical units; confusion is carried out in a corresponding mode based on the category of each preprocessing node in the preprocessing instruction tree, so that the purposes of deleting the to-be-confused source code annotation and expanding an internal header file of the to-be-confused source code annotation are achieved; in the symbol name obfuscation stage, all second compiling units in a first source code are analyzed one by one to obtain an abstract syntax tree, a symbol table is constructed according to the abstract syntax tree, the first source code is compiled based on the symbol table to obtain an obfuscated code, and the purpose of renaming information such as variables, functions and types in the source code is achieved; according to the method, the difficulty of quickly analyzing the source code is improved, and the protection strength of the source code is improved.
Owner:ISOFT INFRASTRUCTURE SOFTWARE

System demand document real-time dynamic updating method and device, equipment and medium

The invention discloses a system demand document real-time dynamic updating method and device, equipment and a medium, and relates to the technical field of computer document processing, and the method comprises the steps: monitoring a preset code annotation in real time after source code updating is carried out on a system according to a current demand document, so as to obtain a corresponding monitoring result; when the monitoring result is that code change exists in each level of method under the preset code annotation, monitoring all service classes under a target level of method with code change in the current system operation process through a Java agent tool and a byte code instrumentation tool to obtain a corresponding instrumentation log; analyzing the instrumentation log, and generating a corresponding topological graph according to analysis information; outputting a text description corresponding to the topological graph by utilizing the pre-training model and according to the current demand document, a current design document written based on the current demand document, a preset code annotation and the topological graph; and updating the original demand document of the system by using the text description to obtain a real-time demand document.
Owner:湖南长银五八消费金融股份有限公司

Automatic software development management method and system

The invention relates to the technical field of development management, in particular to an automatic software development management method and system. The method comprises the following steps: acquiring a software development code, and extracting a nodal code annotation of the software development code; analyzing the code annotation to obtain an analysis result, and obtaining a task allocation condition of the developer; according to the task distribution condition, calling a project report record of a developer; and determining the actual development progress according to the analysis result and the project report record. By automatically extracting and analyzing the code annotations, project management personnel can more clearly understand the structure and the function of the codes, so that the development progress can be better tracked, the transparent development process is beneficial to communication among team members, and misunderstanding and conflicts are reduced. By analyzing code annotations and task allocation conditions, tasks can be allocated more reasonably, it is ensured that each developer can work in a specialized field, and the working efficiency is improved.
Owner:西安鼎力信息技术有限责任公司

Code annotation and test coverage visualization on user interface by leveraging page object design pattern

In one general embodiment, a computer-implemented method includes analyzing document object model code for generating locators of elements of a web page. The locators are output visibly on a user interface displaying the web page. A page object code template of the web page is generated. Mappings of the elements and / or the locators to page object variables are received from a user. Representations of the mappings are output visibly on the user interface displaying the web page. Mappings from page areas of the web page to page object functions are received from the user. Representations of the mappings from the page areas of the web page to the page object functions are output visibly on the user interface displaying the web page. Code references are rendered on the user interface displaying the web page.
Owner:INTERNATIONAL BUSINESS MACHINE CORPORATION

Code abstract generation method and system based on hierarchical context awareness

ActiveCN121957613AOvercoming the lack of context problemEnhance semantic relevanceSemantic analysisBiological modelsPathPingLinguistic model
The invention discloses a code abstract generation method and system based on hierarchical context awareness, and belongs to the field of natural language processing and software engineering. The method comprises the following steps: generating hierarchical annotations for a code warehouse based on a function call graph, firstly extracting a call relationship in the graph and eliminating a ring structure, and then classifying leaf nodes and generating annotations; a topological sequence from bottom to top is adopted in the core step, the importance score of a child node is calculated for each father node, child node annotations, class function descriptions and code bodies of the child nodes are fused, and a large language model is input to generate annotations till the whole graph is covered. The method is suitable for an automatic document generation scene of a complex software project, and through a technical path combining function call graph analysis, child node importance measurement and class function description, the accuracy and semantic consistency of code annotation are improved; the method can be widely applied to the fields of software maintenance, code understanding, intelligent development tools, automatic document generation of enterprise-level code warehouses and the like.
Owner:HANGZHOU DIANZI UNIV

Code annotation generation method and system based on token-level semantic matching

The invention belongs to the technical field of software engineering, and discloses a token-level semantic matching-based code annotation generation method and system, and the method comprises the following steps: obtaining a target code and a data set, carrying out the preprocessing and dividing, and obtaining a training set as a corpus; performing word segmentation on the codes in the corpus by using a word segmentation device of a pre-trained large language model, and extracting and storing a context semantic embedding vector of each token in the codes to form a code semantic warehouse; calculating the lexical similarity between the target code and the code in the corpus, and taking the top k high examples as candidate examples; according to the method, a target code and a candidate sample are subjected to token-level semantic matching, the most similar token in another code segment is matched, the accuracy rate and the recall rate are combined to obtain an F1 score, and the sample with the highest score is reused, the context semantic feature of fine granularity is considered in the aspect of retrieval, the code annotation generation precision is improved, extra training is not needed, and the retrieval efficiency is improved. And the method has good applicability to different scenes.
Owner:HANGZHOU DIANZI UNIV

Method and system for automatic generation of source code comments based on word-level retrieval

ActiveCN116627487BFeature vectorAlgorithm
The application discloses a source code annotation automatic generation method and system based on word-level retrieval and belongs to the field of natural language processing text generation. A training set composed of code function text, code abstract syntax tree and code annotation text is used to train an encoding-decoding network; an overall feature vector of each annotation word in the code annotation text is obtained to construct a near-neighbor word database; for the code function text to be annotated and the abstract syntax tree thereof, a model-based target word probability distribution and an overall feature vector of a target word at a current time step are generated in a self-recurrent manner; K near-neighbor words with the highest similarity to the overall feature vector of the target word are searched in the near-neighbor word database to generate a target word probability distribution based on the near-neighbor words; and the two target word probability distributions are fused to take the target word with the maximum probability as an annotation word generated at the current time step. The application can greatly improve the annotation generation quality of an original model and also improve the generation probability of low-frequency words in code annotation.
Owner:ZHEJIANG UNIV

Code annotation generation method based on large language model and multi-modal comparative learning

The invention discloses a code annotation generation method based on a large language model and multi-modal comparative learning, which comprises the following steps: firstly, designing a universal prompt template to help the large language model to generate similar code segments, and introducing the thought of gradually generating a thinking chain into the prompt template to effectively improve the accuracy of a generation result; meanwhile, the realization modes and styles of the generated similar code segments and source codes are variable, and the quality is higher; secondly, aligning source codes, similar codes and annotations thereof through multi-modal comparative learning, and enhancing the understanding and matching capability of the model on semantic relationships between the codes, the similar codes and the annotations by designing intra-modal comparative learning and inter-modal comparative learning, so as to better capture deep association of the similar codes, the annotations and the source codes; and finally, designing an evaluation method based on a large language model, and more comprehensively evaluating the quality of the generated annotations from four aspects of correlation, integrity, clarity and understandability by means of the understanding ability of the large language model.
Owner:SICHUAN UNIV

System and method for non-intrusive automated trusted operator migration

The present disclosure provides systems and methods for non-intrusive automated trusted operator migration. According to an aspect, a method for executing code in a secure environment is provided. The method includes receiving code including an annotated portion and an unannotated portion. The annotation portion indicates a portion of the code for secure execution. The method may also include constructing a trusted application (TA) corresponding to the annotated portion in a trusted execution environment (TEE). The method may also include constructing a client application (CA) corresponding to the unannotated portion in a rich execution environment (REE).
Owner:HUAWEI TECH CO LTD

Calling link acquisition method, electronic equipment and program product

The invention provides a call link acquisition method, electronic equipment and a program product. The call link acquisition method comprises the following steps: acquiring a sub-branch code and a main branch code related to the sub-branch code; comparing the main branch code with the sub-branch code to obtain a code modification point of the sub-branch code; obtaining code annotations of the sub-branch codes; and obtaining a calling link of the code modification point from the sub-branch code according to the code annotation of the sub-branch code.
Owner:KE COM (BEIJING) TECHNOLOGY CO LTD

Automatic code generation method and system for some / ip data type

PendingCN122308840ACode generationData class
This application discloses an automatic code generation method and system for SOME / IP data types, relating to the field of vehicle system development. The method includes: S1, data dictionary reading: obtaining the data dictionary for SOME / IP protocol communication; S2, data type classification, identification, and processing: opening the Excel file from step S1, classifying each row of data in the worksheet, and performing specific parsing processing for different types; S3, multi-round iterative dependency resolution: using a multi-round scanning strategy to resolve nested dependencies between various data types; S4, naming standardization processing: standardizing the names of each parsed data type according to preset naming rules; S5, standard code generation and output: converting all data types that have undergone naming standardization processing into type definition code conforming to C language specifications; simultaneously converting the value range, precision, unit, and Chinese description metadata in the data dictionary of the Excel file into code comments, generating a C language header file that can be included in the compilation project.
Owner:CHINA FAW CO LTD

A low-code management system and method based on AIot Internet of Things

The present invention discloses a low-code management system and method based on the AIot Internet of Things, relating to the technical field of code management. The present invention includes a template learning and optimization module, a component dynamic adaptation module, a requirement conversion module, a code annotation generation module, and a code compatibility conversion module; the template learning and optimization module is used to automatically refine optimization points and update template settings by analyzing historical cases and user data, so as to improve the applicability of the template in actual applications. In the present invention, through the template learning and optimization module, in-depth analysis of historical cases and user data is realized, optimization points are automatically refined and template settings are updated, significantly improving the applicability and development efficiency of the template in actual applications. Through the automated template update process, manual intervention is reduced, development costs are lowered, and at the same time, the stability and compatibility of the system are maintained.
Owner:TIANJIN SENYUEXING INTELLIGENT TECH CO LTD

A marking method for arbitrary code fragments and its retrieval system

The present application discloses a method for annotating arbitrary code snippets and a retrieval system thereof, which relates to the field of machine learning. The method comprises: establishing a code snippet database, activating a multidimensional feature annotation model, performing code snippet annotation, and establishing a first annotation result; calling an adaptive annotation network, utilizing the adaptive annotation network to perform contextual backtracking analysis on the code snippets in the database, and establishing a second annotation result; performing static and dynamic fusion analysis on the database, establishing joint functional similarity, and establishing a third annotation result; performing code version change annotation, and establishing a fourth annotation result; and performing code annotation retrieval management based on the four annotation results. The method solves the technical problem of low management efficiency and retrieval accuracy of code snippets due to the high complexity of code snippets in multidimensional feature annotation, and achieves the technical effect of improving the annotation accuracy and retrieval efficiency of code snippets by combining multidimensional annotation with adaptive backtracking analysis.
Owner:XIAN QIKE HOUDE INFORMATION TECHNOLOGY CO LTD

A software testing method, apparatus, device, and medium

This application discloses a software testing method, apparatus, device, and medium, relating to the field of software testing technology. The method includes: determining the software test cases to be evaluated and identifying several corresponding source code files; parsing each source code file to obtain code comments, and parsing the software test cases to obtain relevant case information, and saving this information to a preset case information list; performing a quality assessment on the code comments; if the quality assessment passes, obtaining code-related information from several source code files based on the code comments and saving this information to a preset code information list; comparing and matching the information in the preset code information list and the preset case information list using preset natural language processing technology, determining whether the coverage of the software test cases meets preset coverage conditions based on the matching results, and performing software testing operations on several source code files based on the software test cases after determining that the preset coverage conditions are met.
Owner:湖南长银五八消费金融股份有限公司

A code comment generation method and device based on a sequence generation adversarial network

The present invention proposes a method and device for generating code comments based on a sequence generative adversarial network. By introducing reinforcement learning, the effect of code comment generation is further improved. Complete code comments can help developers quickly understand the corresponding code content and greatly improve development efficiency. In order to reduce the workload of developers outside development while ensuring the completeness and quality of code comments, the task of code comment generation is proposed. Since the generation effect of current common code comment generation algorithms is limited, in order to further improve the effect, after constructing a generation network based on a graph neural network and a discriminant network based on a convolutional neural network, the present invention introduces a sequence generative adversarial network, and completes the transfer of the loss function gradient between the generation network and the discriminant network through the policy gradient method to establish an adversarial relationship. The present invention goes through three training stages in total and finally obtains a generation network with a better generation effect.
Owner:ZHEJIANG UNIV

Code annotation generation method, device, electronic device, storage medium and product

The present invention discloses a code comment generation method, device, electronic device, storage medium and product, which are applied to the field of computer technology to solve the low efficiency problem caused by existing manual annotation writing, can effectively ensure the accuracy and practicality of the annotation, and thus improve the readability of the code. The method includes: obtaining target program code and determining annotation prompt rules; the annotation prompt rules include the correspondence between code statement types and code annotation types; using a large language model to analyze the target program code, determine the code fragment to be annotated in the target program code and the semantic information and statement type of the code fragment to be annotated; determine the annotation type corresponding to the code fragment to be annotated according to the annotation prompt rules and the statement type of the code fragment to be annotated; generate the target annotation text corresponding to the code fragment to be annotated according to the annotation type and semantic information corresponding to the code fragment to be annotated, and insert it into the annotation position corresponding to the code fragment to be annotated.
Owner:JINAN INSPUR DATA TECH CO LTD

Interface management method, system and equipment and storage medium

The invention relates to the technical field of code compiling, and particularly discloses an interface management method, an interface management system, computer equipment and a computer readable storage medium. The interface management method comprises the steps that an annotation processor is injected into a project management tool, and when project source code compiling is executed, the annotation processor extracts interface metadata in a compiling file compiled by the project management tool and associates the interface metadata with code annotations of the interface metadata in the project source code; the technical problem that the accuracy and the generation timeliness of the interface management document are poor is solved, the annotation processor is introduced to generate the interface management document in the project source code compiling period, and the generation efficiency of the interface management document is improved.
Owner:BEIJING BAIJU YIXING TECH CO LTD

Code annotation generation method and device, equipment, storage medium and program product

The invention relates to the technical field of computers, and provides a code annotation generation method and device, equipment, a storage medium and a program product. The method comprises the steps of obtaining a to-be-analyzed SQL code; based on a large language model, generating an SQL code blood relationship of the to-be-analyzed SQL code; generating business knowledge based on the SQL code blood relationship; and based on the SQL code consanguinity and the business knowledge, generating a code annotation of the to-be-analyzed SQL code through the large language model. By means of the mode, it can be avoided that the generated code annotation is too technically or abstractly generated, the service logic and the service target of the code can be effectively reflected, the code annotation has better readability and understandability, and the influence on subsequent development and maintenance of software is reduced.
Owner:CHINA MOBILE GROUP ZHEJIANG +1