System and method employing script-based device drivers
First Claim
1. A computer-implemented system for controlling a hardware device, the system comprising:
- an operating system having a scripting driver, a scripting engine, and a driver script for the hardware device, the driver script containing a plurality of programming instructions defining operational behavior of the hardware device, the programming instructions calling functions of system-provided objects for communicating with and controlling the hardware device,the scripting driver programmed for receiving a request for a requested operation by the hardware device, and invoking the script engine to execute the driver script, the script engine programmed for interpreting the programming instructions in the driver script and invoking functions of the system-provided objects called by the programming instructions to carry out the requested operation.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer system and method uses script-based device drivers for operating hardware devices. The script-based driver architecture comprises a scripting driver, a script engine, and a driver script for a given hardware device, such as a scanner. The driver script is generally a text file containing a sequence of programming instructions defining the operational behavior of the hardware device. The scripting driver exports a set of objects whose functions can be called by the driver script to communicate with and control the device. When a request to operate the hardware device is received by the scripting driver, the script engine interprets the programming instructions in the driver script corresponding to the request and invokes the functions of the scripting driver objects called by the programming instructions to carry out the requested device operation.
15 Citations
4 Claims
-
1. A computer-implemented system for controlling a hardware device, the system comprising:
-
an operating system having a scripting driver, a scripting engine, and a driver script for the hardware device, the driver script containing a plurality of programming instructions defining operational behavior of the hardware device, the programming instructions calling functions of system-provided objects for communicating with and controlling the hardware device, the scripting driver programmed for receiving a request for a requested operation by the hardware device, and invoking the script engine to execute the driver script, the script engine programmed for interpreting the programming instructions in the driver script and invoking functions of the system-provided objects called by the programming instructions to carry out the requested operation. - View Dependent Claims (2, 3, 4)
-
Specification