Method and apparatus for peripheral system management, using multiple object interfaces
First Claim
1. A method for enabling an application program to access information regarding a specific device, said method employing a database that includes a managed entity (ME) data structure for each one of a plurality of devices, each ME data structure associated with one or more management interface (MI) data structures that contain one or more procedures for interacting with a device and an associated ME data structure, said method comprising the steps of:
- a) responding to a request from said application program for information regarding a device, by requesting an MI data structure that will enable retrieval of said information;
b) if a proxy MI data structure exists that corresponds to said MI data structure, returning to said application program a handle of said proxy MI data structure, and if no said proxy MI data structure exists, creating a corresponding MI data structure and returning a handle thereof to said application program;
c) employing said proxy MI data structure to request information regarding said specific device, and if said information is resident in cache, providing said information to said application;
d) if said data is not resident in said cache, employing a method of said MI data structure to access said device and to obtain said information from said device and to return said information to said application program; and
d) caching said information returned in step d).
2 Assignments
0 Petitions
Accused Products
Abstract
The method of the invention enables an application program to recover feature information regarding a managed entity without having any predefined knowledge regarding the managed entity. The method employs a database that is operated by a database management program which includes data structures that define each of plural managed entities and each management interface associated therewith. A "managed entity" is a data structure that lists all "management interfaces" present in a device that is to be utilized by a processor. A "management interface" is a data structure that includes one or more procedures for accessing a device and obtaining information regarding the device and a "proxy management interface" is a data structure that is established to store previously retrieved feature data. All devices with a same feature can be accessed by an identical management interface procedure. Accordingly, an application merely needs to know how to deal with managed entity and management interfaces to obtain either capability or status information regarding a device.
29 Citations
8 Claims
-
1. A method for enabling an application program to access information regarding a specific device, said method employing a database that includes a managed entity (ME) data structure for each one of a plurality of devices, each ME data structure associated with one or more management interface (MI) data structures that contain one or more procedures for interacting with a device and an associated ME data structure, said method comprising the steps of:
-
a) responding to a request from said application program for information regarding a device, by requesting an MI data structure that will enable retrieval of said information; b) if a proxy MI data structure exists that corresponds to said MI data structure, returning to said application program a handle of said proxy MI data structure, and if no said proxy MI data structure exists, creating a corresponding MI data structure and returning a handle thereof to said application program; c) employing said proxy MI data structure to request information regarding said specific device, and if said information is resident in cache, providing said information to said application; d) if said data is not resident in said cache, employing a method of said MI data structure to access said device and to obtain said information from said device and to return said information to said application program; and d) caching said information returned in step d). - View Dependent Claims (2, 3, 4)
-
-
5. A memory media for controlling a computer to enable an application program to access information regarding a specific device, said computer including a database that includes a managed entity (ME) data structure for each of a plurality of devices, each ME data structure associated with one or more management interface (MI) data structures that contain one or more procedures for interacting with a device and an associated ME data structure, said memory media comprising:
-
a) means for controlling said computer to respond to a request from said application program for information regarding a device, by requesting an MI data structure that will enable retrieval of said information; b) means for controlling said computer to return to said application program a handle of a proxy MI data structure if a proxy MI data structure exists that corresponds to said MI data structure, and if no said proxy MI data structure exists, to create a corresponding MI data structure and to return a handle thereof to said application program; c) means for controlling said computer to employ said proxy MI data structure to request information regarding said specific device, and if said information is resident in cache, to provide said information to said application; d) means for controlling said computer, if said data is not resident in said cache, to employ a method of said MI data structure to access said device and to obtain said information from said device and to return said information to said application program; and d) means for controlling said computer to cache said information returned by means d). - View Dependent Claims (6, 7, 8)
-
Specification