System and method for building component applications using metadata defined mapping between message and data domains
First Claim
1. A method for generating a communication message instance based on a data instance for interaction with an application executed on a device, the application including a data component having at least one data field definition and a message component having at least one message field definition, the component definitions expressed in a structured definition language, the method comprising the steps of:
- selecting the message component corresponding to the message instance;
identifying at least one unique mapping present in the message component, the mapping for specifying a relationship between the message component and the data component as defined by a unique identifier representing the mapping;
selecting the data component mapped by the mapping according to the unique mapping identifier;
obtaining a data instance field value corresponding to the data field definition of the mapped data component;
generating a message field value of the message instance to include the data instance field value according to the format of the data field definition as defined in the mapped data component.
4 Assignments
0 Petitions
Accused Products
Abstract
It is desirable to drive down the complexity involved in developing the wireless application by reducing the need to do any explicit coding, as well as reducing device resources utilized by the application when provisioned. Having an intelligent wireless device runtime environment (Device Runtime) that provides a set of basic services to manage the wireless application as a series if application components, and their interactions, can simplify the development effort and reduce resource allocation. The wireless application is described as a set of components. The data domain for this category of applications is defined using atomic data components. The communication between the device and a server is defined using atomic message components. Both message and data components are described in metadata using a structured definition language such as XML. The relationships between the message and data components are embedded in the XML definitions in the form of message/data mappings. Typically, outgoing messages are derived from some underlying data component and incoming messages affect the current state (or data representation) of the application. It is therefore apparent that the metadata defined mapping relationship is preferable between the expression of data and message components.
128 Citations
35 Claims
-
1. A method for generating a communication message instance based on a data instance for interaction with an application executed on a device, the application including a data component having at least one data field definition and a message component having at least one message field definition, the component definitions expressed in a structured definition language, the method comprising the steps of:
-
selecting the message component corresponding to the message instance;
identifying at least one unique mapping present in the message component, the mapping for specifying a relationship between the message component and the data component as defined by a unique identifier representing the mapping;
selecting the data component mapped by the mapping according to the unique mapping identifier;
obtaining a data instance field value corresponding to the data field definition of the mapped data component;
generating a message field value of the message instance to include the data instance field value according to the format of the data field definition as defined in the mapped data component. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 29)
-
-
17. A method for generating a data instance based on a message instance corresponding to an application executed on a device, the application including a data component having at least one data field definition and a message component having at least one message field definition, the component definitions expressed in a structured definition language, the method comprising the steps of:
-
selecting the message component corresponding to the message instance;
identifying at least one unique mapping present in the message component, the mapping for specifying a relationship between the message component and the data component as defined by a unique identifier representing the mapping;
selecting the data component mapped by the mapping according to the unique mapping identifier;
obtaining a message instance field value from the message instance corresponding to the mapped data component;
assigning the message instance field value to a data field value of the data instance according to the format of the data field definition as defined in the mapped data component. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 30, 31, 32)
-
-
33. A method for generating a communication message instance based on a data instance for interaction with an application executed on a device, the application including a data component and a message component having at least one message field definition and at least one data field definition, the component definitions expressed in a structured definition language, the method comprising the steps of:
-
selecting the data component corresponding to the data instance;
identifying a unique mapping present in the data component, the mapping for specifying a relationship between the message component and the data component as defined by a unique identifier representing the mapping;
selecting the message component mapped by the mapping according to the unique mapping identifier;
obtaining a data instance field value corresponding to the message field definition of the mapped message component;
generating a message field value of the message instance to include the data instance field value according to the format of the data field definition as defined in the mapped message component.
-
-
34. A method for generating a data instance based on a message instance corresponding to an application executed on a device, the application including a data component and a message component having at least one message field definition and at least one data field definition, the component definitions expressed in a structured definition language, the method comprising the steps of:
-
selecting the message component corresponding to the message instance;
identifying a unique mapping present in the data component, the mapping for specifying a relationship between the message component and the data component as defined by a unique identifier representing the mapping;
selecting the message component mapped by the mapping according to the unique mapping identifier;
obtaining a message instance field value from the message instance corresponding to the data field definition of the mapped message component;
assigning the message instance field value to a data field value of the data instance according to the format of the data field definition as defined in the mapped message component.
-
-
35. A device for generating a communication message instance based on a data instance for interaction with an application executed on the device, the application including a data component having at least one data field definition and a message component having at least one message field definition, the component definitions expressed in a structured definition language, the method comprising the steps of:
-
means for selecting the message component corresponding to the message instance;
means for identifying at least one unique mapping present in the message component, the mapping for specifying a relationship between the message component and the data component as defined by a unique identifier representing the mapping;
means for selecting the data component mapped by the mapping according to the unique mapping identifier;
means for obtaining a data instance field value corresponding to the data field definition of the mapped data component;
means for generating a message field value of the message instance to include the data instance field value according to the format of the data field definition as defined in the mapped data component.
-
Specification