首页> 外文期刊>Science of Computer Programming >A design-by-contract approach to recover the architectural style from run-time misbehaviour
【24h】

A design-by-contract approach to recover the architectural style from run-time misbehaviour

机译:一种按合同设计的方法,可以从运行时的不良行为中恢复建筑风格

获取原文
获取原文并翻译 | 示例

摘要

We propose to control the reconfigurations of applications leading to an erroneous state by exploiting its architectural model. Our work relies on Architectural Design Rewriting (ADR, for short) which is a rule-based formal framework for modelling (the evolution of) software architectures. We equip the reconfiguration rules of an ADR architecture with pre- and post-conditions expressed in a simple logic; a pre-condition constraints the applicability of a rule while a post-condition specifies the properties expected of the resulting graphs. We give an algorithm to compute the weakest pre-condition out of a rule and its postcondition. On top of this algorithm, we design a simple methodology that allows us to select which rules can be applied at the architectural level to reconfigure a system so to regain its architectural style when it becomes compromised by unexpected run-time reconfigurations.
机译:我们建议通过利用其体系结构模型来控制导致错误状态的应用程序的重新配置。我们的工作依赖于体系结构设计重写(简称ADR),这是一个基于规则的形式框架,用于对软件体系结构进行建模(演进)。我们为ADR体系结构的重配置规则配备了以简单逻辑表示的前置条件和后置条件。前置条件约束规则的适用性,而后置条件指定结果图的预期属性。我们给出了一种算法来计算规则及其后置条件中最弱的前提条件。在该算法之上,我们设计了一种简单的方法,该方法使我们可以选择可以在体系结构级别应用哪些规则来重新配置系统,以便在系统因意外的运行时重新配置而受到损害时重新获得其体系结构样式。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号