arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2108.08139cs.SE
收藏

使用规格说明模式映射控制理论和软件工程特性

Towards Mapping Control Theory and Software Engineering Properties using Specification Patterns

Ricardo Caldas, Razan Ghzouli, Alessandro V. Papadopoulos, Patrizio Pelliccione, Danny Weyns, Thorsten Berger

摘要:

在软件工程(SE)中实现自适应的传统方法是通过反馈环。系统的目标可以被指定为针对系统模型进行验证的形式属性。另一方面,控制理论(CT)提供了一个完善的基础,设计反馈回路系统,并提供保证的基本属性,如稳定性,建立时间和稳态误差。目前,它是一个悬而未决的问题是否以及如何传统的SE方法自适应考虑CT的属性。考虑到这两个领域在表示属性方面的原则差异,提出这个问题是具有挑战性的。在本文中,我们迈出了回答这个问题的第一步。我们遵循自自底向上的的方法,为法拉利车队(F1)的灵感案例指定控制设计(在Simulink中),并提供稳定性和安全性的证据。然后将设计转换为进一步优化的代码(C)。接下来,我们定义属性,以验证控件属性在代码级别是否仍然有效。然后,我们巩固的解决方案,通过映射的属性在两个世界使用规范模式作为共同的语言,我们验证了这种映射的正确性。映射提供了一个可重用的工件来解决类似的问题。最后,我们概述了未来工作的机会,特别是完善和扩展映射,并研究它如何能够提高工程自适应系统的SE和CT工程师。

英文摘要:

A traditional approach to realize self-adaptation in software engineering (SE) is by means of feedback loops. The goals of the system can be specified as formal properties that are verified against models of the system. On the other hand, control theory (CT) provides a well-established foundation for designing feedback loop systems and providing guarantees for essential properties, such as stability, settling time, and steady state error. Currently, it is an open question whether and how traditional SE approaches to self-adaptation consider properties from CT. Answering this question is challenging given the principle differences in representing properties in both fields. In this paper, we take a first step to answer this question. We follow a bottom up approach where we specify a control design (in Simulink) for a case inspired by Scuderia Ferrari (F1) and provide evidence for stability and safety. The design is then transferred into code (in C) that is further optimized. Next, we define properties that enable verifying whether the control properties still hold at code level. Then, we consolidate the solution by mapping the properties in both worlds using specification patterns as common language and we verify the correctness of this mapping. The mapping offers a reusable artifact to solve similar problems. Finally, we outline opportunities for future work, particularly to refine and extend the mapping and investigate how it can improve the engineering of self-adaptive systems for both SE and CT engineers.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