# US 8,577,913 B1 · Generating midstring query refinements

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 8,577,913 B1
- Document ID: US8577913B1
- Status: Granted
- Kind: B1
- Application number: 13/118,196
- Filed: 2011-05-27
- Granted: 2013-11-05
- Earliest claimed: 2011-05-27
- Assignees: Google Inc.
- Applicants: Othar Hansson; James Home; Anwis Das; Michael Levin; Abhinandan Das
- Inventors: Othar Hansson; James Home; Anwis Das; Michael Levin; Abhinandan Das
- Web page: https://patentgrep.com/patent/US8577913B1

## CPC

- G06F 3/048: Interaction techniques based on graphical user interfaces [GUI]
- G06F 16/00: Information retrieval; Database structures therefor; File system structures therefor
- G06F 16/3328: {using graphical result space presentation or visualisation}
- G06F 16/9535: Search customisation based on user profiles and personalisation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system and method is provided for providing query suggestions, particularly midstring query completions for an original query being edited or hovered over. An original query is received from a client. One or more segments in the original query are identified including an anchor segment and zero or more remaining segments. The anchor segment is identified based on cursor placement within the original query. Then one or more sibling segments associated with the anchor segment are identified. The sibling segments are identified by the server system to be semantically distinct from anchor segment. Then one or more query refinement candidates are identified. A respective query refinement candidate includes a sibling segment in place of the anchor segment and includes the remaining segments, if any, of the original query. Then information including one or more of the query refinement candidates is sent to the client for presentation.

## Claims

### Claim 1

A method for query suggestion, performed on a server system having one or more processors and memory storing one or more programs for execution by the one or more processors to perform the method, comprising:
at the server system:
receiving an original query from a client distinct from the server system;
identifying one or more segments in the original query;
identifying an anchor segment of the one or more segments in the original query, wherein the anchor segment is identified based on cursor placement within the original query, and identifying zero or more remaining segments of the original query, excluding the anchor segment;
identifying one or more sibling segments associated with the anchor segment, wherein the one or more sibling segments are identified by the server system to be semantically distinct from anchor segment;
identifying one or more query refinement candidates, wherein a respective query refinement candidate includes a respective sibling segment in place of the anchor segment and includes the remaining segments, if any, of the original query;
sending to the client for presentation information including one or more of the query refinement candidates;
receiving from the client one or more deleted characters from the original query and any remaining characters from the original query, the remaining characters consisting of characters of the original query which are not deleted characters; and
reconstructing the original query from the deleted characters and the remaining characters;
wherein the one or more sibling segments are identified using an algorithm that identifies sibling segments that are conceptually related to the anchor segment; and
wherein, when the original query includes two or more segments, including the anchor segment and one or more remaining segments, identifying the one or more query refinement candidates comprises:
forming potential query refinement candidates from the identified sibling segments and the one or more remaining segments; and
excluding from the identified one or more query refinement candidates any of the potential refinement candidates not present in a predefined database of historical complete queries.

### Claim 2 (depends on 1)

The method of claim 1, wherein a segment is identified as an anchor segment when the cursor position is within or directly adjacent to a word in the segment without modifying the original query.

### Claim 3 (depends on 1)

The method of claim 1, wherein after an anchor segment has been identified, user initiated deletion of characters in the anchor segment does not affect the identification of the one or more sibling segments.

### Claim 4 (depends on 1)

The method of claim 1, wherein the sibling segment is identified without regard to any characters in the anchor segment.

### Claim 5 (depends on 1)

The method of claim 1, wherein the one or more sibling segments are identified from refinements to the anchor segment submitted by a user in a community of users.

### Claim 6 (depends on 1)

The method of claim 1, wherein the one or more sibling segments are identified using an algorithm that identifies sibling segments that are conceptually related to the anchor segment.

### Claim 7 (depends on 1)

The method of claim 1, wherein the one or more sibling segments are identified using an algorithm that identifies sibling segments that have similar meaning to the anchor segment.

### Claim 8 (depends on 1)

The method of claim 1, wherein the one or more sibling segments are identified using an algorithm that identifies sibling segments that have similar meaning to the anchor segment; and
wherein, when the original query includes two or more segments, including the anchor segment and one or more remaining segments, identifying the one or more query refinement candidates comprises:
forming potential query refinement candidates from the identified sibling segments and the one or more remaining segments; and
excluding from the identified one or more query refinement candidates any of the potential query refinement candidates not present in a predefined database of historical complete queries.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
when the original query includes two or more segments,
identifying one or more remaining segments of the original query, excluding the anchor segment;
creating a template including the one or more remaining segments of the original query and a placeholder corresponding to the anchor segment; and
selecting one or more query refinement candidates in accordance with a requirement that the one or more query refinement candidates meet the template.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
receiving from the client, one or more new characters inputted by the user;
creating a template including the zero or more remaining segments of the original query, and further including the one or more new characters; and
selecting one or more query refinement candidates that meet the template.

### Claim 11 (depends on 10)

The method of claim 10, wherein when the one or more new characters inputted by the user are directly adjacent to a character of a remaining portion of the anchor segment, the template includes a revised segment comprising the remaining portion of the anchor segment and the adjacent one or more new characters.

### Claim 12 (depends on 1)

The method of claim 1, further comprising, prior to the sending, selecting one or more of the query refinement candidates in accordance with one or more predefined criteria selected from the group consisting of popularity criteria, relevance to original query criteria, user interest criteria, quality criteria, and filter-out criteria;
wherein the one or more query refinement candidates sent to the client comprise the selected one or more query refinement candidates.

