Generic application program interface for native drivers
First Claim
1. A method comprising:
- providing an interface to access a plurality of peripheral devices independent of specific features of the peripheral devices, the interface having a plurality of generic routines commonly shared by the peripheral devices;
upon receipt of a request, calling the generic routines as a function of specific features of a requested one of the peripheral devices; and
causing a native driver of the requested one of the peripheral devices to execute.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and system to access native drivers in a computer using a generic application interface. An embodiment of the method may include providing the generic application interface to allow access to multiple peripheral devices, where the interface is independent of the device-specific features of the peripheral devices. The interface may include generic routines commonly shared by the peripheral devices. The method may further include using the interface to call the generic routines as a function of device-specific features of a particular device upon receipt of a request to access the particular device. The method provides a generic API that may be commonly used by a plurality of applications on a computer or a plurality of computers in a network to access a plurality of peripheral devices. As such, the developer or user may port applications based on the generic API between different computers without making modifications to the applications. Exemplary applications include mobile devices in wireless communication with network peripheral devices.
99 Citations
20 Claims
-
1. A method comprising:
-
providing an interface to access a plurality of peripheral devices independent of specific features of the peripheral devices, the interface having a plurality of generic routines commonly shared by the peripheral devices;
upon receipt of a request, calling the generic routines as a function of specific features of a requested one of the peripheral devices; and
causing a native driver of the requested one of the peripheral devices to execute. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method comprising:
-
providing a connection class to include generic routines to connect to peripheral devices independent of device-specific features of the peripheral devices;
receiving a request to access one of the peripheral devices;
determining whether the requested peripheral device is accessible;
if the request is a request to connect a computer to the requested peripheral device, instantiating the connection class to create an object specific to the requested peripheral device, using the instantiated object to cause a native driver of the requested peripheral device to execute, and connecting, through the driver, the computer to the requested peripheral device; and
if the request is a request from the requested peripheral device to send data to the computer, notifying the computer that the requested peripheral device has the data, instantiating the connection class to create an object specific to the requested peripheral device, using the instantiated object to cause the native driver of the requested peripheral device to execute, connecting, through the driver, the computer to the requested peripheral device, and sending the data from the requested peripheral device to the computer. - View Dependent Claims (13)
-
-
14. A system comprising:
-
at least one peripheral device having associated therewith a native driver; and
a mobile computer configured to provide an interface used by an application to access the at least one peripheral device, the interface being independent of device-specific features of the at least one peripheral device. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification