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

By extracting and displaying structured information in videos, the problem of inconvenient information acquisition in video search results is solved, and video content is quickly located and viewed.

WO2023246384A9PCT designated stage expired Publication Date: 2024-09-19DOUYIN VISION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/094760
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-06-24
Filing Date
2023-05-17
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

In the search scenario, video search results need to be watched in full to obtain relevant information, and information related to search needs cannot be obtained quickly.

Method used

By extracting structured information from the video, including premise information, answer information, and timestamps, it displays the video preview information and displays the structured information at its associated location, allowing users to intuitively locate relevant content in the video.

Benefits of technology

A method to quickly obtain relevant information in videos is implemented. Users can directly locate the specific playback position through structured information to view video details.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023094760_19092024_PF_FP_ABST
    Figure CN2023094760_19092024_PF_FP_ABST
Patent Text Reader

Abstract

A search result display method and apparatus, a computer device, and a storage medium. The method comprises: in response to a search request, acquiring a preview resource of a target video matching the search request, wherein the preview resource comprises video preview information of the target video and structured information for answering the search request, the structured information is information extracted from the target video, and the structured information at least comprises premise information, answer information, and timestamp information respectively corresponding to the premise information and the answer information in the target video (S101); and displaying the video preview information on a search result page, and displaying the structured information at an associated position of the video preview information (S102).
Need to check novelty before this filing date? Find Prior Art

Description

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

[0001] This application claims priority to Chinese Patent Application No. 202210723399.0 filed on June 24, 2022, and the contents of the above-mentioned Chinese patent application disclosure are hereby incorporated by reference in their entirety as a part of this application. Technical Field

[0002] Embodiments of the present disclosure relate to a search result display method, apparatus, computer device, and storage medium. Background Art

[0003] In the search scenario, after searching using the search information, search results containing videos can be obtained.

[0004] For this type of video search results, you generally need to watch the entire video before you can get the information you need, and you cannot quickly get information related to your search needs.

[0005] Summary of the Invention

[0006] The embodiments of the present disclosure at least provide a search result display method, apparatus, computer device, and storage medium.

[0007] In a first aspect, an embodiment of the present disclosure provides a search result display method, comprising: in response to a search request, obtaining a preview resource of a target video that matches the search request; wherein the preview resource includes video preview information of the target video, and structured information that answers the search request, the structured information being information extracted from the target video, the structured information including at least premise information, answer information, and timestamp information corresponding to the premise information and the answer information in the target video; displaying the video preview information on a search result page, and displaying the structured information at an associated position of the video preview information.

[0008] In an optional embodiment, the video preview information is displayed on the search results page, and the structured information is displayed at an associated position of the video preview information, including: displaying the video preview information in a first area of ​​the search results page, displaying each of the timestamp information in sequence in a second area adjacent to the first area, and displaying the premise information and answer information corresponding to the timestamp information at a corresponding position of each timestamp information.

[0009] In an optional embodiment, the premise information includes at least one, and each premise information corresponds to at least one answer information; the video preview information is displayed on the search results page, and the structured information is displayed at an associated position of the video preview information, including: displaying the video preview information in a first area of ​​the search results page, displaying each of the premise information and its corresponding timestamp information in the structured information in sequence in a second area adjacent to the first area, and displaying at least one corresponding answer information and the timestamp information corresponding to each answer information under each premise information.

[0010] In an optional embodiment, the video preview information is displayed on the search results page, and the structured information is displayed at an associated position of the video preview information, including: when the structured information includes one premise information and multiple answer information, the video preview information is displayed in a first area of ​​the search results page, the premise information and its corresponding timestamp information are displayed in a second area adjacent to the first area, and under the premise information, the multiple answer information and the timestamp information corresponding to each answer information are displayed in sequence according to the chronological order of the timestamps corresponding to the multiple answer information; when the structured information includes multiple premise information and each premise information corresponds to multiple answer information, the video preview information is displayed in the first area of ​​the search results page, and in a second area adjacent to the first area, each premise information and its corresponding timestamp information are displayed in sequence according to the chronological order of the timestamps of each premise information, and under each premise information, the answer information under the premise information and the timestamp information corresponding to each answer information are displayed in sequence according to the chronological order of the timestamps of each answer information.

[0011] In an optional embodiment, the displaying of the structured information at the associated position of the video preview information includes: determining the display form of each of the premise information and the corresponding answer information based on the answer type of the answer information corresponding to each of the premise information; and displaying each of the premise information and the corresponding answer information based on the display form at the associated position of the video preview information.

[0012] In an optional embodiment, the answer type of the answer information corresponding to each of the premise information is determined according to the following method: if the target video contains multiple step information corresponding to the search request, the answer type is determined to be the first answer type; each of the answer information corresponds to one step information; or, if the target video contains multiple parts of answer information corresponding to the search request, and each part of the answer information contains multiple parts of sub-answer information, the answer type is determined to be the second answer type.

[0013] In an optional embodiment, in response to the answer type being the first answer type, each of the premise information and the corresponding answer information is displayed at the associated position of the video preview information based on the display form, including: at the associated position of the video preview information, the timestamp information of each of the premise information and the corresponding answer information is displayed in the order of the timestamps corresponding to each of the premise information and each part of the answer information.

[0014] In an optional embodiment, in response to the answer type corresponding to the answer information being the second answer type, the various premise information and corresponding answer information are displayed at the associated position of the video preview information based on the display format, including: displaying the answer information of each part at the associated position of the video preview information; and displaying multiple sub-answer information corresponding to the answer information in response to a trigger operation for any of the answer information.

[0015] In an optional embodiment, the structured information also includes recommended information associated with the search request; the structured information is displayed at the associated position of the video preview information, including: displaying the premise information and answer information corresponding to the timestamp information at the corresponding position of each timestamp information, and displaying the recommended information associated with the search request and the answer information under at least one answer information.

