摘要

Device drivers are used to provide a layer of abstraction to hardware input/output (I/O) devices, so that upper software can access devices in a uniform, hardware-independent way. The present study puts forward a component based dynamic device driver method, in which the operating system manages all the device and driver component object via device manager, the client program creates driver component object through device manager, the device manager communicates with driver component object, and the driver component object supplies application interface to client program. The driver program is realized in component-wise way and only when driver is needed by application program, the driver program is loaded and driver component object is created; once driver component object application ended, the driver program will be deleted and unloaded from internal storage, so the CPU and internal storage resource are utilized reasonably and effectively.