作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2003, Vol. 29 ›› Issue (02): 101-103.

• 论文 • 上一篇    下一篇

基于询问-回答模式的对象控制模型的实现

蔡志旻,赵洋,潘捷,潘金贵   

  1. 南京大学计算机软件新技术国家重点实验室,南京大学计算机软件新技术国家重点实验室,南京大学计算机软件新技术国家重点实验室,南京大学计算机软件新技术国家重点实验室 南京大学多媒体计算机研究所南京 210093, 南京大学多媒体计算机研究所南京 210093, 南京大学多媒体计算机研究所南京 210093, 南京大学多媒体计算机研究所南京 210093
  • 发布日期:2003-01-25

Implementation of an Object Control Model Based on Request-reply Pattern

CAI Zhimin, ZHAO Yang, PAN Jie, PAN Jingui   

  1. (State Key Laboratory for Novel Software Technology, Multimedia Computier Institute, Nanjing University, Nanjing 210093)
  • Published:2003-01-25

摘要: 在诸多系统设计中,系统需要管理大量具有内在关联性相似性的对象系统(通常表现为对象树或对象图的形式)。通常采用的方法是系统集中管理和控制,根据对象的互异性特征,选取指定的对象和决定对象如何访问。这种集中控制的弊端是管理复杂、成本高,容易造成错误,并且可扩充性差。文章介绍了一种基于询问-回答模式的对象控制模型,有效地解决了这个问题。

关键词: 对象控制模型, 询问-回答模式, 虚函数, 动态编联

Abstract: In some specific systems, such as compiling systems or graphics systems, a large mount of objects with inherent associations and similarity should be managed to handle different operations upon different objects. Also, the management has to adapt the variation of objects and the variation of operations upon objects. Normal approach is to design a complicated control center to identify different objects and dispatch separate operations over separate objects. However such a centralized control model witnessed defects of complicated management, high control cost, and hard scalability. For such reasons, this paper performs an object control model based on request-reply pattern, which solves the problem effectively.

中图分类号: