首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于多线程的计算机硬件虚拟实验室的设计与实现
引用本文:严晖,杨路明.基于多线程的计算机硬件虚拟实验室的设计与实现[J].中南大学学报(自然科学版),2004,35(2):290-294.
作者姓名:严晖  杨路明
作者单位:中南大学,信息科学与工程学院,湖南长沙,410083
摘    要:研究了计算机硬件虚拟实验室的设计与实现方法.系统采用多线程技术实现虚拟计算机的仿真运行、信号检测、信号图形化编码及信号输出4个功能模块的并行操作功能,采用加锁技术实现多线程运行的同步控制;根据系统运行时间的特点、模块的交互性、线程间优先关系,设定各线程的优先级别,按优先级别与给定时间片进行线程调度;模块间传送数据的同步控制通过多数据缓冲区机制实现,利用事件驱动方式完成各缓冲区数据的传递.系统采用多线程与多缓冲区技术相结合的方式,实现了计算机硬件虚拟实验系统模块的并行操作与数据的并行处理,提高了系统的交互性和运行效率,为计算机硬件实验教学提供了一个高度交互与仿真的虚拟实验环境.

关 键 词:虚拟实验教学  虚拟实验室  人机交互处理  多缓冲区
文章编号:1672-7207(2004)02-0290-05
修稿时间:2003年6月20日

Multithread-based design and implementation of computer hardware system virtual laboratory
YAN Hui,YANG Lu-ming.Multithread-based design and implementation of computer hardware system virtual laboratory[J].Journal of Central South University:Science and Technology,2004,35(2):290-294.
Authors:YAN Hui  YANG Lu-ming
Abstract:This paper discusses the design and implementation of a computer hardware system Laboratory. By using the multi-tread technology, parallel handling of these modellings are implemented including virtual CPU emulating, signal sampling, graphic coding and signal output and the control of thread synchronization with object lock. According to the runtime peculiarity, the interaction of the modeling and the priority of the threads, the system sets the priority and schedules the threads with priority and time-sliced. By adopting the multi-buffer, the system can control data synchronization and complete the data transmission with the event trigger. The parallel computing of modeling and parallel transmitting in Computer Hardware System Laboratory with the multi-thread and multi-buffer technology is implemented. This design improves the interaction and efficiency of the system and provides a virtual experiment environment with reality and interaction.
Keywords:virtual experiment teaching  virtual laboratory  human-computer interaction  multi-buffer
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号