### Claim 13 (depends on 12)

The method of claim 12, wherein selecting query refinement candidates comprises:
ranking the query refinement candidates based on popularity criteria; and
selecting a subset of the ranked query refinement candidates as query refinement candidates based in part the ranking.

### Claim 14 (depends on 13)

The method of claim 13, wherein the selecting further comprises not selecting query refinement candidates that are irrelevant to the original query in accordance with the predefined criteria for relevance to original query.

### Claim 15 (depends on 12)

The method of claim 12, wherein the selecting further comprises not selecting query refinement candidates that are misspelled, contain information that is at least potentially personally identifiable, or contain one or more terms in a predefined set of offensive terms.

### Claim 16 (depends on 1)

The method of claim 1, further comprising:
when the original query includes two or more segments,
identifying the zero or more remaining segments comprises identifying one or more remaining segments of the original query, excluding the anchor segment; and
identifying the one or more query refinement candidates comprises identifying respective query refinement candidates that each include the sibling segment in place of the anchor segment and also includes the one or more remaining segments of the original query.

### Claim 17

A server system, for query suggestion, comprising:
one or more processors; and
memory storing one or more programs to be executed by the one or more processors;
the one or more programs comprising instructions for:
receiving an original query from a client distinct from the server system;
identifying one or more segments in the original query;
identifying an anchor segment of the one or more segments in the original query, wherein the anchor segment is identified based on cursor placement within the original query, and identifying zero or more remaining segments of the original query, excluding the anchor segment;
identifying one or more sibling segments associated with the anchor segment, wherein the one or more sibling segments are identified by the server system to be semantically distinct from anchor segment;
identifying one or more query refinement candidates, wherein a respective query refinement candidate includes a respective sibling segment in place of the anchor segment and includes the remaining segments, if any, of the original query;
sending to the client for presentation information including one or more of the query refinement candidates;
receiving from the client one or more deleted characters from the original query and any remaining characters from the original query, the remaining characters consisting of characters of the original query which are not deleted characters; and
reconstructing the original query from the deleted characters and the remaining characters;
wherein the one or more sibling segments are identified using an algorithm that identifies sibling segments that are conceptually related to the anchor segment; and
wherein, when the original query includes two or more segments, including the anchor segment and one or more remaining segments, identifying the one or more query refinement candidates comprises:
forming potential query refinement candidates from the identified sibling segments and the one or more remaining segments; and
excluding from the identified one or more query refinement candidates any of the potential refinement candidates not present in a predefined database of historical complete queries.

### Claim 18 (depends on 17)

The server system of claim 17, wherein the sibling segment is identified without regard to any characters in the anchor segment.

### Claim 19 (depends on 17)

The server system of claim 17, wherein the one or more programs further comprise instructions for:
receiving from the client, one or more new characters inputted by the user;
creating a template including the zero or more remaining segments of the original query, and further including the one or more new characters; and
selecting one or more query refinement candidates that meet the template.

### Claim 20 (depends on 19)

The server system of claim 19, wherein when the one or more new characters inputted by the user are directly adjacent to a character of a remaining portion of the anchor segment, the template includes a revised segment comprising the remaining portion of the anchor segment and the adjacent one or more new characters.

### Claim 21

A non-transitory computer readable storage medium storing one or more programs configured for execution by a computer, the one or more programs comprising instructions for:
at a server system:
receiving an original query from a client distinct from the server system;
identifying one or more segments in the original query;
identifying an anchor segment of the one or more segments in the original query, wherein the anchor segment is identified based on cursor placement within the original query, and identifying zero or more remaining segments of the original query, excluding the anchor segment;
identifying one or more sibling segments associated with the anchor segment, wherein the one or more sibling segments are identified by the server system to be semantically distinct from anchor segment;
identifying one or more query refinement candidates, wherein a respective query refinement candidate includes a respective sibling segment in place of the anchor segment and includes the remaining segments, if any, of the original query;
sending to the client for presentation information including one or more of the query refinement candidates;
receiving from the client one or more deleted characters from the original query and any remaining characters from the original query, the remaining characters consisting of characters of the original query which are not deleted characters; and
reconstructing the original query from the deleted characters and the remaining characters;
wherein the one or more sibling segments are identified using an algorithm that identifies sibling segments that are conceptually related to the anchor segment; and
wherein, when the original query includes two or more segments, including the anchor segment and one or more remaining segments, identifying the one or more query refinement candidates comprises:
forming potential query refinement candidates from the identified sibling segments and the one or more remaining segments; and
excluding from the identified one or more query refinement candidates any of the potential refinement candidates not present in a predefined database of historical complete queries.

### Claim 22 (depends on 21)

The non-transitory computer readable storage medium of claim 21, wherein the sibling segment is identified without regard to any characters in the anchor segment.

### Claim 23 (depends on 21)

The non-transitory computer readable storage medium of claim 21, wherein the one or more programs further comprise instructions for:
receiving from the client, one or more new characters inputted by the user;
creating a template including the zero or more remaining segments of the original query, and further including the one or more new characters; and
selecting one or more query refinement candidates that meet the template.

### Claim 24 (depends on 23)

The non-transitory computer readable storage medium of claim 23, wherein when the one or more new characters inputted by the user are directly adjacent to a character of a remaining portion of the anchor segment, the template includes a revised segment comprising the remaining portion of the anchor segment and the adjacent one or more new characters.
