×

Persistent query system for automatic on-demand data subscriptions from mobile devices

  • US 7,752,165 B2
  • Filed: 08/01/2007
  • Issued: 07/06/2010
  • Est. Priority Date: 08/01/2007
  • Status: Active Grant
First Claim
Patent Images

1. A method for creating a data subscription to a remote database, comprising:

  • marking a query to be performed on a table located within the remote database as persistent within a meta-data definition of the query, indicating that results for the query are persisted to a local database;

    generating, in a processor, a persistent query entity based on the meta-data definition, wherein the persistent query entity is mapped to a persistent query table in the local database, each row of the persistent query table representing an invocation of the query with a particular set of parameters;

    uploading the persistent query table to the remote database to create a subscription for the query corresponding to the particular set of parameters; and

    generating query execution code to;

    consult the persistent query table to determine if the result of an instance of the persistent query is contained in the local database,consult the local database if the result of the instance of the persistent query is contained in the local database, andcreate an entry in the persistent query table if the result of the instance of the persistent query is not contained in the local database.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×