IP Library Granted Patent US 12699731
Granted Patent B2
US 12699731 · App. 18/834,905 · Granted Aug 4, 2026

Search result display method and apparatus, and computer device and storage medium

Inventor: Chuwen Shen (Beijing, CN)
Assignee: Douyin Vision (Beijing) Co., Ltd.
G06F16/739G06F16/7844
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12699731
App. No.
18/834,905
Granted
Aug 4, 2026
Kind
B2
Abstract

Provided in the present disclosure are a search result display method and apparatus, and a computer device and a storage medium. The method includes: in response to a search request, acquiring a preview resource of a target video, which is associated with search information in the search request, wherein the preview resource includes a first associated text, an attribute type corresponding to the first associated text and video preview information of the target video, and the first associated text is extracted on the basis of the target video; and on the basis of a search result display form corresponding to the attribute type, displaying the video preview information of the target video and a second associated text, wherein the second associated text at least includes some content of the first associated text.

Claims (76)

1 . A search result display method, comprising:

in response to a search request, acquiring a preview resource of a first video associated with search information in the search request; wherein the preview resource comprises a first associated text, an attribute type corresponding to the first associated text, and video preview information of the first video; the first associated text is extracted from the first video using optical character recognition or automatic speech recognition (ASR), and is further refined by ASR-assisted semantic restoration or misrecognition correction in response to identifying a word or a short sentence comprising a substitute term;

displaying the video preview information and a second associated text of the first video based on a search result display form corresponding to the attribute type; wherein the second associated text at least comprises a part of a content of the first associated text; and

in response to triggering a control corresponding to the second associated text, updating the second associated text in a display page to the first associated text,

wherein in response to the first associated text belonging to the answer attribute type, the answer type of the first associated text comprises a first answer type and a second answer type;

the second associated text is determined by:

in response to the answer type of the first associated text being the first answer type, taking the first associated text as the second associated text;

in response to the answer type of the first associated text being the second answer type, selecting a keyword matching the search information from the first associated text, and generating the second associated text based on the keyword,

wherein the keywords are determined by performing a semantic segmentation of the first associated text and comparing a segmentation result with the search information.

2 . The method according to claim 1 , wherein

the attribute type of the first associated text is determined by:

in response to the search information being of a non-question-and-answer search type, determining that the attribute type of the first associated text being a summary attribute type; and

in response to the search information being of a question-and-answer search type, determining that the attribute type of the first associated text being an answer attribute type in response to the first associated text containing answer information corresponding to the search information, and determining that the attribute type of the first associated text being the summary attribute type in response to the first associated text not containing the answer information corresponding to the search information,

wherein the second associated text is determined by:

in response to the first associated text belonging to the summary attribute type, taking the first associated text as the second associated text; and

in response to the first associated text belonging to the answer attribute type, determining the second associated text corresponding to the first associated text based on an answer type of the first associated text.

3 . The method according to claim 1 , wherein in response to the first associated text belonging to the answer attribute type, the answer type of the first associated text is determined by:

determining that the answer type of the first associated text is the first answer type in response to the first associated text satisfying a classification condition of the first answer type, and determining that the answer type of the first associated text is the second answer type in response to the first associated text not satisfying the classification condition of the first answer type;

the classification condition of the first answer type comprises at least one of: a statistical word number of the first associated text being less than a preset answer word number threshold, the keyword associated with the search information in the first associated text being used as a leading word of the first associated text, and only one piece of answer information matching a search term being contained in the first associated text.

4 . The method according to claim 1 , wherein displaying the video preview information and the second associated text of the first video based on the search result display form corresponding to the attribute type, comprises:

in response to the attribute type being a first answer type under an answer attribute type, displaying the second associated text on the video preview information;

in response to the attribute type being a summary attribute type or a second answer type under the answer attribute type, displaying the second associated text in a location region adjacent to the video preview information.

5 . The method according to claim 2 , further comprising:

in response to a display triggering operation on the video preview information, displaying a full-screen playback page of a content corresponding to the video preview information;

displaying the second associated text, in a form of a floating layer, on the full-screen playback page; and

in response to the attribute type being a second answer type under the answer attribute type, updating the second associated text to the first associated text in response to triggering a control corresponding to the second associated text.

6 . The method according to claim 1 , wherein generating the second associated text based on the keyword, comprises:

splicing a plurality of selected keywords based on a semantic order of the plurality of selected keywords in the first associated text to obtain the second associated text.

7 . The method according to claim 1 , wherein the video preview information is associated with at least one indication tag; each of the at least one indication tag is configured to indicate a corresponding playback position, in the first video, of at least part of text information of the second associated text;

displaying the video preview information of the first video, comprises:

determining a display position corresponding to each of the at least one indication tag according to at least one playback position, in the first video, corresponding to the second associated text;

displaying the video preview information, and displaying the at least one indication tag on the video preview information based on the display position determined for each of the at least one indication tag.

8 . The method according to claim 7 , wherein determining the display position corresponding to each of the at least one indication tag according to at least one playback position, in the first video, corresponding to the second associated text, comprises:

determining the display position of the at least one indication tag from progress positions indicated by a playback progress bar of the first video according to the at least one playback position, in the first video, corresponding to the second associated text; and/or,

determining the display position of the indication tag at the display position in the second associated text, according to text information corresponding to each of the at least one playback position.

9 . The method according to claim 7 , further comprising:

in response to a triggering operation for any of the at least one indication tag, determining the playback position indicated by the indication tag as an initial playback position of the first video; and

playing the first video from the initial playback position.

10 . A computer device, comprising a processor and a memory, wherein the memory stores machine-readable instructions executable by the processor, and the processor is configured to execute the machine-readable instructions stored in the memory, and

in response to the machine-readable instructions being executed by the processor, the processor performs:

in response to a search request, acquiring a preview resource of a first video associated with search information in the search request; wherein the preview resource comprises a first associated text, an attribute type corresponding to the first associated text, and video preview information of the first video; the first associated text is extracted from the first video using optical character recognition or automatic speech recognition (ASR), and is further refined by ASR-assisted semantic restoration or misrecognition correction in response to identifying a word or a short sentence comprising a substitute term;

displaying the video preview information and a second associated text of the first video based on a search result display form corresponding to the attribute type; wherein the second associated text at least comprises a part of a content of the first associated text; and

in response to triggering a control corresponding to the second associated text, updating the second associated text in a display page to the first associated text,

wherein in response to the first associated text belonging to the answer attribute type, the answer type of the first associated text comprises a first answer type and a second answer type;

the second associated text is determined by:

in response to the answer type of the first associated text being the first answer type, taking the first associated text as the second associated text;

in response to the answer type of the first associated text being the second answer type, selecting a keyword matching the search information from the first associated text, and generating the second associated text based on the keyword,

wherein the keywords are determined by performing a semantic segmentation of the first associated text and comparing a segmentation result with the search information.

11 . A non-transitory computer-readable storage medium, on which a computer program is stored, wherein

in response to the computer program being executed by a computer device, the computer device performs:

in response to a search request, acquiring a preview resource of a first video associated with search information in the search request; wherein the preview resource comprises a first associated text, an attribute type corresponding to the first associated text, and video preview information of the first video; the first associated text is extracted from the first video using optical character recognition or automatic speech recognition (ASR), and is further refined by ASR-assisted semantic restoration or misrecognition correction in response to identifying a word or a short sentence comprising a substitute term;

displaying the video preview information and a second associated text of the first video based on a search result display form corresponding to the attribute type; wherein the second associated text at least comprises a part of a content of the first associated text; and

in response to triggering a control corresponding to the second associated text, updating the second associated text in a display page to the first associated text,

wherein in response to the first associated text belonging to the answer attribute type, the answer type of the first associated text comprises a first answer type and a second answer type;

the second associated text is determined by:

in response to the answer type of the first associated text being the first answer type, taking the first associated text as the second associated text;

in response to the answer type of the first associated text being the second answer type, selecting a keyword matching the search information from the first associated text, and generating the second associated text based on the keyword,

wherein the keywords are determined by performing a semantic segmentation of the first associated text and comparing a segmentation result with the search information.

12 . The computer device according to claim 10 , wherein in response to the computer program being executed by a computer device, the computer device further performs:

in response to the search information being of a non-question-and-answer search type, determining that the attribute type of the first associated text being a summary attribute type;

in response to the search information being of a question-and-answer search type, determining that the attribute type of the first associated text being an answer attribute type in response to the first associated text containing answer information corresponding to the search information, and determining that the attribute type of the first associated text being the summary attribute type in response to the first associated text not containing the answer information corresponding to the search information;

in response to the first associated text belonging to the summary attribute type, taking the first associated text as the second associated text; and

in response to the first associated text belonging to the answer attribute type, determining the second associated text corresponding to the first associated text based on an answer type of the first associated text.

13 . The computer device according to claim 10 , wherein in response to the first associated text belonging to the answer attribute type,

in response to the computer program being executed by a computer device, the computer device further performs:

determining that the answer type of the first associated text is the first answer type in response to the first associated text satisfying a classification condition of the first answer type, and determining that the answer type of the first associated text is the second answer type in response to the first associated text not satisfying the classification condition of the first answer type;

wherein the classification condition of the first answer type comprises at least one of: a statistical word number of the first associated text being less than a preset answer word number threshold, the keyword associated with the search information in the first associated text being used as a leading word of the first associated text, and only one piece of answer information matching a search term being contained in the first associated text.

14 . The computer device according to claim 10 , wherein in response to the computer program being executed by a computer device, the computer device further performs:

in response to the attribute type being a first answer type under an answer attribute type, displaying the second associated text on the video preview information;

in response to the attribute type being a summary attribute type or a second answer type under the answer attribute type, displaying the second associated text in a location region adjacent to the video preview information.

15 . The computer device according to claim 12 , wherein in response to the computer program being executed by a computer device, the computer device further performs:

in response to a display triggering operation on the video preview information, displaying a full-screen playback page of a content corresponding to the video preview information;

displaying the second associated text, in a form of a floating layer, on the full-screen playback page; and

in response to the attribute type being a second answer type under the answer attribute type, updating the second associated text to the first associated text in response to triggering a control corresponding to the second associated text.

16 . The computer device according to claim 10 , wherein in response to the computer program being executed by a computer device, the computer device further performs:

splicing a plurality of selected keywords based on a semantic order of the plurality of selected keywords in the first associated text to obtain the second associated text.