系统工程与电子技术 ›› 2025, Vol. 47 ›› Issue (12): 3912-3923.doi: 10.12305/j.issn.1001-506X.2025.12.17

• “基于模型的系统架构设计与验证技术”专栏 • 上一篇    

基于大语言模型的系统架构视图智能建模方法

潘如江1,2(), 陈炯毅1,2, 王剑波3, 方哲梅1,2,*()   

  1. 1. 华中科技大学人工智能与自动化学院,湖北 武汉 430074
    2. 华中科技大学多谱信息处理技术全国重点验室,湖北 武汉 430074
    3. 中国舰船研究设计中心,湖北 武汉 430064
  • 收稿日期:2025-03-03 修回日期:2025-06-05 出版日期:2025-11-28 发布日期:2025-11-28
  • 通讯作者: 方哲梅 E-mail:m202473821@hust.edu.cn;zmfang2018@hust.edu.cn
  • 作者简介:潘如江(2002—),男,硕士研究生,主要研究方向为系统建模与仿真分析、体系效能评估
    陈炯毅(2002—),男,硕士研究生,主要研究方向为系统建模与仿真分析、体系效能评估
    王剑波(1978—),男,研究员,博士,主要研究方向为复杂组织体架构、基于模型的系统工程
  • 基金资助:
    国家自然科学基金(62103158)资助课题

Intelligent modeling method of system architecture view based on large language model

Rujiang PAN1,2(), Jiongyi CHEN1,2, Jianbo WANG3, Zhemei FANG1,2,*()   

  1. 1. School of Artificial Intelligence and Automation,Huazhong University of Science and Technology,Wuhan 430074,China
    2. National Key Laboratory of Science and Technology on Multispectral Information Processing,Huazhong University of Science and Technology,Wuhan 430074, China
    3. China Ship Development and Design Center,Wuhan 430064,China
  • Received:2025-03-03 Revised:2025-06-05 Online:2025-11-28 Published:2025-11-28
  • Contact: Zhemei FANG E-mail:m202473821@hust.edu.cn;zmfang2018@hust.edu.cn

摘要:

当前系统/体系架构视图建模高度依赖于业务经验,建模过程的繁琐及其巨大的工作量是阻碍系统/体系架构设计方法落地的重要原因。为加快架构视图模型构建速度并降低建模工作量,围绕系统建模语言(system modeling language, SysML),提出一种基于大语言模型的视图模型自动生成方法,以实现系统架构智能辅助设计。该方法解析架构视图模型的可扩展标记语言(extensible markup language,XML)数据,构建基于RAGFlow框架的本地知识库,牵引大模型生成满足建模任务的XML数据,并设计基于DOM4J框架的转换算法以形成适配SysML范式的XML模型,由此实现SysML模型的自动构建。关注块定义图、内部块图以及活动图,以无人潜航器为例,实现SysML视图模型生成,后续引入相关指标验证视图模型的有效性和准确性,结果表明所提方法能够有效地生成基于SysML的系统架构视图模型。

关键词: 大语言模型, 智能建模, 系统架构, 系统建模语言

Abstract:

The current system or system-of-systems (SoS) architecture views modeling is highly dependent on business experience, and the cumbersome modeling process and its huge workload are important reasons that hinder the implementation of the system/SoS architecture design methodology. In order to speed up the construction of architecture view models and reduce the modeling workload, this paper proposes an automatic generation method of architecture view models based on large language models around system modeling language (SysML) to realize the intelligent assisted design of system architecture. In this method, the extensible markup language (XML) data of the architecture view model is analyzed, a local knowledge base based on the RAGFlow framework is constructed, the large model is driven to generate XML data that meets the modeling task, and a transformation algorithm based on the DOM4J framework is designed to form an XML model adapted to the SysML paradigm, so as to realize the automatic construction of the SysML models. Focusing on block definition diagram, internal block diagram, activity diagram, and taking anunmanned underwater vehicle as a case study, this paper demonstrates the generation of SysML-based view models. Subsequently, relevant indicators are introduced to evaluate the validity and accuracy of the generated models. The results indicate that the proposed method can effectively generate SysML-based system architecture view models.

Key words: large language model, intelligent modeling, system architecture, system modeling language (SysML)

中图分类号: