The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.
The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.
Patent No.:
Date of Patent:
Jun. 10, 2025
Filed:
Jan. 17, 2025
Hainan University, Hainan, CN;
Xiaoqi Li, Haikou, CN;
Yingjie Mao, Haikou, CN;
Wenkai Li, Haikou, CN;
Xin Wang, Haikou, CN;
Lei Xie, Haikou, CN;
HAINAN UNIVERSITY, Haikou, CN;
Abstract
A method and system for generating an abstract of a smart contract based on a large language model and semantic enhancement. The method includes: parsing a source code of a smart contract to generate an abstract syntax tree; extracting code semantic information; converting a contract function node of the abstract syntax tree into a function callback chart; and generating a high-quality abstract of code of the smart contract by utilizing the code semantic information extracted by the large language model and callback information in the function callback chart. By learning and understanding the semantic information and callback information of the smart contract function, the large language model can accurately understand and reason deep semantic information of the code to generate the high-quality abstract of the code of the smart contract. The a multi-model capability of the large language model to extract, understand, and reason the callback information of the function callback chart improves comprehension capability of the large language model on a code callback structure.