Techniques for query generation, population, and management
First Claim
Patent Images
1. A computer-implemented method stored in a non-transitory computer-readable medium and executed by a computer to perform the method, comprising:
- receiving a request to build a query;
generating a query identifier for the query;
interactively acquiring metadata defining the query for purposes of dynamically and in real time generating the query, the metadata is centrally managed over a network and is stored in environments that are independent of user environments that use the metadata to establish the query, the metadata for defining the query assembled in three tables, a first table is a query table and includes a query identifier, a query name, a total number of parameters for the query, a query author identifier, a query modify date, and a use field that is a flag indicating whether the query is activated for use or deactivated so the query cannot be used, a second table is a Structured Query Language (SQL) table that includes an index on the query identifier and includes an entry for the query identifier within the second table for query SQL for executing the query, the entry in the SQL table also includes a security level for a resource that makes the request, the query SQL is parameterized, each parameter including a parameter identifier, a third table is a query parameter table indexed on the query identifier and the parameter identifier and each entry in the third table includes a parameter title, a parameter tip, a parameter order, a parameter string, and a data type code for a particular parameter identifier associated with that entry, the parameter string is a specific replaceable parameter item, and the parameter title providing descriptive information to a user and used to populate screen information and the parameter order defining an order for the replaceable parameter'"'"'s items and the parameter string representing the replaceable parameter;
generating a query column table for when the query is executed including definitions for columns that house results of the query, the columns of the query column table used for generating reports;
storing the query identifier and the metadata in the three tables for subsequent retrieval; and
using a particular field of the metadata as an indication for whether to make the query and the metadata visible or invisible to other resources.
2 Assignments
0 Petitions
Accused Products
Abstract
Techniques are presented for query generation, population, and management. Queries are generically defined with metadata. The metadata identifies specific queries and specific parameters associated with a given query. When a query instance is desired, parameter values are dynamically acquired and used to populate portions of the metadata associated with a desired query. The query instance may then be executed as desired.
117 Citations
11 Claims
-
1. A computer-implemented method stored in a non-transitory computer-readable medium and executed by a computer to perform the method, comprising:
-
receiving a request to build a query; generating a query identifier for the query; interactively acquiring metadata defining the query for purposes of dynamically and in real time generating the query, the metadata is centrally managed over a network and is stored in environments that are independent of user environments that use the metadata to establish the query, the metadata for defining the query assembled in three tables, a first table is a query table and includes a query identifier, a query name, a total number of parameters for the query, a query author identifier, a query modify date, and a use field that is a flag indicating whether the query is activated for use or deactivated so the query cannot be used, a second table is a Structured Query Language (SQL) table that includes an index on the query identifier and includes an entry for the query identifier within the second table for query SQL for executing the query, the entry in the SQL table also includes a security level for a resource that makes the request, the query SQL is parameterized, each parameter including a parameter identifier, a third table is a query parameter table indexed on the query identifier and the parameter identifier and each entry in the third table includes a parameter title, a parameter tip, a parameter order, a parameter string, and a data type code for a particular parameter identifier associated with that entry, the parameter string is a specific replaceable parameter item, and the parameter title providing descriptive information to a user and used to populate screen information and the parameter order defining an order for the replaceable parameter'"'"'s items and the parameter string representing the replaceable parameter; generating a query column table for when the query is executed including definitions for columns that house results of the query, the columns of the query column table used for generating reports; storing the query identifier and the metadata in the three tables for subsequent retrieval; and using a particular field of the metadata as an indication for whether to make the query and the metadata visible or invisible to other resources. - View Dependent Claims (2, 3, 4)
-
-
5. A computer-implemented method stored in a non-transitory computer-readable medium and executed by a computer to perform the method, comprising:
-
matching a request for a query with a query identifier; querying three tables with the query identifier; a first table is a query table and includes the query identifier, a query name, a total number of parameters for the query, a query author identifier, a query modify date, and a use field that is a flag indicating whether the query is activated for use or deactivated so the query cannot be used, a second table is a Structured Query Language (SQL) table that includes an index on the query identifier and includes an entry for the query identifier within the second table for query SQL for executing the query, the entry in the SQL table also includes a security level for a resource that makes the request, the query SQL is parameterized, each parameter including a parameter identifier, a third table is a query parameter table indexed on the query identifier and the parameter identifier and each entry in the third table includes a parameter title, a parameter tip, a parameter order, a parameter string, and a data type code for a particular parameter identifier associated with that entry, the parameter string is a specific replaceable parameter item, and the parameter title providing descriptive information to a user and used to populate screen information and the parameter order defining an order for the replaceable parameter'"'"'s items and the parameter string representing the replaceable parameter; receiving metadata for the query from the three tables, the metadata centrally managed over a network in environments that are independent from that which is used by users to use the query; populating values for parameters identified in the metadata, and at least one parameter value that identifies the parameter tip that provides advice to a user on how to enter a particular parameter value and the parameter tip is displayed via a graphical user interface (GUI) to the user that supplies the values interactively via the GUI, dynamically and in real time generating a query instance for the query that defines a new query that is to be executed against a data store when the use field within the metadata indicates that the query is activated, the use field also indicates whether the metadata if visible for the query to other resources for global administration; and generating a query column table to house results from the query and to generate reports. - View Dependent Claims (6, 7, 8, 9, 10, 11)
-
Specification