关键词:
虚拟实验室
计算机组成原理
Java
Bean
数据驱动
多线程
摘要:
A design model and implementing method of PCOVL (Principles of Computer Organization virtual lab) was proposed based on component techniques .This system was implemented with Java language, which could make the virtual lab system be independent of operating system. In the PCOVL, chip instruments were developed with JavaBean component techniques, and the attribution and behavior of component could be adjusted dynamically by using Java Reflection. A trigger- dispatching mechanism based on data-driven was presented to effectively solve problems of data transfer and component-dispatch between components with complex relationship, which was implemented by data-driven principle, wait-notify of Java multithreading schemes, and the Lock technique to control multithreading's synchronization. In the PCOVL, functions of designing process of experiment visually, changing the status of component randomly at run time, displaying results of experiment dynamic and real-time were realized. PCOVL provides powerful tech support and theory foundation for developing virtual lab of computer hardware courses.