面向大语言模型的软件信息获取方法、电子设备及存储介质

By parsing source code using parsing tools and type resolvers that disable type binding, a structured code index is built, providing a query tool for the large language model. This solves the dependency problem of the large language model when obtaining software information and achieves fast and accurate code understanding.

CN122111447BActive Publication Date: 2026-07-17SHENZHEN POWEROAK NEWENER CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN POWEROAK NEWENER CO LTD
Filing Date
2026-04-30
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Existing large language models rely on a complete compilation environment and JAR packages when acquiring software information, making them difficult to apply to unknown projects, unable to obtain complete call chains, and lacking the ability to uniformly process and integrate multi-source heterogeneous information, thus limiting the depth of understanding of complex projects.

Method used

By disabling type binding through parsing tools, the source code is parsed using a type resolver to obtain basic node code, detailed information such as variables, methods, and call relationships, a structured code index is built, and it is encapsulated into a query tool for use by large language models.

Benefits of technology

It does not rely on the project's build and compilation environment, but deeply understands the code of the software project, quickly and accurately obtains software information in the source code, avoids the dependencies and computational overhead brought by vector retrieval, and is low-cost and highly interpretable.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122111447B_ABST
    Figure CN122111447B_ABST
Patent Text Reader

Abstract

本申请实施例涉及软件工程技术领域,尤其是涉及一种面向大语言模型的软件信息获取方法、电子设备及存储介质。本申请实施例通过解析工具快速地获取源代码的代码骨架,利用类型解析器补充源代码中变量、方法及调用关系等细节信息,构建包含双向调用关系及接口实现映射的结构化代码索引,如此无需依赖于项目的构建及编译环境,深度理解软件项目的代码情况,代码索引被封装为供大语言模型调用的快速且精确的查询工具,从而使得大语言模型能够按需调用查询工具,快速精确地获取源代码中的软件信息,避免采用向量检索带来的依赖及计算开销,成本低且可解释性高。
Need to check novelty before this filing date? Find Prior Art