Method for building data encapsulation layers for highly variable schema
First Claim
Patent Images
1. A method for building a data encapsulation layer for a variable schema for a predefined schema data store, the method comprising:
- encoding within a source of a data store interface layer of an application methods and properties of a variable relationship between application object model and data store;
encoding a data store interface as an isolation layer to encapsulate the variable relationship using attributes;
building a mapping table, the mapping table being buildable at runtime, by identifying data relationships, methods and properties within executable source code associated with an application;
reflecting the identified data relationships, methods and properties from the executable source code to an executable mapping table schema;
using the mapping table schema to map the specific reflected data relationships, methods and properties between the object model and the data store that exist at an application execution time on an as-needed basis during runtime; and
accessing the mapping table and the data store interface via said encapsulation layer for use during application execution wherein;
the encapsulation layer allows the mapping table, object model and data store to change without affecting the application code; and
the variable relationship is encoded in source code that defines the data store interface layer of the application.
2 Assignments
0 Petitions
Accused Products
Abstract
The relationships between physical data store schema, object model, and end-user property may be encoded in the source of the object model using attributes. Reflection may be used to build the table of those relationships so that changes to the relationships between those three layers can be easily and quickly made without impacting higher levels in the software stack.
-
Citations
18 Claims
-
1. A method for building a data encapsulation layer for a variable schema for a predefined schema data store, the method comprising:
-
encoding within a source of a data store interface layer of an application methods and properties of a variable relationship between application object model and data store; encoding a data store interface as an isolation layer to encapsulate the variable relationship using attributes; building a mapping table, the mapping table being buildable at runtime, by identifying data relationships, methods and properties within executable source code associated with an application; reflecting the identified data relationships, methods and properties from the executable source code to an executable mapping table schema; using the mapping table schema to map the specific reflected data relationships, methods and properties between the object model and the data store that exist at an application execution time on an as-needed basis during runtime; and accessing the mapping table and the data store interface via said encapsulation layer for use during application execution wherein; the encapsulation layer allows the mapping table, object model and data store to change without affecting the application code; and the variable relationship is encoded in source code that defines the data store interface layer of the application. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. An isolation layer for a computer application stored in a computer readable storage medium, the isolation layer comprising computer-executable instructions for:
-
receiving, during application run-time execution, a request for a property associated with a data store from the executable application; and in response to receiving the request, consulting a mapping table that maps reflected data relationships, methods and properties from the executable application source code into the executable mapping table to access a structured portion of a data store; accessing a data store interface that provides a variable relationship, encoded using attributes, between an object model associated with the executable application and data store structure reflecting data relationships, methods and properties associated with the data store during runtime wherein; the isolation layer provides for mapping table and data store structure change without affecting the application code; and the variable relationship is encoded in source code that defines a data store interface layer of the application; and retrieving structured and variable data schema via said isolation layer from the data store based on the relationship. - View Dependent Claims (10, 11, 12, 13)
-
-
14. An isolation layer for a computer application stored in a computer readable storage medium, the isolation layer comprising computer-executable instructions for:
-
building a mapping table, the mapping table being buildable on an as-needed basis during runtime, that maps a structured relationship between an object model and data store structure by identifying data relationships, methods and properties within executable source code of an executable application, reflecting the identified data relationships, methods and properties from the executable source code to an executable mapping table schema, and using the mapping table schema to map the specific reflected data relationships, methods and properties identified; wherein the mapping table is built via executable code associated with the application identifying the relationship from the application executable source code associated with the application; accessing a data store interface that provides a variable relationship, encoded using attributes, between object model data fields associated with the executable application and data store structure associated with the data store during runtime, the variable relationship is encoded in source code that defines a data store interface layer of the application; and retrieving structured and variable data schema from the data store by accessing the mapping table data store interface via said isolation layer wherein the isolation layer provides for mapping table and data store structure change without affecting the application code. - View Dependent Claims (15, 16, 17)
-
-
18. A method for building a data isolation layer for a variable schema stored in a computer readable storage medium for a predefined schema data store, the method comprising:
-
encoding an isolation layer using attributes to define a schema data relationship for an executable application, a portion of which is structured and a portion of which is variable; further encoding the schema data relationship between an application object model and data store structure in a data store interface as an isolation layer to encapsulate a variable relationship, wherein the variable relationship is encoded in source code that defines a data store interface layer of the application; building a mapping table, the mapping table being buildable on an as-needed basis during runtime, by identifying data relationships, methods and properties within executable source code associated with an application; reflecting the identified data relationships, methods and properties from the executable source code to an executable mapping table schema; using the mapping table schema to map the specific reflected data relationships, methods and properties between the object model and the data store that exist at the application execution time; and accessing the mapping table and the data store interface via said data isolation layer during application run-time wherein the isolation layer provides for mapping table and data store structure change without affecting the application code.
-
Specification