信息通信技术与政策

信息通信技术与政策

信息通信技术与政策 ›› 2024, Vol. 50 ›› Issue (12): 64-72.doi: 10.12267/j.issn.2096-5931.2024.12.010

专题:人工智能赋能新型工业化 上一篇    下一篇

基于人工智能的航天控制软件代码检索方法

Code retrieval method of space control software based on AI

高浩1, 闫东伟2, 樊颖爽1, 董晓刚1, 秦思思2   

  1. 1.北京控制工程研究所,北京 100190
    2.中国信息通信研究院人工智能研究所,北京 100083
  • 收稿日期:2024-11-20 出版日期:2024-12-25 发布日期:2025-01-02
  • 作者简介:
    高浩, 北京控制工程研究所工程师,主要研究方向为软件智能开发方法、人工智能等
    闫东伟, 中国信息通信研究院人工智能研究所工程师,主要研究方向为智能化软件工程技术发展路径、系列标准编制、评测、咨询等;
    樊颖爽, 北京控制工程研究所助理工程师,主要研究方向为嵌入式高可信软件开发、软件智能开发等;
    董晓刚, 北京控制工程研究所研究员,主要研究方向为嵌入式高可信软件开发、软件缺陷检测、软件智能开发等;
    秦思思, 中国信息通信研究院人工智能研究所高级工程师,主要研究方向为智能化软件工程、大模型工程化等

GAO Hao1, YAN Dongwei2, FAN Yingshuang1, Dong Xiaogang1, QIN Sisi2   

  1. 1. Beijing Institute of Control Engineering, Beijing 100190, China
    2. Artificial Intelligence Research Institute, China Academy of Information and Communications Technology, Beijing 100083, China
  • Received:2024-11-20 Online:2024-12-25 Published:2025-01-02

摘要:

随着航天技术的不断发展,航天控制软件面临着日益复杂的业务形态和持续变更的业务需求,软件呈现出功能日趋复杂、规模越来越大、研制周期缩短等趋势,软件系统变得日趋庞大和难以驾驭。工程师面对新的软件需求时,往往会寻找历史型号任务中最相近的功能点进行软件代码继承,从而减少开发成本,提升开发效率。面对海量庞大的代码库,代码检索方法难以高效、准确地获取与意图相关的需求和代码,从而影响软件开发效率和质量,制约软件高效可靠交付。为解决上述问题,提出了一种基于人工智能(Artificial Intelligence,AI)的航天控制软件代码检索方法,该方法基于语义向量模型,通过对项目控制软件历史资产中的文档和代码进行提取和处理,构建函数代码和需求之间的映射关系,并构造了检索库为代码提供支撑。聚焦AI赋能工业软件设计的落地应用,以优化软件开发流程、提升开发效率与质量、增强智能化能力。为解决工业行业众多研发场景中已有资产的高效利用难题提供有效方案,为推动我国智能制造高质量发展提供有力支撑。

关键词: AI, 语义向量模型, 航天控制软件, 代码搜索

Abstract:

With the continuous development of space technology, space control software is facing increasingly complex business forms and continuously changing business needs. Software shows the trend of increasingly complex functions, larger scale, shorter development cycle, etc. Software systems become increasingly large and difficult to control. When engineers face new software requirements, they tend to find the most similar function points in the historical model tasks for software code inheritance, so as to reduce development costs and improve development efficiency. In the face of massive code base, it is difficult for code retrieval methods to obtain the requirements and codes related to intent efficiently and accurately, which affects the efficiency and quality of software development and restricts the efficient and reliable delivery of software. In order to solve the above problems, this paper proposes an artificial intelligence(AI)-based code retrieval method for space control software. Based on semantic vector model, this method extracts and processes documents and codes in historical assets of type control software, constructs a mapping relationship between function codes and requirements, and constructs a retrieval library to provide support for the code. This paper focuses on the practical application of AI enabled industrial software design to optimize software development process, improve development efficiency and quality, and enhance intelligent capability. It provides effective solutions to solve the problem of efficient utilization of existing assets in many research and development scenarios in the industrial industry, and provides strong support for promoting the high-quality development of intelligent manufacturing in China.

Key words: AI, semantic vector model, space control software, code search

中图分类号: