计算机工程与应用 ›› 2009, Vol. 45 ›› Issue (21): 156-159.DOI: 10.3778/j.issn.1002-8331.2009.21.046

• 理论科学研究 • 上一篇    下一篇

一种行为驱动的构件交互适配模型

祁华成1,张广泉1,2,章晓芳1   

  1. 1.苏州大学 计算机科学与技术学院,江苏 苏州 215006
    2.中国科学院 计算机科学国家重点实验室,北京 100080
  • 收稿日期:2009-05-04 修回日期:2009-06-29 出版日期:2009-07-21 发布日期:2009-07-21
  • 通讯作者: 祁华成

Behavior-driven model of component interaction adaptation

QI Hua-cheng1,ZHANG Guang-quan 1,2,ZHANG Xiao-fang1   

  1. 1.School of Computer Science and Technology,Soochow University,Suzhou,Jiangsu 215006,China
    2.State Key Lab of Computer Science,The Chinese Academy of Sciences,Beijing 100080,China
  • Received:2009-05-04 Revised:2009-06-29 Online:2009-07-21 Published:2009-07-21
  • Contact: QI Hua-cheng1

摘要: 软件构件化是提高软件开发效率和降低重复性劳动的重要途径之一,但一直面临着构件实体之间的行为交互失配问题。对此,构造了一个构件行为本体,其中包括构件体、构件行为及构件行为性质,并根据构件行为本体提出了构件交互适配模型。在该模型中,依据构件行为性质将构件集合划分成不同的构件组,利用构件组内复合行为的完整性探测构件交互死锁,并通过自定义行为规则适配构件交互死锁。最后,对构件组与适配器之间的一一对应关系进行证明。

Abstract: The problem of adapting heterogeneous software components that present mismatching interaction behaviour is one of the crucial problems in Component-Based Software Engineering.To solve this problem,component behavior ontology which includes component entities,component behaviors and component behavior properties is constructed in this paper.Based on component behavior ontology,a component interaction adaptation model is proposed.In the model,different component groups are divided,interaction behaviour deadlock is detected by component behavior properties and adapter specification is set up via behavior rules.Finally,an autocephalous adapter is obtained for each component group to remove mismatching interaction behaviour.