WO2023246384A1 - 搜索结果展示方法、装置、计算机设备及存储介质 - Google Patents

搜索结果展示方法、装置、计算机设备及存储介质 Download PDF

Info

Publication number
WO2023246384A1
WO2023246384A1 PCT/CN2023/094760 CN2023094760W WO2023246384A1 WO 2023246384 A1 WO2023246384 A1 WO 2023246384A1 CN 2023094760 W CN2023094760 W CN 2023094760W WO 2023246384 A1 WO2023246384 A1 WO 2023246384A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
answer
video
displayed
premise
Prior art date
Application number
PCT/CN2023/094760
Other languages
English (en)
French (fr)
Other versions
WO2023246384A9 (zh
Inventor
林雅婷
王艳丽
杨国花
乔超
吕诚
黄冬瑾
李童俊
高玉泉
沈冰儿
Original Assignee
抖音视界(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 抖音视界(北京)有限公司 filed Critical 抖音视界(北京)有限公司
Publication of WO2023246384A1 publication Critical patent/WO2023246384A1/zh
Publication of WO2023246384A9 publication Critical patent/WO2023246384A9/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/78Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/7867Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title and artist information, manually generated time, location and usage information, user ratings
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying
    • G06F16/738Presentation of query results

Definitions

  • Embodiments of the present disclosure relate to a search result display method, device, computer equipment and storage medium.
  • Embodiments of the present disclosure provide at least a search result display method, device, computer equipment, and storage medium.
  • an embodiment of the present disclosure provides a method for displaying search results, including: in response to a search request, obtaining a preview resource of a target video that matches the search request; wherein the preview resource includes a preview resource of the target video.
  • the structured information is information extracted from the target video.
  • the structured information at least includes premise information, answer information, and the premise information. Timestamp information respectively corresponding to the answer information in the target video; displaying the video preview information on the search results page, and displaying the structured information at an associated position of the video preview information.
  • displaying the video preview information on the search results page and displaying the structured information at an associated position of the video preview information includes: displaying the video preview information in the first area of the search results page.
  • the video preview information is sequentially displayed in the second area adjacent to the first area.
  • Each of the timestamp information is displayed, and the premise information and answer information corresponding to the timestamp information are displayed at the corresponding position of each of the timestamp information.
  • the prerequisite information includes at least one, and each prerequisite information corresponds to at least one answer information;
  • the video preview information is displayed on the search results page, and the video preview information is displayed at an associated position of the video preview information.
  • Displaying the structured information at various places includes: displaying the video preview information in the first area of the search results page, and sequentially displaying each of the prerequisites in the structured information in the second area adjacent to the first area. information and its corresponding timestamp information, and displays corresponding at least one answer information and the timestamp information corresponding to each of the answer information under each of the premise information.
  • displaying the video preview information on the search results page and displaying the structured information at a position associated with the video preview information includes: including a premise in the structured information In the case of information and multiple answer information, the video preview information is displayed in the first area of the search results page, and the prerequisite information and its corresponding time are displayed in the second area adjacent to the first area.
  • Stamp information 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; in the
  • 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 the video preview information is displayed in the first area adjacent to the first area.
  • the adjacent second area displays each of the premise information and its corresponding timestamp information in sequence according to the order of the timestamp of each premise information, and under each of the premise information, according to the time stamp of each answer information In order, each answer information under the premise information and the timestamp information corresponding to each answer information are displayed in sequence.
  • displaying the structured information at the associated position of the video preview information includes: determining each of the premise information based on the answer type of the answer information corresponding to each of the premise information.
  • the answer type of the answer information corresponding to each of the prerequisite information is determined in the following manner: if the target video contains multiple step information corresponding to the search request, determine 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 The answer information contains multiple parts of sub-answer information. Make sure The answer type is defined as the second answer type.
  • each of the prerequisite information and the corresponding prerequisite information are displayed based on the presentation form.
  • the answer information includes: displaying 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 the answer information of each part. timestamp information.
  • each of the prerequisite information is displayed based on the presentation form at the associated position of the video preview information. and corresponding answer information, 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.
  • the structured information also includes recommendation information associated with the search request; displaying the structured information at an associated position of the video preview information includes: in each Prerequisite information and answer information corresponding to the timestamp information are displayed at the corresponding position of the timestamp information, and recommendation information associated with the search request and the answer information is displayed under at least one answer information.
  • the method further includes: in response to a triggering operation for the premise information or any part of the answer information in the structured information, from the timestamp position corresponding to the premise information or any part of the answer information. Start by playing the target video.
  • the method in response to the target video including multiple target videos, the method further includes: determining the degree of correlation between the structured information of the multiple target videos and the search request, and performing the search request according to the Sorting a plurality of the target videos according to the correlation degree; displaying the video preview information and displaying the structured information at an associated position of the video preview information includes: according to the plurality of target videos As a result of sorting, the video preview information of each target video is displayed in sequence, and the structured information is displayed at the associated position of the video preview information.
  • embodiments of the present disclosure also provide a search result display device, including: an acquisition module, configured to respond to a search request and acquire preview resources of a target video matching the search request; wherein the preview resources include Video preview information of the target video, and structured information that answers the search request.
  • the structured information is information extracted from the target video.
  • the structured information at least includes premise information, answer information, and said prerequisite information and said answers timestamp information corresponding to the information in the target video; a display module configured to display the video preview information on the search results page, and display the structured information at an associated position of the video preview information.
  • the display module 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 configured to: on the search results page
  • the video preview information is displayed in the first area
  • each of the timestamp information is displayed in sequence in the second area adjacent to the first area
  • the time is displayed at the corresponding position of each timestamp information. Poke the premise information and answer information corresponding to the information.
  • the prerequisite information includes at least one, and each prerequisite information corresponds to at least one answer information;
  • the display module displays the video preview information on the search results page, and displays the video preview information on the video preview
  • the structured information is displayed at the relevant position of the information, it is used to: display the video preview information in the first area of the search results page, and sequentially display the structured information in the second area adjacent to the first area.
  • Each of the prerequisite information and its corresponding timestamp information in the information, and the corresponding at least one answer information and the timestamp information corresponding to each of the answer information are displayed under each of the prerequisite information.
  • the display module 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 configured to: When the information includes one premise information and multiple answer information, the video preview information is displayed in the first area of the search results page, and the premise is displayed in the second area adjacent to the first area. information and its corresponding timestamp information, and under the premise information, according to the order of the timestamps corresponding to the multiple answer information, the multiple answer information and the corresponding timestamps of each of the answer information are displayed in sequence.
  • Timestamp 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, and
  • the second area adjacent to the first area displays each of the prerequisite information and its corresponding timestamp information in sequence according to the order of the timestamp of each prerequisite information, and under each of the prerequisite information, according to the order of each prerequisite information,
  • the order of the timestamps of the answer information sequentially displays each answer information under the premise information and the timestamp information corresponding to each answer information.
  • the display module when the display module displays the structured information at the associated position of the video preview information, it is configured to: based on the answer information corresponding to each of the premise information.
  • the answer type determines the display form of each of the premise information and the corresponding answer information; at the associated position of the video preview information, displays each of the premise information and the corresponding answer information based on the display form.
  • the answer type of the answer information corresponding to each of the prerequisite information is determined in the following manner: if the target video contains multiple step information corresponding to the search request, determine The answer type is a first answer type; each part of the answer information corresponds to one of the step information; or, if the target video contains multiple parts of answer information corresponding to the search request, and each The answer information of one part contains sub-answer information of multiple parts, and the answer type is determined to be the second answer type.
  • the display module in response to the answer type being the first answer type, displays each of the prerequisite information and the prerequisite information based on the display form at the associated position of the video preview information.
  • the corresponding answer information is used to: display each of the prerequisite 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 prerequisite information and the answer information of each part.
  • the timestamp information of the corresponding answer information is used to: display each of the prerequisite 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 prerequisite information and the answer information of each part.
  • the display module in response to the answer type corresponding to the answer information being the second answer type, displays each of the video preview information based on the display form at the associated position of the video preview information. Prerequisite information and corresponding answer information are used to: display the answer information of each part at the associated position of the video preview information; in response to a trigger operation for any of the answer information, display multiple sub-sections corresponding to the answer information. Answer information.
  • the structured information also includes recommendation information associated with the search request; the display module displays the information corresponding to the timestamp information at the corresponding position of the timestamp information.
  • premise information and answer information 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 search request under at least one answer information. and the recommended information associated with the answer information.
  • the search result display device further includes a first processing module configured to: in response to a triggering operation for the premise information or any part of the answer information in the structured information, from the premise Starting from the timestamp position corresponding to the information or any part of the answer information, the target video is played.
  • the search result display device in response to the target video including multiple target videos, further includes a second processing module configured to: determine structured information of multiple target videos. and the search request, and sorts multiple target videos according to the correlation; the display module displays the video preview information, and displays the video preview information at the associated position of the video preview information When displaying the structured information, it is used to: display the video preview information of each target video in sequence according to the sorting results of multiple target videos, and display the video preview information at an associated position of the video preview information Structured information.
  • a second processing module configured to: determine structured information of multiple target videos. and the search request, and sorts multiple target videos according to the correlation; the display module displays the video preview information, and displays the video preview information at the associated position of the video preview information When displaying the structured information, it is used to: display the video preview information of each target video in sequence according to the sorting results of multiple target videos, and display the video preview information at an associated position of the video preview information Structured information.
  • an optional implementation manner of the present disclosure also provides a computer device, a processor, and a memory.
  • the memory stores machine-readable instructions executable by the processor, and the processor is configured to execute the instructions stored in the memory.
  • Machine-readable instructions when the machine-readable instructions are executed by the processor, when the machine-readable instructions are executed by the processor, the above-mentioned first aspect, or any possible implementation of the first aspect, is executed. steps in the way.
  • an optional implementation manner of the present disclosure also provides a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program. When the computer program is run, it executes the above-mentioned first aspect, or any of the first aspects. steps in a possible implementation.
  • Embodiments of the present disclosure provide a search result display method, device, computer equipment and storage medium.
  • structured information that answers the search request is obtained through information extraction, and a video preview of the target video is 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 view the structured information through the structured information. Understand the playing position of the relevant premise and answer you need in the video, and then locate the specific playing position to watch the relevant video details. Therefore, the search result display method provided by the embodiments of the present disclosure can more conveniently obtain effective information quickly.
  • Figure 1 shows a flow chart of a search result display method provided by an embodiment of the present disclosure
  • Figure 2 shows a schematic diagram of a search results page provided by an embodiment of the present disclosure
  • Figure 3 shows a schematic diagram of a search result page displayed when only one prerequisite information is included according to an embodiment of the present disclosure
  • Figure 4 shows a schematic diagram of a search result page displayed when the prerequisite information includes multiple pieces of information provided by an embodiment of the present disclosure
  • Figure 5 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
  • Figure 6 shows a schematic diagram of a search result page displayed when sub-answer information is displayed according to an embodiment of the present disclosure
  • Figure 7 shows a schematic diagram of a search results page displayed after triggering answer information provided by an embodiment of the present disclosure
  • Figure 8 shows a schematic diagram of a search result display device provided by an embodiment of the present disclosure.
  • FIG. 9 shows a schematic diagram of a computer device provided by an embodiment of the present disclosure.
  • searchable videos usually contain content information related to the search information.
  • the relevant The content information can be text information uploaded by the user rather than extracted from the video.
  • the present disclosure provides a search result display method.
  • 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 view the structured information through the structured information. Understand the playing position of the relevant premise and answer you need in the video, and then locate the specific playing position to watch the relevant video details. Therefore, the search result display method provided by the embodiments of the present disclosure can more conveniently obtain effective information quickly.
  • the execution subject of the search result display method provided by an 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 (User Equipment, UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (Personal Digital Assistant, PDAs), handheld devices, computing devices, vehicle-mounted devices, wearable devices, etc.
  • the search result display method can be implemented by the processor calling computer-readable instructions stored in the memory.
  • the search result display method provided by the embodiment of the present disclosure is explained below by taking the execution subject as the client as an example.
  • FIG. 1 a flow chart of a method for displaying search results provided by an embodiment of the present disclosure is shown.
  • the method includes steps S101 to S102, wherein:
  • S101 In response to the search request, obtain preview information of the target video matching the search request. source; wherein, the preview resource includes video preview information of the target video, and structured information that answers the search request, where the structured information is information extracted from the target video, and the structured information includes at least premise information, answer information, and timestamp information corresponding to the premise information and the answer information in the target video;
  • S102 Display the video preview information on the search results page, and display the structured information at a position associated with the video preview information.
  • the user terminal when the user performs a search, by entering search information in the search box and triggering the search operation button, the user terminal can send a search request.
  • the search request includes search information, where the search information includes the search field, question title, etc. entered by the user.
  • the server After the server receives the search request, it can determine the target video that matches the search information from multiple available videos based on the search information in it.
  • the target video that matches the search information specifically includes videos filtered out from multiple videos. A video with at least one frame, voice, text content, etc. that can be used as the answer to the question.
  • online processing can be used.
  • the preview resources include video preview information that is mainly displayed on the screen, and structured information that answers the search request that is mainly displayed on text.
  • the preview resources of the target video can be processed online. For example, after the target video is determined based on the search request, the target video is processed to obtain the preview resources.
  • a corresponding preview resource may be determined for the video after the video is uploaded, so that when the video is displayed to the user as a target video, the preview resource corresponding to the video may be directly displayed.
  • the video preview information may be any video frame in the target video, such as the first video frame, or may be determined in response to the user's selection operation of multiple video frames of the target video.
  • other video frame images uploaded by the user may also be used as video preview information, which is not limited here.
  • For structured information it is specifically extracted from the target video.
  • optical character recognition Optical Character Recognition, OCR
  • speech recognition Automatic Speech Recognition, ASR
  • the target video By performing operations such as semantic recognition on text information, the obtained text information can be classified into prerequisite information, answer information, concept definition information, and precautions information based on the search request. Different parts of etc. Among them, for search requests, most of the target videos obtained include prerequisite information and answer information, so the following will focus on these two parts of information. Possible concept definition information and precautions information can be displayed in a manner similar to the answer information.
  • 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.
  • the preview resource includes the first video frame image of the target video.
  • the premise information and the corresponding timestamp information in the target video including "For adult patients who have just inhaled foreign bodies"-"00:02"; determine the answer information and the corresponding timestamp information in the target video.
  • each part of the content contained in the preview resource of the target video can be determined, and the preview resource can continue to be displayed.
  • the multiple target videos obtained can be arranged and displayed, or one of them can be selected for display.
  • the arrangement may be based on the correlation between the structural information of each target video and the search request.
  • the correlation between the structured information of multiple target videos and the search request can be determined, the multiple target videos can be sorted according to the correlation, and then the multiple target videos can be sorted according to the ranking.
  • the preview information of the target video is displayed in sequence.
  • the semantic similarity between the structured information and the search information corresponding to the search request can be used to determine the correlation degree, for example, the semantic similarity between the structured information and the search information can be directly used as the correlation degree.
  • the target videos belonging to the structured information with a higher relevance to the search information can be arranged earlier, and the target videos belonging to the structured information with a lower relevance can be arranged later. Then, according to the sorting results obtained by the arrangement, the target video is sequentially Preview information for display.
  • the display state button can also respond to the network environment of the device. For example, when obtaining and displaying information through data traffic, in order to reduce the amount of transmitted data, you can choose to display only one target video; when obtaining and displaying information through a broadband network, Multiple target videos can be displayed in order to display more information.
  • 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.
  • the video preview information is displayed in the first area of the search results page, and the video preview information is displayed in the first area adjacent to the first area.
  • the second area displays each of the timestamp information in sequence, and displays premise information and answer information corresponding to the timestamp information at a corresponding position of each of the timestamp information.
  • the search results page is used to display the obtained preview resources of the target video to the user.
  • FIG. 2 is a schematic diagram of a search result page provided by an embodiment of the present disclosure.
  • the search result page includes a first area and a second area, and the first area and the second area are adjacent.
  • the first area and the second area are selected to be displayed horizontally adjacent in the search results page, so that the video preview information in the first area can be displayed together with the structured information, and the user does not need to repeatedly drag and drop vertically. Viewing two different types of information requires fewer operations, making it easier for users to view and obtain information.
  • the video preview information of the target video is displayed in the first area, each timestamp information is displayed in the second area, and the corresponding prerequisite information is displayed under each timestamp. and answer information.
  • each timestamp information it is displayed in the chronological order corresponding to the timestamp information, for example, in the form of a timeline, so that the displayed information has temporal coherence. Since the timestamp information corresponds to the premise information and the answer information, the premise information and the answer information can be displayed at the corresponding positions of the displayed timestamp information. way of information.
  • the first structured information displayed and the corresponding timestamp information can be displayed in bold to remind the user of the latest information that will be displayed in the target video. information.
  • the title information of the target video can also be displayed on the search results page. For example, the title "Heimlich Maneuver" is displayed in bold above the first area.
  • the premise information includes at least one, and each premise may have corresponding at least one answer information. Therefore, when the video preview information is displayed on the search results page and the structured information is displayed 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 video preview information can be displayed in the first area adjacent to the first area.
  • the adjacent second area displays each of the premise information and its corresponding timestamp information in the structured information in sequence, and displays at least one corresponding answer information and each of the answer information under each of the premise information. Corresponding timestamp information.
  • the answer information corresponding to the premise information may include multiple pieces.
  • the video preview information can be displayed in the first area of the search results page, and the prerequisite information and its corresponding timestamp information can be displayed in the second area adjacent to the first area,
  • the plurality of answer information and the timestamp information corresponding to each of the answer information are sequentially displayed in the order of the timestamps corresponding to the plurality of answer information.
  • FIG. 3 is a schematic diagram of a search result page displayed when only one prerequisite information is included according to an embodiment of the present disclosure.
  • the prerequisite information only includes one, but the answer information consists of multiple steps, so there are multiple steps.
  • the order of the steps is marked by numbers in the figure.
  • Figure 3 displays the premise information and answer information in a form similar to a multi-level heading, specifically with the premise information as the superior level.
  • Title the corresponding answer information is used as a lower-level title, and is displayed in a misaligned manner with the upper-level title.
  • the answer information corresponding to each premise information may also include multiple pieces of answer information.
  • the video preview information can be displayed in the first area of the search results page, and in the second area adjacent to the first area, the video preview information can be displayed in sequence according to the order of the timestamp of each prerequisite information. Display each of the prerequisite information and its corresponding timestamp information, and Under each of the premise information, each answer information under the premise information and the timestamp information corresponding to each of the answer information are sequentially displayed in the order of the timestamps of each answer information.
  • the structured information determined in the obtained target video includes, for example, two premises and two answer information corresponding to each premise.
  • the first premise information is, for example, "For people with a larger weight base”
  • the corresponding timestamp information is "00:02”
  • the corresponding two answer information is, for example, "Eat less, more meals” and "Simple aerobics”.
  • the corresponding timestamp information is "00:04" and “00:06” respectively;
  • the second prerequisite information is, for example, "for people with a small weight base”,
  • the corresponding timestamp information is "00:10”, and the corresponding
  • the two answer information are "eat more low-calorie foods” and “increase the amount of aerobic exercise”
  • the corresponding timestamp information are "00:12" and "00:16" respectively.
  • an embodiment of the present disclosure provides a schematic diagram of a search result page displayed when the prerequisite information includes multiple pieces.
  • each premise information and the multiple answer information corresponding to each premise information are displayed in the form of multi-level titles.
  • the displayed information can be made more logical, and logical confusion can be avoided when the premise information and answer information are in many-to-many situations, thus making it easier for users to It can effectively find and display multiple premise information, and make it easier for users to obtain corresponding multiple answer information from each premise.
  • each premise when displaying structured information at the associated position of the video preview information, in addition to using the correspondence between the premise information and the answer information for display, each premise can also be determined based on the answer type of the answer information corresponding to each premise information.
  • the display form of the information and the corresponding answer information is to display each of the prerequisite information and the corresponding answer information based on the display form at the associated position of the video preview information.
  • the following method when determining the answer type of the answer information corresponding to each of the premise information, the following method may be adopted: if the answer information contains multiple step information corresponding to the search request, determine the The answer type is the first answer type, that is, a step-type answer type; each part of the answer information corresponds to one of the step information; or, if the answer information contains multiple parts corresponding to the search request answer information, and each part of the answer information contains sub-answer information of multiple parts, it is determined that the answer type is the second answer type, that is, a multi-level answer type.
  • the question corresponding to the above-mentioned search request is "Heimlich First Aid”
  • using the target video to obtain multiple answer information belongs to multiple consecutive steps, so each answer information can be used as multiple step information corresponding to the search request.
  • the answer information is the first Answer type.
  • the prerequisite information and the answer information of the first answer type can be determined to be displayed in a single-level display form.
  • the answer type of the answer information is the first answer type
  • the following method can be used: at the associated position of the video preview information, display each of the prerequisite information and the corresponding time stamps in the order of the timestamps corresponding to each of the prerequisite information and the answer information of each part.
  • the timestamp information of the answer information is the first answer type
  • the structured information corresponding to the target video "Heimlich Maneuver" is displayed in a single-level display format, so it can be displayed in any of the ways shown in Figure 2 or Figure 3 Make a presentation. That is to say, the display of answer information in Figures 2 and 3 is a single-level display.
  • structured information may also include multiple parts of answer information, and each part of the answer information may also contain multiple parts of sub-answer information. For example, if the question corresponding to the search request is "What to eat in a day", the structured information obtained after determining the target video includes two different prerequisite information, including "What to eat for children” and “What to eat for adults”. What", the corresponding timestamps are "00:00" and "01:00” respectively.
  • the answer information For the "breakfast” part of the answer information, it also includes two sub-answer information, such as “cereal bread” and “oat milk”, the corresponding timestamps are “00:04" and “00:08” respectively; and for “lunch” "This part of the answer information can also include two sub-answer information, such as "Stir-fried vegetables” and “Tomato and egg noodles", the corresponding timestamps are "00:14", "00:18", etc.
  • the answer information can be determined to be the second answer type.
  • the answer type of the answer information is the second answer type
  • the following methods can be used: display the answer information of each part at the associated position of the video preview information; respond to the trigger operation for any of the answer information, Display multiple sub-answer information corresponding to the answer information.
  • FIG. 5 is 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.
  • each part of the answer information can be associated and displayed under each prerequisite information. For example, under the premise information "What to eat for children”, four corresponding answer information are displayed: “Breakfast”, “Lunch”, “Snack”, and "Dinner”.
  • the sub-answer information under the answer information can be displayed. Specifically, when displaying sub-answer information, it can be displayed on the same search results page that displays the answer information, or a new window can be popped up for display.
  • FIG. 6 is a schematic diagram of a search result page displayed when sub-answer information is displayed according to an embodiment of the present disclosure.
  • (a) in FIG. 6 shows a schematic diagram when the sub-answer information is displayed on the same search result display page as in FIG. 5 by expanding the sub-answer information.
  • the expansion symbol changes to a collapse symbol.
  • the embodiment of the present disclosure also provides another display method.
  • 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, using the new small window page can provide a larger display space for answering questions.
  • the sub-answer information under the case information can be displayed completely.
  • the corresponding video frame images 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 (b) in Figure 6, the corresponding video frame image in the target video is displayed.
  • the answer information, or the sub-answer information under the answer information can also be associated with other related information, such as product information, etc.
  • the recommended information associated with the search request can also be obtained, such as the product information or other information described above. For example, if the question corresponding to the search request is "What to eat in a day", the recommended information associated with the search request may be 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, recommendations associated with the search request and the answer information can also be displayed under at least one answer information. information.
  • corresponding recommendation information is displayed, including product information of boxed milk corresponding to the oat milk involved in the sub-answer information. Specifically, Includes product pictures of boxed milk, product name, product price, and product purchase link.
  • the target video in response to a triggering operation on any of the information, can be played starting from the corresponding timestamp position.
  • the target video in response to a triggering operation on the timestamp information, can be played starting from a position indicated by the timestamp information in the target video.
  • the search information contained in the target video and corresponding to the search request can be directly displayed to the user for answering. Step information or multi-part information. Therefore, the user may only need to watch the corresponding parts of the target video that are more interesting among the displayed premise information and answer information. In this case, by triggering the information of interest, you can start from the corresponding timestamp position and play the position corresponding to the information of interest in the target video, avoiding the need for the user to watch the complete video. When obtaining the information of interest, the user does not need to manually adjust the progress bar, so it can be more convenient and faster to display the information of interest to the user. information.
  • FIG. 7 is a schematic diagram of a search result page displayed after answer information is triggered according to an embodiment of the present disclosure.
  • the sub-answer information "cereal bread" corresponding to the timestamp 00:04 in the second area is triggered, and accordingly the timestamp information and the sub-answer information are displayed in bold in the second area.
  • the target video jumps to the timestamp position for playback. For example, a video frame image containing cereal bread is currently being displayed.
  • 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 based on its function and possible The internal logic is determined.
  • the embodiments of the present disclosure also provide a search result display device corresponding to the search result display method. Since the principle of solving the problem of the device in the embodiment of the present disclosure is similar to the above-mentioned search result display method of the embodiment of the present disclosure, therefore For the implementation of the device, please refer to the implementation of the method, and repeated details will not be repeated.
  • the device includes: an acquisition module 81 and a display module 82; wherein,
  • Acquisition module 81 configured to respond to a search request and 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 a structured structure that answers the search request.
  • Information is information extracted from the target video, the structured information at least includes premise information, answer information, and the premise information and the answer information respectively correspond to the target video timestamp information;
  • the display module 82 is configured to display the video preview information on the search results page, and display the structured information at a position associated with the video preview information.
  • the display module 82 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: in the search results
  • the video preview information is displayed in the first area of the page, each of the timestamp information is displayed in sequence in the second area adjacent to the first area, and the corresponding time stamp information is displayed at the corresponding position of each time stamp information.
  • the prerequisite information includes at least one, and each prerequisite information corresponds to at least one answer information;
  • the display module 82 displays the video preview information on the search results page, and displays the video preview information on the video
  • the structured information is displayed at the associated location of the preview information, it is used for:
  • the video preview information is displayed in the first area of the search results page, and the prerequisite information and the corresponding timestamp information in the structured information are sequentially displayed in the second area adjacent to the first area, and Under each of the prerequisite information, the corresponding at least one answer information and the timestamp information corresponding to each of the answer information are displayed.
  • the display module 82 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 configured to: When the structured information includes one premise information and multiple answer information, the video preview information is displayed in the first area of the search results page, and the video preview information is displayed in the second area adjacent to the first area. Prerequisite information and its corresponding timestamp information, and under the prerequisite information, according to the order of the timestamps corresponding to the multiple answer information, the multiple answer information and the corresponding corresponding to each answer information are displayed in sequence.
  • timestamp 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, in The second area adjacent to the first area displays each of the premise information and its corresponding timestamp information in sequence according to the order of the timestamp of each premise information, and under each of the premise information, according to The order of the timestamps of each answer information sequentially displays each answer information under the premise information and the timestamp information corresponding to each answer information.
  • the display module 82 when the display module 82 displays the structured information at the associated position of the video preview information, it is configured to: based on the answer type of the answer information corresponding to each of the premise information, Determine the display form of each of the premise information and the corresponding answer information; 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.
  • the answer type of the answer information corresponding to each of the prerequisite information is determined in the following manner: if the target video contains multiple step information corresponding to the search request, determine 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 The answer information contains multiple parts of sub-answer information, and the answer type is determined to be the second answer type.
  • the display module 82 displays the video based on the display form at the associated position of the video preview information.
  • Each of the premise information and the corresponding answer information is used to: display at the associated position of the video preview information in the order of the timestamps corresponding to each of the premise information and the answer information of each part.
  • the timestamp information of each of the prerequisite information and the corresponding answer information is used to: display at the associated position of the video preview information in the order of the timestamps corresponding to each of the premise information and the answer information of each part.
  • the display module 82 in response to the answer type corresponding to the answer information being the second answer type, displays each of the displayed answers based on the display form at the associated position of the video preview information.
  • the above premise information and the corresponding answer information are provided, it is used to: 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 the multiple answers corresponding to the answer information. Sub-answer information.
  • the structured information also includes recommendation information associated with the search request; when the display module 82 displays the structured information at the associated position of the video preview information, For: displaying the premise information and answer information corresponding to the timestamp information at the corresponding position of each timestamp information, and displaying the recommendation information associated with the search request and the answer information under at least one answer information. .
  • the search result display device further includes a first processing module 83, configured to: in response to a triggering operation for the premise information or any part of the answer information in the structured information, from the Starting from the timestamp position corresponding to the premise information or any part of the answer information, the target video is played.
  • the search result display device in response to the target video including multiple, further includes a second processing module 84 for: determining the structural information of the multiple target videos and the Search the correlation between the requests, and sort multiple target videos according to the correlation; the display module 82 displays the video preview information, and displays the video preview information at the associated position.
  • the method is configured to: display the video preview information of each target video in sequence according to the sorting results of multiple target videos, and display the structured information at the associated position of the video preview information. information.
  • An embodiment of the present disclosure also provides a computer device. As shown in Figure 9, which is a schematic structural diagram of the computer device provided by an embodiment of the present disclosure, it includes:
  • processor 10 and memory 20; the memory 20 stores machine-readable instructions executable by the processor 10, and the processor 10 is used to execute the machine-readable instructions stored in the memory 20.
  • the machine When the readable instructions are executed by the processor 10, the processor 10 performs the following steps:
  • the search result page displays the video preview information, and displays the structured information at a position associated with the video preview information.
  • the above-mentioned memory 20 includes a memory 210 and an external memory 220; the memory 210 here is also called internal memory, and is used to temporarily store the operation data in the processor 10, as well as the data exchanged with external memory 220 such as a hard disk.
  • the processor 10 communicates with the external memory 220 through the memory 210.
  • the external memory 220 performs data exchange.
  • Embodiments of the present disclosure also provide a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program. When the computer program is run by a processor, the steps of displaying search results described in the above method embodiments are executed.
  • the storage medium may be a volatile or non-volatile computer-readable storage medium.
  • Embodiments of the present disclosure also provide a computer program product.
  • the computer program product carries program code.
  • the instructions included in the program code can be used to perform the steps of displaying search results described in the above method embodiments. For details, please refer to the above method. The embodiments will not be described again here.
  • the above-mentioned computer program product can be specifically implemented by hardware, software or a combination thereof.
  • the computer program product is embodied as a computer storage medium.
  • the computer program product is embodied as a software product, such as a Software Development Kit (SDK), etc. wait.
  • SDK Software Development Kit
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in various embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • 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.
  • the technical solution of the present disclosure essentially or part of the technical solution can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium and includes a number of instructions to cause a computer device (to be a personal computer, server, or network device, etc.) that executes all or part of the steps of the methods described in various embodiments of the present disclosure.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Library & Information Science (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

一种搜索结果展示方法、装置、计算机设备及存储介质,其中,该方法包括:响应于搜索请求,获取与所述搜索请求匹配的目标视频的预览资源;其中,所述预览资源包括所述目标视频的视频预览信息,以及解答所述搜索请求的结构化信息,所述结构化信息为从所述目标视频中提取的信息,所述结构化信息中至少包括前提信息、答案信息、以及所述前提信息与所述答案信息在所述目标视频中分别对应的时间戳信息(S101);在搜索结果页展示所述视频预览信息,并在所述视频预览信息的关联位置处展示所述结构化信息(S102)。

Description

搜索结果展示方法、装置、计算机设备及存储介质
本申请要求于2022年6月24日递交的中国专利申请第202210723399.0号的优先权,在此全文引用上述中国专利申请公开的内容以作为本申请的一部分。
技术领域
本公开的实施例涉及一种搜索结果展示方法、装置、计算机设备及存储介质。
背景技术
在搜索场景中,利用搜索信息进行搜索后,可以得到包含视频的搜索结果。
对于这种视频类的搜索结果,一般需要在观看完整的视频后才能从中获取到自己所需的信息,无法从中快捷地获取与搜索需求相关的信息。
发明内容
本公开实施例至少提供一种搜索结果展示方法、装置、计算机设备及存储介质。
第一方面,本公开实施例提供了一种搜索结果展示方法,包括:响应于搜索请求,获取与所述搜索请求匹配的目标视频的预览资源;其中,所述预览资源包括所述目标视频的视频预览信息,以及解答所述搜索请求的结构化信息,所述结构化信息为从所述目标视频中提取的信息,所述结构化信息中至少包括前提信息、答案信息、以及所述前提信息与所述答案信息在所述目标视频中分别对应的时间戳信息;在搜索结果页展示所述视频预览信息,并在所述视频预览信息的关联位置处展示所述结构化信息。
一种可选的实施方式中,在搜索结果页展示所述视频预览信息,并在所述视频预览信息的关联位置处展示所述结构化信息,包括:在搜索结果页的第一区域展示所述视频预览信息,在与所述第一区域相邻的第二区域依次展 示各个所述时间戳信息,并在每个所述时间戳信息的对应位置处展示与该时间戳信息对应的前提信息和答案信息。
一种可选的实施方式中,所述前提信息包括至少一个,每个所述前提信息对应至少一个答案信息;在搜索结果页展示所述视频预览信息,并在所述视频预览信息的关联位置处展示所述结构化信息,包括:在搜索结果页的第一区域展示所述视频预览信息,在与所述第一区域相邻的第二区域依次展示所述结构化信息中各所述前提信息及其对应的时间戳信息,并在每个所述前提信息下展示对应的至少一个答案信息和每个所述答案信息分别对应的时间戳信息。
一种可选的实施方式中,在搜索结果页展示所述视频预览信息,并在所述视频预览信息的关联位置处展示所述结构化信息,包括:在所述结构化信息中包括一个前提信息和多个答案信息的情况下,在所述搜索结果页的第一区域展示所述视频预览信息,在与所述第一区域相邻的第二区域展示所述前提信息及其对应的时间戳信息,并在所述前提信息下,按照所述多个答案信息对应的时间戳的先后顺序,依次展示所述多个答案信息和每个所述答案信息分别对应的时间戳信息;在所述结构化信息中包括多个前提信息,且每个前提信息对应多个答案信息的情况下,在所述搜索结果页的第一区域展示所述视频预览信息,在与所述第一区域相邻的第二区域,按照各个前提信息的时间戳的先后顺序,依次展示各个所述前提信息及其对应的时间戳信息,并在每个所述前提信息下,按照各个答案信息的时间戳的先后顺序,依次展示该前提信息下的各个答案信息和每个所述答案信息分别对应的时间戳信息。
一种可选的实施方式中,所述在所述视频预览信息的关联位置处展示所述结构化信息,包括:基于各所述前提信息分别对应的答案信息的答案类型,确定各所述前提信息以及对应的答案信息的展示形式;在所述视频预览信息的关联位置处,基于所述展示形式展示各所述前提信息以及对应的答案信息。
一种可选的实施方式中,所述各所述前提信息对应的答案信息的答案类型为根据以下方式确定的:若所述目标视频中包含与所述搜索请求对应的多个步骤信息,确定所述答案类型为第一答案类型;每个所述答案信息对应一个所述步骤信息;或者,若所述目标视频中包含与所述搜索请求对应的多个部分的答案信息,且每个部分的答案信息下包含多个部分的子答案信息,确 定所述答案类型为第二答案类型。
一种可选的实施方式中,响应于所述答案类型为所述第一答案类型,所述在所述视频预览信息的关联位置处,基于所述展示形式展示各个所述前提信息以及对应的答案信息,包括:在所述视频预览信息的关联位置处,按照各所述前提信息和各个部分的所述答案信息分别对应的时间戳的先后顺序,展示各个所述前提信息以及对应的答案信息的时间戳信息。
一种可选的实施方式中,响应于所述答案信息对应的答案类型为第二答案类型,所述在所述视频预览信息的关联位置处,基于所述展示形式展示展示各个所述前提信息以及对应的答案信息,包括:在所述视频预览信息的关联位置处,展示各个部分的答案信息;响应针对任一所述答案信息的触发操作,展示该答案信息对应的多个子答案信息。
一种可选的实施方式中,所述结构化信息中还包括与所述搜索请求关联的推荐信息;在所述视频预览信息的关联位置处展示所述结构化信息,包括:在每个所述时间戳信息的对应位置处展示与该时间戳信息对应的前提信息和答案信息,并在至少一个答案信息下展示与所述搜索请求及该答案信息关联的推荐信息。
一种可选的实施方式中,还包括:响应于针对所述结构化信息中前提信息或任一部分的答案信息的触发操作,自所述前提信息或任一部分的答案信息对应的时间戳位置处开始,播放所述目标视频。
一种可选的实施方式中,响应于所述目标视频包括多个,所述方法还包括:确定多个所述目标视频的结构化信息与所述搜索请求之间的关联度,并按照所述关联度对多个所述目标视频进行排序;所述展示所述视频预览信息,并在所述视频预览信息的关联位置处展示所述结构化信息,包括:按照多个所述目标视频的排序结果,依次展示各所述目标视频的所述视频预览信息,并在所述视频预览信息的关联位置处展示所述结构化信息。
第二方面,本公开实施例还提供一种搜索结果展示装置,包括:获取模块,用于响应于搜索请求,获取与所述搜索请求匹配的目标视频的预览资源;其中,所述预览资源包括所述目标视频的视频预览信息,以及解答所述搜索请求的结构化信息,所述结构化信息为从所述目标视频中提取的信息,所述结构化信息中至少包括前提信息、答案信息、以及所述前提信息与所述答案 信息在所述目标视频中分别对应的时间戳信息;展示模块,用于在搜索结果页展示所述视频预览信息,并在所述视频预览信息的关联位置处展示所述结构化信息。
一种可选的实施方式中,所述展示模块在搜索结果页展示所述视频预览信息,并在所述视频预览信息的关联位置处展示所述结构化信息时,用于:在搜索结果页的第一区域展示所述视频预览信息,在与所述第一区域相邻的第二区域依次展示各个所述时间戳信息,并在每个所述时间戳信息的对应位置处展示与该时间戳信息对应的前提信息和答案信息。
一种可选的实施方式中,所述前提信息包括至少一个,每个所述前提信息对应至少一个答案信息;所述展示模块在搜索结果页展示所述视频预览信息,并在所述视频预览信息的关联位置处展示所述结构化信息时,用于:在搜索结果页的第一区域展示所述视频预览信息,在与所述第一区域相邻的第二区域依次展示所述结构化信息中各所述前提信息及其对应的时间戳信息,并在每个所述前提信息下展示对应的至少一个答案信息和每个所述答案信息分别对应的时间戳信息。
一种可选的实施方式中,所述展示模块在搜索结果页展示所述视频预览信息,并在所述视频预览信息的关联位置处展示所述结构化信息时,用于:在所述结构化信息中包括一个前提信息和多个答案信息的情况下,在所述搜索结果页的第一区域展示所述视频预览信息,在与所述第一区域相邻的第二区域展示所述前提信息及其对应的时间戳信息,并在所述前提信息下,按照所述多个答案信息对应的时间戳的先后顺序,依次展示所述多个答案信息和每个所述答案信息分别对应的时间戳信息;在所述结构化信息中包括多个前提信息,且每个前提信息对应多个答案信息的情况下,在所述搜索结果页的第一区域展示所述视频预览信息,在与所述第一区域相邻的第二区域,按照各个前提信息的时间戳的先后顺序,依次展示各个所述前提信息及其对应的时间戳信息,并在每个所述前提信息下,按照各个答案信息的时间戳的先后顺序,依次展示该前提信息下的各个答案信息和每个所述答案信息分别对应的时间戳信息。
一种可选的实施方式中,所述展示模块在所述视频预览信息的关联位置处展示所述结构化信息时,用于:基于各所述前提信息分别对应的答案信息 的答案类型,确定各所述前提信息以及对应的答案信息的展示形式;在所述视频预览信息的关联位置处,基于所述展示形式展示各所述前提信息以及对应的答案信息。
一种可选的实施方式中,所述各所述前提信息对应的答案信息的答案类型为根据以下方式确定的:若所述目标视频中包含与所述搜索请求对应的多个步骤信息,确定所述答案类型为第一答案类型;每个所述部分的答案信息对应一个所述步骤信息;或者,若所述目标视频中包含与所述搜索请求对应的多个部分的答案信息,且每个部分的答案信息下包含多个部分的子答案信息,确定所述答案类型为第二答案类型。
一种可选的实施方式中,响应于所述答案类型为所述第一答案类型,所述展示模块在所述视频预览信息的关联位置处,基于所述展示形式展示各个所述前提信息以及对应的答案信息时,用于:在所述视频预览信息的关联位置处,按照各所述前提信息和各个部分的所述答案信息分别对应的时间戳的先后顺序,展示各个所述前提信息以及对应的答案信息的时间戳信息。
一种可选的实施方式中,响应于所述答案信息对应的答案类型为第二答案类型,所述展示模块在所述视频预览信息的关联位置处,基于所述展示形式展示展示各个所述前提信息以及对应的答案信息时,用于:在所述视频预览信息的关联位置处,展示各个部分的答案信息;响应针对任一所述答案信息的触发操作,展示该答案信息对应的多个子答案信息。
一种可选的实施方式中,所述结构化信息中还包括与所述搜索请求关联的推荐信息;所述展示模块在每个所述时间戳信息的对应位置处展示与该时间戳信息对应的前提信息和答案信息时,用于:在每个所述时间戳信息的对应位置处展示与该时间戳信息对应的前提信息和答案信息,并在至少一个答案信息下展示与所述搜索请求及该答案信息关联的推荐信息。
一种可选的实施方式中,所述搜索结果展示装置还包括第一处理模块,用于:响应于针对所述结构化信息中前提信息或任一部分的答案信息的触发操作,自所述前提信息或任一部分的答案信息对应的时间戳位置处开始,播放所述目标视频。
一种可选的实施方式中,响应于所述目标视频包括多个,所述搜索结果展示装置还包括第二处理模块,用于:确定多个所述目标视频的结构化信息 与所述搜索请求之间的关联度,并按照所述关联度对多个所述目标视频进行排序;所述展示模块在展示所述视频预览信息,并在所述视频预览信息的关联位置处展示所述结构化信息时,用于:按照多个所述目标视频的排序结果,依次展示各所述目标视频的所述视频预览信息,并在所述视频预览信息的关联位置处展示所述结构化信息。
第三方面,本公开可选实现方式还提供一种计算机设备,处理器、存储器,所述存储器存储有所述处理器可执行的机器可读指令,所述处理器用于执行所述存储器中存储的机器可读指令,所述机器可读指令被所述处理器执行时,所述机器可读指令被所述处理器执行时执行上述第一方面,或第一方面中任一种可能的实施方式中的步骤。
第四方面,本公开可选实现方式还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被运行时执行上述第一方面,或第一方面中任一种可能的实施方式中的步骤。
关于上述搜索结果展示装置、计算机设备、及计算机可读存储介质的效果描述参见上述搜索结果展示方法的说明,这里不再赘述。
本公开实施例提供的一种搜索结果展示方法、装置、计算机设备及存储介质,对于经过搜索得到的目标视频,通过信息提取的方式得到解答搜索请求的结构化信息,同时展示目标视频的视频预览信息与结构化信息。结构化信息中包括有答案信息,答案信息对应的前提信息、以及所述前提信息与所述答案信息在所述目标视频中分别对应的时间戳信息;这样,用户就可以通过结构化信息直观地了解到自己需要的相关前提和答案在视频中的播放位置,进而定位到具体的播放位置来观看相关的视频详情内容。因此,本公开实施例提供的搜索结果展示方法可以更方便地进行有效信息的快捷获取。
为使本公开的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。
附图说明
为了更清楚地说明本公开实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,此处的附图被并入说明书中并构成本说明书中的一部分,这些附图示出了符合本公开的实施例,并与说明书一起用于说明本 公开的技术方案。应当理解,以下附图仅示出了本公开的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。
图1示出了本公开实施例所提供的一种搜索结果展示方法的流程图;
图2示出了本公开实施例所提供的一种搜索结果页的示意图;
图3示出了本公开实施例所提供的一种在前提信息只包括一个的情况下,展示出的搜索结果页的示意图;
图4示出了本公开实施例所提供的一种在前提信息包括多个的情况下,展示出的搜索结果页的示意图;
图5示出了本公开实施例所提供的一种在答案信息的答案类型为第二答案类型的情况下,展示出的搜索结果页的示意图;
图6示出了本公开实施例所提供的一种展示子答案信息时,展示出的搜索结果页的示意图;
图7示出了本公开实施例所提供的一种在触发答案信息后,展示出的搜索结果页的示意图;
图8示出了本公开实施例所提供的一种搜索结果展示装置的示意图;以及
图9示出了本公开实施例所提供的一种计算机设备的示意图。
具体实施方式
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。通常在此处描述和示出的本公开实施例的组件可以以各种不同的配置来布置和设计。因此,以下对本公开的实施例的详细描述并非旨在限制要求保护的本公开的范围,而是仅仅表示本公开的选定实施例。基于本公开的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。
经研究发现,在利用搜索信息进行搜索的场景中,在可以搜索到的视频中通常包含有与搜索信息相关的内容信息。在一种可能的情况下,相关的内 容信息可以是用户自行上传的文字信息,而非从视频中提取得到的,在这种情况下用户难以根据展示出的文字信息从视频中确定相关的播放位置,进而快捷地定位到具体的播放位置进行视频详情查看。
基于上述研究,本公开提供了一种搜索结果展示方法,对于经过搜索得到的目标视频,通过信息提取的方式得到解答搜索请求的结构化信息,同时展示目标视频的视频预览信息与结构化信息。结构化信息中包括有答案信息,答案信息对应的前提信息、以及所述前提信息与所述答案信息在所述目标视频中分别对应的时间戳信息;这样,用户就可以通过结构化信息直观地了解到自己需要的相关前提和答案在视频中的播放位置,进而定位到具体的播放位置来观看相关的视频详情内容。因此,本公开实施例提供的搜索结果展示方法可以更方便地进行有效信息的快捷获取。
针对以上方案所存在的缺陷,均是发明人在经过实践并仔细研究后得出的结果,因此,上述问题的发现过程以及下文中本公开针对上述问题所提出的解决方案,都应该是发明人在本公开过程中对本公开做出的贡献。
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。
为便于对本实施例进行理解,首先对本公开实施例所公开的一种搜索结果展示方法进行详细介绍,本公开实施例所提供的搜索结果展示方法的执行主体一般为具有一定计算能力的计算机设备,该计算机设备例如包括:终端设备或服务器或其它处理设备,终端设备可以为用户设备(User Equipment,UE)、移动设备、用户终端、终端、蜂窝电话、无绳电话、个人数字助理(Personal Digital Assistant,PDA)、手持设备、计算设备、车载设备、可穿戴设备等。在一些可能的实现方式中,该搜索结果展示方法可以通过处理器调用存储器中存储的计算机可读指令的方式来实现。
下面以执行主体为用户端为例对本公开实施例提供的搜索结果展示方法加以说明。
参见图1所示,为本公开实施例提供的一种搜索结果展示方法的流程图,所述方法包括步骤S101~S102,其中:
S101:响应于搜索请求,获取与所述搜索请求匹配的目标视频的预览资 源;其中,所述预览资源包括所述目标视频的视频预览信息,以及解答所述搜索请求的结构化信息,所述结构化信息为从所述目标视频中提取的信息,所述结构化信息中至少包括前提信息、答案信息、以及所述前提信息与所述答案信息在所述目标视频中分别对应的时间戳信息;
S102:在搜索结果页展示所述视频预览信息,并在所述视频预览信息的关联位置处展示所述结构化信息。
下面对上述S101~S102加以详细说明。
针对上述S101,用户在进行搜索时,通过在搜素框中输入搜索信息并触发搜索操作按钮,用户端可以发送搜索请求。在搜索请求中包括搜索信息,其中搜索信息包括用户输入的搜索字段、问题题目等。在服务器接收到搜索请求后,可以根据其中的搜索信息从可获取的多个视频中确定与搜索信息匹配的目标视频,这里与搜索信息匹配的目标视频具体包括从多个视频中筛选出的视频帧、语音、文字内容等中至少一个可以作为问题的答案信息的视频。其中,在利用搜索信息从多个视频中确定目标视频时,可以采用在线处理的方式进行。
对于目标视频而言,还对应有预览资源。其中,预览资源包括以画面为主显示的视频预览信息、以及以文字为主显示的解答搜索请求的结构化信息。目标视频的预览资源可以通过在线处理的方式进行,比如在根据搜索请求确定目标视频后,再对目标视频进行处理得到预览资源。或者,也可以在视频上传后为视频确定对应的预览资源,以在将视频作为目标视频向用户展示时,可以直接对该视频对应的预览资源进行展示。
其中,视频预览信息可以是目标视频中的任一帧视频帧,比如首帧视频帧,或者也可以响应于用户对目标视频的多帧视频帧的选取操作确定。或者,也可以将用户上传的其他视频帧图像等作为视频预览信息,在此并不做出限定。
对于结构化信息,具体从目标视频中提取得到。示例性的,可以采用采用光学字符识别(Optical Character Recognition,OCR)、语音识别(Automatic Speech Recognition,ASR)等方式对目标视频进行处理,得到目标视频中包括的文字信息。通过对文字信息进行语义识别等操作,可以将得到的文字信息依据搜索请求分类为前提信息、答案信息、概念定义信息、注意事项信息 等的不同部分。其中,对于搜索请求而言,得到的目标视频中多数包括前提信息和答案信息的部分,因此下面着重对这两部分信息进行说明。对于可能存在的概念定义信息和注意事项信息,可以采用与答案信息相似的展示方式进行展示。
此处,由于前提信息、答案信息具体是从目标视频中提取出的,因此还可以获取前提信息和答案信息在目标视频中的提取位置,具体例如包括在目标视频中分别对应的时间戳信息。
针对获取与搜索请求匹配的目标视频的预览资源的具体方式,提供一种可能的示例作为参考。示例性的,若搜索请求对应的问题题目为“海姆立克急救法”,在获取到与搜索请求匹配的目标视频后,可以确定目标视频的预览资源。其中,预览资源包括目标视频的首帧视频帧图像。对于提取出的文字信息,确定前提信息以及在目标视频中对应的时间戳信息包括“对于刚吸入异物的成年患者”-“00:02”;确定答案信息以及在目标视频中对应的时间戳信息分别包括将“站在患者身后,一只脚置于患者两腿之间,环抱患者”-“00:14”、“左手握拳,右手从前方握住左手手腕”-“00:26”、“突然用力收紧双臂,用左拳虎口向患者上腹部内上方猛烈施压,迫使其上腹部下陷”-“00:32”。
这样,在利用搜索请求确定匹配的目标视频后,即可以确定目标视频的预览资源中包含的各部分内容,并可以继续对预览资源进行展示。
在一种可能的情况下,对于搜索请求,若可以确定多个匹配的目标视频,可以将得到的多个目标视频进行排列展示,或者从中选取一个进行展示。
其中,在将多个目标视频进行排列时,可以根据各目标视频的结构化信息与搜索请求的关联度进行排列。具体地,可以确定多个所述目标视频的结构化信息与所述搜索请求之间的关联度,并按照所述关联度对多个所述目标视频进行排序,然后按照多个目标视频的排序结果,依次对目标视频的预览信息进行展示。示例性的,可以利用结构化信息与搜索请求对应的搜索信息之间的语义相似度确定关联度,比如直接将结构化信息与搜索信息之间的语义相似度作为关联度。在确定关联度的情况下,可以将与搜索信息关联度较高的结构化信息所属的目标视频靠前排列,将关联度较低的结构化信息所属的目标视频靠后排列。然后,根据排列得到的排序结果,依次对目标视频的 预览信息进行展示。
在从多个目标视频中选取一个目标视频进行展示时,也可以采用上述方式对多个目标视频进行排序,并从多个目标视频中选取出与搜索请求关联度最高的结构化信息所属的目标视频进行展示。
此处,在存在多个目标视频的情况下,可以根据实际需求选取采用任一种方式进行展示。比如,可以提供切换展示状态的按钮,响应于用户对展示状态的按钮的触发操作,确定以何种形式进行展示。或者,也可以响应于设备的网络环境,比如在通过数据流量获取和展示信息时,为了减少传输的数据量,可以选取只对一个目标视频进行展示;而在通过宽带网络获取和展示信息时,则可以将多个目标视频进行排序展示,以展示更多的信息。
针对上述S102,在根据上述步骤确定与搜索请求匹配的目标视频的预览信息后,可以在搜索结果页展示预览信息中的视频预览信息,并在视频预览信息的关联位置处展示结构化信息。
在具体实施中,在展示视频预览信息并关联展示结构化信息时,具体可以采用下述方式:在搜索结果页的第一区域展示所述视频预览信息,在与所述第一区域相邻的第二区域依次展示各个所述时间戳信息,并在每个所述时间戳信息的对应位置处展示与该时间戳信息对应的前提信息和答案信息。
其中,与用户输入问题题目的搜索页面区分,搜索结果页用于向用户展示获取到的目标视频的预览资源。示例性的,参见图2所示,为本公开实施例提供的一种搜索结果页的示意图。其中,搜索结果页包括第一区域和第二区域,第一区域和第二区域相邻。此处,选取第一区域和第二区域在搜索结果页中横向相邻的方式进行展示,可以使第一区域中的视频预览信息与结构化信息一起进行展示,用户无需在纵向反复拖拽以查看两种不同的信息,所需的操作动作更少,更便于用户查看和获取信息。
以步骤S101中提供的示例为例,第一区域中展示出了目标视频的视频预览信息,在第二区域中展示出了各时间戳信息,并在各时间戳下展示出了对应的前提信息和答案信息。此处,在展示各时间戳信息时,按照时间戳信息对应的时间顺序进行展示,比如以时间轴的形式进行展示,以使展示出的信息还具有时间上的连贯性。由于时间戳信息是前提信息和答案信息对应的,因此可以通过在展示出的时间戳信息的对应位置处展示前提信息和答案信 息的方式进行。
在一种可能的情况下,若未对目标视频进行播放,可以将展示出的第一个结构化信息以及对应的时间戳信息进行加粗展示,以提示用户在目标视频中最近将要展示出的信息。另外,在搜索结果页中还可以展示出目标视频的标题信息,比如在第一区域上方通过加粗形式示出了标题“海姆立克急救法”。
另外,展示出的结构化信息中,前提信息和答案信息之间具有对应关系。具体地,前提信息包括至少一个,每个前提可以具有对应的至少一个答案信息。因此,在搜索结果页展示视频预览信息,并在视频预览信息的关联位置处展示结构化信息时,可以在搜索结果页的第一区域展示所述视频预览信息,在与所述第一区域相邻的第二区域依次展示所述结构化信息中各所述前提信息及其对应的时间戳信息,并在每个所述前提信息下展示对应的至少一个答案信息和每个所述答案信息分别对应的时间戳信息。
下面,对前提信息包括一个或多个的不同情况进行说明。
首先,在前提信息包括一个的情况下,前提信息对应的答案信息可以包括多个。在该种情况下,可以在所述搜索结果页的第一区域展示所述视频预览信息,在与所述第一区域相邻的第二区域展示所述前提信息及其对应的时间戳信息,并在所述前提信息下,按照所述多个答案信息对应的时间戳的先后顺序,依次展示所述多个答案信息和每个所述答案信息分别对应的时间戳信息。
示例性的,参见图3所示,为本公开实施例提供的一种在前提信息只包括一个的情况下,展示出的搜索结果页的示意图。与上述图2相对应,前提信息只包括一个,但答案信息为多个步骤,因此存在多个,在图中通过标号的方式标注出了在步骤上的顺序。为了更直观地展示出前提信息和答案信息之间的对应关系,相较于图2,图3中以类似于多级标题的形式对前提信息和答案信息进行了展示,具体以前提信息作为上级标题,对应的答案信息作为下级标题,以与上级标题错位进行展示。
然后,对于前提信息包括多个的情况下,每个前提信息对应的答案信息也可以包括多个。在该种情况下,可以在所述搜索结果页的第一区域展示所述视频预览信息,在与所述第一区域相邻的第二区域,按照各个前提信息的时间戳的先后顺序,依次展示各个所述前提信息及其对应的时间戳信息,并 在每个所述前提信息下,按照各个答案信息的时间戳的先后顺序,依次展示该前提信息下的各个答案信息和每个所述答案信息分别对应的时间戳信息。
示例性的,若搜索请求对应的问题题目为“如何有效减肥”,得到的目标视频中确定的结构化信息中,例如包括两个前提以及每个前提分别对应的两个答案信息。第一个前提信息例如为“对于体重基数较大的人群”,对应的时间戳信息为“00:02”,对应的两个答案信息例如分别为“少食多餐”和“简单有氧运动”,分别对应的时间戳信息为“00:04”和“00:06”;第二个前提信息例如为“对于体重基数较小的人群”,对应的时间戳信息为“00:10”,对应的两个答案信息例如分别为“多吃低卡食品”和“增加有氧运动量”,分别对应的时间戳信息为“00:12”和“00:16”。
相应地,参见图4所示,为本公开实施例提供一种在前提信息包括多个的情况下,展示出的搜索结果页的示意图。相较于图3,由于存在多个前提信息,因此对于每个前提信息和各前提信息下对应的多个答案信息,采用了多级标题的方式进行了展示。这样,由于在展示时通过分层次的方式进行,可以使展示出的信息更具有逻辑性,避免在前提信息和答案信息在多对多的情况下出现逻辑混乱的情况,从而能够使用户更容易地找到展示出多个前提信息,并使用户能够更容易地从每个前提下获取到对应的多个答案信息。
另外,在视频预览信息的关联位置处展示结构化信息时,除了利用前提信息和答案信息之间的对应关系进行展示外,也可以根据各前提信息分别对应的答案信息的答案类型,确定各前提信息和对应的答案信息的展示形式,以在所述视频预览信息的关联位置处,基于所述展示形式展示各所述前提信息以及对应的答案信息。
在具体实施中,在确定各所述前提信息对应的答案信息的答案类型时,具体可以采用下述方式:若所述答案信息中包含与所述搜索请求对应的多个步骤信息,确定所述答案类型为第一答案类型,也即步骤型的答案类型;每个所述部分的答案信息对应一个所述步骤信息;或者,若所述答案信息中包含与所述搜索请求对应的多个部分的答案信息,且每个部分的答案信息下包含多个部分的子答案信息,确定所述答案类型为第二答案类型,也即多层次型的答案类型。
示例性的,对于上述说明的搜索请求对应的问题题目为“海姆立克急救 法”的情况,利用目标视频得到多个答案信息属于多个连续的步骤,因此可以将每个答案信息作为搜索请求对应的多个步骤信息。在该种情况下,可以确定答案信息为第一答案类型。相应的,可以确定前提信息和第一答案类型的答案信息以单层级的展示形式进行展示。
在具体实施中,在答案信息的答案类型为所述第一答案类型的情况下,在所述视频预览信息的关联位置处,基于所述展示形式展示各个所述前提信息以及对应的答案信息时,可以采用下述方式:在所述视频预览信息的关联位置处,按照各所述前提信息和各个部分的所述答案信息分别对应的时间戳的先后顺序,展示各个所述前提信息以及对应的答案信息的时间戳信息。
此处,对于将目标视频“海姆立克急救法”对应的结构化信息进行展示的方式,由于以单层级的展示形式进行展示,因此可以以图2或图3中的任一种方式进行展示。也即,对于图2和图3中对答案信息进行展示的情况,均属于单层级展示的情况。
另外,结构化信息还可能会出现包括多个部分的答案信息的情况,并且每个部分的答案信息下还包含多个部分的子答案信息。示例性的,对于搜索请求对应的问题题目为“一天适合吃什么”,在确定目标视频后得到的结构化信息例如包括两个不同的前提信息,包括“对于儿童吃什么”、“对于成人吃什么”,分别对应的时间戳为“00:00”以及“01:00”。以前提信息为“对于儿童吃什么”为例,首先可以对应四个部分的答案信息,包括“早餐”、“午餐”、“加餐”、和“晚餐”,分别对应的时间戳为“00:02”、“00:12”、“00:22”、“00:32”。对于“早餐”这一部分的答案信息,还包括两个子答案信息,比如“谷物面包”和“燕麦牛奶”,分别对应的时间戳为“00:04”、“00:08”;而对于“午餐”这一部分的答案信息,也可以包括两个子答案信息,比如“清炒蔬菜”和“西红柿鸡蛋面”,分别对应的时间戳为“00:14”、“00:18”等。在该种情况下,可以确定答案信息为第二答案类型。相应的,可以确定前提信息和第二答案类型的答案以多层级的展示形式进行展示。
在具体实施中,在答案信息的答案类型为所述第二答案类型的情况下,在所述视频预览信息的关联位置处,基于所述展示形式展示各个所述前提信息以及对应的答案信息时,可以采用下述方式:在所述视频预览信息的关联位置处,展示各个部分的答案信息;响应针对任一所述答案信息的触发操作, 展示该答案信息对应的多个子答案信息。
示例性的,参见图5所示,为本公开实施例提供的一种在答案信息的答案类型为第二答案类型的情况下,展示出的搜索结果页的示意图。对于搜索结果页中的第二区域,在展示各前提信息以及对应的时间戳信息后,在每个前提信息下可以先关联展示出各个部分的答案信息。比如在前提信息“对于儿童吃什么”下展示出对应的四个答案信息“早餐”、“午餐”、“加餐”、和“晚餐”。由于在该答案信息的答案层级下还包括另一层答案层级,而将两个答案层级的答案信息和子答案信息一并进行展示,会存在展示信息冗余的情况,因此对于具有下一答案层级下的子答案信息的答案信息,可以通过展开符号加以标识。
对于折叠并不直接展示出答案信息下的子答案信息,响应于对任一答案信息的触发操作,可以进行该答案信息下的子答案信息进行展示。具体在展示子答案信息时,可以在与展示答案信息的搜索结果页中进行展示,或者也可以弹出新的窗口进行展示。
示例性的,参见图6所示,为本公开实施例提供的一种展示子答案信息时,展示出的搜索结果页的示意图。其中,图6中(a)示出了在与图5中相同的搜索结果展示页上,通过将子答案信息展开的方式展示时的示意图。相较于图5中的展示符号,对于触发展示子答案信息的答案信息,展开符号变化为收起符号。
对于图6中(a)示出的展示方式,支持在搜索结果页中将多个答案信息对应的子答案信息进行展示。这种不需要额外提供新的页面进行展示的方式,在页面上较为整洁,用户也不需要在多个界面上反复进行操作。但由于第二区域的展示空间有限,因此在将多个答案信息下的子答案信息进行展示时,仅能展示出有限数量的答案信息或者子答案信息。另外,若某一答案信息的子答案信息的数量较多,由于在第二区域中还需要对其他的前提信息以及答案信息进行展示,因此可能无法对一个答案信息下的子答案信息进行完整地展示。
因此,本公开实施例中还提供了另一种展示方式,参见图6中(b)所示,在搜索结果页上可以以小窗口页面对用户触发的答案信息下的子答案信息进行展示。这样,利用新的小窗口页面可以提供更大的展示空间,以使答 案信息下的子答案信息能够完整的进行展示。另外,由于展示空间较大,因此在展示时还可以将在目标视频中对应的视频帧图像进行展示,使展示内容更加丰富。示例性的,在图6中(b)的一个子答案信息的关联位置处,对在目标视频中对应的视频帧图像进行了展示。
另外,对于答案信息,或者答案信息下的子答案信息,还可以关联展示其他相关信息,比如商品信息等。具体地,在获取预览资源中的结构化信息时,还可以获取与搜索请求关联的推荐信息,比如上述说明的商品信息或者其他信息。例如,针对搜索请求对应的问题题目为“一天适合吃什么”的情况,与搜索请求关联的推荐信息例如是各种食品对应的商品信息,或者是厨艺教学视频。这样,在每个所述时间戳信息的对应位置处展示与该时间戳信息对应的前提信息和答案信息时,还可以在至少一个答案信息下展示与所述搜索请求及该答案信息关联的推荐信息。示例性的,在图6中(b)示出的一个子答案信息的关联位置处,展示出了对应的推荐信息,包括子答案信息涉及到的燕麦牛奶对应的盒装牛奶的商品信息,具体包括盒装牛奶的商品图、商品名称、商品价格、以及商品购买链接。
这样,针对不同答案类型的答案信息,采用不同的展示方式进行展示,相较于直接将信息堆叠展示的方式而言,更具有条理性,从而可以使展示出的信息更具有逻辑性,也更易于用户从中获取信息。
另外,对于展示出的结构化信息中前提信息或任一部分的答案信息,响应于对其中任一信息的触发操作,可以从对应的时间戳位置处开始,播放所述目标视频。或者,也可以响应于对时间戳信息的触发操作,从时间戳信息在目标视频中指示的位置处开始播放目标视频。
在具体实施中,由于展示出的前提信息和答案信息的数量可能较多,并且通过文字信息展示的方式,可以向用户直接展示出目标视频中包含的、与搜索请求对应的搜索信息进行解答的步骤信息或多部分信息。因此,用户可能仅需要对展示出的前提信息和答案信息中更感兴趣的信息在目标视频中对应的部分进行观看。在这种情况下,通过对感兴趣的信息的触发操作,即可以从对应的时间戳位置处开始,对目标视频中感兴趣的信息对应的位置进行播放,避免用户需要观看完整的视频才能够获取感兴趣的信息的情况,也不需要用户手动调整进度条,因此可以更方便快捷地向用户出展示感兴趣的 信息。
示例性的,参见图7所示,为本公开实施例提供的一种在触发答案信息后,展示出的搜索结果页的示意图。具体地,触发了在第二区域中时间戳00:04对应的子答案信息“谷物面包”,相应的在第二区域中将时间戳信息和子答案信息显示为加粗。在第一区域中,目标视频跳转至时间戳位置处进行播放,例如当前正在展示包含谷物面包的视频帧图像。
本领域技术人员可以理解,在具体实施方式的上述方法中,各步骤的撰写顺序并不意味着严格的执行顺序而对实施过程构成任何限定,各步骤的具体执行顺序应当以其功能和可能的内在逻辑确定。
基于同一发明构思,本公开实施例中还提供了与搜索结果展示方法对应的搜索结果展示装置,由于本公开实施例中的装置解决问题的原理与本公开实施例上述搜索结果展示方法相似,因此装置的实施可以参见方法的实施,重复之处不再赘述。
参照图8所示,为本公开实施例提供的一种搜索结果展示装置的示意图,所述装置包括:获取模块81以及展示模块82;其中,
获取模块81,用于响应于搜索请求,获取与所述搜索请求匹配的目标视频的预览资源;其中,所述预览资源包括所述目标视频的视频预览信息,以及解答所述搜索请求的结构化信息,所述结构化信息为从所述目标视频中提取的信息,所述结构化信息中至少包括前提信息、答案信息、以及所述前提信息与所述答案信息在所述目标视频中分别对应的时间戳信息;
展示模块82,用于在搜索结果页展示所述视频预览信息,并在所述视频预览信息的关联位置处展示所述结构化信息。
一种可选的实施方式中,所述展示模块82在搜索结果页展示所述视频预览信息,并在所述视频预览信息的关联位置处展示所述结构化信息时,用于:在搜索结果页的第一区域展示所述视频预览信息,在与所述第一区域相邻的第二区域依次展示各个所述时间戳信息,并在每个所述时间戳信息的对应位置处展示与该时间戳信息对应的前提信息和答案信息。
一种可选的实施方式中,所述前提信息包括至少一个,每个所述前提信息对应至少一个答案信息;所述展示模块82在搜索结果页展示所述视频预览信息,并在所述视频预览信息的关联位置处展示所述结构化信息时,用于: 在搜索结果页的第一区域展示所述视频预览信息,在与所述第一区域相邻的第二区域依次展示所述结构化信息中各所述前提信息及其对应的时间戳信息,并在每个所述前提信息下展示对应的至少一个答案信息和每个所述答案信息分别对应的时间戳信息。
一种可选的实施方式中,所述展示模块82在搜索结果页展示所述视频预览信息,并在所述视频预览信息的关联位置处展示所述结构化信息时,用于:在所述结构化信息中包括一个前提信息和多个答案信息的情况下,在所述搜索结果页的第一区域展示所述视频预览信息,在与所述第一区域相邻的第二区域展示所述前提信息及其对应的时间戳信息,并在所述前提信息下,按照所述多个答案信息对应的时间戳的先后顺序,依次展示所述多个答案信息和每个所述答案信息分别对应的时间戳信息;在所述结构化信息中包括多个前提信息,且每个前提信息对应多个答案信息的情况下,在所述搜索结果页的第一区域展示所述视频预览信息,在与所述第一区域相邻的第二区域,按照各个前提信息的时间戳的先后顺序,依次展示各个所述前提信息及其对应的时间戳信息,并在每个所述前提信息下,按照各个答案信息的时间戳的先后顺序,依次展示该前提信息下的各个答案信息和每个所述答案信息分别对应的时间戳信息。
一种可选的实施方式中,所述展示模块82在所述视频预览信息的关联位置处展示所述结构化信息时,用于:基于各所述前提信息分别对应的答案信息的答案类型,确定各所述前提信息以及对应的答案信息的展示形式;在所述视频预览信息的关联位置处,基于所述展示形式展示各所述前提信息以及对应的答案信息。
一种可选的实施方式中,所述各所述前提信息对应的答案信息的答案类型为根据以下方式确定的:若所述目标视频中包含与所述搜索请求对应的多个步骤信息,确定所述答案类型为第一答案类型;每个所述答案信息对应一个所述步骤信息;或者,若所述目标视频中包含与所述搜索请求对应的多个部分的答案信息,且每个部分的答案信息下包含多个部分的子答案信息,确定所述答案类型为第二答案类型。
一种可选的实施方式中,响应于所述答案类型为所述第一答案类型,所述展示模块82在所述视频预览信息的关联位置处,基于所述展示形式展示 各个所述前提信息以及对应的答案信息时,用于:在所述视频预览信息的关联位置处,按照各所述前提信息和各个部分的所述答案信息分别对应的时间戳的先后顺序,展示各个所述前提信息以及对应的答案信息的时间戳信息。
一种可选的实施方式中,响应于所述答案信息对应的答案类型为第二答案类型,所述展示模块82在所述视频预览信息的关联位置处,基于所述展示形式展示展示各个所述前提信息以及对应的答案信息时,用于:在所述视频预览信息的关联位置处,展示各个部分的答案信息;响应针对任一所述答案信息的触发操作,展示该答案信息对应的多个子答案信息。
一种可选的实施方式中,所述结构化信息中还包括与所述搜索请求关联的推荐信息;所述展示模块82在所述视频预览信息的关联位置处展示所述结构化信息时,用于:在每个所述时间戳信息的对应位置处展示与该时间戳信息对应的前提信息和答案信息,并在至少一个答案信息下展示与所述搜索请求及该答案信息关联的推荐信息。
一种可选的实施方式中,所述搜索结果展示装置还包括第一处理模块83,用于:响应于针对所述结构化信息中前提信息或任一部分的答案信息的触发操作,自所述前提信息或任一部分的答案信息对应的时间戳位置处开始,播放所述目标视频。
一种可选的实施方式中,响应于所述目标视频包括多个,所述搜索结果展示装置还包括第二处理模块84,用于:确定多个所述目标视频的结构化信息与所述搜索请求之间的关联度,并按照所述关联度对多个所述目标视频进行排序;所述展示模块82在展示所述视频预览信息,并在所述视频预览信息的关联位置处展示所述结构化信息时,用于:按照多个所述目标视频的排序结果,依次展示各所述目标视频的所述视频预览信息,并在所述视频预览信息的关联位置处展示所述结构化信息。
关于装置中的各模块的处理流程、以及各模块之间的交互流程的描述可以参照上述方法实施例中的相关说明,这里不再详述。
本公开实施例还提供了一种计算机设备,如图9所示,为本公开实施例提供的计算机设备结构示意图,包括:
处理器10和存储器20;所述存储器20存储有处理器10可执行的机器可读指令,处理器10用于执行存储器20中存储的机器可读指令,所述机器 可读指令被处理器10执行时,处理器10执行下述步骤:
响应于搜索请求,获取与所述搜索请求匹配的目标视频的预览资源;其中,所述预览资源包括所述目标视频的视频预览信息,以及解答所述搜索请求的结构化信息,所述结构化信息为从所述目标视频中提取的信息,所述结构化信息中至少包括前提信息、答案信息、以及所述前提信息与所述答案信息在所述目标视频中分别对应的时间戳信息;在搜索结果页展示所述视频预览信息,并在所述视频预览信息的关联位置处展示所述结构化信息。
上述存储器20包括内存210和外部存储器220;这里的内存210也称内存储器,用于暂时存放处理器10中的运算数据,以及与硬盘等外部存储器220交换的数据,处理器10通过内存210与外部存储器220进行数据交换。
上述指令的具体执行过程可以参考本公开实施例中所述的搜索结果展示的步骤,此处不再赘述。
本公开实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行上述方法实施例中所述的搜索结果展示的步骤。其中,该存储介质可以是易失性或非易失的计算机可读取存储介质。
本公开实施例还提供一种计算机程序产品,该计算机程序产品承载有程序代码,所述程序代码包括的指令可用于执行上述方法实施例中所述的搜索结果展示的步骤,具体可参见上述方法实施例,在此不再赘述。
其中,上述计算机程序产品可以具体通过硬件、软件或其结合的方式实现。在一个可选实施例中,所述计算机程序产品具体体现为计算机存储介质,在另一个可选实施例中,计算机程序产品具体体现为软件产品,例如软件开发包(Software Development Kit,SDK)等等。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统和装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。在本公开所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的 相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可执行的非易失的计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是:以上所述实施例,仅为本公开的具体实施方式,用以说明本公开的技术方案,而非对其限制,本公开的保护范围并不局限于此,尽管参照前述实施例对本公开进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本公开实施例技术方案的精神和范围,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应所述以权利要求的保护范围为准。

Claims (14)

  1. 一种搜索结果展示方法,包括:
    响应于搜索请求,获取与所述搜索请求匹配的目标视频的预览资源;其中,所述预览资源包括所述目标视频的视频预览信息,以及解答所述搜索请求的结构化信息,所述结构化信息为从所述目标视频中提取的信息,所述结构化信息中至少包括前提信息、答案信息、以及所述前提信息与所述答案信息在所述目标视频中分别对应的时间戳信息;
    在搜索结果页展示所述视频预览信息,并在所述视频预览信息的关联位置处展示所述结构化信息。
  2. 根据权利要求1所述的搜索结果展示方法,其中,在所述搜索结果页展示所述视频预览信息,并在所述视频预览信息的关联位置处展示所述结构化信息,包括:
    在所述搜索结果页的第一区域展示所述视频预览信息,在与所述第一区域相邻的第二区域依次展示各个所述时间戳信息,并在每个所述时间戳信息的对应位置处展示与每个所述时间戳信息对应的前提信息和答案信息。
  3. 根据权利要求2所述的搜索结果展示方法,其中,所述前提信息包括至少一个,每个所述前提信息对应至少一个答案信息;在所述搜索结果页展示所述视频预览信息,并在所述视频预览信息的关联位置处展示所述结构化信息,包括:
    在所述搜索结果页的所述第一区域展示所述视频预览信息,在与所述第一区域相邻的所述第二区域依次展示所述结构化信息中各所述前提信息及其对应的时间戳信息,并在每个所述前提信息下展示对应的至少一个答案信息和每个所述答案信息分别对应的时间戳信息。
  4. 根据权利要求2或3所述的搜索结果展示方法,其中,在所述搜索结果页展示所述视频预览信息,并在所述视频预览信息的关联位置处展示所述结构化信息,包括:
    在所述结构化信息中包括一个前提信息和多个答案信息的情况下,在所述搜索结果页的所述第一区域展示所述视频预览信息,在与所述第一区域相邻的所述第二区域展示所述前提信息及其对应的时间戳信息,并在所述前提 信息下,按照所述多个答案信息对应的时间戳的先后顺序,依次展示所述多个答案信息和每个所述答案信息分别对应的时间戳信息;
    在所述结构化信息中包括多个前提信息,且每个前提信息对应多个答案信息的情况下,在所述搜索结果页的所述第一区域展示所述视频预览信息,在与所述第一区域相邻的所述第二区域,按照各个前提信息的时间戳的先后顺序,依次展示各个所述前提信息及其对应的时间戳信息,并在每个所述前提信息下,按照各个答案信息的时间戳的先后顺序,依次展示每个所述前提信息下的各个答案信息和每个所述答案信息分别对应的时间戳信息。
  5. 根据权利要求1-4任一项所述的搜索结果展示方法,其中,所述在所述视频预览信息的关联位置处展示所述结构化信息,包括:
    基于各所述前提信息分别对应的答案信息的答案类型,确定各所述前提信息以及对应的答案信息的展示形式;
    在所述视频预览信息的关联位置处,基于所述展示形式展示各所述前提信息以及对应的答案信息。
  6. 根据权利要求5所述的搜索结果展示方法,其中,所述各所述前提信息对应的答案信息的答案类型为根据以下方式确定的:
    若所述目标视频中包含与所述搜索请求对应的多个步骤信息,确定所述答案类型为第一答案类型;每个所述答案信息对应一个所述步骤信息;或者,
    若所述目标视频中包含与所述搜索请求对应的多个部分的答案信息,且每个部分的答案信息下包含多个部分的子答案信息,确定所述答案类型为第二答案类型。
  7. 根据权利要求6所述的搜索结果展示方法,其中,响应于所述答案类型为所述第一答案类型,所述在所述视频预览信息的关联位置处,基于所述展示形式展示各个所述前提信息以及对应的答案信息,包括:
    在所述视频预览信息的关联位置处,按照各所述前提信息和各个部分的所述答案信息分别对应的时间戳的先后顺序,展示各个所述前提信息以及对应的答案信息的时间戳信息。
  8. 根据权利要求6所述的搜索结果展示方法,其中,响应于所述答案信息对应的答案类型为第二答案类型,所述在所述视频预览信息的关联位置处,基于所述展示形式展示展示各个所述前提信息以及对应的答案信息,包括:
    在所述视频预览信息的关联位置处,展示各个部分的答案信息;
    响应针对任一所述答案信息的触发操作,展示任一所述答案信息对应的多个子答案信息。
  9. 根据权利要求1-8任一项所述的搜索结果展示方法,其中,所述结构化信息中还包括与所述搜索请求关联的推荐信息;
    在所述视频预览信息的关联位置处展示所述结构化信息,包括:
    在每个所述时间戳信息的对应位置处展示与每个所述时间戳信息对应的前提信息和答案信息,并在至少一个答案信息下展示与所述搜索请求及所述答案信息关联的推荐信息。
  10. 根据权利要求1-9任一项所述的搜索结果展示方法,还包括:
    响应于针对所述结构化信息中前提信息或任一部分的答案信息的触发操作,自所述前提信息或任一部分的答案信息对应的时间戳位置处开始,播放所述目标视频。
  11. 根据权利要求1-10任一项所述的搜索结果展示方法,其中,响应于所述目标视频包括多个,所述方法还包括:
    确定多个所述目标视频的结构化信息与所述搜索请求之间的关联度,并按照所述关联度对多个所述目标视频进行排序;
    所述展示所述视频预览信息,并在所述视频预览信息的关联位置处展示所述结构化信息,包括:
    按照多个所述目标视频的排序结果,依次展示各所述目标视频的所述视频预览信息,并在所述视频预览信息的关联位置处展示所述结构化信息。
  12. 一种搜索结果展示装置,包括:
    获取模块,被配置为响应于搜索请求,获取与所述搜索请求匹配的目标视频的预览资源;其中,所述预览资源包括所述目标视频的视频预览信息,以及解答所述搜索请求的结构化信息,所述结构化信息为从所述目标视频中提取的信息,所述结构化信息中至少包括前提信息、答案信息、以及所述前提信息与所述答案信息在所述目标视频中分别对应的时间戳信息;
    展示模块,被配置为在搜索结果页展示所述视频预览信息,并在所述视频预览信息的关联位置处展示所述结构化信息。
  13. 一种计算机设备,包括:处理器、存储器,所述存储器存储有所述 处理器可执行的机器可读指令,所述处理器被配置为执行所述存储器中存储的所述机器可读指令,所述机器可读指令被所述处理器执行时,所述处理器执行如权利要求1至11任一项所述的搜索结果展示方法。
  14. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被计算机设备运行时,所述计算机设备执行如权利要求1至11任一项所述的搜索结果展示方法。
PCT/CN2023/094760 2022-06-24 2023-05-17 搜索结果展示方法、装置、计算机设备及存储介质 WO2023246384A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210723399.0A CN115098724A (zh) 2022-06-24 2022-06-24 一种搜索结果展示方法、装置、计算机设备及存储介质
CN202210723399.0 2022-06-24

Publications (2)

Publication Number Publication Date
WO2023246384A1 true WO2023246384A1 (zh) 2023-12-28
WO2023246384A9 WO2023246384A9 (zh) 2024-09-19

Family

ID=83292433

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/094760 WO2023246384A1 (zh) 2022-06-24 2023-05-17 搜索结果展示方法、装置、计算机设备及存储介质

Country Status (2)

Country Link
CN (1) CN115098724A (zh)
WO (1) WO2023246384A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114372215B (zh) 2022-01-12 2023-07-14 抖音视界有限公司 一种搜索结果展示、搜索请求处理方法及装置
CN115098724A (zh) * 2022-06-24 2022-09-23 抖音视界(北京)有限公司 一种搜索结果展示方法、装置、计算机设备及存储介质
CN115587201A (zh) * 2022-10-17 2023-01-10 北京字跳网络技术有限公司 一种搜索结果展示方法、装置、计算机设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189987A (zh) * 2017-09-04 2019-01-11 优酷网络技术(北京)有限公司 视频搜索方法和装置
US20190018839A1 (en) * 2017-07-14 2019-01-17 Guangzhou Shenma Mobile Information Technology Co., Ltd. Knowledge map-based question-answer method, device, and storage medium
CN111859195A (zh) * 2020-07-31 2020-10-30 北京字节跳动网络技术有限公司 一种信息展示方法、信息搜索方法及装置
CN112163102A (zh) * 2020-09-29 2021-01-01 北京字跳网络技术有限公司 搜索内容匹配方法、装置、电子设备及存储介质
CN113779307A (zh) * 2021-09-28 2021-12-10 北京字跳网络技术有限公司 一种信息展示方法、装置、计算机设备及存储介质
CN115098724A (zh) * 2022-06-24 2022-09-23 抖音视界(北京)有限公司 一种搜索结果展示方法、装置、计算机设备及存储介质

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657563A (zh) * 2014-11-12 2016-06-08 深圳富泰宏精密工业有限公司 基于视频内容的商品推荐系统与方法
CN111723236A (zh) * 2019-03-18 2020-09-29 百度在线网络技术(北京)有限公司 视频索引建立方法、装置、设备及计算机可读介质
US20200380030A1 (en) * 2019-05-31 2020-12-03 Adobe Inc. In-application video navigation system
CN112423138A (zh) * 2020-11-06 2021-02-26 北京字节跳动网络技术有限公司 一种搜索结果展示方法及终端设备
CN112860939B (zh) * 2021-02-19 2023-09-26 北京百度网讯科技有限公司 音视频数据处理方法、装置、设备和存储介质
CN113965792A (zh) * 2021-09-15 2022-01-21 北京搜狗科技发展有限公司 视频展示方法、装置、电子设备及可读存储介质
CN113992973B (zh) * 2021-09-22 2024-06-11 阿里巴巴达摩院(杭州)科技有限公司 视频摘要生成方法、装置、电子设备和存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190018839A1 (en) * 2017-07-14 2019-01-17 Guangzhou Shenma Mobile Information Technology Co., Ltd. Knowledge map-based question-answer method, device, and storage medium
CN109189987A (zh) * 2017-09-04 2019-01-11 优酷网络技术(北京)有限公司 视频搜索方法和装置
CN111859195A (zh) * 2020-07-31 2020-10-30 北京字节跳动网络技术有限公司 一种信息展示方法、信息搜索方法及装置
CN112163102A (zh) * 2020-09-29 2021-01-01 北京字跳网络技术有限公司 搜索内容匹配方法、装置、电子设备及存储介质
CN113779307A (zh) * 2021-09-28 2021-12-10 北京字跳网络技术有限公司 一种信息展示方法、装置、计算机设备及存储介质
CN115098724A (zh) * 2022-06-24 2022-09-23 抖音视界(北京)有限公司 一种搜索结果展示方法、装置、计算机设备及存储介质

Also Published As

Publication number Publication date
WO2023246384A9 (zh) 2024-09-19
CN115098724A (zh) 2022-09-23

Similar Documents

Publication Publication Date Title
WO2023246384A1 (zh) 搜索结果展示方法、装置、计算机设备及存储介质
US9430585B2 (en) Media object query submission and response
JP5980892B2 (ja) 検索推薦方法およびデバイス
KR101132509B1 (ko) 모바일 검색을 위한 모바일 시스템, 검색 시스템 및 검색 결과 제공 방법
WO2023051063A1 (zh) 一种信息展示方法、装置、计算机设备及存储介质
CN111131876B (zh) 视频直播的控制方法、装置、终端及计算机可读存储介质
CN106462623B (zh) 基于内容项使用的歌曲推荐
WO2023000779A1 (zh) 一种信息查询方法及其相关设备
WO2022267658A1 (zh) 内容搜索方法、装置、设备及介质
CN109379639B (zh) 视频内容对象的推送方法及装置、电子设备
Hjorth Mobile art: Rethinking intersections between art, user created content (UCC), and the quotidian
WO2023134324A1 (zh) 一种搜索请求处理方法、装置、计算机设备及存储介质
CN111078078B (zh) 视频播放控制方法、装置、终端及计算机可读存储介质
TW201837654A (zh) 互動式影音分享方法及系統
CN114372215A (zh) 一种搜索结果展示、搜索请求处理方法及装置
CN112447073A (zh) 一种讲解视频生成、讲解视频展示方法及装置
WO2023236710A1 (zh) 搜索结果展示方法、装置、计算机设备及存储介质
CN111984126A (zh) 答题记录生成方法、装置、电子设备及存储介质
WO2023088036A1 (zh) 页面展示方法及装置、电子设备、存储介质和程序产品
CN109299378A (zh) 搜索结果的展示方法、装置、终端及存储介质
CN113221004A (zh) 一种关键词展示方法及装置
GB2592495A (en) Workshop assistance system and workshop assistance method
KR101250169B1 (ko) 모바일 검색을 위한 모바일 시스템, 검색 시스템 및 검색 결과 제공 방법
JP2006053273A (ja) コンテンツ生成装置、プログラム、及び記録媒体
US20230121168A1 (en) Method for querying information and display device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23826033

Country of ref document: EP

Kind code of ref document: A1