系统工程与电子技术 ›› 2022, Vol. 44 ›› Issue (11): 3443-3454.doi: 10.12305/j.issn.1001-506X.2022.11.19

• 系统工程 • 上一篇    下一篇

面向复杂系统需求分析的DSL构建

廖万斌, 曹云峰*, 王新尧   

  1. 南京航空航天大学航天学院, 江苏 南京 211106
  • 收稿日期:2021-09-22 出版日期:2022-10-26 发布日期:2022-10-29
  • 通讯作者: 曹云峰
  • 作者简介:廖万斌(1997—), 男, 硕士研究生, 主要研究方向为复杂系统需求分析与建模|曹云峰(1954—), 男, 教授, 博士, 主要研究方向为无人机飞行控制、复杂系统体系结构数字化|王新尧(1992—), 女, 博士研究生, 主要研究方向为复杂系统体系结构建模、多武器平台任务规划

DSL building for requirement analysis of complex system

Wanbin LIAO, Yunfeng CAO*, Xinyao WANG   

  1. College of Astronautics, Nanjing University of Aeronautics and Astronautics, Nanjing 211106, China
  • Received:2021-09-22 Online:2022-10-26 Published:2022-10-29
  • Contact: Yunfeng CAO

摘要:

在航空航天领域, 系统的复杂度快速增长, 这对基于模型的系统工程的开展带来巨大的挑战, 尤以复杂系统的需求分析为甚。需求分析过程缺乏针对性的支持模型的工具。针对基于模型的系统工程中的这一问题, 根据领域建模的思想, 引入领域特定语言(domain specific language, DSL)的概念, 提出一种构建DSL进行需求分析的方法, 并针对基于模型的系统工程(model based system engineering, MBSE)中需求分析的需要构建相应的DSL。首先, 从基于模型的系统工程方法论角度, 对工程应用中的需求捕获与分解进行了分析; 接着, 通过扩展后的GOPPRR(graph object property port role relationship)元元模型依据需要, 构建了DSL的具体语法与语义; 最后, 以具体的系统为例与系统建模语言分析方法做出了对比。结果表明, 所构建的DSL在进行复杂系统的需求分析与建模时, 与实际需要契合, 在各个环节都具有针对性强、形式化的优点, 有利于保证需求分析与建模工作的正确性。

关键词: 需求分析, 领域特定语言, 基于模型的系统工程

Abstract:

In the field of aerospace, the complexity of system is increasing rapidly, which brings great challenges to the model based system engineering, especially the requirement analysis of complex system. The requirements analysis process lacks pointed model-supported tools. Aiming at this problem in model based system engnieering, according to the idea of domain specific modeling, the concept of domain specific language (DSL) is introduced, a method of requirements analysis in model based system engnieering is proposed, and the corresponding DSL meeting the needs of requirement analysis in model based system engnieering (MBSE) is built. Firstly, the requirements capture and decomposition in engineering application are analyzed from the perspective of MBSE methodology. Then, the semantic and syntax of the DSL is built according to the needs through the extended GOPPRR (graph object property port role relationship) meta model. Finally, a specific system is taken as an example and compared with the system modeling language analysis method. The results show that the built DSL fits the actual needs in the requirement analysis and modeling of complex systems and has the advantages of strong pertinence and formalization in all stages, which is conducive to ensuring the correctness of requirement analysis and modeling.

Key words: requirement analysis, domain specific language (DSL), model-based system engineering (MBSE)

中图分类号: