Movatterモバイル変換


[0]ホーム

URL:


CN114357245A - Search result display method and device, electronic equipment and storage medium - Google Patents

Search result display method and device, electronic equipment and storage medium
Download PDF

Info

Publication number
CN114357245A
CN114357245ACN202111486454.0ACN202111486454ACN114357245ACN 114357245 ACN114357245 ACN 114357245ACN 202111486454 ACN202111486454 ACN 202111486454ACN 114357245 ACN114357245 ACN 114357245A
Authority
CN
China
Prior art keywords
video
search
sub
topic
subset
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202111486454.0A
Other languages
Chinese (zh)
Inventor
谢雨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
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 Beijing Dajia Internet Information Technology Co LtdfiledCriticalBeijing Dajia Internet Information Technology Co Ltd
Priority to CN202111486454.0ApriorityCriticalpatent/CN114357245A/en
Publication of CN114357245ApublicationCriticalpatent/CN114357245A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Landscapes

Abstract

The disclosure relates to a search result display method and device, electronic equipment and a storage medium, and relates to the technical field of computers. The method comprises the following steps: determining search keywords to be processed; when candidate keywords matched with the search keywords exist, acquiring a video subset corresponding to at least one sub-topic under related topics of the candidate keywords; the video subset is obtained by aggregating the video search results corresponding to the candidate keywords according to at least one sub-topic; and displaying at least one video subset, so that the video subset corresponding to at least one sub-topic under the relevant topic of the matched candidate keyword can be displayed, the display efficiency of the search result is improved, a user can conveniently and quickly find a required video, and the search experience of the user is improved.

Description

Search result display method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for displaying a search result, an electronic device, and a storage medium.
Background
Currently, for search keywords to be processed, videos corresponding to the search keywords are directly displayed below a search box. For a mobile terminal user, especially when a video list is displayed, the user is difficult to find a desired video quickly due to more videos, the display efficiency of search results is poor, and the user search experience is poor.
Disclosure of Invention
The disclosure provides a search result display method and device, electronic equipment and a storage medium, which are used for at least solving the problems of poor search result display efficiency and poor user search experience in the related art.
According to a first aspect of the present disclosure, a method for presenting search results is provided, including: determining search keywords to be processed; when a candidate keyword matched with the search keyword exists, acquiring a video subset corresponding to at least one sub-topic under the related topic of the candidate keyword; the video subset combination is obtained by aggregating video search results corresponding to the candidate keywords according to the at least one sub-topic; presenting at least one of the video subsets.
As a first possible situation of the embodiment of the present disclosure, before acquiring, when a candidate keyword matching the search keyword exists, a video subset corresponding to at least one sub-topic under a related topic of the candidate keyword, the method further includes: determining at least one candidate keyword and a video search result corresponding to each candidate keyword; for each candidate keyword, determining a related topic of the candidate keyword and at least one sub-topic under the related topic; determining the sub-topic to which the video belongs in the video search result corresponding to the candidate keyword according to the at least one sub-topic; and aggregating the videos in the video search result according to the sub-topics to which the videos belong to obtain the video sub-set.
As a second possible situation of the embodiment of the present disclosure, the determining, according to the at least one sub-topic, a sub-topic to which a video belongs in a video search result corresponding to the candidate keyword includes: for each video in the video search results, determining a probability that the video belongs to the at least one sub-topic respectively; and determining the corresponding sub-topic with the maximum probability as the sub-topic to which the video belongs.
As a third possible case of the embodiment of the present disclosure, before aggregating videos in the video search result according to the sub-topics to which the videos belong to obtain the video sub-set, the method further includes: sequencing each video in the video search results according to the index parameter information of the video in the video search results to obtain sequencing results; removing videos with the sorting sequence numbers larger than or equal to a preset sequence number threshold value in the video search results; or removing the videos with the preset number after the videos are ranked in the video search result.
As a fourth possible case of the embodiment of the present disclosure, the index parameter information includes: at least one index parameter; the index parameter information includes: at least one index parameter; the sorting each video in the video search results according to the index parameter information of the video in the video search results to obtain sorting results includes: for each video in the video search results, performing weighted summation according to the numerical value of at least one index parameter of the video and the weight of the at least one index parameter, and determining a comprehensive index of the video; and sequencing all videos in the video search results according to the comprehensive indexes to obtain the sequencing results.
As a fifth possible case of the embodiment of the present disclosure, the index parameter includes at least one of the following parameters: the video watching time length, the video praise number, the video comment number, the video forwarding number and the video collection number.
As a sixth possible case of the embodiment of the present disclosure, the determining at least one candidate keyword and a video search result corresponding to each candidate keyword includes: acquiring a historical search record in a preset time period, wherein the historical search record comprises: historical search keywords and corresponding search times; sequencing the historical search keywords according to the search times to obtain a sequencing result; determining the historical search keywords ranked in the top preset number in the ranking result as candidate keywords; and obtaining a video search result corresponding to the candidate keyword.
As a seventh possible scenario of the embodiment of the present disclosure, the presenting at least one of the video subsets includes: determining the position weight of at least one video subset according to index parameter information of videos in at least one video subset; determining the display parameter information of at least one video subset according to the position weight of at least one video subset; and performing display processing on at least one video subset according to the display parameter information.
As an eighth possible case of the embodiment of the present disclosure, the determining, according to index parameter information of videos in at least one of the video subsets, a position weight of at least one of the video subsets includes: sequencing the videos in at least one video subset according to the index parameter information of the videos in at least one video subset to obtain a sequencing result; determining the position weight of the video in at least one video subset according to the sequencing result; and for each video subset, determining the position weight of the video subset according to the position weight of the video in the video subset.
As a ninth possible case of the embodiment of the present disclosure, the presenting at least one of the video subsets includes: determining a number of videos of at least one of the video subsets; determining the display parameter information of at least one video subset according to the video quantity of at least one video subset; and performing display processing on at least one video subset according to the display parameter information.
As a tenth possible scenario of the embodiment of the present disclosure, after presenting at least one of the video subsets, the method further includes: acquiring a selection request, wherein the selection request comprises: a subset identification; and displaying the videos in the video subset corresponding to the subset identification.
According to a second aspect of the embodiments of the present disclosure, there is provided a search result presentation apparatus, including: a first determination module configured to perform determining a search keyword to be processed; the acquisition module is configured to execute the step of acquiring a video subset corresponding to at least one sub-topic under the relevant topics of the candidate keywords when the candidate keywords matched with the search keywords exist; the video subset combination is obtained by aggregating video search results corresponding to the candidate keywords according to the at least one sub-topic; a rendering module configured to perform rendering at least one of the video subsets.
As a first possible case of the embodiment of the present disclosure, the apparatus further includes: the device comprises a second determining module, a third determining module, a fourth determining module and an aggregation module; the second determination module is configured to perform determination of at least one candidate keyword and a video search result corresponding to each candidate keyword; the third determining module is configured to determine, for each of the candidate keywords, a related topic of the candidate keyword and at least one sub-topic under the related topic; the fourth determining module is configured to determine, according to the at least one sub-topic, a sub-topic to which a video belongs in a video search result corresponding to the candidate keyword; the aggregation module is configured to perform aggregation on the videos in the video search result according to the sub-topics to which the videos belong, so as to obtain the video sub-set.
As a second possible case of the embodiment of the present disclosure, the fourth determining module is specifically configured to perform, for each video in the video search result, determining a probability that the video belongs to the at least one sub-topic respectively; and determining the corresponding sub-topic with the maximum probability as the sub-topic to which the video belongs.
As a third possible case of the embodiment of the present disclosure, the apparatus further includes: a sorting module and a removing module; the sorting module is configured to sort each video in the video search results according to index parameter information of the video in the video search results to obtain a sorting result; the removing module is configured to remove videos with sorting sequence numbers larger than or equal to a preset sequence number threshold value in the video search results; or removing the videos with the preset number after the videos are ranked in the video search result.
As a fourth possible case of the embodiment of the present disclosure, the sorting module is specifically configured to perform, for each video in the video search results, performing weighted summation according to a value of at least one index parameter of the video and a weight of the at least one index parameter, and determining a composite index of the video; and sequencing all videos in the video search results according to the comprehensive indexes to obtain the sequencing results.
As a fifth possible case of the embodiment of the present disclosure, the index parameter includes at least one of the following parameters: the video watching time length, the video praise number, the video comment number, the video forwarding number and the video collection number.
As a sixth possible case of the embodiment of the present disclosure, the second determining module is specifically configured to execute, and acquire a history search record within a preset time period, where the history search record includes: historical search keywords and corresponding search times; sequencing the historical search keywords according to the search times to obtain a sequencing result; determining the historical search keywords ranked in the top preset number in the ranking result as candidate keywords; and obtaining a video search result corresponding to the candidate keyword.
As a seventh possible case of the embodiment of the present disclosure, the presentation module is specifically configured to perform, according to index parameter information of videos in at least one of the video subsets, determining a position weight of at least one of the video subsets; determining the display parameter information of at least one video subset according to the position weight of at least one video subset; and performing display processing on at least one video subset according to the display parameter information.
As an eighth possible case of the embodiment of the present disclosure, the presentation module is specifically configured to perform, according to index parameter information of videos in at least one of the video subsets, sorting the videos in at least one of the video subsets to obtain a sorting result; determining the position weight of the video in at least one video subset according to the sequencing result; and for each video subset, determining the position weight of the video subset according to the position weight of the video in the video subset.
As a ninth possible case of the embodiment of the present disclosure, the presentation module is specifically configured to perform determining a video number of at least one of the video subsets; determining the display parameter information of at least one video subset according to the video quantity of at least one video subset; and performing display processing on at least one video subset according to the display parameter information.
As a tenth possible case of the embodiment of the present disclosure, the obtaining module is further configured to execute, obtain, by a user, a request for election, where the request for election includes: a subset identification; the rendering module is further configured to perform rendering the video in the subset corresponding to the subset identification.
According to a third aspect of the present disclosure, there is provided an electronic device comprising: a processor; a memory for storing the processor-executable instructions; the processor is configured to execute the instructions to implement the method for presenting search results provided in the embodiment of the first aspect of the present disclosure.
According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform the method for presenting search results set forth in the above of the present disclosure.
According to a fifth aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor of an electronic device, enables the electronic device to perform the method for presenting search results set forth in the disclosure above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
determining a search keyword to be processed; when candidate keywords matched with the search keywords exist, acquiring a video subset corresponding to at least one sub-topic under related topics of the candidate keywords; the video subset is obtained by aggregating the video search results corresponding to the candidate keywords according to at least one sub-topic; at least one video subset is presented. Therefore, the video subset corresponding to at least one sub-topic under the related topic of the matched candidate keyword can be displayed, the display efficiency of the search result is improved, a user can conveniently and quickly find a required video, and the search experience of the user is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a flow diagram illustrating a method of presentation of search results in accordance with an exemplary embodiment;
FIG. 2 is a flow chart of sorting videos;
FIG. 3 is a schematic diagram of a presentation method of search results;
FIG. 4 is a block diagram of a presentation device of search results shown in accordance with an exemplary embodiment;
FIG. 5 is a block diagram illustrating another search result presentation apparatus in accordance with an illustrative embodiment;
FIG. 6 is a block diagram illustrating an electronic device for presentation of search results in accordance with an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Currently, for search keywords to be processed, videos corresponding to the search keywords are directly displayed below a search box. For a mobile terminal user, especially when a video list is displayed, the user is difficult to find a desired video quickly due to more videos, the display efficiency of search results is poor, and the user search experience is poor.
The disclosure provides a search result display method, a search result display device, an electronic device and a storage medium, mainly aiming at the problems of poor search result display efficiency and poor user search experience in the related art. The method for displaying the search result of the embodiment of the disclosure determines the search keyword to be processed; when candidate keywords matched with the search keywords exist, acquiring a video subset corresponding to at least one sub-topic under related topics of the candidate keywords; the video subset is obtained by aggregating the video search results corresponding to the candidate keywords according to at least one sub-topic; and displaying at least one video subset, so that the video subset corresponding to at least one sub-topic under the relevant topic of the matched candidate keyword can be displayed, the display efficiency of the search result is improved, a user can conveniently and quickly find a required video, and the search experience of the user is improved.
The technical solution of the embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
FIG. 1 is a flow diagram illustrating a method of presentation of search results in accordance with an exemplary embodiment.
It should be noted that the execution subject of the method for presenting search results in the embodiment of the present disclosure may be a device for presenting search results, and the device for presenting search results may be configured in the electronic device, so as to execute the method for presenting search results on the electronic device. Alternatively, the presentation apparatus of the search result may also be configured in an application of the electronic device, so that the application executes the presentation method of the search result.
The electronic device may be any stationary or mobile computing device capable of performing data processing, for example, a mobile computing device such as a notebook computer and a wearable device, or a stationary computing device such as a desktop computer, or other types of computing devices, which is not limited in this disclosure.
As shown in fig. 1, the presentation method of the search result may include the following steps 101-103.
In step 101, a search keyword to be processed is determined.
In the embodiment of the disclosure, the search keyword to be processed may be a keyword input to a search box on a search page when a user has a search requirement. The search page is displayed to the user by the display device of the search result. The process of determining the search keyword to be processed by the presentation device of the search result may be, for example, displaying a search page, detecting a keyword input by a user in a search box of the search page, and determining the keyword as the search keyword to be processed.
In step 102, when a candidate keyword matched with the search keyword exists, acquiring a video subset corresponding to at least one sub-topic under the related topic of the candidate keyword; the video subset is obtained by aggregating the video search results corresponding to the candidate keywords according to at least one sub-topic.
In the embodiment of the present disclosure, the presentation device of the search result may store at least one candidate keyword in advance, and a plurality of video subsets corresponding to each candidate keyword. And the plurality of video subsets corresponding to each candidate keyword are video subsets corresponding to at least one sub-topic under the related topic of the candidate keyword. The at least one candidate keyword may be a keyword with a higher search amount in a period of time. The keywords with higher search quantity and the corresponding video subsets are stored in advance, so that when the keywords to be processed are one of the keywords, the corresponding video subsets can be timely and quickly obtained for display without large calculation quantity.
In the embodiment of the present disclosure, taking the topic related to the candidate keyword as an example, at least one sub-topic under the topic is, for example, a basketball teaching, a basketball game, a NBA highlight moment, a basketball game explanation, and the like.
In the embodiment of the disclosure, by acquiring and displaying the video subset corresponding to at least one sub-topic under the related topic of the candidate keyword, the displayed sub-topic is the sub-topic under the related topic, and a user can select the video subset corresponding to the required sub-topic according to the search requirement to perform video search. In addition, the video subsets corresponding to other sub-topics are convenient for the user to expand concerned sub-topics and interested sub-topics, and the like, so that the display efficiency of search results is improved, and the user experience is further improved.
In the embodiment of the disclosure, when the candidate keyword matched with the search keyword does not exist, the video search result corresponding to the search keyword can be obtained, and the video search result is directly displayed. Or, when there is no candidate keyword matching with the search keyword, determining a related topic of the search keyword and at least one sub-topic under the related topic, and clustering video search results corresponding to the search keyword according to the at least one sub-topic to obtain at least one video subset.
In step 103, at least one video subset is presented.
In the embodiment of the present disclosure, the presentation device of the search result may present the video subsets, for example, in such a manner that, for each video subset, a main video in the videos in the subset may be replaced, or a plurality of video thumbnails may be included instead.
In an example of the embodiment of the present disclosure, the presentation device of the search result performing step 103 may be, for example, determining a position weight of at least one video subset according to index parameter information of videos in the at least one video subset; determining the display parameter information of at least one video subset according to the position weight of at least one video subset; and performing display processing on at least one video subset according to the display parameter information.
The process of determining the position weight of at least one video subset by the presentation device of the search result according to the index parameter information of the videos in at least one video subset may be, for example, sorting the videos in at least one video subset according to the index parameter information of the videos in at least one video subset to obtain a sorting result; determining the position weight of the video in at least one video subset according to the sequencing result; and for each video subset, determining the position weight of the video subset according to the position weight of the video in the video subset. In the sequencing result, the position weight of the video sequenced at the front is larger, and the position weight of the video sequenced at the back is smaller.
For each video subset, the process of determining the position weight of the video subset by the presentation device of the search result according to the position weight of the video in the video subset may be, for example, summing the position weights of the videos in the video subset and averaging to determine an average position weight of the video in the video subset; and determining the average position weight as the position weight of the video subset.
Wherein, the presentation parameter information may include at least one of the following parameters: the position of the display area and the size information of the display area. The larger the position weight of the video subset is, the more front the position of the corresponding display area can be, and the larger the size information of the display area can be; the smaller the position weight of the video subset is, the later the position of the corresponding display area can be, and the smaller the size information of the display area can be.
In another example, the search result presentation device performing the process of step 103 may be, for example, determining the number of videos of at least one video subset; determining the display parameter information of at least one video subset according to the video quantity of at least one video subset; and performing display processing on at least one video subset according to the display parameter information.
The larger the number of videos in the video subset is, the more forward the position of the corresponding display area can be, and the larger the size information of the display area can be; the smaller the number of videos of the video subset, the later the position of the corresponding presentation area may be, and the smaller the size information of the presentation area may be.
In the embodiment of the present disclosure, after step 103, the presentation device of the search result may further perform the following processes: acquiring a selection request, wherein the selection request comprises: a subset identification; and displaying the videos in the video subset corresponding to the subset identification. And then, displaying the corresponding video according to the video selected by the user.
In the embodiment of the present disclosure, for example, the search keyword is "video related to basketball", and the candidate keyword matching the search keyword is "basketball video". The related subject of the candidate keyword is basketball; at least one sub-theme under the theme, for example, basketball teaching, basketball games, NBA highlights moments and basketball game explanation, etc.
The basketball video is one of the keywords with a high search volume in a period of time, that is, the search volume of the word is high, and the possibility of being searched is high, so that the search result of the word can be prepared in advance to improve the search effect and avoid repeated search. In addition, in order to facilitate expanding the topic in which the search user is interested, the search results of the word may be grouped according to at least one sub-topic under the related topic of the word, so that the user can quickly find the required search results, and the search results of other sub-topics are presented to the user. The search results under the basketball video are grouped according to the subtopics of basketball teaching, basketball match, NBA wonderful moment, basketball match explanation and the like, and a video subset corresponding to each subtopic is obtained. Then, the display position or the display size of the video subset corresponding to each sub-topic can be determined according to the number or the position weight of the videos in the video subset corresponding to each sub-topic. For example, if the video frequency quantity in the video subset corresponding to the "NBA highlight moment" sub-topic is the largest, the video subset corresponding to the sub-topic may be displayed in the front area of the search result page; if the video frequency amount in the video subset corresponding to the "basketball teaching" sub-topic is the least, the video subset corresponding to the sub-topic can be displayed in the tail area in the search result page.
The method for displaying the search result of the embodiment of the disclosure determines the search keyword to be processed; when candidate keywords matched with the search keywords exist, acquiring a video subset corresponding to at least one sub-topic under related topics of the candidate keywords; the video subset is obtained by aggregating the video search results corresponding to the candidate keywords according to at least one sub-topic; and displaying at least one video subset, so that the video subset corresponding to at least one sub-topic under the relevant topic of the matched candidate keyword can be displayed, the display efficiency of the search result is improved, a user can conveniently and quickly find a required video, and the search experience of the user is improved.
FIG. 2 is a flow chart illustrating another method of presenting search results in accordance with an exemplary embodiment. On the basis of the embodiment shown in fig. 1, before step 103, the method may further include a process of determining a video subset corresponding to at least one sub-topic under the related topic of the at least one candidate keyword. As shown in fig. 2, the process of determining the video subset corresponding to at least one candidate keyword may include the following steps 201 and 204.
In step 201, at least one candidate keyword and a video search result corresponding to each candidate keyword are determined.
In the embodiment of the present disclosure, the process of executing step 201 by the presentation apparatus of the search result may include the following steps: acquiring a historical search record in a preset time period, wherein the historical search record comprises: historical search keywords and corresponding search times; sequencing the historical search keywords according to the search times to obtain a sequencing result; determining the historical search keywords ranked in the top preset number in the ranking result as candidate keywords; and obtaining a video search result corresponding to the candidate keyword.
The historical search keywords with higher search times are generally keywords frequently searched by the user or keywords with higher search heat. The historical search keywords with higher search times are determined as the candidate keywords, the video subset corresponding to at least one sub-topic under the related topic of the candidate keywords is further determined, and the video subset corresponding to at least one sub-topic can be directly provided when a subsequent user searches the candidate keywords, so that the video search and processing processes are reduced, the search time is shortened, the resource consumption of the search is reduced, and the search experience is improved.
In step 202, for each candidate keyword, a related topic of the candidate keyword and at least one sub-topic under the related topic are determined.
In the embodiment of the present disclosure, the determination manner of the related topic of the candidate keyword may be, for example, inputting the candidate keyword into a preset topic classification model, and determining the topic output by the topic classification model as the related topic of the candidate keyword. The determination method of the related topics of the candidate keywords may be, for example, determining the matching degrees between the candidate keywords and preset topics, and determining the topic with the maximum matching degree as the related topic of the candidate keywords. At least one of the sub-topics is a subordinate topic of the related topic. For example, if the related topic is basketball, at least one sub-topic under the topic may be, for example, a sub-topic such as basketball teaching, basketball game, NBA highlight and basketball game explanation.
In step 203, according to at least one sub-topic, a sub-topic to which a video in the video search result corresponding to the candidate keyword belongs is determined.
In the embodiment of the present disclosure, the process executed by the search result presentation apparatus in step 203 may be, for example, to determine, for each video in the video search results, a probability that the video belongs to at least one sub-topic respectively; and determining the corresponding sub-topic with the maximum probability as the sub-topic to which the video belongs.
In step 204, the videos in the video search result are aggregated according to the sub-topics to which the videos belong, so as to obtain a video sub-set.
In the embodiment of the present disclosure, in order to improve the quality of the videos in the video search result and reduce the number of videos in the video search result, before step 204, the method may further include the following steps: sequencing each video in the video search results according to the index parameter information of the video in the video search results to obtain sequencing results; removing videos with the sorting sequence numbers larger than or equal to a preset sequence number threshold value in the video search result; or, removing the preset number of videos ranked in the video search result.
Wherein, the index parameter information includes: at least one index parameter. In an example, the index parameter information may include an index parameter, and the process of sorting the videos in the video search result by the presentation device of the search result may be, for example, sorting the videos in the video search result according to the index parameter included in the index parameter information to obtain a sorting result.
In another example, the metric parameter information may include a plurality of metric parameters. Correspondingly, the process of sequencing each video in the video search results by the search result presentation device may be, for example, performing weighted summation on each video in the video search results according to the numerical value of at least one index parameter of the video and the weight of the at least one index parameter, and determining a comprehensive index of the video; and sequencing each video in the video search results according to the comprehensive indexes to obtain sequencing results.
Wherein, the index parameter may include at least one of the following parameters: the video watching time length, the video praise number, the video comment number, the video forwarding number and the video collection number. The index parameters included in the index parameter information are not specifically limited, and may be adjusted according to actual needs.
For a specific video, the video watching time length may be an average time length of each user watching the video. The video praise number can be the total praise number of each user for the video. The number of video comments can be the total number of comments on the video for each user. The video forwarding number may be a total forwarding number of the video forwarded by each user. The video collection number may be a total collection number of the video collected by each user.
The method for displaying the search result comprises the steps of determining at least one candidate keyword and a video search result corresponding to each candidate keyword; for each candidate keyword, determining a relevant subject of the candidate keyword and at least one sub-subject under the relevant subject; determining the sub-topic to which the video belongs in the video search result corresponding to the candidate keyword according to at least one sub-topic; the videos in the video search results are aggregated according to the sub-topics to which the videos belong to obtain the video sub-sets, so that a plurality of video sub-sets corresponding to at least one candidate keyword can be determined in advance, and when a subsequent user searches the candidate keyword, the video sub-sets corresponding to at least one sub-topic are directly provided, the video search and processing processes are reduced, the search time is shortened, the resource consumption of the search is reduced, and the search experience is improved.
In order to more clearly illustrate the above embodiments, the description will now be made by way of example.
For example, as shown in fig. 3, a schematic diagram of a method for presenting search results is shown. In the graph, at least one candidate keyword (top query) may be determined according to a video search result of a search keyword of each user in a historical time period; then, sorting each video in the video search results by combining the video search results (top query consumption videos) of the candidate keywords and index parameter information (query posterior consumption indexes) of each video in the video search results, and filtering out the sorted partial videos; and then, aggregating the video search results according to at least one sub-topic under the related topic of the candidate keyword (filtering according to the topic) to obtain at least one video sub-set.
In order to implement the foregoing embodiments, the present disclosure provides a search result presentation device.
FIG. 4 is a block diagram of a search result presentation apparatus shown in accordance with an example embodiment.
Referring to fig. 4, the searchresult presentation apparatus 400 may include: a first determiningmodule 401, an obtainingmodule 402, and apresenting module 403.
The first determiningmodule 401 is configured to perform determining a search keyword to be processed;
an obtainingmodule 402, configured to obtain, when there is a candidate keyword matching the search keyword, a video subset corresponding to at least one sub-topic under a related topic of the candidate keyword; the video subset combination is obtained by aggregating video search results corresponding to the candidate keywords according to the at least one sub-topic;
arendering module 403 configured to perform rendering at least one of the video subsets.
In an exemplary embodiment, with reference to fig. 5 in combination, on the basis of the embodiment shown in fig. 4, the apparatus further includes: asecond determination module 404, athird determination module 405, afourth determination module 406, and anaggregation module 407;
wherein the second determiningmodule 404 is configured to perform determining at least one candidate keyword and a video search result corresponding to each candidate keyword;
the third determiningmodule 405 configured to perform, for each of the candidate keywords, determining a related topic of the candidate keyword and at least one sub-topic under the related topic;
the fourth determiningmodule 406 is configured to determine, according to the at least one sub-topic, a sub-topic to which a video belongs in a video search result corresponding to the candidate keyword;
the aggregatingmodule 407 is configured to perform aggregating the videos in the video search result according to the sub-topics to which the videos belong, so as to obtain the video sub-set.
In an exemplary embodiment, the fourth determiningmodule 406 is specifically configured to perform, for each video in the video search results, determining a probability that the video belongs to the at least one sub-topic, respectively; and determining the corresponding sub-topic with the maximum probability as the sub-topic to which the video belongs.
In an exemplary embodiment, the apparatus further comprises: a sorting module and a removing module; the sorting module is configured to sort each video in the video search results according to index parameter information of the video in the video search results to obtain a sorting result; the removing module is configured to remove videos with sorting sequence numbers larger than or equal to a preset sequence number threshold value in the video search results; or removing the videos with the preset number after the videos are ranked in the video search result.
In an exemplary embodiment, the ranking module is specifically configured to perform, for each video in the video search results, performing weighted summation according to a value of at least one index parameter of the video and a weight of the at least one index parameter, and determining a composite index of the video; and sequencing all videos in the video search results according to the comprehensive indexes to obtain the sequencing results.
In an exemplary embodiment, the indicator parameter comprises at least one of the following parameters: the video watching time length, the video praise number, the video comment number, the video forwarding number and the video collection number.
In an exemplary embodiment, the second determiningmodule 404 is specifically configured to execute, and acquire a historical search record within a preset time period, where the historical search record includes: historical search keywords and corresponding search times; sequencing the historical search keywords according to the search times to obtain a sequencing result; determining the historical search keywords ranked in the top preset number in the ranking result as candidate keywords; and obtaining a video search result corresponding to the candidate keyword.
The display device of the search result of the embodiment of the disclosure determines the search keyword to be processed; when candidate keywords matched with the search keywords exist, acquiring a video subset corresponding to at least one sub-topic under related topics of the candidate keywords; the video subset is obtained by aggregating the video search results corresponding to the candidate keywords according to at least one sub-topic; and displaying at least one video subset, so that the video subset corresponding to at least one sub-topic under the relevant topic of the matched candidate keyword can be displayed, the display efficiency of the search result is improved, a user can conveniently and quickly find a required video, and the search experience of the user is improved.
In order to implement the above embodiments, the embodiment of the present disclosure further provides an electronic device.
Wherein, theelectronic device 200 includes:
aprocessor 220;
amemory 210 for storing instructions executable byprocessor 220;
wherein theprocessor 220 is configured to execute the instructions to implement the presentation method of the search result as described above.
As an example, fig. 6 is a block diagram of anelectronic device 200 for presenting search results according to an exemplary embodiment, where as shown in fig. 6, theelectronic device 200 may further include:
amemory 210 and aprocessor 220, abus 230 connecting different components (including thememory 210 and the processor 220), wherein thememory 210 stores a computer program, and when theprocessor 220 executes the program, the method for presenting the search result according to the embodiment of the disclosure is implemented.
Bus 230 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 200 typically includes a variety of computer-readable media. Such media may be any available media that is accessible byelectronic device 200 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 210 may also include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)240 and/orcache memory 250. Theelectronic device 200 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only,storage system 260 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, commonly referred to as a "hard drive"). Although not shown in FIG. 6, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected tobus 230 by one or more data media interfaces.Memory 210 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the disclosure.
A program/utility 280 having a set (at least one) ofprogram modules 270, including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination thereof may comprise an implementation of a network environment, may be stored in, for example, thememory 210. Theprogram modules 270 generally perform the functions and/or methodologies of the embodiments described in this disclosure.
Electronic device 200 may also communicate with one or more external devices 290 (e.g., keyboard, pointing device,display 291, etc.), with one or more devices that enable a user to interact withelectronic device 200, and/or with any devices (e.g., network card, modem, etc.) that enableelectronic device 200 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 292. Also, theelectronic device 200 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via thenetwork adapter 293. As shown in FIG. 6, thenetwork adapter 293 communicates with the other modules of theelectronic device 200 via thebus 230. It should be appreciated that although not shown in FIG. 6, other hardware and/or software modules may be used in conjunction withelectronic device 200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Theprocessor 220 executes various functional applications and data processing by executing programs stored in thememory 210.
It should be noted that, for the implementation process and the technical principle of the electronic device of the embodiment, reference is made to the foregoing explanation of the method for presenting a search result according to the embodiment of the present disclosure, and details are not repeated here.
The electronic equipment provided by the embodiment of the disclosure determines the search keyword to be processed; when candidate keywords matched with the search keywords exist, acquiring a video subset corresponding to at least one sub-topic under related topics of the candidate keywords; the video subset is obtained by aggregating the video search results corresponding to the candidate keywords according to at least one sub-topic; and displaying at least one video subset, so that the video subset corresponding to at least one sub-topic under the relevant topic of the matched candidate keyword can be displayed, the display efficiency of the search result is improved, a user can conveniently and quickly find a required video, and the search experience of the user is improved.
In order to implement the above embodiments, the embodiments of the present disclosure also provide a computer-readable storage medium.
Wherein the instructions in the computer readable storage medium, when executed by the processor of the electronic device, enable the electronic device to perform the method of presentation of search results as previously described.
In order to implement the above embodiments, the present disclosure also provides a computer program product, which when executed by a processor of an electronic device, enables the electronic device to execute the method for presenting search results as described above.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

CN202111486454.0A2021-12-072021-12-07Search result display method and device, electronic equipment and storage mediumPendingCN114357245A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202111486454.0ACN114357245A (en)2021-12-072021-12-07Search result display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202111486454.0ACN114357245A (en)2021-12-072021-12-07Search result display method and device, electronic equipment and storage medium

Publications (1)

Publication NumberPublication Date
CN114357245Atrue CN114357245A (en)2022-04-15

Family

ID=81096828

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202111486454.0APendingCN114357245A (en)2021-12-072021-12-07Search result display method and device, electronic equipment and storage medium

Country Status (1)

CountryLink
CN (1)CN114357245A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2025190415A1 (en)*2024-03-152025-09-18北京字跳网络技术有限公司Information display method and apparatus, device, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102332031A (en)*2011-10-182012-01-25中国科学院自动化研究所 A Clustering Method of Retrieval Results Based on Hierarchical Topic Structure of Video Collection
CN105574030A (en)*2014-10-162016-05-11腾讯科技(深圳)有限公司Information search method and device
CN106777206A (en)*2016-12-232017-05-31北京奇虎科技有限公司Movie and television play class keywords search for exhibiting method and device
CN111382339A (en)*2020-03-102020-07-07北京搜狗科技发展有限公司Search processing method and device and search processing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102332031A (en)*2011-10-182012-01-25中国科学院自动化研究所 A Clustering Method of Retrieval Results Based on Hierarchical Topic Structure of Video Collection
CN105574030A (en)*2014-10-162016-05-11腾讯科技(深圳)有限公司Information search method and device
CN106777206A (en)*2016-12-232017-05-31北京奇虎科技有限公司Movie and television play class keywords search for exhibiting method and device
CN111382339A (en)*2020-03-102020-07-07北京搜狗科技发展有限公司Search processing method and device and search processing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2025190415A1 (en)*2024-03-152025-09-18北京字跳网络技术有限公司Information display method and apparatus, device, and storage medium

Similar Documents

PublicationPublication DateTitle
CN111125435B (en) Method, device and computer equipment for determining video label
US9418144B2 (en)Similar document detection and electronic discovery
US8725717B2 (en)System and method for identifying topics for short text communications
CN113065101B (en) Visual interpretation method and device for logistic regression model
CN109033385B (en)Picture retrieval method, device, server and storage medium
CN109948121A (en)Article similarity method for digging, system, equipment and storage medium
CN110968789B (en)Electronic book pushing method, electronic equipment and computer storage medium
CN112749330B (en)Information pushing method, device, computer equipment and storage medium
US20160217144A1 (en)Method and device for obtaining web page category standards, and method and device for categorizing web page categories
US8918404B1 (en)Displaying content in a user interface in a social network system
US9355191B1 (en)Identification of query completions which change users' original search intent
US20140379719A1 (en)System and method for tagging and searching documents
US20130339373A1 (en)Method and system of filtering and recommending documents
CN110334356A (en)Article matter method for determination of amount, article screening technique and corresponding device
CN113779381B (en)Resource recommendation method, device, electronic equipment and storage medium
CN114330329A (en) A service content search method, device, electronic device and storage medium
CN111737461A (en)Text processing method and device, electronic equipment and computer readable storage medium
CN110717092B (en)Method, system, equipment and storage medium for matching object for article
WO2016033130A1 (en)Computing device classifier improvement through n-dimensional stratified input sampling
CN103744970B (en)A kind of method and device of the descriptor determining picture
CN115935953A (en) False news detection method, device, electronic device and storage medium
CN114357245A (en)Search result display method and device, electronic equipment and storage medium
CN113407746B (en)Method and system for searching pictures by pictures
CN103678355B (en)Text mining method and text mining device
CN111078972B (en)Questioning behavior data acquisition method, questioning behavior data acquisition device and server

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp