User specific database querying method and apparatus
First Claim
1. A method of generating a database query, the method comprising:
- receiving a user selection of one of a number of predetermined generic database queries from a user;
automatically generating user specific data from a user profile corresponding to the user, the user profile data comprising a user data statement table comprising a number of user data statements, wherein each user data statement comprises a relationship identifier and two or more data items, the user specific data being generated by;
i) generating a user data items list comprising all of the data items comprised in the user data statement table;
ii) for each of a set of predetermined applicable query statements, each of the applicable query statements comprising an applicable relationship identifier, an applicable data item and a variable, inserting each of the data items held in the user data statement table into the applicable query statement and storing the applicable query statement in an applicability criteria data set if it matches one of the user data statements held in the user data statement table;
iii) for each of a set of predetermined effects query statements, each of the effects query statements comprising an effects relationship identifier and a variable, inserting each of the elements of the applicability criteria data set into the effects query statement and storing it in the user specific data if it matches one of the user data statements held in the user data statement table; and
automatically applying the user specific data to a number of user specific generator query statements in order to generate one or more user specific queries.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention relates to the field of database technology, and to the automatic generation of search queries. The present invention provides a method of generating a database query, the method comprising: receiving a user selection of one of a number of predetermined generic database queries from a user; automatically identifying user specific data from user profile data corresponding to the user by applying the user profile data to a number of predetermined query statements associated with the selected generic query; automatically applying the user specific data to a number of user specific generator query statements in order to generate one or more user specific queries.
19 Citations
11 Claims
-
1. A method of generating a database query, the method comprising:
-
receiving a user selection of one of a number of predetermined generic database queries from a user; automatically generating user specific data from a user profile corresponding to the user, the user profile data comprising a user data statement table comprising a number of user data statements, wherein each user data statement comprises a relationship identifier and two or more data items, the user specific data being generated by; i) generating a user data items list comprising all of the data items comprised in the user data statement table; ii) for each of a set of predetermined applicable query statements, each of the applicable query statements comprising an applicable relationship identifier, an applicable data item and a variable, inserting each of the data items held in the user data statement table into the applicable query statement and storing the applicable query statement in an applicability criteria data set if it matches one of the user data statements held in the user data statement table; iii) for each of a set of predetermined effects query statements, each of the effects query statements comprising an effects relationship identifier and a variable, inserting each of the elements of the applicability criteria data set into the effects query statement and storing it in the user specific data if it matches one of the user data statements held in the user data statement table; and automatically applying the user specific data to a number of user specific generator query statements in order to generate one or more user specific queries. - View Dependent Claims (2, 3, 4, 5, 6, 10)
-
-
7. A system for generating a database query, the system comprising:
-
a user interface configured to receive a user selection from a user of one of a number of predetermined generic database queries; a processor which is coupled to a query statements database having a number of predetermined query statements and user specific query generator query statements associated with respective generic database queries, the processor also coupled to a user profile database having user profile data associated with the user, the user profile data comprising a user data statement table having a number of user data statements each comprising a relationship identifier and two or more data items; the processor configured to; automatically generate user specific data from the user profile data corresponding to the user, the user profile data comprising a user data statement table comprising a number of user data statements, wherein each user data statement comprises a relationship identifier and two or more data items, the user specific data being generated by; a) generating a user data items list comprising all of the data items comprised in the user data statement table; b) for each of a set of predetermined applicable query statements, each of the applicable query statements comprising an applicable relationship identifier, an applicable data item and a variable, inserting each of the data items held in the user data statement table into the applicable query statement and storing the applicable query statement in an applicability criteria data set if it matches one of the user data statements held in the user data statement table; c) for each of a set of predetermined effects query statements, each of the effects query statements comprising an effects relationship identifier and a variable, inserting each of the elements of the applicability criteria data set into the effects query statement and storing it in the user specific data if it matches one of the user data statements held in the user data statement table; the processor further configured to automatically apply the user specific data to a number of the user specific generator query statements in order to generate one or more user specific queries. - View Dependent Claims (8, 9, 11)
-
Specification