[0016] In an optional embodiment, it also includes: in response to a trigger operation on the premise information or any part of the answer information in the structured information, playing the target video starting from the timestamp position corresponding to the premise information or any part of the answer information.

[0017] In an optional embodiment, in response to the target video including multiple videos, the method further includes: determining the correlation between the structured information of the multiple target videos and the search request, and sorting the multiple target videos according to the correlation; displaying the video preview information and displaying the structured information at the associated position of the video preview information includes: displaying the video preview information of each target video in turn according to the sorting results of the multiple target videos, and displaying the structured information at the associated position of the video preview information.

[0018] In a second aspect, an embodiment of the present disclosure further provides a search result display device, comprising: an acquisition module, for obtaining, in response to a search request, a preview resource of a target video that matches the search request; wherein the preview resource includes video preview information of the target video, and structured information that answers the search request, the structured information being information extracted from the target video, the structured information including at least premise information, answer information, and timestamp information corresponding to the premise information and the answer information in the target video; a display module, for displaying the video preview information on a search results page, and displaying the structured information at an associated position of the video preview information.

[0019] In an optional embodiment, when the display module displays the video preview information on the search results page and displays the structured information at an associated position of the video preview information, it is used to: display the video preview information in a first area of ​​the search results page, display each of the timestamp information in sequence in a second area adjacent to the first area, and display the premise information and answer information corresponding to the timestamp information at a corresponding position of each timestamp information.

[0020] In an optional embodiment, the premise information includes at least one, and each premise information corresponds to at least one answer information; when the display module displays the video preview information on the search results page and displays the structured information at an associated position of the video preview information, it is used to: display the video preview information in a first area of ​​the search results page, display each of the premise information and its corresponding timestamp information in the structured information in sequence in a second area adjacent to the first area, and display at least one corresponding answer information and the timestamp information corresponding to each answer information under each premise information.

[0021] In an optional embodiment, when the display module displays the video preview information on the search results page and displays the structured information at an associated position of the video preview information, it is used to: when the structured information includes one premise information and multiple answer information, display the video preview information in a first area of ​​the search results page, display the premise information and its corresponding timestamp information in a second area adjacent to the first area, and under the premise information, display the multiple answer information and the timestamp information corresponding to each answer information in sequence according to the order of the timestamps corresponding to the multiple answer information; when the structured information includes multiple premise information and each premise information corresponds to multiple answer information, display the video preview information in the first area of ​​the search results page, display each premise information and its corresponding timestamp information in a second area adjacent to the first area, and under each premise information, display each answer information under the premise information and the timestamp information corresponding to each answer information in sequence according to the order of the timestamps of the multiple answer information.

[0022] In an optional embodiment, when the display module displays the structured information at the associated position of the video preview information, it is used to: determine the display form of each piece of premise information and the corresponding answer information based on the answer type of the answer information corresponding to each piece of premise information; and display each piece of premise information and the corresponding answer information based on the display form at the associated position of the video preview information.

[0023] In an optional embodiment, the answer type of the answer information corresponding to each of the premise information is determined according to the following method: if the target video contains multiple step information corresponding to the search request, the answer type is determined to be the first answer type; each part of the answer information corresponds to one step information; or, if the target video contains multiple parts of answer information corresponding to the search request, and each part of the answer information contains multiple parts of sub-answer information, the answer type is determined to be the second answer type.

[0024] In an optional embodiment, in response to the answer type being the first answer type, when the display module displays each of the premise information and the corresponding answer information at the associated position of the video preview information based on the display form, it is used to: display the timestamp information of each of the premise information and the corresponding answer information at the associated position of the video preview information in the order of the timestamps corresponding to each of the premise information and each part of the answer information.

[0025] In an optional embodiment, in response to the answer type corresponding to the answer information being the second answer type, the display module displays each of the premise information and the corresponding answer information at the associated position of the video preview information based on the display form, and is used to: display each part of the answer information at the associated position of the video preview information; and display multiple sub-answer information corresponding to the answer information in response to a trigger operation for any of the answer information.

[0026] In an optional embodiment, the structured information also includes recommended information associated with the search request; when the display module displays the premise information and answer information corresponding to the timestamp information at the corresponding position of each timestamp information, it is used to: display the premise information and answer information corresponding to the timestamp information at the corresponding position of each timestamp information, and display the recommended information associated with the search request and the answer information under at least one answer information.

[0027] In an optional embodiment, the search result display device also includes a first processing module, which is used to: in response to a trigger operation on the premise information or any part of the answer information in the structured information, play the target video starting from the timestamp position corresponding to the premise information or any part of the answer information.

[0028] In an optional embodiment, in response to the target videos including multiple ones, the search result display device also includes a second processing module, which is used to: determine the correlation between the structured information of the multiple target videos and the search request, and sort the multiple target videos according to the correlation; when the display module displays the video preview information and displays the structured information at the associated position of the video preview information, it is used to: display the video preview information of each target video in turn according to the sorting results of the multiple target videos, and display the structured information at the associated position of the video preview information.

[0029] In a third aspect, an optional implementation of the present disclosure further provides a computer device, a processor, and a memory, wherein the memory stores machine-readable instructions executable by the processor, and the processor is used to execute the machine-readable instructions stored in the memory. When the machine-readable instructions are executed by the processor, the machine-readable instructions perform the steps of the above-mentioned first aspect, or any possible implementation of the first aspect.

[0030] In a fourth aspect, an optional implementation of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed, it executes the steps of the above-mentioned first aspect or any possible implementation of the first aspect.

[0031] For a description of the effects of the above-mentioned search result display device, computer equipment, and computer-readable storage medium, please refer to the description of the above-mentioned search result display method, which will not be repeated here.

[0032] The embodiments of the present disclosure provide a search result display method, device, computer equipment and storage medium. For the target video obtained through the search, the structured information that answers the search request is obtained by information extraction, and the video preview information and structured information of the target video are displayed at the same time. The structured information includes answer information, premise information corresponding to the answer information, and timestamp information corresponding to the premise information and the answer information in the target video. In this way, the user can intuitively understand the playback position of the relevant premise and answer they need in the video through the structured information, and then locate the specific playback position to watch the relevant video details. Therefore, the search result display method provided by the embodiments of the present disclosure can more conveniently and quickly obtain effective information.

[0033] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the embodiments. The drawings herein are incorporated into and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and, together with the specification, are used to illustrate the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and should not be regarded as limiting the scope. For those of ordinary skill in the art, other relevant drawings can be obtained based on these drawings without inventive effort.

[0035] FIG1 shows a flow chart of a search result display method provided by an embodiment of the present disclosure;

[0036] FIG2 shows a schematic diagram of a search result page provided by an embodiment of the present disclosure;

[0037] FIG3 shows a schematic diagram of a search result page displayed when only one piece of premise information is included, provided by an embodiment of the present disclosure;

[0038] FIG4 shows a schematic diagram of a search result page displayed when multiple pieces of premise information are included, provided by an embodiment of the present disclosure;

[0039] FIG5 shows a schematic diagram of a search result page displayed when the answer type of the answer information is the second answer type, provided by an embodiment of the present disclosure;

[0040] FIG6 shows a schematic diagram of a search result page displayed when displaying sub-answer information provided by an embodiment of the present disclosure;

[0041] FIG7 shows a schematic diagram of a search result page displayed after answer information is triggered, according to an embodiment of the present disclosure;

[0042] FIG8 shows a schematic diagram of a search result display device provided by an embodiment of the present disclosure; and

[0043] FIG9 shows a schematic diagram of a computer device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0044] In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The components of the embodiments of the present disclosure generally described and shown here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure is not intended to limit the scope of the present disclosure for protection, but merely represents the selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present disclosure.

[0045] Research has found that when searching using search information, the videos found often contain content related to the search information. In one possible scenario, the relevant content may be text uploaded by the user rather than extracted from the video. In this case, it is difficult for users to determine the relevant playback location within the video based on the displayed text information, and then quickly navigate to the specific playback location to view video details.

[0046] Based on the above research, the present disclosure provides a search result display method. For the target video obtained through the search, the structured information that answers the search request is obtained through information extraction, and the video preview information and structured information of the target video are displayed at the same time. The structured information includes answer information, premise information corresponding to the answer information, and timestamp information corresponding to the premise information and the answer information in the target video. In this way, the user can intuitively understand the playback position of the relevant premise and answer they need in the video through the structured information, and then locate the specific playback position to watch the relevant video details. Therefore, the search result display method provided by the embodiment of the present disclosure can more conveniently and quickly obtain effective information.

[0047] The defects in the above solutions are the results obtained by the inventors after practice and careful research. Therefore, the process of discovering the above problems and the solutions proposed by this disclosure for the above problems below should be the contributions made by the inventors to this disclosure during the disclosure process.

[0048] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, it does not need to be further defined or explained in subsequent drawings.

