Skip to main content
QUICK REVIEW

[Paper Review] Automatic adaptor synthesis for protocol transformation

Marco Autili, Paola Inverardi|arXiv (Cornell University)|Dec 1, 2014
Advanced Software Engineering MethodologiesComputer Science6 references8 citations
TL;DR

This paper presents a compositional, automatic approach for synthesizing protocol-enhanced glue code (adaptors) in component-based systems by transforming existing coordinators through formal specification of protocol enhancements. It extends prior work on failure-free coordinator synthesis to support dependability, fault-tolerance, and architectural evolution via modular, reusable wrapper components, significantly improving space complexity and composability in system integration.

ABSTRACT

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 issues, mainly related to compatibility and communication aspects. Components may have incompatible interaction behavior. Moreover it might be necessary to enhance the current communication protocol to introduce more sophisticated interactions among components. We address these problems enhancing our architectural approach which allows for detection and recovery of integration mismatches by synthesizing a suitable coordinator. Starting from the specification of the system to be assembled and from the specification of the needed protocol enhancements, our framework automatically derives, in a compositional way, the glue code for the set of components. The synthesized glue code avoids interaction mismatches and provides a protocol-enhanced version of the composed system.

Motivation & Objective

  • To address integration mismatches and protocol incompatibilities in component-based software engineering (CBSE) when composing reusable or COTS components.
  • To enable automatic synthesis of enhanced glue code that supports protocol transformations for dependability, fault-tolerance, and architectural evolution.
  • To improve the space complexity and composability of existing coordinator synthesis approaches by enabling modular, composable protocol transformations.
  • To support dynamic system updates such as component insertion, replacement, and removal through reusable, formally synthesized coordinators.
  • To provide a formal framework for specifying and automatically generating protocol-enhanced coordinators using behavioral models and message sequence charts (bMSCs/hMSCs).

Proposed method

  • The approach uses a components-and-connectors architectural style with synchronous, request/notification-based communication via top/bottom ports.
  • It formally specifies protocol enhancements (e.g., retry policies) using bMSCs and hMSCs, which are then used to synthesize behavioral models (LTS) of the enhanced coordinator.
  • A new coordinator is automatically synthesized as a composition of the original coordinator, wrapper components, and sub-coordinators, enabling modular protocol transformation.
  • Wrapper components are synthesized as interceptors that mediate interactions and apply protocol enhancements (e.g., retries, monitoring) without modifying original components.
  • The method ensures behavioral correctness by verifying that the synthesized LTS matches the actual behavior of the original coordinator’s bottom domain.
  • The synthesis process is compositional: each protocol enhancement is applied as a modular transformation, enabling reuse and incremental system evolution.

Experimental results

Research questions

  • RQ1How can protocol transformations be automatically synthesized to enhance the behavior of coordinators in component-based systems?
  • RQ2In what way does the proposed method improve the composability and space complexity of existing coordinator synthesis techniques?
  • RQ3How can protocol enhancements such as retry policies, fault-tolerance, and monitoring be formally specified and automatically applied to coordinators?
  • RQ4Can the approach support dynamic architectural updates like component insertion, replacement, or removal while preserving correctness?
  • RQ5How can the behavioral correctness of the synthesized glue code be formally verified against the original system behavior?

Key findings

  • The extended approach enables compositional synthesis of protocol-enhanced coordinators, allowing modular application of multiple protocol transformations.
  • The method improves space complexity by reusing existing glue code and synthesizing only new, modular components for each enhancement.
  • The framework supports key non-functional requirements such as fault-tolerance, error handling, monitoring, and security through formal protocol transformations.
  • The approach is formally verified: the synthesized LTS of the wrapper and new coordinator must match the actual behavior of the original coordinator’s bottom domain.
  • The method supports dynamic system evolution, including component insertion, replacement, and removal, by reusing existing synthesized glue code.
  • A prototype tool, "SYNTHESIS", supports the automation of the original coordinator synthesis; future work includes extending it to support the enhanced protocol transformation approach.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.