System and method for processing database queries
First Claim
1. A method, comprising:
- receiving a database query from a client, the database query formatted using a first protocol;
storing a module address and query identification information of the client;
setting a query timer to monitor the elapsed time from when the database query was received;
selecting one of a plurality of databases to process the database query;
translating the database query from the first protocol to a second protocol matching the selected database;
sending the translated database query to the second database for processing;
receiving a response to the database query from the database, the response formatted using the second protocol;
translating the response from the second protocol to the first protocol;
determining the client that sent the database query based on the stored module address and the query identification information;
sending the translated response to the client;
monitoring via the query timer, whether the translated response to the database query has been received during the elapsed time since the database query was received and waiting for the response via the query timer if the query timer has not expired; and
turning off the query timer responsive only to the translated response being received or the query timer expiring.
3 Assignments
0 Petitions
Accused Products
Abstract
The present invention provides a system and method for processing a database query between one or more clients and one or more databases. The database query, which is formatted using a first protocol, is received from one of the clients. One of the databases is selected to process the database query and the database query is translated from the first protocol to a second protocol. The translated database query is then sent to the selected database for processing. A response to the database query, which is formatted using the second protocol, is received from the selected database and the response is translated from the second protocol to the first protocol. The present invention determines which of the clients sent the database query and sends the translated response to the client that sent the database query. This method can be implemented as a computer program embodied on a computer readable medium.
-
Citations
29 Claims
-
1. A method, comprising:
-
receiving a database query from a client, the database query formatted using a first protocol; storing a module address and query identification information of the client; setting a query timer to monitor the elapsed time from when the database query was received; selecting one of a plurality of databases to process the database query; translating the database query from the first protocol to a second protocol matching the selected database; sending the translated database query to the second database for processing; receiving a response to the database query from the database, the response formatted using the second protocol; translating the response from the second protocol to the first protocol; determining the client that sent the database query based on the stored module address and the query identification information; sending the translated response to the client; monitoring via the query timer, whether the translated response to the database query has been received during the elapsed time since the database query was received and waiting for the response via the query timer if the query timer has not expired; and turning off the query timer responsive only to the translated response being received or the query timer expiring. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A system, comprising:
-
a computer communicably coupled to a client; a server communicably coupled to the computer and to a database; a module resident on the computer, the module configured to; receive the database query from the client, the database query formatted using a first protocol; set a query timer to monitor the elapsed time from when the database query was received; send the database query to the server; send a translated response to the client; and a module resident on the server, the module configured to; store a module address and query identification information of the client; select one of a plurality of databases to process the database query; translate the database query from the first protocol to a second protocol matching the selected database; send the translated database query to the selected database to be processed; receive a response to the database query from the selected database, the response format using the second protocol; translate the response from the second protocol to the first protocol; determining the client that sent the database query based on the stored module address and the query identification information; send the translated response to the computer; monitor via the query timer whether the translated response to the database query has been received during the elapsed time since the database query was received and waits for the response via the query timer if the query timer has not expired; and turn off the query timer responsive only to the translated response being received or the query timer expiring. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28)
-
-
29. A method, comprising:
-
receiving a database query based on a first protocol, the database query related to information about a telephone number, the database query sent using the telephone number; storing a module address and query identification information of the client; setting a query timer to monitor the elapsed time from when the database query was received; selecting one of a plurality of databases to process the database query; translating the database query from the first protocol to a second protocol matching the selected database; receiving a response formatted using the second protocol, the response used to process a call related to the telephone number; translating the response from the second protocol to the first protocol; sending the translated response to a client that sent the database query; monitoring via the query timer whether the translated response to the database query has been received during the elapsed time since the database query was received and waiting for the response via the query timer if the query timer has not expired; and turning off the query timer responsive only to the translated response being received or the query timer expiring.
-
Specification