• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2013, Vol. 35 ›› Issue (8): 125-129.

• 论文 • 上一篇    下一篇

基于MVC设计模式的虚拟实验平台模块化设计

张原1,张昭1,刘蕊2   

  1. (1.海军航空兵学院,辽宁 葫芦岛 125001;2.海军航空工程学院,山东 烟台 264001)
  • 收稿日期:2012-05-07 修回日期:2012-08-23 出版日期:2013-08-25 发布日期:2013-08-25

Modular design of virtual experiment system
based on MVC design model                

ZHANG Yuan1,ZHANG Zhao1,LIU Rui2   

  1. (1.Naval Air Force Institute,Huludao 125001;
    2.Naval Aeronautical and Astronautical University,Yantai 264001,China)
  • Received:2012-05-07 Revised:2012-08-23 Online:2013-08-25 Published:2013-08-25

摘要:

在理论和实验研究的基础上构建了实时交互的网络化空气动力学虚拟实验平台。设计中采用MVC设计模式,使平台开发具有很好的可扩展性与易维护性。平台选择Flash的ActionScript 3.0作为开发工具,重点利用类绑定技术实现可重用控件模块的开发与积累,为平台功能拓展和其他项目开发打下良好基础。该平台功能较全面,沉浸感强,能够满足仪器操作培训、实验教学等方面的需要。

关键词: 空气动力学;虚拟实验室;Flash;MVC设计模式;模块化;容错系统

Abstract:

Based on the investigation of experimentation and aerodynamics theory, live interactive web aerodynamics virtual experiment platform is built up. Using MVC (ModelViewController) design pattern, the system has better scalability and ease of maintenance. The platform chooses ActionScript3 as a development tool, focusing on the accumulation of reusable control modules with class binding technology. It's important for the system function expansion and development of other project. The system has allaround functions, strong sense of immersion, hence satisfying the demands of experiment operation trainning and the experiment courses online study.

Key words: aerodynamics;virtual laboratory;flash;MVC design pattern;modularization;fault tolerant system