# US 12,602,389 B2 · Recommendation word determination method and apparatus, and electronic device and storage medium

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

- Number: US 12,602,389 B2
- Document ID: US12602389B2
- Status: Granted
- Kind: B2
- Application number: 18/848,880
- Filed: 2023-03-10
- Published: 2025-06-26
- Granted: 2026-04-14
- Earliest claimed: 2022-04-18
- Assignees: Beijing Bytedance Network Technology Co., Ltd.
- Applicants: Beijing Bytedance Network Technology Co., Ltd.
- Inventors: Ruiqi Peng
- Web page: https://patentgrep.com/patent/US12602389B2

## CPC

- G06F 16/24578: {using ranking}
- G06F 16/00: Information retrieval; Database structures therefor; File system structures therefor
- G06F 16/9535: Search customisation based on user profiles and personalisation
- G06F 16/9538: Presentation of query results
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present disclosure relates to a recommendation word determination method and apparatus, and an electronic device and a storage medium. The method comprises: receiving a search word, and presenting, on a search result page, a first search result corresponding to the search word under a first attribute tag, and an attribute of the first search result is matched with the first attribute tag; in response to a switching operation for the attribute tags, presenting, a second search result corresponding to the search word under a second attribute tag, wherein an attribute of the second search result is matched with the second attribute tag; and in response to a triggering operation for a search box, presenting a recommendation word set on a search intermediate page, the recommendation word set determined based on the search word and the second attribute tag. The search experience of a user is improved.

## Claims

### Claim 1

A recommendation word determination method, wherein the method comprises:
receiving a search word, and presenting, on a search result page, a first search result corresponding to the search word under a first attribute tag, wherein the search result page comprises a plurality of attribute tags, and an attribute of the first search result is matched with the first attribute tag;
in response to a switching operation for the attribute tags, presenting, on the search result page, a second search result corresponding to the search word under a second attribute tag, wherein an attribute of the second search result is matched with the second attribute tag; and
in response to a triggering operation for a search box on the search result page, presenting a recommendation word set on a search intermediate page, wherein the recommendation word set is determined based on the search word and the second attribute tag;
wherein the recommendation word set is determined based on a first recommendation word set corresponding to the search word and a second recommendation word set corresponding to the second attribute tag, which comprises:
obtaining, based on the second attribute tag, a first recommendation word subset from the first recommendation word set, and a second recommendation word subset from the second recommendation word set, wherein recommendation words in the first recommendation word subset and the second recommendation word subset are matched with the second attribute tag; and
processing and splicing the recommendation words in the first recommendation word subset and the second recommendation word subset to obtain the recommendation word set.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the recommendation word set is determined based on the search word and the second attribute tag, which comprises:
determining an extension word based on the second attribute tag; and
performing splicing combination on candidate recommendation words corresponding to the search word, and the extension word, and generating target recommendation words to obtain the recommendation word set.

### Claim 3 (depends on 2)

The method according to claim 2, further comprising:
in response to a triggering operation for any target recommendation word in the recommendation word set, presenting, on the search result page, a target search result matched with the target recommendation word and the second attribute tag; or
in response to a triggering operation for any target recommendation word in the recommendation word set, presenting, on the search result page, a target search result matched with the target recommendation word, wherein the target search result comprises third search results corresponding to the target search word under different attribute tags, and a presentation priority of a search result, having an attribute tag matched with the second attribute tag, among the third search results is higher than a presentation priority of a search result, having an attribute tag not matched with the second attribute tag, among the third search results.

### Claim 4 (depends on 1)

The method according to claim 1, wherein in response to the triggering operation for the search box on the search result page, presenting the recommendation word set on the search intermediate page comprises:
in response to a trigger for a focus of the search box on the search result page, presenting the recommendation word set on the search intermediate page; or
in response to a deletion of the search word from the search box on the search result page, presenting the recommendation word set on the search intermediate page; or
in response to a trigger for a target control corresponding to the search box on the search result page, presenting the recommendation word set on the search intermediate page.

### Claim 5 (depends on 4)

