Performing autocomplete of content
First Claim
Patent Images
1. A system for performing autocomplete, comprising:
- one or more hardware processors configured to;
generate a status lock at a client device, wherein the status lock is configured to be used by the client device to control sending requests to a server;
generate a first suggestion request that includes a user input character, wherein the user input character is received via an input interface that is presented at the client device; and
determine whether the status lock is available based at least in part on a value associated with the status lock, wherein a first value associated with the status lock indicates that the status lock has been acquired for a previous suggestion request that has been sent to the server, and wherein a second value associated with the status lock indicates that suggested content corresponding to the previous suggestion request has been received from the server;
in the event that the status lock is associated with the first value, store the user input character in a wait queue; and
in the event that the status lock is associated with the second value;
determine that the wait queue includes a plurality of previously input characters;
generate a second suggestion request based at least in part on the plurality of previously input characters stored in the wait queue and the user input character included in the first suggestion request, wherein the plurality of previously input characters is stored in the wait queue in a manner that preserves a sequence in which the plurality of previously input characters appears in the input interface;
clear the wait queue;
update the value associated with the status lock to acquire the status lock for the second suggestion request;
send the second suggestion request to the server; and
in response to receipt of suggested content corresponding to the second suggestion request from the server, update the value associated with the status lock; and
one or more memories coupled to the one or more hardware processors and configured to provide the one or more hardware processors with instructions.
1 Assignment
0 Petitions
Accused Products
Abstract
Performing autocomplete of content is disclosed, including: generating a status lock configured to control sending requests to a server; generating a first suggestion request that includes a user input character; in response to an indication that the status lock is available, acquiring the status lock for the first suggestion request and sending the first suggestion request to the server; and in response to receipt of suggested content corresponding to the character from the server, releasing the status lock.
-
Citations
17 Claims
-
1. A system for performing autocomplete, comprising:
-
one or more hardware processors configured to; generate a status lock at a client device, wherein the status lock is configured to be used by the client device to control sending requests to a server; generate a first suggestion request that includes a user input character, wherein the user input character is received via an input interface that is presented at the client device; and determine whether the status lock is available based at least in part on a value associated with the status lock, wherein a first value associated with the status lock indicates that the status lock has been acquired for a previous suggestion request that has been sent to the server, and wherein a second value associated with the status lock indicates that suggested content corresponding to the previous suggestion request has been received from the server; in the event that the status lock is associated with the first value, store the user input character in a wait queue; and in the event that the status lock is associated with the second value; determine that the wait queue includes a plurality of previously input characters; generate a second suggestion request based at least in part on the plurality of previously input characters stored in the wait queue and the user input character included in the first suggestion request, wherein the plurality of previously input characters is stored in the wait queue in a manner that preserves a sequence in which the plurality of previously input characters appears in the input interface; clear the wait queue; update the value associated with the status lock to acquire the status lock for the second suggestion request; send the second suggestion request to the server; and in response to receipt of suggested content corresponding to the second suggestion request from the server, update the value associated with the status lock; and one or more memories coupled to the one or more hardware processors and configured to provide the one or more hardware processors with instructions. - View Dependent Claims (2, 3, 4, 5, 6, 7, 16)
-
-
8. A method for performing autocomplete, comprising:
-
generating a status lock at a client device, wherein the status lock is configured to be used by the client device to control sending requests to a server; generating a first suggestion request that includes a user input character, wherein the user input character is received via an input interface that is presented at the client device; and determining whether the status lock is available based at least in part on a value associated with the status lock, wherein a first value associated with the status lock indicates that the status lock has been acquired for a previous suggestion request that has been sent to the server, and wherein a second value associated with the status lock indicates that suggested content corresponding to the previous suggestion request has been received from the server; in the event that the status lock is associated with the first value, storing the user input character in a wait queue; and in the event that the status lock is associated with the second value; determining that the wait queue includes a plurality of previously input characters; generating a second suggestion request based at least in part on the plurality of previously input characters stored in the wait queue and the user input character included in the first suggestion request, wherein the plurality of previously input characters is stored in the wait queue in a manner that preserves a sequence in which the plurality of previously input characters appears in the input interface; clearing the wait queue; updating the value associated with the status lock to acquire the status lock for the second suggestion request; sending the second suggestion request to the server; and in response to receipt of suggested content corresponding to the second suggestion request from the server, updating the value associated with the status lock. - View Dependent Claims (9, 10, 11, 12, 13, 14, 17)
-
-
15. A computer program product for performing autocomplete, the computer program product being embodied in a non-transitory computer readable storage medium and comprising computer instructions for:
-
generating a status lock at a client device, wherein the status lock is configured to be used by the client device to control sending requests to a server; generating a first suggestion request that includes a user input character, wherein the user input character is received via an input interface that is presented at the client device; and determining whether the status lock is available based at least in part on a value associated with the status lock, wherein a first value associated with the status lock indicates that the status lock has been acquired for a previous suggestion request that has been sent to the server, and wherein a second value associated with the status lock indicates that suggested content corresponding to the previous suggestion request has been received from the server; in the event that the status lock is associated with the first value, storing the user input character in a wait queue; and in the event that the status lock is associated with the second value; determining that the wait queue includes a plurality of previously input characters; generating a second suggestion request based at least in part on the plurality of previously input characters stored in the wait queue and the user input character included in the first suggestion request, wherein the plurality of previously input characters is stored in the wait queue in a manner that preserves a sequence in which the plurality of previously input characters appears in the input interface; clearing the wait queue; updating the value associated with the status lock to acquire the status lock for the second suggestion request; sending the second suggestion request to the server; and in response to receipt of suggested content corresponding to the second suggestion request from the server, updating the value associated with the status lock.
-
Specification