Dynamic association of input/output device with application programs
First Claim
1. An object-oriented framework in memory of a computer system, said framework providing a communication path between an application program and IO devices attached to said computer system, each IO device being connected to a certain IO interface and utilizing a certain IO protocol for exchanging messages with said computer system, said framework comprising:
- a first class tree comprising a set of physical objects, said physical objects defining parameters for data exchange with the application program, said parameters being independent of the IO device'"'"'s IO protocol and of the IO interface the IO device is attached to, a second class tree comprising a set of IO device drivers, said IO device drivers being designed for a certain IO interface and a certain IO protocol, and said IO device drivers being capable of exchanging messages in said IO protocol via said IO interface with the IO device attached to said IO interface, and means for establishing and changing an object reference between any of said physical objects and any of said device drivers at runtime, whereby said physical object maintains a pointer to its corresponding device driver.
1 Assignment
0 Petitions
Accused Products
Abstract
An object-oriented framework is introduced for coupling device drivers to an application program. Two class trees are introduced: the first class tree comprises the device drivers. The device drivers actually exchange messages with the IO devices. They depend on the protocol used, on the IO interface, and on the operating system. The second class tree comprises the so-called physical objects. Their task is to define parameters that are necessary to describe what an IO device is supposed to do. The parameters only depend on the device'"'"'s functionality, but not on the protocol, the IO interface or the operating system. In order to couple a physical object with a device driver, the physical object holds a pointer to its device driver. The connection is an “object reference,” and therefore, the active device driver may be changed at runtime.
51 Citations
5 Claims
-
1. An object-oriented framework in memory of a computer system, said framework providing a communication path between an application program and IO devices attached to said computer system, each IO device being connected to a certain IO interface and utilizing a certain IO protocol for exchanging messages with said computer system, said framework comprising:
-
a first class tree comprising a set of physical objects, said physical objects defining parameters for data exchange with the application program, said parameters being independent of the IO device'"'"'s IO protocol and of the IO interface the IO device is attached to, a second class tree comprising a set of IO device drivers, said IO device drivers being designed for a certain IO interface and a certain IO protocol, and said IO device drivers being capable of exchanging messages in said IO protocol via said IO interface with the IO device attached to said IO interface, and means for establishing and changing an object reference between any of said physical objects and any of said device drivers at runtime, whereby said physical object maintains a pointer to its corresponding device driver. - View Dependent Claims (2, 3)
-
-
4. A computer-implemented method for establishing a communication path between an application program and an Input/Output (IO) device that is attached to a computer system, said IO device being connected to a certain IO interface and utilizing a certain IO protocol for exchanging messages with said computer system, said method comprising the steps of:
-
instantiating a physical object from a first class tree comprising a set of physical objects, said physical object being instantiated based on functionality information about said IO device;
instantiating an IO device driver from a second class tree comprising a set of IO device drivers, said IO device driver being instantiated based on IO interface information and IO protocol information about said IO device; and
establishing an object reference between said physical object and said IO device driver at runtime, whereby said physical object maintains a pointer to said IO device driver. - View Dependent Claims (5)
forwarding said physical object'"'"'s logical address from said physical object to a configurator object; and
returning, from said configurator object to said physical object, a pointer to said IO device driver and a physical address of said IO device that said physical object is supposed to control.
-
Specification