[0049] To facilitate understanding of this embodiment, a search result display method disclosed in an embodiment of the present disclosure is first described in detail. The execution subject of the search result display method provided in the embodiment of the present disclosure is generally a computer device with certain computing capabilities. The computer device includes, for example, a terminal device or a server or other processing device. The terminal device can be a user equipment (UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (PDA), a handheld device, a computing device, an in-vehicle device, a wearable device, etc. In some possible implementations, the search result display method can be implemented by a processor calling computer-readable instructions stored in a memory.

[0050] The search result display method provided by the embodiment of the present disclosure is described below by taking the execution subject as a user end as an example.

[0051] FIG1 is a flowchart of a search result display method according to an embodiment of the present disclosure. The method includes steps S101 to S102, wherein:

[0052] S101: In response to a search request, obtain a preview resource of a target video that matches the search request; wherein the preview resource includes video preview information of the target video and structured information that answers the search request, wherein the structured information is information extracted from the target video, and the structured information includes at least premise information, answer information, and timestamp information of the premise information and the answer information corresponding to each other in the target video;

[0053] S102: Display the video preview information on a search result page, and display the structured information at a location associated with the video preview information.

[0054] The above S101 to S102 are described in detail below.

[0055] Regarding S101 above, when a user performs a search, they can send a search request by entering search information in the search box and triggering the search operation button. The search request includes search information, where the search information includes the search field and question title entered by the user. After receiving the search request, the server can determine a target video that matches the search information from multiple available videos based on the search information. The target video that matches the search information specifically includes a video that can serve as an answer to the question, including at least one of the video frames, voice, and text content selected from the multiple videos. Determining the target video from multiple videos using the search information can be performed online.

[0056] For the target video, there are also corresponding preview resources. Preview resources include video preview information, primarily displayed as images, and structured information that answers the search request, primarily displayed as text. The preview resources for the target video can be generated through online processing. For example, after determining the target video based on the search request, the target video is processed to obtain the preview resources. Alternatively, corresponding preview resources can be determined for the video after it is uploaded, so that when the video is displayed to the user as the target video, the corresponding preview resources can be directly displayed.

[0057] The video preview information can be any frame in the target video, such as the first frame, or can be determined in response to a user selecting multiple frames of the target video. Alternatively, other video frame images uploaded by the user can be used as the video preview information, and this is not limited here.

[0058] As for structured information, it is specifically extracted from the target video. For example, the target video can be processed by optical character recognition (OCR), speech recognition (ASR), etc. to obtain the text information included in the target video. By performing operations such as semantic recognition on the text information, the obtained text information can be classified into different parts such as premise information, answer information, concept definition information, and precaution information according to the search request. Among them, for search requests, most of the target videos obtained include premise information and answer information, so the following focuses on these two parts of information. For possible concept definition information and precaution information, they can be displayed in a similar way to the answer information.

[0059] Here, since the premise information and the answer information are specifically extracted from the target video, the extraction positions of the premise information and the answer information in the target video can also be obtained, specifically including, for example, corresponding timestamp information in the target video.

[0060] A possible example is provided for reference regarding a specific method for obtaining a preview resource for a target video that matches a search request. For example, if the search request corresponds to the question title "Heimlich Maneuver," after obtaining a target video that matches the search request, a preview resource for the target video can be determined. The preview resource includes the first frame of the target video. For the extracted text information, the premise information and the corresponding timestamp information in the target video are determined to include "for an adult patient who has just inhaled a foreign body" - "00:02"; the answer information and the corresponding timestamp information in the target video are determined to include "standing behind the patient, placing one foot between the patient's legs, and hugging the patient" - "00:14," "making a fist with the left hand, and grasping the left wrist with the right hand from the front" - "00:26," and "suddenly tightening both arms and applying strong pressure with the base of the left fist to the upper inner abdomen of the patient, forcing the upper abdomen to collapse" - "00:32."

[0061] In this way, after the matching target video is determined by using the search request, the various parts of the content included in the preview resource of the target video can be determined, and the preview resource can continue to be displayed.

[0062] In one possible case, for a search request, if multiple matching target videos can be determined, the multiple target videos obtained can be arranged and displayed, or one can be selected for display.

[0063] Among them, when arranging multiple target videos, they can be arranged according to the correlation between the structured information of each target video and the search request. Specifically, the correlation between the structured information of multiple target videos and the search request can be determined, and the multiple target videos can be sorted according to the correlation, and then the preview information of the target videos can be displayed in sequence according to the sorting results of the multiple target videos. Exemplarily, the correlation can be determined by the semantic similarity between the structured information and the search information corresponding to the search request, such as directly using the semantic similarity between the structured information and the search information as the correlation. When determining the correlation, the target videos to which the structured information with a higher correlation with the search information belongs can be arranged in front, and the target videos to which the structured information with a lower correlation belongs can be arranged in the back. Then, according to the sorting results obtained by the arrangement, the preview information of the target videos can be displayed in sequence.

[0064] When selecting a target video from multiple target videos for display, the above method can also be used to sort the multiple target videos, and the target video containing the structured information with the highest correlation with the search request can be selected from the multiple target videos for display.

[0065] Here, when there are multiple target videos, any display method can be selected based on actual needs. For example, a button can be provided to switch the display state, and the display format can be determined in response to the user triggering the display state button. Alternatively, it can be responsive to the device's network environment. For example, when acquiring and displaying information via data traffic, to reduce the amount of data transmitted, only one target video can be displayed; when acquiring and displaying information via a broadband network, multiple target videos can be displayed in a sorted order to display more information.

[0066] Regarding the above S102, after the preview information of the target video matching the search request is determined according to the above steps, the video preview information in the preview information can be displayed on the search results page, and the structured information can be displayed at the associated position of the video preview information.

[0067] In a specific implementation, when displaying video preview information and associating it with structured information, the following method can be used: display the video preview information in the first area of ​​the search results page, display each of the timestamp information in sequence in a second area adjacent to the first area, and display the premise information and answer information corresponding to the timestamp information at the corresponding position of each timestamp information.

[0068] Among them, different from the search page where the user inputs the question title, the search result page is used to display the preview resources of the obtained target video to the user. For example, see Figure 2, which is a schematic diagram of a search result page provided in an embodiment of the present disclosure. Among them, the search result page includes a first area and a second area, and the first area and the second area are adjacent. Here, the first area and the second area are selected to be displayed in a manner that they are horizontally adjacent in the search result page, so that the video preview information in the first area can be displayed together with the structured information. The user does not need to repeatedly drag vertically to view two different information. Fewer operations are required, which makes it easier for users to view and obtain information.

[0069] Taking the example provided in step S101 as an example, the video preview information of the target video is displayed in the first area, the timestamp information is displayed in the second area, and the corresponding premise information and answer information are displayed under each timestamp. Here, when displaying each timestamp information, it is displayed in the time sequence corresponding to the timestamp information, such as in the form of a timeline, so that the displayed information also has temporal coherence. Since the timestamp information corresponds to the premise information and the answer information, this can be achieved by displaying the premise information and the answer information at the corresponding position of the displayed timestamp information.

[0070] In one possible scenario, if the target video is not being played, the first displayed structured information and the corresponding timestamp information can be bolded to remind the user of the most recent information to be displayed in the target video. Additionally, the target video's title information can be displayed on the search results page, such as displaying the title "Heimlich Maneuver" in bold above the first area.

[0071] In addition, in the displayed structured information, there is a corresponding relationship between the premise information and the answer information. Specifically, the premise information includes at least one, and each premise can have corresponding at least one answer information. Therefore, when displaying the video preview information on the search results page and displaying the structured information at the associated position of the video preview information, the video preview information can be displayed in the first area of ​​the search results page, and the premise information and its corresponding timestamp information in the structured information can be displayed in sequence in the second area adjacent to the first area, and the corresponding at least one answer information and the timestamp information corresponding to each answer information can be displayed under each premise information.

[0072] The following describes different situations in which the premise information includes one or more items.

[0073] First, when there is only one piece of premise information, the premise information may correspond to multiple pieces of answer information. In this case, the video preview information can be displayed in the first area of ​​the search results page, and the premise information and its corresponding timestamp information can be displayed in a second area adjacent to the first area. Under the premise information, the multiple pieces of answer information and the timestamp information corresponding to each piece of answer information can be displayed in the order of the timestamps corresponding to the multiple pieces of answer information.

[0074] For example, see FIG3 , which is a schematic diagram of a search result page displayed when only one piece of premise information is included in an embodiment of the present disclosure. Corresponding to FIG2 above, there is only one piece of premise information, but the answer information is multiple steps, so there are multiple pieces, and the order of the steps is marked in the figure by numbers. In order to more intuitively show the correspondence between the premise information and the answer information, compared with FIG2 , FIG3 displays the premise information and the answer information in a form similar to a multi-level title, specifically using the premise information as the upper-level title and the corresponding answer information as the lower-level title, so as to be displayed in a staggered manner with the upper-level title.

[0075] Then, if there are multiple pieces of premise information, each piece of premise information may also correspond to multiple pieces of answer information. In this case, the video preview information can be displayed in the first area of ​​the search results page, and in a second area adjacent to the first area, each piece of premise information and its corresponding timestamp information can be displayed in sequence according to the time stamp of each piece of premise information. Under each piece of premise information, each piece of answer information and its corresponding timestamp information can be displayed in sequence according to the time stamp of each piece of answer information.

[0076] For example, if the question title corresponding to the search request is "How to lose weight effectively", the structured information determined in the target video obtained may include, for example, two premises and two answer information corresponding to each premise. The first premise information may be, for example, "For people with a larger base weight", and the corresponding timestamp information is "00:02", and the corresponding two answer information may be, for example, "Eat small meals frequently" and "Simple aerobic exercise", and the corresponding timestamp information is "00:04" and "00:06" respectively; the second premise information may be, for example, "For people with a smaller base weight", and the corresponding timestamp information is "00:10", and the corresponding two answer information may be, for example, "Eat more low-calorie foods" and "Increase aerobic exercise", and the corresponding timestamp information is "00:12" and "00:16" respectively.

[0077] Accordingly, referring to FIG4 , a schematic diagram of a search result page displayed when multiple premise information is included is provided for an embodiment of the present disclosure. Compared with FIG3 , since there are multiple premise information, each premise information and the multiple answer information corresponding to each premise information are displayed in a multi-level title manner. In this way, since the display is carried out in a hierarchical manner, the displayed information can be made more logical, avoiding the logical confusion in the case of many-to-many premise information and answer information, thereby enabling users to more easily find the displayed multiple premise information and enabling users to more easily obtain the corresponding multiple answer information from each premise.

[0078] In addition, when displaying structured information at the associated position of the video preview information, in addition to utilizing the correspondence between the premise information and the answer information for display, the display form of each premise information and the corresponding answer information can also be determined based on the answer type of the answer information corresponding to each premise information, so as to display each premise information and the corresponding answer information based on the display form at the associated position of the video preview information.

[0079] In a specific implementation, when determining the answer type of the answer information corresponding to each of the premise information, the following method can be used: if the answer information contains multiple step information corresponding to the search request, the answer type is determined to be the first answer type, that is, the step-type answer type; each of the partial answer information corresponds to one step information; or, if the answer information contains multiple parts of answer information corresponding to the search request, and each part of the answer information contains multiple parts of sub-answer information, the answer type is determined to be the second answer type, that is, the multi-level answer type.

[0080] For example, in the case where the search request corresponding to the question titled "Heimlich Maneuver" is described above, the multiple answer information obtained using the target video represents multiple consecutive steps. Therefore, each answer information can be used as the multiple step information corresponding to the search request. In this case, the answer information can be determined to be of the first answer type. Accordingly, the premise information and the answer information of the first answer type can be displayed in a single-level display format.

[0081] In a specific implementation, when the answer type of the answer information is the first answer type, when displaying each of the premise information and the corresponding answer information based on the display form at the associated position of the video preview information, the following method can be adopted: at the associated position of the video preview information, the timestamp information of each of the premise information and the corresponding answer information is displayed in the order of the timestamps corresponding to each of the premise information and each part of the answer information.

[0082] Here, the structured information corresponding to the target video "Heimlich Maneuver" is displayed in a single-level format, so it can be displayed in either the format shown in Figure 2 or Figure 3. In other words, the display of answer information in Figures 2 and 3 both fall under the single-level display format.

[0083] In addition, the structured information may also include multiple parts of answer information, and each part of the answer information also contains multiple parts of sub-answer information. For example, for the question title corresponding to the search request is "What is a suitable meal in a day", the structured information obtained after determining the target video includes, for example, two different premise information, including "What to eat for children" and "What to eat for adults", and the corresponding timestamps are "00:00" and "01:00" respectively. Taking the premise information of "What to eat for children" as an example, it can first correspond to four parts of answer information, including "breakfast", "lunch", "snacks", and "dinner", and the corresponding timestamps are "00:02", "00:12", "00:22", and "00:32" respectively. The answer information for "breakfast" also includes two sub-answers, such as "cereal bread" and "oatmeal milk," with corresponding timestamps of "00:04" and "00:08," respectively. The answer information for "lunch" may also include two sub-answers, such as "stir-fried vegetables" and "tomato and egg noodles," with corresponding timestamps of "00:14" and "00:18," respectively. In this case, the answer information can be determined to be of the second answer type. Accordingly, the premise information and the second answer type can be displayed in a multi-level format.

[0084] In a specific implementation, when the answer type of the answer information is the second answer type, when displaying each of the premise information and the corresponding answer information based on the display form at the associated position of the video preview information, the following method can be adopted: display the answer information of each part at the associated position of the video preview information; in response to the trigger operation for any of the answer information, display multiple sub-answer information corresponding to the answer information.

[0085] Exemplarily, referring to FIG5 , a schematic diagram of a search result page displayed when the answer type of the answer information is the second answer type is provided in an embodiment of the present disclosure. For the second area in the search result page, after displaying each premise information and the corresponding timestamp information, the answer information of each part can be associated and displayed under each premise information. For example, under the premise information “What to eat for children”, the corresponding four answer information “breakfast”, “lunch”, “snack”, and “dinner” are displayed. Since the answer level of the answer information also includes another answer level, and the answer information and sub-answer information of the two answer levels are displayed together, there will be redundancy in the displayed information. Therefore, the answer information with sub-answer information under the next answer level can be identified by an expansion symbol.

[0086] For sub-answer information that is not directly displayed under the answer information, in response to a triggering operation on any answer information, the sub-answer information under the answer information can be displayed. Specifically, when displaying the sub-answer information, it can be displayed on the search result page where the answer information is displayed, or a new window can be popped up for display.

[0087] For example, see Figure 6, which is a schematic diagram of a search result page displayed when displaying sub-answer information according to an embodiment of the present disclosure. Figure 6 (a) shows a schematic diagram of the search result display page shown in Figure 5, where the sub-answer information is displayed in an expanded manner. Compared to the display symbol in Figure 5, the expand symbol for the answer information that triggers the display of the sub-answer information changes to a collapse symbol.

[0088] For the display method shown in (a) in Figure 6, it supports displaying the sub-answer information corresponding to multiple answer information in the search results page. This method does not require providing a new page for display, and the page is relatively neat, and the user does not need to repeatedly operate on multiple interfaces. However, due to the limited display space in the second area, when displaying the sub-answer information under multiple answer information, only a limited number of answer information or sub-answer information can be displayed. In addition, if the number of sub-answer information of a certain answer information is large, since other premise information and answer information also need to be displayed in the second area, it may not be possible to fully display the sub-answer information under one answer information.

[0089] Therefore, another display method is also provided in the embodiment of the present disclosure, as shown in (b) in Figure 6, the sub-answer information under the answer information triggered by the user can be displayed in a small window page on the search results page. In this way, a new small window page can be used to provide a larger display space so that the sub-answer information under the answer information can be fully displayed. In addition, since the display space is large, the corresponding video frame image in the target video can also be displayed during the display, making the display content richer. For example, at the associated position of a sub-answer information in Figure 6 (b), the corresponding video frame image in the target video is displayed.

[0090] In addition, for the answer information, or the sub-answer information under the answer information, other related information, such as product information, etc. can also be displayed in association. Specifically, when obtaining the structured information in the preview resource, the recommended information associated with the search request can also be obtained, such as the product information or other information described above. For example, in the case where the question title corresponding to the search request is "What is suitable to eat in a day", the recommended information associated with the search request is, for example, product information corresponding to various foods, or a cooking instruction video. In this way, when the premise information and answer information corresponding to the timestamp information are displayed at the corresponding position of each timestamp information, the recommended information associated with the search request and the answer information can also be displayed under at least one answer information. For example, at the associated position of a sub-answer information shown in Figure 6 (b), the corresponding recommended information is displayed, including the product information of the boxed milk corresponding to the oat milk involved in the sub-answer information, specifically including the product picture, product name, product price, and product purchase link of the boxed milk.

[0091] In this way, different display methods are used for answer information of different answer types, which is more organized than directly stacking the information, making the displayed information more logical and easier for users to obtain information from it.

[0092] In addition, for the premise information or any part of the answer information in the displayed structured information, in response to a triggering operation on any of the information, the target video can be played starting from the corresponding timestamp position. Alternatively, in response to a triggering operation on the timestamp information, the target video can be played starting from the position indicated by the timestamp information in the target video.

[0093] In a specific implementation, since the amount of premise information and answer information displayed may be large, and the step information or multiple parts of information contained in the target video that answer the search information corresponding to the search request can be directly displayed to the user through the text information display method. Therefore, the user may only need to watch the corresponding part of the target video for the information that he or she is more interested in among the displayed premise information and answer information. In this case, by triggering the information of interest, the position corresponding to the information of interest in the target video can be played starting from the corresponding timestamp position, avoiding the situation where the user needs to watch the entire video to obtain the information of interest, and the user does not need to manually adjust the progress bar, so the information of interest can be displayed to the user more conveniently and quickly.

[0094] For example, see Figure 7, which illustrates a search result page displayed after triggering an answer message according to an embodiment of the present disclosure. Specifically, the sub-answer "grain bread" corresponding to the timestamp 00:04 in the second area is triggered. Accordingly, the timestamp and sub-answer information are displayed in bold in the second area. In the first area, the target video jumps to the timestamp position and plays, for example, a video frame containing grain bread is currently being displayed.

[0095] Those skilled in the art will understand that in the above-mentioned method of the specific implementation method, the writing order of each step does not mean a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.

[0096] Based on the same inventive concept, the embodiment of the present disclosure also provides a search result display device corresponding to the search result display method. Since the principle of solving the problem by the device in the embodiment of the present disclosure is similar to the above-mentioned search result display method in the embodiment of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0097] 8 , which is a schematic diagram of a search result display device provided by an embodiment of the present disclosure, the device includes: an acquisition module 81 and a display module 82; wherein,

[0098] An acquisition module 81 is configured to, in response to a search request, acquire a preview resource of a target video that matches the search request; wherein the preview resource includes video preview information of the target video and structured information that answers the search request, wherein the structured information is information extracted from the target video and includes at least premise information, answer information, and timestamp information of the premise information and the answer information corresponding to each other in the target video;

[0099] The display module 82 is configured to display the video preview information on the search result page and to display the structured information at a location associated with the video preview information.

[0100] In an optional embodiment, when the display module 82 displays the video preview information on the search results page and displays the structured information at an associated position of the video preview information, it is used to: display the video preview information in a first area of ​​the search results page, display each of the timestamp information in sequence in a second area adjacent to the first area, and display the premise information and answer information corresponding to the timestamp information at a corresponding position of each of the timestamp information.

[0101] In an optional embodiment, the premise information includes at least one, and each premise information corresponds to at least one answer information; when the display module 82 displays the video preview information on the search results page and displays the structured information at an associated position of the video preview information, it is used to: display the video preview information in a first area of ​​the search results page, display each premise information and its corresponding timestamp information in the structured information in sequence in a second area adjacent to the first area, and display at least one corresponding answer information and the timestamp information corresponding to each answer information under each premise information.

[0102] In an optional embodiment, when the display module 82 displays the video preview information on the search results page and displays the structured information at an associated position of the video preview information, it is used to: when the structured information includes one premise information and multiple answer information, display the video preview information in a first area of ​​the search results page, display the premise information and its corresponding timestamp information in a second area adjacent to the first area, and under the premise information, display the multiple answer information and the timestamp information corresponding to each answer information in sequence according to the chronological order of the timestamps corresponding to the multiple answer information; when the structured information includes multiple premise information and each premise information corresponds to multiple answer information, display the video preview information in the first area of ​​the search results page, display each premise information and its corresponding timestamp information in a second area adjacent to the first area, and under each premise information, display each answer information under the premise information and the timestamp information corresponding to each answer information in sequence according to the chronological order of the timestamps of the respective answer information.

[0103] In an optional embodiment, when the display module 82 displays the structured information at the associated position of the video preview information, it is used to: determine the display form of each of the premise information and the corresponding answer information based on the answer type of the answer information corresponding to each of the premise information; and display each of the premise information and the corresponding answer information based on the display form at the associated position of the video preview information.

[0104] In an optional embodiment, the answer type of the answer information corresponding to each of the premise information is determined according to the following method: if the target video contains multiple step information corresponding to the search request, the answer type is determined to be the first answer type; each of the answer information corresponds to one step information; or, if the target video contains multiple parts of answer information corresponding to the search request, and each part of the answer information contains multiple parts of sub-answer information, the answer type is determined to be the second answer type.

[0105] In an optional embodiment, in response to the answer type being the first answer type, the display module 82 displays each of the premise information and the corresponding answer information based on the display form at the associated position of the video preview information, and is used to: display the timestamp information of each of the premise information and the corresponding answer information at the associated position of the video preview information in the order of the timestamps corresponding to each of the premise information and each part of the answer information.

[0106] In an optional embodiment, in response to the answer type corresponding to the answer information being the second answer type, the display module 82 displays each of the premise information and the corresponding answer information at the associated position of the video preview information based on the display form, and is used to: display each part of the answer information at the associated position of the video preview information; and display multiple sub-answer information corresponding to the answer information in response to a trigger operation for any of the answer information.

[0107] In an optional embodiment, the structured information also includes recommended information associated with the search request; when the display module 82 displays the structured information at the associated position of the video preview information, it is used to: display the premise information and answer information corresponding to the timestamp information at the corresponding position of each timestamp information, and display the recommended information associated with the search request and the answer information under at least one answer information.

[0108] In an optional embodiment, the search result display device also includes a first processing module 83, which is used to: in response to a trigger operation on the premise information or any part of the answer information in the structured information, play the target video starting from the timestamp position corresponding to the premise information or any part of the answer information.

[0109] In an optional embodiment, in response to the target videos including multiple ones, the search result display device further includes a second processing module 84, which is used to: determine the correlation between the structured information of the multiple target videos and the search request, and sort the multiple target videos according to the correlation; when the display module 82 displays the video preview information and displays the structured information at the associated position of the video preview information, it is used to: display the video preview information of each target video in turn according to the sorting results of the multiple target videos, and display the structured information at the associated position of the video preview information.

[0110] For descriptions of the processing flow of each module in the device and the interaction flow between each module, reference can be made to the relevant descriptions in the above method embodiment, which will not be described in detail here.

[0111] The present disclosure also provides a computer device, as shown in FIG9 , which is a schematic diagram of the structure of the computer device provided by the present disclosure, including:

[0112] A processor 10 and a memory 20; the memory 20 stores machine-readable instructions executable by the processor 10, and the processor 10 is configured to execute the machine-readable instructions stored in the memory 20. When the machine-readable instructions are executed by the processor 10, the processor 10 performs the following steps:

[0113] In response to a search request, a preview resource of a target video matching the search request is obtained; wherein the preview resource includes video preview information of the target video and structured information that answers the search request, the structured information being information extracted from the target video, the structured information including at least premise information, answer information, and timestamp information corresponding to the premise information and the answer information in the target video; the video preview information is displayed on a search results page, and the structured information is displayed at an associated position with the video preview information.

[0114] The above-mentioned memory 20 includes internal memory 210 and external memory 220; the memory 210 here is also called internal memory, which is used to temporarily store the calculation data in the processor 10, as well as the data exchanged with the external memory 220 such as the hard disk. The processor 10 exchanges data with the external memory 220 through the internal memory 210.

[0115] The specific execution process of the above instructions can refer to the steps of displaying search results described in the embodiments of this disclosure, and will not be repeated here.

[0116] The present disclosure also provides a computer-readable storage medium having a computer program stored thereon. When executed by a processor, the computer program executes the steps of displaying search results described in the above method embodiment. The storage medium may be a volatile or non-volatile computer-readable storage medium.

[0117] The embodiments of the present disclosure further provide a computer program product, which carries program code. The instructions included in the program code can be used to execute the steps of displaying search results described in the above method embodiments. For details, please refer to the above method embodiments and will not be repeated here.

[0118] The computer program product may be implemented in hardware, software, or a combination thereof. In one embodiment, the computer program product is implemented as a computer storage medium. In another embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).

[0119] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems and devices described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0120] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of the solution of this embodiment according to actual needs.

