摘要
结合实际项目开发,对分布式虚拟实验室的体系结构及仿真算法进行了相关研究。基于实时性考虑,采用Client/Server模式,以TCP/IP协议进行通信;通过在客户端放置局部数据库,服务器端放置全局数据库,来缩短系统的响应时间;服务器端采用多线程技术,来提高执行效率;使用真值表对芯片功能进行仿真,使用事件调度法对实验过程进行仿真。为了快速、逼真地模拟真实实验,系统采用Visual C++6.0、OpenGL和SQL Server 2000进行开发。以计算机组成原理实验为例,对提出的体系结构与仿真算法进行了验证;本设计同样也适合于通用的分布式虚拟实验室环境。
With the project being built, related research on architecture and simulation algorithm of distributed virtual laboratory is made. Considering the response time, Client/Server architecture, based on TCP/IP protocols is used. To shorten the response time, local databases are put on the client, and global databases are put on the servers. Multi - thread method is used to make the server more efficient. To simulate the functions of the chips, truth table is used. And event scheduling is used to simulate the experiment process. To simulate the real experiment more quickly and real, the system is developed with Visual C + + 6.0, OpenGL and SQL Server 2000. This paper takes computer component experiments as an example, demonstrates the architecture and simulation algorithm presented. This deign can also be used in general- purposed distributed virtual laboratories.
出处
《陕西理工学院学报(自然科学版)》
2006年第1期52-56,共5页
Journal of Shananxi University of Technology:Natural Science Edition
关键词
虚拟实验室
体系结构
仿真算法
virtual laboratory
architecture
simulation Algorithm