{"title":"基于状态和模式的自然语言需求建模","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":"{\"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}","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}
Modeling of Natural Language Requirements based on States and Modes
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.