ISSN 1000-1239 CN 11-1777/TP

Journal of Computer Research and Development ›› 2021, Vol. 58 ›› Issue (4): 706-730.doi: 10.7544/issn1000-1239.2021.20200757

Special Issue: 2021人工智能背景下的需求工程专题

Previous Articles     Next Articles

An Automated Approach to Generate SysML Models from Restricted Natural Language Requirements in Chinese

Bao Yang1,2, Yang Zhibin1,2, Yang Yongqiang1,2, Xie Jian1,2, Zhou Yong1,2, Yue Tao1,2, Huang Zhiqiu1,2, Guo Peng3   

  1. 1(School of Computer Science and Technology,Nanjing University of Aeronautics and Astronautics,Nanjing 211106);2(Key Laboratory of Safety-critical Software,Ministry of Industry and Information Technology (Nanjing University of Aeronautics and Astronautics),Nanjing 211106);3(Aviation Computing Technology Research Institute,Xi'an 710065)
  • Online:2021-04-01
  • Supported by: 
    This work was supported by the National Natural Science Foundation of China (62072233), the Aviation Science Fund of China (201919052002), and the Fundamental Research Funds for the Central Universities (NP2017205).

Abstract: Model-driven development has been gradually adopted as an important approach of designing and developing safety-critical cyber-physical systems(SC-CPSs). The requirement of SC-CPSs is often described in natural language. How to link natural language requirements and the model-driven design and development process of SC-CPSs automatically or semi-automatically is a main existing challenge. In this paper, a method named RNL2SysML is proposed for the automatic generation of SysML models from restricted natural language requirements in Chinese. Firstly, in view of the problem that glossaries need to be manually extracted, a method for extracting and recommending terms of SC-CPSs based on artificial intelligence is proposed. Secondly, in order to reduce the ambiguity of natural language requirements, a restricted natural language requirement template is proposed for requirement specification. Then, the method of transformation from natural language requirement specification to SysML model is given. Finally, based on the open source tool Papyrus, the plugin for the method proposed in this paper is implemented, and the effectiveness and practicality of the method is evaluated and proved by an industry case of the airplane air compressor system in the aviation field.

Key words: safety-critical cyber-physical system, model-driven development, SysML, glossary recom-mendation, restricted natural language requirement, model transformation

CLC Number: