System and method for creating a best-match object at run time
AssigneeHewlett-Packard Development Company, L.P.
InventorsJohn Manuel, Timothy McAllister
Life of this patent
Estimating the term…
Abstract
An object generator includes an object factory and a pool of object proxies. The object factory forwards indicia of a desired object responsive to a system need. The object factory polls a plurality of object proxies for a respective confidence level responsive to the indicia and the object proxy's capability for producing the desired object.
Claims44
A method for creating a best-match object at run time, comprising the steps of:
- receiving a request for an object;
- polling object proxies for a confidence level representing the capability of each respective proxy to generate the requested object;
- selecting one of the proxies based on the polled confidence level;
- and
- directing the selected proxy to create the object.
An object generator, comprising:
- means for receiving indicia of an object to be created;
- means for identifying a select one of a plurality of object proxies responsive to a respective confidence level associated with each object proxy;
- and
- means for directing the selected object proxy to create the object.
An object generator, comprising:
- an object factory configured to poll object proxies capable of producing respective objects responsive to system needs;
- and
- a pool including the object proxies for producing the object, the pool configured to receive indicia of the object from the object factory and each of the plurality of object proxies configured to return a respective confidence level responsive to the indicia.
A computer-readable medium, comprising:
- logic configured to receive a request for an object;
- logic configured to, in response to receiving the request, poll a plurality of object proxies for a confidence level representing the capability of the respective object proxy to generate the requested object;
- logic configured to select one of the plurality of proxies responsive to the polled confidence level;
- and
- logic configured to direct the selected proxy to create the object.
An object generator, comprising:
- an object factory configured to receive a device identifier;
- a pool having an interface configured to communicate with the object factory, the pool containing object proxies capable of producing respective objects;
- and
- an object store coupled to the pool and configured to receive and retain objects generated by selected object proxies.
A method for creating a best-match object at run time, comprising the steps of:
- loading a set of object proxies;
- receiving indicia of a desired object for communicating with a peripheral device;
- directing each of the object proxies to forward a confidence level representing the capability of each respective proxy to generate the desired object responsive to the indicia;
- receiving a confidence level associated with an object proxy;
- comparing the confidence level to a maximum confidence level, when the confidence level matches the maximum confidence level, directing the associated object proxy to generate an object, otherwise, recording the confidence level;
- and
- determining if the confidence level exceeds the confidence level associated with a previously recorded confidence level, when the confidence level exceeds a previously recorded confidence level, recording an object proxy identifier, otherwise, determining if there are additional object proxies in the set, when there are additional object proxies, repeating the receiving a confidence level, comparing, and determining if the confidence level exceeds steps, otherwise, using the object proxy identifier to direct the associated object proxy to generate an object.
A computer-readable medium, comprising:
- logic configured to load a set of object proxies, each object proxy configured to generate a respective object;
- logic configured to receive indicia of a desired object for communicating with a peripheral device;
- logic configured to direct each of the object proxies to forward a confidence level representing the capability of each respective proxy to generate the desired object;
- logic configured to receive the confidence level from respective object proxies;
- logic configured to compare the confidence level to a maximum confidence level, when the confidence level matches the maximum confidence level, the associated object proxy is directed to generate an object, otherwise, the logic records the confidence level;
- and determines if the confidence level exceeds the confidence level associated with a previously recorded confidence level, when the confidence level exceeds a previously recorded confidence level, the logic records an object proxy identifier, otherwise, the logic determines if there are additional object proxies in the set, when there are additional object proxies, the logic receives a confidence level associated with an object proxy that has not reported a confidence level, and repeats the maximum confidence level and previously recorded confidence level comparisons, otherwise, the logic uses the object proxy identifier to direct the associated object proxy to generate an object.
A method for creating a best-match printer driver, comprising the steps of:
- receiving a request to use a printer;
- polling printer driver proxies for a confidence level representing the capability of each respective printer driver proxy to generate a driver that when applied to data and forwarded to the printer will produce a useful representation of the data;
- selecting one of the printer driver proxies based on the polled confidence level;
- and
- directing the selected printer driver proxy to generate the driver.
A computer-readable medium, comprising:
- logic configured to receive a request to use a printer;
- logic configured to poll printer driver proxies for a confidence level representing the capability of each respective printer driver proxy to generate a driver that when applied to data and forwarded to the printer will produce a useful representation of the data;
- logic configured to select one of the printer driver proxies based on the polled confidence level;
- and
- logic configured to direct the selected printer driver proxy to generate the driver.
Dependencies are inferred from the claim text.