[0121] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0122] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present disclosure or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0123] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The scope of protection of the present disclosure is not limited thereto. Although the present disclosure has been described in detail with reference to the above-described embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily conceive of changes to the technical solutions described in the above-described embodiments within the technical scope disclosed in the present disclosure, or replace some of the technical features therein with equivalents. Such modifications, changes, or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure shall be subject to the scope of protection of the claims.

Claims

1. A search result display method, comprising: In response to a search request, a preview resource of a target video matching the search request is obtained; wherein the preview resource includes video preview information of the target video and structured information that answers the search request, wherein the structured information is information extracted from the target video, and the structured information includes at least premise information, answer information, and timestamp information of the premise information and the answer information in the target video respectively corresponding to each other; The video preview information is displayed on a search result page, and the structured information is displayed at a location associated with the video preview information.

2. The search result display method according to claim 1, wherein: Displaying the video preview information on the search result page, and displaying the structured information at a location associated with the video preview information, including: The video preview information is displayed in a first area of ​​the search result page, each of the timestamp information is displayed in sequence in a second area adjacent to the first area, and premise information and answer information corresponding to each of the timestamp information is displayed at a corresponding position of each of the timestamp information.

3. The search result display method according to claim 2, wherein: The premise information includes at least one, and each premise information corresponds to at least one answer information; Displaying the video preview information on the search result page, and displaying the structured information at a location associated with the video preview information, including: The video preview information is displayed in the first area of ​​the search result page, and each of the premise information and its corresponding timestamp information in the structured information is displayed in sequence in the second area adjacent to the first area, and at least one corresponding answer information and the timestamp information corresponding to each of the answer information are displayed under each of the premise information.

4. The search result display method according to claim 2 or 3, wherein: Displaying the video preview information on the search result page, and displaying the structured information at a location associated with the video preview information, including: In the case where the structured information includes one premise information and multiple answer information, the video preview information is displayed in the first area of ​​the search result page, the premise information and its corresponding timestamp information are displayed in the second area adjacent to the first area, and under the premise information, the multiple answer information and the timestamp information corresponding to each of the answer information are displayed in sequence according to the order of the timestamps corresponding to the multiple answer information; In the case where the structured information includes multiple premise information and each premise information corresponds to multiple answer information, the video preview information is displayed in the first area of ​​the search result page, and in the second area adjacent to the first area, each premise information and its corresponding timestamp information are displayed in sequence according to the chronological order of the timestamps of each premise information, and under each premise information, each answer information under each premise information and the timestamp information corresponding to each answer information are displayed in sequence according to the chronological order of the timestamps of each answer information.

5. The search result display method according to any one of claims 1 to 4, wherein: The displaying of the structured information at a location associated with the video preview information includes: Determine the display format of each of the premise information and the corresponding answer information based on the answer type of the answer information corresponding to each of the premise information; At the associated position of the video preview information, each of the premise information and the corresponding answer information is displayed based on the display form.

6. The search result display method according to claim 5, wherein: The answer type of the answer information corresponding to each of the premise information is determined according to the following method: If the target video contains multiple step information corresponding to the search request, determining that the answer type is a first answer type; each answer information corresponds to one step information; or, If the target video contains multiple parts of answer information corresponding to the search request, and each part of the answer information contains multiple parts of sub-answer information, it is determined that the answer type is the second answer type.

7. The search result display method according to claim 6, wherein: In response to the answer type being the first answer type, displaying each of the premise information and the corresponding answer information based on the display form at the associated position of the video preview information includes: At the associated position of the video preview information, the timestamp information of each piece of the premise information and the corresponding answer information is displayed in the order of the timestamps corresponding to each piece of the premise information and each piece of the answer information.

8. The search result display method according to claim 6, wherein: In response to the answer type corresponding to the answer information being the second answer type, displaying each of the premise information and the corresponding answer information based on the display form at the associated position of the video preview information includes: Displaying answer information of each part at the associated position of the video preview information; In response to a triggering operation for any of the answer information, multiple sub-answer information corresponding to any of the answer information is displayed.

9. The search result display method according to any one of claims 1 to 8, wherein: The structured information also includes recommendation information associated with the search request; Displaying the structured information at a location associated with the video preview information includes: The premise information and answer information corresponding to each of the timestamp information are displayed at the corresponding position of each of the timestamp information, and the recommended information associated with the search request and the answer information is displayed under at least one of the answer information.

10. The search result display method according to any one of claims 1 to 9, further comprising: In response to a triggering operation on the premise information or any part of the answer information in the structured information, the target video is played starting from the timestamp position corresponding to the premise information or any part of the answer information.

11. The search result display method according to any one of claims 1 to 10, wherein: In response to the target video comprising a plurality of videos, the method further comprises: Determining the relevance between the structured information of the plurality of target videos and the search request, and sorting the plurality of target videos according to the relevance; The displaying of the video preview information and displaying the structured information at a location associated with the video preview information includes: According to the sorting results of the plurality of target videos, the video preview information of each target video is displayed in sequence, and the structured information is displayed at a related position of the video preview information.

12. A search result display device, comprising: An acquisition module is configured to, in response to a search request, acquire a preview resource of a target video matching the search request; wherein the preview resource includes video preview information of the target video and structured information that answers the search request, wherein the structured information is information extracted from the target video, and the structured information includes at least premise information, answer information, and timestamp information of the premise information and the answer information in the target video respectively corresponding to each other; The display module is configured to display the video preview information on the search result page and display the structured information at a location associated with the video preview information.

13. 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. When the machine-readable instructions are executed by the processor, the processor executes the search result display method according to any one of claims 1 to 11.

14. A computer-readable storage medium, wherein: The computer-readable storage medium stores a computer program. When the computer program is executed by a computer device, the computer device executes the search result display method according to any one of claims 1 to 11.