Font Size: a A A

Design And Implementation Of Virtual Experiment Platform For Operating System

Posted on:2011-06-22Degree:MasterType:Thesis
Country:ChinaCandidate:J F LiFull Text:PDF
GTID:2178360305494790Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
Directed at the deficiencies of experimental teaching for the operating system, this paper took examples from successful experiences of other existing OS laboratory, proposed a solution of B/S architecture virtual experiment platform for learning operating system, and achieved two subsystems with Java technology, the Linux Kernel Studying & Programming Environment (Kernel-S&P) and the Operating System Simulation Experiment Environment (OS-Simulation).Based on Linux0.11 kernel, this paper analyzed the implementation mechanisms of various functions of the operating system in depth, and divided its source codes into a serial of small modules according to the kernel's architecture and its functions. These modules had clear layers, suitable sizes and relatively independent functions. Static module relationship diagrams depicted the complex dependencies between these modules. XML technology was used to store the module information. Method of simultaneous read and write saved module codes safety. Double buffer technology solved the problem of graphical refresh delay flicker. Considered these OS modules as basic units, Kernel-S&P provided an outstanding kernel studying and programming environment. Users could select modules via the graphic panel, modify the data structures and algorithms of operating system, and compile, debug and run modified kernel locally to check the experiment results.This paper simulated all kinds of hardware and software resources for OS-Simulation, such as CPU, memory, disk, semaphore and abstract resources, and developed a set of virtual operating system whose algorithms of the functional modules could be freely organized. XML technology was used to configure simulated hardware parameters and algorithm components of modules, design the processes which can reflect all kinds of running state of operating system. According to the system feedback source files and help documentation, users could design the replacement algorithm components of virtual operating system, after component registration and loading, run their own module's algorithms, and check the algorithm's performance by experimental statistics information.Practices had proved that the platform designed in this paper could help users to enhance the abstract concepts and internal realization mechanisms of operating system, and improve the ability to modify and explore OS kernel, therefore, provided a convenient applied experimental platform for teaching operating system.
Keywords/Search Tags:operating system, Linux kernel programming, virtual operating system, virtual laboratory
PDF Full Text Request
Related items