SYSTEMS AND METHODS FOR CANCELLING A QUERY
First Claim
1. A method for querying a database, comprising:
- receiving, by a server computing device, a query input from a client device over a network connection;
establishing a non-blocking socket between the client computing device and the server computing device;
generating a database query based on the query input;
causing the database query to begin executing against one or more databases;
performing, by the server computing device, a read request on the non-blocking socket;
receiving a code in response to the read request on the non-blocking socket;
determining whether the network connection exists between the client device and the server device based on the received code; and
causing the database query to be cancelled when the server determines that the network connection does not exist between the client device and the server device.
2 Assignments
0 Petitions
Accused Products
Abstract
Systems and methods for querying a database are disclosed. A server computing device includes a processor and a memory storing instructions that, when executed by the processor, cause the server computing device to: receive a query input from a client device over a network connection; establish a non-blocking socket between the client computing device and the server computing device; generate a database query based on the query input; cause the database query to begin executing against one or more databases; perform a read request on the non-blocking socket; receive a code in response to the read request on the non-blocking socket; determine whether the network connection exists between the client device and the server device based on the received code; and cause the database query to be cancelled when the server determines that the network connection does not exist between the client device and the server device.
-
Citations
20 Claims
-
1. A method for querying a database, comprising:
-
receiving, by a server computing device, a query input from a client device over a network connection; establishing a non-blocking socket between the client computing device and the server computing device; generating a database query based on the query input; causing the database query to begin executing against one or more databases; performing, by the server computing device, a read request on the non-blocking socket; receiving a code in response to the read request on the non-blocking socket; determining whether the network connection exists between the client device and the server device based on the received code; and causing the database query to be cancelled when the server determines that the network connection does not exist between the client device and the server device. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A server computing device for querying a database, comprising:
-
a processor; and a memory storing instructions that, when executed by the processor, cause the server computing device to; receive a query input from a client device over a network connection; establish a non-blocking socket between the client computing device and the server computing device; generate a database query based on the query input; cause the database query to begin executing against one or more databases; perform a read request on the non-blocking socket; receive a code in response to the read request on the non-blocking socket; determine whether the network connection exists between the client device and the server device based on the received code; and cause the database query to be cancelled when the server determines that the network connection does not exist between the client device and the server device. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A client computing device for querying a database, comprising:
-
a processor; and a memory storing instructions that, when executed by the processor, cause the client computing device to; transmit a query input to a server computing device over a network connection, wherein a non-blocking socket is established between the client computing device and the server computing device, and wherein a database query is generated and executed against one or more database based on the query input; receive a read request from the server computing device on the non-blocking socket; and transmit a code to the server computing device in response to the read request on the non-blocking socket, wherein the code allows the server computing device to determine whether the network connection still exists between the client device and the server computing device based on the received code, and wherein the server computing device is able to cause the database query to be cancelled when the server computing device determines that the network connection does not exist between the client device and the server computing device. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification