Modeling of Natural Language Requirements based on States and Modes

Yinling Liu, J. Bruel
{"title":"Modeling of Natural Language Requirements based on States and Modes","authors":"Yinling Liu, J. Bruel","doi":"10.1109/REW56159.2022.00043","DOIUrl":null,"url":null,"abstract":"The relationship between states (status of a system) and modes (capabilities of a system) used to describe system requirements is often poorly defined. The unclear relationship could make systems of interest out of control because of the out of boundaries of the systems caused by the newly added modes. Formally modeling requirements can clarify the relationship between states and modes, making the system safe.To this end, the MoSt language (a Domain Specific Language implemented on the Xtext framework) is proposed to modeling requirements based on states and modes. In this article, the relationship between states and modes is firstly provided. The metamodel and grammar of the language are then proposed. Finally, a validator is implemented to realise static checks of the MoSt model. The grammar and the validator are integrated into a publicly available Eclipse-based tool. A case study on requirements for designing cars has been conducted to illustrate the feasibility of the MoSt language. In this case study, we injected 9 errors. The results show that all the errors were detected in the static analysis.","PeriodicalId":360738,"journal":{"name":"2022 IEEE 30th International Requirements Engineering Conference Workshops (REW)","volume":"13 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE 30th International Requirements Engineering Conference Workshops (REW)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/REW56159.2022.00043","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

The relationship between states (status of a system) and modes (capabilities of a system) used to describe system requirements is often poorly defined. The unclear relationship could make systems of interest out of control because of the out of boundaries of the systems caused by the newly added modes. Formally modeling requirements can clarify the relationship between states and modes, making the system safe.To this end, the MoSt language (a Domain Specific Language implemented on the Xtext framework) is proposed to modeling requirements based on states and modes. In this article, the relationship between states and modes is firstly provided. The metamodel and grammar of the language are then proposed. Finally, a validator is implemented to realise static checks of the MoSt model. The grammar and the validator are integrated into a publicly available Eclipse-based tool. A case study on requirements for designing cars has been conducted to illustrate the feasibility of the MoSt language. In this case study, we injected 9 errors. The results show that all the errors were detected in the static analysis.
基于状态和模式的自然语言需求建模
用于描述系统需求的状态(系统的状态)和模式(系统的能力)之间的关系通常定义得很差。这种关系的不明确会使利益系统失去控制,因为新加入的模态会使利益系统超出边界。形式化的建模需求可以澄清状态和模式之间的关系,使系统安全。为此,提出了MoSt语言(在Xtext框架上实现的领域特定语言)来对基于状态和模式的需求进行建模。本文首先给出了状态与模态之间的关系。然后提出了该语言的元模型和语法。最后,实现了一个验证器来实现MoSt模型的静态检查。语法和验证器被集成到一个公开可用的基于eclipse的工具中。以汽车需求设计为例,说明了MoSt语言的可行性。在这个案例研究中,我们注入了9个错误。结果表明,在静态分析中,所有的误差都被检测到。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信