Refinement of Models of Software Components (extended Abstract)

Zizhen Wang,Hanpin Wang,Naijun Zhan
2010-01-01
Abstract:Models of software components at di erent levels of abstraction, component interfaces, contracts, implementations and publications are important for component-based design. Refinement relations among models at the same level and between di erent levels are essential for model-driven development of components. Classical refinement theories mainly focus on verification and put little attention on design. Therefore, most of them are not suitable for component-based model-driven development (CB-MDD). To address this issue, in this paper, we propose two refinement relations for CB-MDD, that is a trace-based refinement and a state-based refinement. Both are discussed in the framework of rCOS, which is a formal model of component and object systems. These refinement relations provide di erent granularity of abstraction and can capture the intuition that a refined component provides “more” and “better” services to the environment. We also show how to extend these refinement relations to allow us to compare contracts, components and publications with di erent interfaces by exploiting the primitive operator internalizing over contracts, components and publications.
What problem does this paper attempt to address?