×

System and method of query processing with schema change in JSON document store

  • US 10,664,471 B2
  • Filed: 12/29/2017
  • Issued: 05/26/2020
  • Est. Priority Date: 09/30/2015
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method of managing a query to find a set of JavaScript Object Notation (JSON) documents in a JSON document store, the method comprising:

  • receiving a first query to find at least one JSON document in a plurality of sets of JSON documents stored in a JSON document store, each set of JSON documents in the plurality being organized in a unique JSON schema version related to a unique JSON schema version of each other set of JSON documents in the plurality of sets of JSON documents by at least one schema change, the first query being organized in a first unique JSON schema version from a plurality of unique JSON schema versions of the respective plurality of sets of JSON documents;

    maintaining a schema change graph of a plurality of schema changes between respective pairs of the plurality of unique JSON schema versions;

    translating the first query into a plurality of queries based on the plurality of schema changes, wherein each of the plurality of queries is organized in a respective unique JSON schema version from the plurality of unique JSON schema versions;

    executing the first query, organized in the first unique JSON schema version, on a first set of JSON document in the plurality of sets of JSON documents to provide a first query result, where the first set of JSON documents is organized in the first unique JSON schema version;

    executing each of the plurality of queries, each query organized in a respective unique JSON schema version, on a respective one of the plurality of sets of JSON documents to provide a respective one of a plurality of query results, where the each of the plurality of sets of JSON documents is organized in the respective each unique JSON schema version;

    collecting the first query result and the plurality of query results into a collective set of query results; and

    returning the collective set of query results.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×