arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1504.07504cs.SE
收藏

组件系统中协议增强的正确适配器综合

Synthesis of correct adaptors for protocol enhancement in component-based systems

Marco Autili, Paola Inverardi, Massimo Tivoli, David Garlan

摘要:

软件构件的适配是基于构件的软件工程(CBSE)中的一个重要问题。从可重用或商用现成(COTS)组件构建系统会引入一系列问题,主要涉及兼容性和通信方面。一方面,组件可能具有不兼容的交互行为。这可能需要将系统的行为限制为安全行为的子集。另一方面,可能有必要加强目前的通信协议。这可能需要增强系统的行为,以便在组件之间引入更复杂的交互。我们解决这些问题,通过提高我们的建筑方法,允许检测和恢复不兼容的相互作用,通过合成一个合适的协调员。考虑到要组装的系统的规格和协议增强的规格,我们的工具(称为合成)自动派生,在一个组成的方式,胶水代码的组件集。合成的胶水代码实现了一个软件协调器,避免了不兼容的交互,并提供了一个协议增强版本的组合系统。通过使用假设保证技术,我们能够检查,在一个组合的方式,如果协议的增强是一致的,以确保指定的安全行为的限制。

英文摘要:

Adaptation of software components is an important issue in Component Based Software Engineering (CBSE). Building a system from reusable or Commercial-Off-The-Shelf (COTS) components introduces a set of problems, mainly related to compatibility and communication aspects. On one hand, components may have incompatible interaction behavior. This might require to restrict the system's behavior to a subset of safe behaviors. On the other hand, it might be necessary to enhance the current communication protocol. This might require to augment the system's behavior to introduce more sophisticated interactions among components. We address these problems by enhancing our architectural approach which allows for detection and recovery of incompatible interactions by synthesizing a suitable coordinator. Taking into account the specification of the system to be assembled and the specification of the protocol enhancements, our tool (called SYNTHESIS) automatically derives, in a compositional way, the glue code for the set of components. The synthesized glue code implements a software coordinator which avoids incompatible interactions and provides a protocol-enhanced version of the composed system. By using an assume-guarantee technique, we are able to check, in a compositional way, if the protocol enhancement is consistent with respect to the restrictions applied to assure the specified safe behaviors.

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

↑