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

一种基于MAPE-K的自适应系统架构符合性检查方法

A MAPE-K-Based Method for Architectural Conformance Checking in Self-Adaptive Systems

Daniel San Martín, Guisella Angulo, Valter Vieira de Camargo

AI总结:

针对自适应系统架构漂移问题,提出基于MAPE-K的REMEDY方法,通过领域特定语言、架构提取工具和符合性引擎,降低规范工作量并有效检测违规,实验验证了其高效性与可靠性。

摘要:

自适应系统(SASs)在运行时根据内部或外部变化调整其行为。MAPE-K模型包括监控器(Monitors)、分析器(Analyzers)、规划器(Planners)、执行器(Executors)和共享知识库(Knowledge),是构建反馈循环的参考模型。随着SASs的演进,实现可能偏离预期的MAPE-K架构,从而损害计划中的质量属性。架构符合性检查(ACC)通过将当前实现与架构规范进行比较来应对这一风险。通用ACC技术灵活,但缺乏SAS特定语义,导致规范模糊且遗漏违规。我们提出了REMEDY,一种专为基于MAPE-K的SASs设计的ACC方法。REMEDY提供三个要素:一种用于以MAPE-K术语表达计划架构的领域特定语言,一个提取已实现架构的工具,以及一个报告违规的符合性引擎。通过编码SAS领域规则并重用MAPE-K抽象,REMEDY相对于通用ACC减少了规范工作量并降低了错误率。我们通过一个机器人SAS案例研究和一项与软件工程学生进行的受控实验来评估REMEDY。结果表明,建模生产力更高,且能有效检测架构漂移,支持对MAPE-K参考模型符合性进行更可靠的验证。

英文摘要:

Self-adaptive systems (SASs) adjust their behavior at runtime in response to internal or external change. The MAPE-K model, which includes Monitors, Analyzers, Planners, Executors, and shared Knowledge, is a reference for structuring feedback loops. As SASs evolve, implementations can drift from the intended MAPE-K architecture, compromising planned quality attributes. Architectural Conformance Checking (ACC) addresses this risk by comparing the current implementation to a specification of the architecture. General purpose ACC techniques are flexible, but lack SAS specific semantics, leading to ambiguous specifications and missed violations. We present REMEDY, an ACC approach designed for MAPE-K based SASs. REMEDY provides three elements: a domain specific language for expressing planned architectures in MAPE-K terms, a tool that extracts the implemented architecture, and a conformance engine that reports violations. By encoding SAS domain rules and reusing MAPE-K abstractions, REMEDY reduces specification effort and lowers error rates relative to general ACC. We evaluate REMEDY through a robotic SAS case study and a controlled experiment with software engineering students. Results show higher modeling productivity and effective detection of architectural drift, supporting more reliable verification of conformance to the MAPE-K reference model.

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

↑