发明名称 Performing autocomplete of content
摘要 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.
申请公布号 US9584626(B2) 申请公布日期 2017.02.28
申请号 US201313869819 申请日期 2013.04.24
申请人 Alibaba Group Holding Limited 发明人 Zhang Liming
分类号 G06F15/16;G06F15/173;H04L29/06;G06F17/27;G06F9/50 主分类号 G06F15/16
代理机构 Van Pelt, Yi & James LLP 代理人 Van Pelt, Yi & James LLP
主权项 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; anddetermine 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; andin 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; andin 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.
地址 KY