基于对触觉交互软件特点的分析,针对目前触觉交互软件应用中的突出问题给出了一种新的可扩展的触觉交互软件体系结构。该体系结构基于模型-视图-控制器(MVC)模式和插件,能够使系统进行动态扩展。在此基础上结合实例给出了三种扩展机制,分别是基于类型封装的模型扩展,基于状态转换的控制器扩展和基于发布-订阅的视图扩展。通过这些机制,开发者可以快速方便地扩展软件功能,提高开发效率。该体系对于实现触觉交互软件的标准化具有重要的价值。
Based on the analysis of the features of current software for haptic interaction, the paper proposes an extendible software architecture based on the model-view-controller (MVC) pattern and plug-in to solve the critical problems in application. Then three extendible mechanisms, i.e. the model extension based on type encapsulation, the controller extension based on state transition, and the view extension based on publish-subscribe, are given. Developers are able to extend the function of the architecture by such mechanisms easily and quickly, and improve the development efficiency effectively. This architecture is important for standardization of the software for haptic interaction.