Processing data requests using multiple request timers
First Claim
1. A non-transitory computer-readable storage medium encoded with instructions that, when executed, cause one or more processors to:
- upon sending a request for data to an external device, start a first request timer using a first request timeout value, the first request timeout value specifying a maximum amount of time to wait for receiving data sent from the external device that is responsive to the request;
when the data responsive to the request is received prior to expiration of the first request timer, start a second request timer using a second request timeout value, the second request timeout value specifying a maximum amount of time to wait for receiving additional data sent from the external device that is further responsive to the request;
when the additional data that is further responsive to the request is received prior to expiration of the second request timer, update the first request timeout value based upon an amount of time between sending of the request and receiving of the data that is responsive to the request, wherein updating the first request timeout value generates a first updated request timeout value; and
upon sending a subsequent request for data to the external device, start the first request timer using the first updated request timeout value, the first updated request timeout value specifying a maximum amount of time to wait for receiving data sent from the external device that is responsive to the subsequent request.
2 Assignments
0 Petitions
Accused Products
Abstract
The present disclosure relates to techniques for processing data requests using multiple request timers. An example method includes sending a request for data to an external device and starting a first request timer using a first request timeout value, the first request timeout value specifying a first amount of time to wait for receiving data that is responsive to the request. When first data responsive to the request is received prior to expiration of the first request timer, the method includes starting a second request timer using a second request timeout value, the second request timeout value specifying a second amount of time to wait for receiving additional data that is further responsive to the request. The method further includes determining whether the request is unsuccessful based upon expiration of the first request timer or the second request timer.
-
Citations
25 Claims
-
1. A non-transitory computer-readable storage medium encoded with instructions that, when executed, cause one or more processors to:
-
upon sending a request for data to an external device, start a first request timer using a first request timeout value, the first request timeout value specifying a maximum amount of time to wait for receiving data sent from the external device that is responsive to the request; when the data responsive to the request is received prior to expiration of the first request timer, start a second request timer using a second request timeout value, the second request timeout value specifying a maximum amount of time to wait for receiving additional data sent from the external device that is further responsive to the request; when the additional data that is further responsive to the request is received prior to expiration of the second request timer, update the first request timeout value based upon an amount of time between sending of the request and receiving of the data that is responsive to the request, wherein updating the first request timeout value generates a first updated request timeout value; and upon sending a subsequent request for data to the external device, start the first request timer using the first updated request timeout value, the first updated request timeout value specifying a maximum amount of time to wait for receiving data sent from the external device that is responsive to the subsequent request. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method comprising:
-
upon sending a request for data to an external device, starting, by a computing device, a first request timer using a first request timeout value, the first request timeout value specifying a maximum amount of time to wait for receiving data sent from the external device that is responsive to the request; when the data responsive to the request is received prior to expiration of the first request timer, starting, by the computing device, a second request timer using a second request timeout value, the second request timeout value specifying a maximum amount of time to wait for receiving additional data sent from the external device that is further responsive to the request; when the additional data that is further responsive to the request is received prior to expiration of the second request timer, updating, by the computing device, the first request timeout value based upon an amount of time between sending of the request and receiving of the data that is responsive to the request, wherein updating the first request timeout value generates a first updated request timeout value; and upon sending a subsequent request for data to the external device, starting, by the computing device, the first request timer using the first updated request timeout value, the first updated request timeout value specifying a maximum amount of time to wait for receiving data sent from the external device that is responsive to the subsequent request.
-
-
13. A method comprising:
-
sending, from a computing device to an external device, a request for data initiated by a web application; determining, by the computing device, a type of the request that is indicative of a type of action that is to be performed by the external device in responding to the request; starting, by the computing device, a first request timer using a first request timeout value, the first request timeout value specifying a maximum amount of time to wait for receiving data sent from the external device that is responsive to the request, wherein the first request timeout value is adjusted based upon the type of the request prior to starting the first request timer; when data responsive to the request is received prior to expiration of the first request timer, starting, by the computing device, a second request timer using a second request timeout value, the second request timeout value specifying a maximum amount of time to wait for receiving additional data sent from the external device that is further responsive to the request; and determining, by the computing device, whether the request is unsuccessful based upon expiration of the first request timer or the second request timer.
-
-
14. A computing device, comprising:
-
one or more processors; and one or more modules operable by the one or more processors to; upon sending a request for data to an external device, start a first request timer using a first request timeout value, the first request timeout value specifying a maximum amount of time to wait for receiving data sent from the external device that is responsive to the request; when the data responsive to the request is received prior to expiration of the first request timer, start a second request timer using a second request timeout value, the second request timeout value specifying a maximum amount of time to wait for receiving additional data sent from the external device that is further responsive to the request; when the additional data that is further responsive to the request is received prior to expiration of the second request timer, update the first request timeout value based upon an amount of time between sending of the request and receiving of the data that is responsive to the request, wherein updating the first request timeout value generates a first updated request timeout value; and upon sending a subsequent request for data to the external device, start the first request timer using the first updated request timeout value, the first updated request timeout value specifying a maximum amount of time to wait for receiving data sent from the external device that is responsive to the subsequent request. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. A computing device, comprising:
-
one or more processors; and one or more modules operable by the one or more processors to; send, to an external device, a request for data initiated by a web application; determine a type of the request that is indicative of a type of action that is to be performed by the external device in responding to the request; start a first request timer using a first request timeout value, the first request timeout value specifying a maximum amount of time to wait for receiving data sent from the external device that is responsive to the request, wherein the first request timeout value is adjusted based upon the type of the request prior to starting the first request timer; when data responsive to the request is received prior to expiration of the first request timer, start a second request timer using a second request timeout value, the second request timeout value specifying a maximum amount of time to wait for receiving additional data sent from the external device that is further responsive to the request; and determine whether the request is unsuccessful based upon expiration of the first request timer or the second request timer.
-
Specification