Database query processing method and system
First Claim
Patent Images
1. A computer-implemented method of interrogating a database comprising a plurality of tables stored in a computer memory, said method comprising the steps of:
- generating a database query and a data map, said data map describing a tree structure of table instances associated with said database query, wherein each node of said tree structure, apart from the root node thereof, has a label providing a table path section, and said root node has no such label, and a table path stored in the table path section for a given node describes a path found by traversing the tree structure from the root node to the given node;
submitting said database query to said database, said database executing in a computer system;
receiving a response from said database, said response from said database responsive to said database query;
traversing said data map so as to iteratively apply a data extraction process to components of said response corresponding to each table instance associated with said database query, thereby extracting required data from said response.
2 Assignments
0 Petitions
Accused Products
Abstract
A database comprising a plurality of tables is interrogated by generating a database query, and a data map, the data map describing the structure of table instances implicated in the database query. Next, the database query is submitted to the database. A response is received from the database. The data map is traversed so as to iteratively apply a data extraction process to components of the response corresponding to each table instance associated with the database query, thereby extracting the required data from the response.
32 Citations
13 Claims
-
1. A computer-implemented method of interrogating a database comprising a plurality of tables stored in a computer memory, said method comprising the steps of:
-
generating a database query and a data map, said data map describing a tree structure of table instances associated with said database query, wherein each node of said tree structure, apart from the root node thereof, has a label providing a table path section, and said root node has no such label, and a table path stored in the table path section for a given node describes a path found by traversing the tree structure from the root node to the given node; submitting said database query to said database, said database executing in a computer system; receiving a response from said database, said response from said database responsive to said database query; traversing said data map so as to iteratively apply a data extraction process to components of said response corresponding to each table instance associated with said database query, thereby extracting required data from said response. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer program product in a computer readable storage medium comprising instructions for carrying out the steps of the method when said computer program is executed on a computer, the method comprising:
-
generating a database query and a data map, said data map a tree structure of table instances associated with said database query, wherein each node of said tree structure, apart from the root node thereof, has a label providing a table path section, and said root node has no such label, and a table path stored in the table path section for a given node describes a path found by traversing the tree structure from the root node to the given node; submitting said database query to said database; receiving a response from said database, said response from said database responsive to said database query; traversing said data map so as to iteratively apply a data extraction process to components of said response corresponding to each table instance associated with said database query, thereby extracting required data from said response. - View Dependent Claims (12)
-
-
13. A system for interrogating a database comprising a plurality of tables, the system comprising:
-
a processor; a memory for storing instructions, the instructions when executed by the processor performing a method of; generating a database query and a data map, said data map a tree structure of table instances associated with said database query, wherein each node of said tree structure, apart from the root node thereof, has a label providing a table path section, and said root node has no such label, and a table path stored in the table path section for a given node describes a path found by traversing the tree structure from the root node to the given node; submitting said database query to said database; receiving a response from said database, said response from said database responsive to said database query; traversing said data map so as to iteratively apply a data extraction process to components of said response corresponding to each table instance associated with said database query, thereby extracting required data from said response.
-
Specification