Method and system for interacting with devices having different capabilities
First Claim
1. A computer-implemented method for selecting an adapter to transform information sent from a server object to a device and information sent from the device to the server object, comprising:
- determining a capability of the device;
retrieving information about an adapter set based on the capability;
using the information to determine if the adapter set is applicable to the capability, wherein using the information step, comprises;
selecting each adapter in the adapter set;
determining if the selected adapter maps to a control identified by the information;
indicating that the adapter set is applicable if the selected adapter maps to the control;
if the selected adapter does not map to the control, determining if an ancestor of the selected adapter maps to the control;
indicating that the adapter set is applicable if an ancestor of the selected adapter maps to the control;
if an ancestor of the selected adapter does not map to the control, indicating that the adapter set is not applicable; and
in response to an indication that the adapter set is applicable, selecting the adapter set, wherein the adapter is selected from the adapter set.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and system for interacting with devices having different capabilities is described. Intelligent server-side objects (referred to as adapters) are used to translate information and commands to and from various formats depending on the requirements and capabilities of the target device. Using an interface to the adapters, a software developer may create a form without knowing the exact details or features of the device upon which the form will be displayed. Adapters are logically grouped together in adapter sets wherein a set of adapters may be used to transform information to and from a set of devices with common capabilities. An adapter may inherit attributes and methods from another adapter in the same or another adapter set. An adapter set may inherit adapter associations, i.e., which server objects should be mapped to which adapters, from another adapter set. To make a new or existing device compatible with existing server applications, a device developer may relatively quickly create one or more adapters.
-
Citations
20 Claims
-
1. A computer-implemented method for selecting an adapter to transform information sent from a server object to a device and information sent from the device to the server object, comprising:
-
determining a capability of the device; retrieving information about an adapter set based on the capability; using the information to determine if the adapter set is applicable to the capability, wherein using the information step, comprises; selecting each adapter in the adapter set; determining if the selected adapter maps to a control identified by the information; indicating that the adapter set is applicable if the selected adapter maps to the control; if the selected adapter does not map to the control, determining if an ancestor of the selected adapter maps to the control; indicating that the adapter set is applicable if an ancestor of the selected adapter maps to the control; if an ancestor of the selected adapter does not map to the control, indicating that the adapter set is not applicable; and in response to an indication that the adapter set is applicable, selecting the adapter set, wherein the adapter is selected from the adapter set. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer program product stored on a computer storage medium comprising instructions executed by a computer for transforming data sent from a server to a device and for transforming data sent from the device to the server, the instructions comprising:
-
determining a capability of the device; retrieving information about an adapter set; using the information to determine if the adapter set is applicable to the capability wherein using the information step, comprises; selecting each adapter in the adapter set; determining if the selected adapter maps to a control identified by the information; indicating that the adapter set is applicable if the selected adapter maps to the control; if the selected adapter does not map to the control, determining if an ancestor of the selected adapter maps to the control; indicating that the adapter set is applicable if an ancestor of the selected adapter maps to the control; if an ancestor of the selected adapter does not map to the control, indicating that the adapter set is not applicable; and in response to an indication that the adapter set is applicable, selecting the adapter set and using it to transform the data. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A system for transforming data sent from a server to a device and for transforming data sent from the device to the server, comprising:
-
a device capabilities component that determines capabilities of the device; a receiving component that receives data sent from the device and directs it to an adapter; a sending component that receives data from the adapter and sends it to the device; an adapter selector component that determines whether an adapter set is applicable to a capability of a device, wherein the adapter selector component performs the steps of; selecting each adapter in an adapter set; determining if the selected adapter maps to a control; indicating that the adapter set is applicable if the selected adapter maps to the control; if the selected adapter does not map to the control, determining if an ancestor of the selected adapter maps to the control; indicating that the adapter set is applicable if an ancestor of the selected adapter maps to the control; if an ancestor of the selected adapter does not map to the control, indicating that the adapter set is not applicable; and a device interaction component coupled to the device capabilities component, the receiving component, the adapter selector component and the sending component, wherein the device interaction component coordinates communication between the device and an application executing on the server. - View Dependent Claims (12, 13, 14, 15)
-
-
16. A system for transforming data sent between a device and a server, comprising:
-
means for determining a capability of the device; means for receiving data sent from the device and directing the data to an adapter; means for sending data received from the adapter to the device; means for determining whether an adapter set is applicable to the capability of the device, wherein the means for determining performs the steps of; selecting each adapter in an adapter set; determining if the selected adapter maps to a control; indicating that the adapter set is applicable if the selected adapter maps to the control; if the selected adapter does not map to the control, determining if an ancestor of the selected adapter maps to the control; indicating that the adapter set is applicable if an ancestor of the selected adapter maps to the control; if an ancestor of the selected adapter does not map to the control, indicating that the adapter set is not applicable; and means for coordinating communication between the device and an application executing on the server, the means for coordinating being coupled to the means for determining a capability, the means for receiving, the means for sending, and the means for determining whether an adapter set is applicable. - View Dependent Claims (17, 18, 19, 20)
-
Specification