Application program interface to physical devices
First Claim
1. A computer implemented method of interfacing between a plurality of application programs and a physical device, said computer implemented method comprising the steps of:
- (a) providing a library of routines to control and implement different functions specific to said physical device;
(b) dynamically linking said library of routines to said plurality of application programs;
(c) providing a memory for storing private data which influences the behavior of said library of routines;
(d) providing a means for updating said private data in order to record state information during periods in which said library of routines are inactive,whereby said application programs utilize said library of routines to control and communicate with said physical device, andwhereby said application programs utilize said library of routines to perform tasks that require utilization of said physical device; and
(e) updating said private data in response to interrupts generated by said physical device.
0 Assignments
0 Petitions
Accused Products
Abstract
In a computer system, a programming interface between application programs and a physical device. The application programs (41, 42) may include executable programs and dynamic-linked libraries. The application program interface of the present invention consists of private data and a library of routines (51) which expose the functionality of the physical device (1). Furthermore, the programming interface is provided in a dynamic-linked library so that the library of routines may be shared between the application programs and utilized by the application programs in conjunction with other such programming interfaces (52, 53) to additional physical devices (2, 3). The library of routines of the programming interface are dynamically bound to the application programs and translate hardware-independent device operations requested by application programs directly into hardware-dependent device operations which do not require the use of a device driver. Therefore, exactly one level of dynamic binding is utilized to provide the programming interface of the present invention. In preferred embodiments of the present invention, two such programming interfaces permit the development of visual programs with deterministic execution and response times in a multi-tasking environment, and which execute at speeds which are significantly faster than visual programs in the prior art.
-
Citations
5 Claims
-
1. A computer implemented method of interfacing between a plurality of application programs and a physical device, said computer implemented method comprising the steps of:
-
(a) providing a library of routines to control and implement different functions specific to said physical device; (b) dynamically linking said library of routines to said plurality of application programs; (c) providing a memory for storing private data which influences the behavior of said library of routines; (d) providing a means for updating said private data in order to record state information during periods in which said library of routines are inactive, whereby said application programs utilize said library of routines to control and communicate with said physical device, and whereby said application programs utilize said library of routines to perform tasks that require utilization of said physical device; and (e) updating said private data in response to interrupts generated by said physical device. - View Dependent Claims (2, 3, 4, 5)
-
Specification