arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1704.00869cs.SEcs.LO
收藏

通过可扩展性验证实现自适应系统的自适应:一种模型驱动的方法

Achieving Adaptation for Adaptive Systems via Runtime Verification: A Model-Driven Approach

Zhuoqun Yang, Zhi Jin, Zhi Li

摘要:

自适应系统(SAS)能够调整其行为,以响应操作环境和自身的有意义的变化。这种适应需要在运行时通过自我管理的反应和决策过程自动执行。为了支持这种自动行为,SAS必须被赋予丰富的运行时支持,可以检测需求冲突并对适配决策进行推理。SAS需求工程的主要目标是对适配逻辑和机制进行建模。需求模型将指导系统的设计决策和运行时行为。本文提出了一种模型驱动的方法,实现适应非功能性需求(NFR),即可靠性和性能。该方法从RE阶段的模型开始,为自适应提供运行时支持。我们捕获的目标模型中的图形元素的适应机制。通过赋予相关系统任务可靠性和性能属性,我们得到了用于描述系统行为可靠性和性能的标记时序图。为了形式化系统行为,我们将需求模型转换为相应的行为模型,用标签转换系统(LTS)表示。为了分析系统的可靠性要求和性能要求,将时序图和LTS分别合并为可变离散时间马尔可夫链(DTMC)和可变连续时间马尔可夫链(CTMC)。适应候选者的特征在于可变状态。通过验证相关的NFR和减少决策空间来获得最优决策。我们的方法是通过一个移动信息系统的演示来实现的。

英文摘要:

Self-adaptive systems (SASs) are capable of adjusting its behavior in response to meaningful changes in the operational con-text and itself. The adaptation needs to be performed automatically through self-managed reactions and decision-making processes at runtime. To support this kind of automatic behavior, SASs must be endowed by a rich runtime support that can detect requirements violations and reason about adaptation decisions. Requirements Engineering for SASs primarily aims to model adaptation logic and mechanisms. Requirements models will guide the design decisions and runtime behaviors of sys-tem-to-be. This paper proposes a model-driven approach for achieving adaptation against non-functional requirements (NFRs), i.e. reliability and performances. The approach begins with the models in RE stage and provides runtime support for self-adaptation. We capture adaptation mechanisms as graphical elements in the goal model. By assigning reliability and performance attributes to related system tasks, we derive the tagged sequential diagram for specifying the reliability and performances of system behaviors. To formalize system behavior, we transform the requirements model to the corresponding behavior model, expressed by Label Transition Systems (LTS). To analyze the reliability requirements and performance requirements, we merged the sequential diagram and LTS to a variable Discrete-Time Markov Chains (DTMC) and a variable Continuous-Time Markov Chains (CTMC) respectively. Adaptation candidates are characterized by the variable states. The optimal decision is derived by verifying the concerned NFRs and reducing the decision space. Our approach is implemented through the demonstration of a mobile information system.

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

↑