Joining javascript object notation (json) queries across cloud resources
AssigneePalo Alto Networks, Inc.
InventorsChandra Biksheswaran Mouleeswaran, Rama Teja Repaka, Xiaoyan Wang, Parul Shukla
Life of this patent
Estimating the term…
Abstract
A cloud resource join query for join operations across cloud resources is parsed to extract join rules and queries to each cloud resource in the cloud resource join query. Results from the individual cloud queries are dynamically indexed based on pairs of cloud resources indicated in the join rules. A search engine applies first order predicates in the join rules using the dynamic indexes to generate pairwise join results corresponding to the query. A result for the cloud resource join query comprises the pairwise join results after merging.
Claims20
A method comprising:
- generating a plurality of profiles for a plurality of cloud resources, wherein each profile of the plurality of profiles indicates at least one of statistics, characteristics, and identifiers for queried objects in a corresponding cloud resource in the plurality of cloud resources;
- extracting a plurality of cloud resource queries and a plurality of join rules from a cloud resource join query, wherein the plurality of cloud resource queries comprises queries indicating one or more of the plurality of cloud resources;
- identifying a subset of the plurality of cloud resources corresponding to the plurality of cloud resource queries based, at least in part, on matching indications of cloud resources in the plurality of cloud resource queries with the plurality of profiles;
- and
- evaluating the plurality of join rules against profiles in the plurality of profiles corresponding to the subset of the plurality of cloud resources to generate a join result for the cloud resource join query.
A non-transitory machine-readable medium comprising program code to:
- generate a plurality of profiles for a plurality of cloud resources, wherein each profile of the plurality of profiles indicates at least one of statistics, characteristics, and identifiers for objects queried to a corresponding cloud resource of the plurality of cloud resources;
- parse a cloud resource join query to extract a plurality of cloud resource queries and a plurality of join rules from a cloud resource join query, wherein the plurality of cloud resource queries comprises queries indicating one or more of the plurality of cloud resources;
- identify a subset of the plurality of cloud resources corresponding to the plurality of cloud resource queries based, at least in part, on matching indications of cloud resources in the plurality of cloud resource queries with the plurality of profiles;
- and
- evaluate the plurality of join rules against profiles in the plurality of profiles for the subset of the plurality of cloud resources to generate a join result corresponding to the cloud resource join query.
An apparatus comprising:
- a processor;
- and
- a machine-readable medium having instructions stored thereon that are executable by the processor to cause the apparatus to,
- maintain a plurality of profiles for a plurality of cloud resources, wherein each profile of the plurality of profiles indicates at least one of statistics, characteristics, and identifiers for objects queried to a corresponding cloud resource of the plurality of cloud resources;
- and
- based on receiving a cloud resource join query to at least a subset of the plurality of cloud resources,
- parse the cloud resource join query to extract a plurality of cloud resource queries and a plurality of join rules from a cloud resource join query, wherein the plurality of cloud resource queries comprises queries indicating one or more of the plurality of cloud resources;
- identify a subset of the plurality of cloud resources corresponding to the plurality of cloud resource queries based, at least in part, on matching indications of cloud resources in the plurality of cloud resource queries with the plurality of profiles;
- and
- evaluate the plurality of join rules against profiles in the plurality of profiles for the subset of the plurality of cloud resources to generate a join result corresponding to the cloud resource join query.
Dependencies are inferred from the claim text.