The method according to claim 4, further comprising:
in response to a triggering operation for any target recommendation word in the recommendation word set, presenting, on the search result page, a target search result matched with the target recommendation word and the second attribute tag; or
in response to a triggering operation for any target recommendation word in the recommendation word set, presenting, on the search result page, a target search result matched with the target recommendation word, wherein the target search result comprises third search results corresponding to the target search word under different attribute tags, and a presentation priority of a search result, having an attribute tag matched with the second attribute tag, among the third search results is higher than a presentation priority of a search result, having an attribute tag not matched with the second attribute tag, among the third search results.

### Claim 6 (depends on 1)

The method according to claim 1, further comprising:
in response to a triggering operation for any target recommendation word in the recommendation word set, presenting, on the search result page, a target search result matched with the target recommendation word and the second attribute tag; or
in response to a triggering operation for any target recommendation word in the recommendation word set, presenting, on the search result page, a target search result matched with the target recommendation word, wherein the target search result comprises third search results corresponding to the target search word under different attribute tags, and a presentation priority of a search result, having an attribute tag matched with the second attribute tag, among the third search results is higher than a presentation priority of a search result, having an attribute tag not matched with the second attribute tag, among the third search results.

### Claim 7 (depends on 1)

The method according to claim 1, further comprising:
in response to a triggering operation for any target recommendation word in the recommendation word set, presenting, on the search result page, a target search result matched with the target recommendation word and the second attribute tag; or
in response to a triggering operation for any target recommendation word in the recommendation word set, presenting, on the search result page, a target search result matched with the target recommendation word, wherein the target search result comprises third search results corresponding to the target search word under different attribute tags, and a presentation priority of a search result, having an attribute tag matched with the second attribute tag, among the third search results is higher than a presentation priority of a search result, having an attribute tag not matched with the second attribute tag, among the third search results.

### Claim 8

A recommendation word determination method, comprising:
receiving a recommendation word set obtaining request sent by a client, wherein the recommendation word set obtaining request comprises a second attribute tag and a search word, and the recommendation word set obtaining request is used for requesting to obtain a recommendation word set; and
obtaining a recommendation word set based on the second attribute tag and the search word, wherein a recommendation word in the recommendation word set is matched with the second attribute tag;
wherein obtaining a recommendation word set based on the second attribute tag and the search word comprises:
obtaining, based on the second attribute tag, a first recommendation word subset from the first recommendation word set, and a second recommendation word subset from the second recommendation word set, wherein recommendation words in the first recommendation word subset and the second recommendation word subset are matched with the second attribute tag; and
processing and splicing the recommendation words in the first recommendation word subset and the second recommendation word subset to obtain the recommendation word set;
wherein receiving a recommendation word set obtaining request sent by a client comprises:
in response to a search operation triggered by a user operation on the client, receiving the recommendation word set obtaining request, the user operation comprising entering the search word into a search box and switching to the second attribute tag.

### Claim 9 (depends on 8)

The method according to claim 8, wherein obtaining the recommendation word set based on the second attribute tag and the search word comprises:
obtaining the recommendation word set corresponding to the second attribute tag and the search word from a database based on the second attribute tag and the search word.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the method further comprises, before obtaining the recommendation word set corresponding to the second attribute tag and the search word from the database based on the second attribute tag and the search word:
obtaining historical recommendation words comprising the search word; and
filtering the historical search words to obtain the recommendation word set matched with the second attribute tag.

### Claim 11 (depends on 9)

The method according to claim 9, wherein the method further comprises, before obtaining the recommendation word set corresponding to the second attribute tag and the search word from the database based on the second attribute tag and the search word:
obtaining a historical search result of the search word;
obtaining candidate recommendation words corresponding to the historical search result; and
obtaining the recommendation word set matched with the second attribute tag from the candidate recommendation words.

### Claim 12 (depends on 11)

The method according to claim 11, wherein obtaining the recommendation word set matched with the second attribute tag from the candidate recommendation words based on the second attribute tag comprises:
obtaining the recommendation word set matched with the second attribute tag from the candidate recommendation words based on the second attribute tag and interaction data for the candidate recommendation words.

### Claim 13 (depends on 12)

The method according to claim 12, wherein obtaining the recommendation word set matched with the second attribute tag from the candidate recommendation words based on the second attribute tag and the interaction data for the candidate recommendation words comprises:
obtaining a candidate recommendation word set matched with the second attribute tag from the candidate recommendation words;
determining recommendation parameters for the candidate recommendation words in the candidate recommendation word set based on the interaction data for the candidate recommendation words; and
obtaining the recommendation word set from the candidate recommendation word set based on the recommendation parameters of the candidate recommendation words in the candidate recommendation word set.

### Claim 14 (depends on 13)

The method according to claim 13, wherein the interaction data comprises a search frequency, a search time period, and/or a browse behavior.

### Claim 15

An electronic device, comprising:
one or more processors; and
a storage apparatus, configured to store one or more programs,
wherein the one or more programs, when run by the one or more processors, cause the one or more processors to
receive a search word, and present, on a search result page, a first search result corresponding to the search word under a first attribute tag, wherein the search result page comprises a plurality of attribute tags, and an attribute of the first search result is matched with the first attribute tag;
in response to a switching operation for the attribute tags, present, on the search result page, a second search result corresponding to the search word under a second attribute tag, wherein an attribute of the second search result is matched with the second attribute tag; and
in response to a triggering operation for a search box on the search result page, present a recommendation word set on a search intermediate page, wherein the recommendation word set is determined based on the search word and the second attribute tag;
wherein the recommendation word set is determined based on a first recommendation word set corresponding to the search word and a second recommendation word set corresponding to the second attribute tag, which comprises:
obtaining, based on the second attribute tag, a first recommendation word subset from the first recommendation word set, and a second recommendation word subset from the second recommendation word set, wherein recommendation words in the first recommendation word subset and the second recommendation word subset are matched with the second attribute tag; and
processing and splicing the recommendation words in the first recommendation word subset and the second recommendation word subset to obtain the recommendation word set.

### Claim 16 (depends on 15)

The electronic device according to claim 15, wherein the recommendation word set is determined based on the search word and the second attribute tag, which comprises:
determining an extension word based on the second attribute tag; and
performing splicing combination on candidate recommendation words corresponding to the search word, and the extension word, and generating target recommendation words to obtain the recommendation word set.

### Claim 17 (depends on 15)

The electronic device according to claim 15, wherein the recommendation word set is determined based on a first recommendation word set corresponding to the search word and a second recommendation word set corresponding to the second attribute tag, which comprises:
obtaining, based on the second attribute tag, a first recommendation word subset from the first recommendation word set, and a second recommendation word subset from the second recommendation word set, wherein recommendation words in the first recommendation word subset and the second recommendation word subset are matched with the second attribute tag; and
processing and splicing the recommendation words in the first recommendation word subset and the second recommendation word subset to obtain the recommendation word set.

### Claim 18 (depends on 15)

The electronic device according to claim 15, wherein the one or more processors being caused to, in response to the triggering operation for the search box on the search result page, present the recommendation word set on the search intermediate page comprises being caused to:
in response to a trigger for a focus of the search box on the search result page, present the recommendation word set on the search intermediate page; or
in response to a deletion of the search word from the search box on the search result page, present the recommendation word set on the search intermediate page; or
in response to a trigger for a target control corresponding to the search box on the search result page, present the recommendation word set on the search intermediate page.

### Claim 19 (depends on 15)

The electronic device according to claim 15, wherein the one or more processors are further caused to:
in response to a triggering operation for any target recommendation word in the recommendation word set, present, on the search result page, a target search result matched with the target recommendation word and the second attribute tag; or
in response to a triggering operation for any target recommendation word in the recommendation word set, present, on the search result page, a target search result matched with the target recommendation word, wherein the target search result comprises third search results corresponding to the target search word under different attribute tags, and a presentation priority of a search result, having an attribute tag matched with the second attribute tag, among the third search results is higher than a presentation priority of a search result, having an attribute tag not matched with the second attribute tag, among the third search results.
