基于正式方法和xdsl的爆发阻止策略的轻量级开发

Akram Idani
{"title":"基于正式方法和xdsl的爆发阻止策略的轻量级开发","authors":"Akram Idani","doi":"10.1145/3501774.3501787","DOIUrl":null,"url":null,"abstract":"Because of the Covid-19 pandemic, several organisations around the world applied social distancing rules with workplace controls. Most of these rules can be automated and supervised using software systems that interact with connected devices such as smart cameras, motion sensors, smart door locks, etc. Given the critical nature of a pandemic prevention application, it seems essential to use techniques such that the possibility of failures is minimised. The integration of formal reasoning within software development is obviously a way to achieve this goal. Unfortunately, often formal methods are deemed too difficult and hence their application is somehow limited. This study builds on real-life pandemic prevention strategies, and shows how a formal method and domain-specific languages can be mixed in a lightweight development process. Our approach extends Meeduse, a language workbench that embeds an animator and model-checker and allows one to define proved executable Domain-Specific Languages (xDSLs) using the B method. In addition to the benefits of using xDSLs together with a formal approach during the development process the originality of this work is two-fold: (1) first, we propose a novel refinement-based approach that allows DSL developers to produce several versions of the application without breaking down the global safety properties; and (2) second, we use the verified specification of the DSL semantics at runtime so that the implementation effort is highly reduced.","PeriodicalId":255059,"journal":{"name":"Proceedings of the 2021 European Symposium on Software Engineering","volume":"187 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-11-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A Lightweight Development of Outbreak Prevention Strategies Built on Formal Methods and xDSLs\",\"authors\":\"Akram Idani\",\"doi\":\"10.1145/3501774.3501787\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Because of the Covid-19 pandemic, several organisations around the world applied social distancing rules with workplace controls. Most of these rules can be automated and supervised using software systems that interact with connected devices such as smart cameras, motion sensors, smart door locks, etc. Given the critical nature of a pandemic prevention application, it seems essential to use techniques such that the possibility of failures is minimised. The integration of formal reasoning within software development is obviously a way to achieve this goal. Unfortunately, often formal methods are deemed too difficult and hence their application is somehow limited. This study builds on real-life pandemic prevention strategies, and shows how a formal method and domain-specific languages can be mixed in a lightweight development process. Our approach extends Meeduse, a language workbench that embeds an animator and model-checker and allows one to define proved executable Domain-Specific Languages (xDSLs) using the B method. In addition to the benefits of using xDSLs together with a formal approach during the development process the originality of this work is two-fold: (1) first, we propose a novel refinement-based approach that allows DSL developers to produce several versions of the application without breaking down the global safety properties; and (2) second, we use the verified specification of the DSL semantics at runtime so that the implementation effort is highly reduced.\",\"PeriodicalId\":255059,\"journal\":{\"name\":\"Proceedings of the 2021 European Symposium on Software Engineering\",\"volume\":\"187 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-11-19\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the 2021 European Symposium on Software Engineering\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3501774.3501787\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2021 European Symposium on Software Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3501774.3501787","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

由于Covid-19大流行,世界各地的一些组织将社交距离规则与工作场所控制结合起来。这些规则中的大多数都可以使用与连接设备(如智能摄像头、运动传感器、智能门锁等)交互的软件系统来自动化和监督。鉴于大流行预防应用的关键性质,似乎必须使用能够将失败可能性降至最低的技术。在软件开发中集成形式化推理显然是实现这一目标的一种方法。不幸的是,通常认为形式化方法太难,因此它们的应用在某种程度上受到限制。本研究以现实生活中的流行病预防策略为基础,并展示了如何在轻量级开发过程中混合使用正式方法和特定于领域的语言。我们的方法扩展了Meeduse,这是一个语言工作台,它嵌入了动画器和模型检查器,并允许使用B方法定义经过验证的可执行领域特定语言(xdsl)。除了在开发过程中使用xdsl和正式方法的好处之外,这项工作的独创性有两个方面:(1)首先,我们提出了一种新颖的基于改进的方法,允许DSL开发人员在不破坏全局安全属性的情况下生成应用程序的多个版本;(2)第二,我们在运行时使用经过验证的DSL语义规范,从而大大减少了实现工作。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
A Lightweight Development of Outbreak Prevention Strategies Built on Formal Methods and xDSLs
Because of the Covid-19 pandemic, several organisations around the world applied social distancing rules with workplace controls. Most of these rules can be automated and supervised using software systems that interact with connected devices such as smart cameras, motion sensors, smart door locks, etc. Given the critical nature of a pandemic prevention application, it seems essential to use techniques such that the possibility of failures is minimised. The integration of formal reasoning within software development is obviously a way to achieve this goal. Unfortunately, often formal methods are deemed too difficult and hence their application is somehow limited. This study builds on real-life pandemic prevention strategies, and shows how a formal method and domain-specific languages can be mixed in a lightweight development process. Our approach extends Meeduse, a language workbench that embeds an animator and model-checker and allows one to define proved executable Domain-Specific Languages (xDSLs) using the B method. In addition to the benefits of using xDSLs together with a formal approach during the development process the originality of this work is two-fold: (1) first, we propose a novel refinement-based approach that allows DSL developers to produce several versions of the application without breaking down the global safety properties; and (2) second, we use the verified specification of the DSL semantics at runtime so that the implementation effort is highly reduced.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术文献互助群
群 号:481959085
Book学术官方微信