Methods and systems for providing a data access layer
First Claim
1. A system for providing a re-usable data access framework, the system comprising:
- first and second application modules generating requests for information; and
a data access layer, including a first server that includes an application program interface and a plurality of service providers, the application program interface configured to;
receive a request from the first application module, anddelegate the request to at least one of the plurality of service providers to manage data associated with the request,wherein the plurality of service providers comprise;
a synchronization manager configured to;
maintain, in response to a determination that the request is an update shared data request for updating the shared data, data consistency for shared data held in a memory of the first server and a memory of a second server andsend information associated with the update shared data request to the second application module from a first message service provider located in the first server to a second message service provider located in the second server;
a cache manager configured to;
cache results of a first database query in response to the request being a database access request, andprovide a portion of the results of the first database query to one of the first or second application modules in response to receipt of a second database query from one of the first or the second application modules;
a pre-fetch service configured to cause the cache manager to;
perform a third database query in response to the first or the second application module predicting a user action,cache results of the third database query, andprovide the results of the third database query to the application program interface when the user action is received by the one of the first or the second application modules; and
a security manager configured to determine a restriction on the request based upon a role of a user associated with the request.
4 Assignments
0 Petitions
Accused Products
Abstract
A preferred system for providing data access comprises an application program interface configured to delegate a request to at least one service providers also included in the system. The service providers may include a synchronization manager configured to maintain, based upon the request, data consistency between a first server containing the service providers and a second server and a cache manager configured to cache, based upon the request, a portion of a database query. In addition, the service providers may include a pre-fetch service configured to anticipate a database query, perform the anticipated query, and cache the results of the anticipated query, and a security manager configured to determine a restriction on the request based upon a role of a user associated with the request.
35 Citations
19 Claims
-
1. A system for providing a re-usable data access framework, the system comprising:
-
first and second application modules generating requests for information; and a data access layer, including a first server that includes an application program interface and a plurality of service providers, the application program interface configured to; receive a request from the first application module, and delegate the request to at least one of the plurality of service providers to manage data associated with the request, wherein the plurality of service providers comprise; a synchronization manager configured to; maintain, in response to a determination that the request is an update shared data request for updating the shared data, data consistency for shared data held in a memory of the first server and a memory of a second server and send information associated with the update shared data request to the second application module from a first message service provider located in the first server to a second message service provider located in the second server; a cache manager configured to; cache results of a first database query in response to the request being a database access request, and provide a portion of the results of the first database query to one of the first or second application modules in response to receipt of a second database query from one of the first or the second application modules; a pre-fetch service configured to cause the cache manager to; perform a third database query in response to the first or the second application module predicting a user action, cache results of the third database query, and provide the results of the third database query to the application program interface when the user action is received by the one of the first or the second application modules; and a security manager configured to determine a restriction on the request based upon a role of a user associated with the request. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method for providing a re-usable data access framework, the method comprising:
-
receiving a request from at least one of first and second application modules by a data access layer having an application program interface located in a first server; delegating the request to at least one of a plurality of service providers, located in the first server, to manage data associated with the request; maintaining, using at least one of the plurality of service providers in response to a determination that the request is an update shared data request for updating the shared data, data consistency for shared data held in a memory of the first server and a memory of a second server; sending information associated with the request to the second application module from a first message service provider located in the first server to a second message service provider located in the second server; caching results of a first database query, using at using at least one of the plurality of service providers, in response to a determination that the request is a database access request for updating; providing a portion of the results of the first database query to one of the first or second application module in response to receiving a second database query from one of the first or the second application module; causing at least one of the plurality of service providers to; perform a third database query in response to the first or the second application module predicting a user action, cache results of the third database query, and provide the results of the third database query to the application program interface when the user action is received by one of the first or the second application module; and determining a restriction on the request based upon a role of a user associated with the request if the request is received by a third service provider of the plurality of service providers. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A computer-readable storage medium on which is stored a set of instructions for providing a re-usable data access framework, which when executed, perform stages comprising:
-
receiving a request from at least one of first and second application modules by a data access layer having an application program interface located in a first server; delegating the request to at least one of a plurality of service providers, located in the first server, to manage data associated with the request; maintaining, using at least one of the plurality of service providers in response to a determination that the request is an update shared data request for updating the shared data, data consistency for shared data held in a memory of the first server and a memory of a second server; sending information associated with the request to the second application module from a first message service provider located in the first server to a second message service provider located in the second server; caching results of a first database query, using at using at least one of the plurality of service providers, in response to a determination that the request is a database access request for updating; providing a portion of the results of the first database query to one of the first or second application module in response to receiving a second database query from one of the first or the second application module; causing at least one of the plurality of service providers to; perform a third database query in response to the first or the second application module predicting a user action, cache results of the third database query, and provide the results of the third database query to the application program interface when the user action is received by one of the first or the second application module; and determining a restriction on the request based upon a role of a user associated with the request if the request is received by a third service provider of the plurality of service providers.
-
Specification