摘要
本文研究基于构件设计的正确性问题.我们首先建立一个构件描述的模型:(1)接口:通过对CORBA的IDL进行扩展,使其能够在构件的接口中同时描述构件的语法和语义信息;(2)实现:通过引入一个简单的程序模型,阐述如何利用子构件构造一个新的构件.然后我们考虑如何将构件的接口和实现联系起来:利用Hoare逻辑,验证一个构件的实现是否满足其接口中所给出的语义要求.
In this paper, we study the problems of correctness for the component based design. We firstly build a model of describe a component: (1)interface: Extending the IDL of CORBA so that it can describe both syntax and semantics of components; (2)implementation: Introducing a simple program model to tell how to construct a new component in terms of sub components. Then we consider how to relate the interface of a component to its implementation: Verify if the implementation of a component is satisfied with the requst of semantics in its interface by using Hoare logic.
出处
《小型微型计算机系统》
CSCD
北大核心
1999年第5期330-334,共5页
Journal of Chinese Computer Systems
关键词
构件设计
接口
形式语义
正确性
软件开发
Component based design Interface Implementation Formal semantics