Search result processing method, device, electronic device and storage medium
By unifying the size of the logo images of different types of videos and displaying them in a mixed manner, the problem of insufficient search results and difficulty in understanding caused by inconsistent types in video search results is solved, and the user experience is improved.
Patent Information
- Application Number
- CN202110309678.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-23
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-03-23
AI Technical Summary
When processing video search results, it is difficult for the existing technology to effectively and uniformly display the logo images of different types of videos, causing users to think that the search terms are unreasonable when browsing, which increases search time and difficulty in understanding.
By obtaining the logo images of different types of videos in the search results, unifying their sizes, and displaying them in a mixed arrangement in the preset area of the search results page, ensure that the logo images of different types of videos are consistent in size.
It avoids the problem of insufficient search results caused by the small number of videos of the same type, reduces the frequency of users modifying search terms, improves the centralized display effect of different types of videos, and reduces the difficulty of user understanding.
Smart Images

Figure CN113032626B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of information technology, and in particular to a search result processing method, device, electronic device and storage medium. Background Art
[0002] With the continuous development of terminals, users can install various types of applications (Application, APP) programs on the terminals. Among them, some APPs have the functions of video search and video playback.
[0003] The types of videos are increasing. Among them, the two most common types are mini videos and short videos. Usually, short videos are played in horizontal mode, while mini videos are played in vertical mode.
[0004] However, when the search results obtained according to the user's search request include both small videos and short videos, the existing technology usually splits the small videos and short videos in the search results into different types of videos and displays them separately. This may result in a small number of videos of the same type. When a user browses a certain type of video with a relatively early display position, if the number of videos of this type is small, the user will think that the current search term setting is unreasonable and will modify the search term again, resulting in the user having to spend a longer search time to find the required video. In addition, small videos and short videos are both search results of the video category. Displaying small videos and short videos separately will increase the difficulty for users to understand. Summary of the invention
[0005] In order to solve the above technical problem or at least partially solve the above technical problem, the embodiments of the present disclosure provide a search result processing method, device, electronic device and storage medium.
[0006] The present disclosure provides a method for processing search results, the method comprising:
[0007] Obtain search results corresponding to the search request, the search results including one or more first-type videos and one or more second-type videos, wherein the aspect ratio of the first-type videos is different from the aspect ratio of the second-type videos;
[0008] Processing a first identification picture corresponding to the first type of video and / or a second identification picture corresponding to the second type of video so that a size of the first identification picture is the same as a size of the second identification picture;
[0009] The first identification image and the second identification image are displayed in a preset area of the search result page.
[0010] The present disclosure also provides a method for processing search results, the method comprising:
[0011] Obtain search results corresponding to the search request, the search results including one or more first-type videos and one or more second-type videos, the aspect ratio of the first-type videos is different from the aspect ratio of the second-type videos, and the size of the first identification picture of the first-type videos is the same as the size of the second identification picture of the second-type videos;
[0012] The first identification image and the second identification image are displayed in a preset area of the search result page.
[0013] The present disclosure also provides a search result processing device, the device comprising:
[0014] An acquisition module, configured to acquire search results corresponding to the search request, the search results comprising one or more first-type videos and one or more second-type videos, wherein the aspect ratio of the first-type videos is different from the aspect ratio of the second-type videos;
[0015] a processing module, configured to process a first identification picture corresponding to the first type of video and / or a second identification picture corresponding to the second type of video, so that a size of the first identification picture is the same as a size of the second identification picture;
[0016] A display module is used to display the first identification image and the second identification image in a preset area of the search result page.
[0017] The present disclosure also provides a search result processing device, the device comprising:
[0018] an acquisition module, configured to acquire search results corresponding to the search request, the search results comprising one or more first-type videos and one or more second-type videos, the aspect ratio of the first-type videos is different from the aspect ratio of the second-type videos, and the size of the first identification picture of the first-type videos is the same as the size of the second identification picture of the second-type videos;
[0019] A display module is used to display the first identification image and the second identification image in a preset area of the search result page.
[0020] The present disclosure also provides an electronic device, the electronic device comprising:
[0021] one or more processors;
[0022] A storage device for storing one or more programs;
[0023] When the one or more programs are executed by the one or more processors, the one or more processors implement the search result processing method as described above.
[0024] The embodiment of the present disclosure further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the search result processing method as described above is implemented.
[0025] Compared with the prior art, the technical solution provided by the embodiment of the present disclosure has at least the following advantages: the technical solution provided by the embodiment of the present disclosure processes the first identification picture corresponding to the first type of video and / or the second identification picture corresponding to the second type of video so that the size of the first identification picture and the size of the second identification picture are the same; the first identification picture and the second identification picture are displayed in the preset area of the search result page, which is essentially to unify the sizes of the identification pictures of different types of videos in the search results to obtain the processed identification pictures, mix the processed identification pictures, and use the same preset area in the search result page to display the mixed identification pictures. On the one hand, such a setting can avoid the embarrassment of insufficient search results due to the small number of videos of the same type, and thus avoid the situation that when a user browses a certain type of video with a relatively early display position, if the number of such videos is small, the user will think that the current search term setting is unreasonable and will modify the search term again, resulting in the undesirable phenomenon that the user spends a long time searching for the required video; on the other hand, it can realize the centralized display of excellent videos of different types to reduce the difficulty of user understanding. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0027] Figure 1 A schematic diagram of a search result processing system provided by an embodiment of the present disclosure;
[0028] Figure 2 A flowchart of a search result processing method provided by an embodiment of the present disclosure;
[0029] Figure 3 and Figure 4 Schematic diagram of identification pictures of two types of videos provided in the embodiment of the present disclosure;
[0030] Figure 5 and Figure 6 Schematic diagram of two search result display pages provided in the embodiments of the present disclosure;
[0031] Figure 7 A schematic diagram of an identification picture of a first type of video provided in an embodiment of the present disclosure;
[0032] Figure 8 Schematic diagram of another search result display page provided in an embodiment of the present disclosure
[0033] Fig. 9 A flowchart of another search result processing method provided by an embodiment of the present disclosure;
[0034] Fig.10 A flowchart of a method for implementing S220 provided in an embodiment of the present disclosure
[0035] Fig.11 A flowchart of another search result processing method provided by an embodiment of the present disclosure;
[0036] Fig.12 is a structural schematic diagram of a search result processing device in an embodiment of the present disclosure;
[0037] Fig.13 A schematic diagram of the structure of another search result processing device provided by an embodiment of the present disclosure;
[0038] Fig.14 It is a structural schematic diagram of an electronic device in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0039] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0040] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0041] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0042] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0043] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0044] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0045] Figure 1 A schematic diagram of a search result processing system provided in an embodiment of the present disclosure. Figure 2 A flowchart of a search result processing method provided by an embodiment of the present disclosure. The search result processing method provided by the present disclosure can be applied to Figure 1 In the application environment shown. Figure 1 The search result processing system includes a server and a terminal. The server and the terminal are connected via a network communication. A client that can access the server is installed on the terminal, and the user operates the client to access the server. For example, if the user wants to search for a certain content, the user can search the data stored in the server by operating the application in the terminal held by the user.
[0046] Before executing the search result processing method provided by the present disclosure, the terminal obtains a user search request and forwards the user search request to the server. The server performs a data search based on the user search request, obtains a data search result, and forwards the search result to the terminal. The terminal obtains the search result corresponding to the search request, processes the first identification picture corresponding to the first type of video and / or the second identification picture corresponding to the second type of video, so that the size of the first identification picture is the same as the size of the second identification picture; and displays the first identification picture and the second identification picture in a preset area on the search result page.
[0047] The server may be implemented as an independent server or a server cluster composed of multiple servers. The terminal may include but is not limited to various personal computers, laptops, smart phones, tablet computers and portable wearable devices. Furthermore, the method may be executed by a search result processing device, which may be implemented in software and / or hardware, and may be configured in a terminal.
[0048] like Figure 2 As shown, the method may specifically include:
[0049] S110: Obtain search results corresponding to the search request, where the search results include one or more first-type videos and one or more second-type videos, and an aspect ratio of the first-type videos is different from an aspect ratio of the second-type videos.
[0050] Optionally, the first type of video is a small video, and the second type of video is a short video. Alternatively, the first type of video is a short video, and the second type of video is a small video.
[0051] S120: Process a first identification picture corresponding to the first type of video and / or a second identification picture corresponding to the second type of video so that a size of the first identification picture is the same as a size of the second identification picture.
[0052] Optionally, the identification picture is a picture used to distinguish a certain video from other videos. Optionally, the identification picture includes at least one or more of a cover picture, a video title, an author name, an author portrait, an upload time, a play time, and a play count. Optionally, the cover picture can be a screen image of a video frame included in the video.
[0053] Figure 3 and Figure 4 Schematic diagram of identification pictures of two types of videos provided in the embodiment of the present disclosure. Figure 3 Where M is the first identification picture corresponding to the first type of video, Figure 4 Where N is the second identification picture corresponding to the second type of video. The first type of video is a small video, and the second type of video is a short video. The first identification picture M and the second identification picture N both include a cover picture, a video title, an author name, and an author portrait. And the size (i.e., aspect ratio) of the first identification picture M is different from the size (i.e., aspect ratio) of the second identification picture N.
[0054] The essence of this step is to adjust the size of the first logo image and / or the second logo image so that the size of the first logo image is the same as the size of the second logo image. There are many specific ways to adjust. For example, the first logo image and / or the second logo image can be stretched and / or compressed until the size of the first logo image is the same as the size of the second logo image. Alternatively, the content included in the first logo image and the second logo image can be rearranged until the size of the first logo image is the same as the size of the second logo image.
[0055] S130: Display the first identification image and the second identification image in a preset area of the search result page.
[0056] Figure 5 and Figure 6 Schematic diagram of two search result display pages provided in the embodiments of the present disclosure. Figure 5 and Figure 6The essence of this step is to mix the first logo image and the second logo image and display them in the same preset area A.
[0057] The above technical solution processes the first identification picture corresponding to the first type of video and / or the second identification picture corresponding to the second type of video so that the size of the first identification picture is the same as the size of the second identification picture; the first identification picture and the second identification picture are displayed in a preset area on the search results page, which is essentially to unify the sizes of the identification pictures of different types of videos in the search results to obtain processed identification pictures, mix the processed identification pictures, and use the same preset area in the search results page to display the mixed identification pictures. On the one hand, such a setting can avoid the embarrassment of insufficient search results due to a small number of videos of the same type, and thus avoid the situation that when a user browses a certain type of video with a relatively early display position, if the number of such videos is small, the user will think that the current search term setting is unreasonable and will modify the search term again, resulting in the undesirable phenomenon that the user spends a long time searching for the required video; on the other hand, it can realize the centralized display of excellent videos of different types to reduce the difficulty of user understanding.
[0058] On the basis of the above technical solution, optionally, S120 can be replaced by: when the number of second-type videos is greater than the number of first-type videos, the first identification picture corresponding to the first-type video is processed; or, when the number of first-type videos is greater than the number of second-type videos, the second identification picture corresponding to the second-type video is processed. Exemplarily, the search results obtained by S110 include m first-type videos and n second-type videos, and m>n, m and n are both positive integers, then the identification pictures of the n second-type videos are processed. Since the number of second-type videos is small, such a setting can effectively reduce the number of identification pictures to be processed and shorten the response time of the terminal.
[0059] Based on the above technical solution, optionally, S120 can also be replaced by: when the historical interaction number of the first type of video is greater than the historical interaction number of the second type of video, processing the second identification picture of the second type of video; or when the historical interaction number of the second type of video is greater than the historical interaction number of the first type of video, processing the first identification picture of the first type of video. The types of interaction include but are not limited to at least one of the following: commenting, forwarding, collecting, and liking the video.
[0060] Furthermore, if the interaction types for a certain video (which may be a first type of video or a second type of video) include at least two of comments, forwarding, favorites, and likes, the historical interaction times of each type of interaction for the video may be determined separately, and then the historical interaction times of each type of interaction for the video may be summed to obtain the historical interaction times for the video. When executing the above steps, optionally, the historical interaction times of all first type videos in the search results may be summed to obtain the final historical interaction times of the first type of video. The historical interaction times of all second type videos in the search results may be summed to obtain the final historical interaction times of the second type of video. The final historical interaction times of the first type of video and the historical interaction times of the second type of video may be compared to determine which type of video's identification image is to be processed.
[0061] Since the historical number of interactions can reflect the popularity of each video, the essence of this setting is to infer users' browsing tendencies through the historical number of interactions, and process the logo images of the type of videos that users have a weaker browsing tendency, so that the display effect of the logo images of the type of videos that users have a weaker browsing tendency is closer to that of the type of videos that users have a stronger browsing tendency, thereby increasing the probability of browsing of the type of videos that users have a weaker browsing tendency.
[0062] Further, on the basis of the above-mentioned technical solutions, optionally, the method further includes: extracting a first cover picture from a video frame of a first type of video, and extracting a first key information from the video attribute information of the first type of video, and obtaining a first identification picture according to the first cover picture and the first key information; and / or extracting a second cover picture from a video frame of a second type of video, and extracting a second key information from the video attribute information of the second type of video, and obtaining a second identification picture according to the second cover picture and the second key information. Wherein, the video attribute information is information formed, stored or associated during the recording process, editing process and uploading process of the video. Exemplarily, the video attribute information includes at least one or more of video duration, video title, video topic, viewing record, forwarding record, collection record, upload time and uploading user information. The first key information refers to the information included in the identification picture, including at least one or more of the video title, author name, author avatar, posting time, playback time and playback times. Such a setting can facilitate users to quickly understand the general content of each video.
[0063] It should be noted that in practice, the types of key information extracted from different types of videos may be the same or different, and this application does not limit this. Optionally, the types of key information extracted from different types of videos are the same, so that the visual effects presented by the first identification image of the first type of video and the second identification image of the second type of video are consistent, which can improve the aesthetics of the entire search result page.
[0064] In the above technical solutions, since the cover image of the video is usually a screen image of the video frame. In practice, the aspect ratio of the first type of video may be smaller than that of the second type of video, or the aspect ratio of the first type of video may be larger than that of the second type of video. When executing S120, in order to make the first logo image and the second logo image unified in form and beautiful in structure, it is necessary to process the first cover image in the first logo image and / or the second cover image in the second logo image so that the first cover image in the first logo image and the second cover image in the second logo image have the same size.
[0065] S120 is further described below by taking the example that the aspect ratio of the first type of video is smaller than the aspect ratio of the second type of video.
[0066] In S120, “processing the first identification picture corresponding to the first type of video” may include adding background parts on the left and right sides of the first cover picture in the first identification picture, where the background parts are the background obtained by blurring the first cover picture or the background of a preset color. Figure 6 , M is a first type of video, and N is a second type of video. Add background part P1 on the left and right sides of the first cover picture of the first type video M. By adding background part P1, the aspect ratio of the whole composed of the first cover picture and background part P1 can be made the same as the aspect ratio of the second cover picture of the second type video N. Then adjust the size of the whole composed of the first cover picture and background part P1 so that the size of the whole is the same as the size of the second cover picture of the second type video. Here, the same size should be understood as the same length and width.
[0067] Optionally, "processing the first identification image corresponding to the first type of video" in S120 may also include: cropping the first cover image in the first identification image, wherein the aspect ratio of the cropped first cover image is the same as the aspect ratio of the second cover image in the second identification image; and adjusting the size of the cropped first cover image to the size of the second cover image. Figure 7 A schematic diagram of a logo image of a first type of video provided by an embodiment of the present disclosure. Figure 7 ,along Figure 7The middle dotted frame Q1 crops the first cover image in the first logo image M to obtain a cropped first cover image, and then adjusts the size of the cropped first cover image so that the size of the cropped and adjusted first cover image is the same as the size of the second cover image. Here, the same size should be understood as the same length and width.
[0068] Optionally, "processing the second identification picture corresponding to the second type of video" in S120 may include: adding background parts to the upper and lower sides of the second cover picture in the second identification picture, and the background parts are the background obtained by blurring the second cover picture or the background of a preset color. Figure 5 As shown, M is a first type of video, and N is a second type of video. Background parts P2 are added to the upper and lower sides of the second cover picture of the second type video N. By adding the background part P2, the aspect ratio of the whole composed of the second cover picture and the background part P2 can be made the same as the aspect ratio of the first cover picture of the first type video M. Then adjust the size of the whole composed of the second cover picture and the background part P2 so that the size of the whole is the same as the size of the first cover picture of the first type video. Here, the same size should be understood as the same length and width.
[0069] Optionally, "processing the second identification image corresponding to the second type of video" in S120 may also include: cropping the second cover image in the second identification image, so that the proportion of the target object in the cropped second cover image is greater than a preset proportion; adding background parts to the upper and lower sides of the cropped second cover image, and the background part is a background obtained by blurring the second cover image or a background of a preset color. The target object is an object that the user may pay attention to in the cover image, such as a person or an animal. By cropping the second cover image, the target object can be highlighted, thereby increasing the probability of the second type of video being clicked.
[0070] Optionally, "processing the first identification picture corresponding to the first type of video and the second identification picture corresponding to the second type of video" in S120 may also include: cropping the first cover picture in the first identification picture, and cropping the second cover picture in the second identification picture, so that the aspect ratio of the cropped first cover picture is the same as the aspect ratio of the cropped second cover picture; adjusting the cropped first cover picture and the cropped second cover picture to the same size. Here, the same size should be understood as the same length and width.
[0071] Based on the above technical solutions, optionally, the first logo image and the second logo image are arranged vertically in a preset area; the method also includes: in response to a vertical sliding operation, controlling the first logo image and the second logo image to move vertically in the preset area; or, the first logo image and the second logo image are arranged horizontally in the preset area; the method also includes: in response to a horizontal sliding operation, controlling the first logo image and the second logo image to move horizontally in the preset area.
[0072] In practice, the search results include multiple first-type videos and multiple second-type videos, but the preset area size of the search result page is often limited, and only part of the target videos can be displayed. Figure 6 , only a first identification picture M of a first-category video and a second identification picture N of a second-category video are displayed in the preset area. In this case, the first identification pictures of all first-category videos and the second identification pictures of all second-category videos in the search results are arranged vertically in the preset area. The user switches the identification pictures displayed in the preset area by clicking on the preset area and sliding vertically. This arrangement makes it easy for the user to quickly check all the video information currently searched. The horizontal arrangement is similar to the vertical arrangement, which will not be repeated here.
[0073] Usually, based on the same search keyword group, the search results obtained include multiple types, such as video search results and non-video search results. Video search results can be divided into long videos (such as movies), short videos, and mini videos. Non-video search results can be divided into image search results, web page search results, etc. Web page search results can be further subdivided according to the main site address of the website.
[0074] On the basis of the above-mentioned technical solutions, optionally, the first type of video corresponding to the first identification image and the second type of video corresponding to the second identification image can also constitute a first video set; the search results also include a second video set and / or non-video search results; the search result processing method also includes: according to the historical characteristics of the first video set and the historical characteristics of the second video set and / or non-video search results, determine the position of the preset area in the search results page, and the display position of the second video set and / or non-video search results in the search results page. The essence of such a setting is that search results of the same type are grouped to form a set. By grouping different types of search results, multiple sets can be obtained. Multiple sets are sorted and displayed.
[0075] For example, Figure 8 A schematic diagram of another search result display page provided by an embodiment of the present disclosure. Figure 8, including three sections (or cards or Ruyi), namely Section E1, Section E2 and Section E3. Section E1 is used as a display area for short videos and small videos (i.e., the "preset area of the search result page" mentioned in S130 above). Sections E2 and E3 are both used to display web search results. There are obvious divisions between different sections for distinction. Figure 8 In the example, since these two web search results come from two different main site networks, they are displayed in different sections.
[0076] Furthermore, the specific implementation method of "determining the position of the preset area in the search results page and the position of the second video set and / or non-video search results in the search results page according to the historical characteristics of the first video set and the historical characteristics of the second video set and / or non-video search results" can be, for the search results corresponding to the same search requests of multiple different users in a preset historical time period, the types that multiple different users are more inclined to browse, determine the order of the corresponding sections of each set, and display them in the search results page based on the order. Alternatively, determine the order of the corresponding sections of each set based on the historical browsing tendency of the user who initiated this search request, and display them in the search results page based on the order.
[0077] Fig. 9 A flowchart of another search result processing method provided by an embodiment of the present disclosure. Figure 2 compared to, Fig. 9 In the technical solution, after S110, the method further includes: determining multiple target videos from one or more first-type videos and one or more second-type videos; S120 is replaced by: processing the first identification picture of the first-type video in the multiple target videos and / or the second identification picture of the second-type video in the multiple target videos. Fig. 9 , the method comprising:
[0078] S210: Obtain search results corresponding to the search request, where the search results include one or more first-type videos and one or more second-type videos, and an aspect ratio of the first-type videos is different from an aspect ratio of the second-type videos.
[0079] S220: Determine a plurality of target videos from one or more first-type videos and one or more second-type videos.
[0080] The target video is the result of screening the first type of videos and the second type of videos, and is the video determined to be the display object.
[0081] Although in S210, the search results are obtained based on the search request, which makes there is a certain correlation between the search results and the search request, there may be a situation where the correlation is not high. For example, in practice, the keyword entered by the user is "today's weather". But a certain search result obtained is yesterday's weather. Or, there may be a situation where the search results do not match the user's interests. For example, the keyword entered by the user is "cute baby" and hopes to search for videos about children's daily life, but a certain search result obtained is a video of an expert talking about how to educate children. Therefore, it is necessary to screen the first type of videos and the second type of videos to determine the target video.
[0082] The essence of this step is to filter the search results in S120 to obtain videos that are better suited to the user's request.
[0083] S230: Process a first identification picture of a first type of video in a plurality of target videos and / or a second identification picture of a second type of video in a plurality of target videos so that a size of the first identification picture is the same as a size of the second identification picture.
[0084] S240: Display the first identification image and the second identification image in a preset area of the search result page.
[0085] The essence of the above technical solution is to filter and mix the search results of different types of videos, and use a preset area on the same search results page to display the logo image corresponding to the mixed target video, which can improve the correlation between the search results and the search request.
[0086] There are many methods for implementing S220, and this application does not limit this. Fig.10 A flowchart of a method for implementing S220 is provided in an embodiment of the present disclosure. Optionally, the method for implementing S220 includes:
[0087] S221. De-differentiate video attribute information corresponding to one or more first-type videos and video attribute information corresponding to one or more second-type videos to obtain target attribute information corresponding to one or more first-type videos and target attribute information corresponding to one or more second-type videos.
[0088] The target feature information is the basis for sorting the first type of video and the second type of video in step S222. In practice, the video attribute information corresponding to the first type of video and the video attribute information corresponding to the second type of video may include different items or be incomplete. The essence of this step is to process the video attribute information of the first type of video and the video attribute information of the second type of video to obtain the target attribute information corresponding to the first type of video and the target attribute information corresponding to the second type of video, so that the target attribute information corresponding to the first type of video and the target attribute information corresponding to the second type of video include the same items and the content of each item is comprehensive. It belongs to the operation of checking for omissions and further improving the video attribute information.
[0089] For example, short videos usually have titles but no topics. Short videos have topics and titles. When executing this step, the title of the short video can be used as the topic, or the key sentence in the short video can be used as the topic, so that the target attribute information of the short video and the target attribute information of the short video both include the topic. For another example, the title of the short video and the topic can be integrated into one as a new title, so that the content of the title item in the target attribute information is comprehensive.
[0090] For example, if a short video and a small video are uploaded by the same uploader on different platforms (or applications), and the uploader has different user names on different platforms (or applications), but the bound mobile phone number is the same. In this case, the author of the short video and the small video can be mapped to the same account information, so that the author item content in the target attribute information is the same and comprehensive.
[0091] S222: Sort the one or more first-type videos and the one or more second-type videos according to the target attribute information respectively corresponding to the one or more first-type videos and the target attribute information respectively corresponding to the one or more second-type videos to obtain a sorting result.
[0092] There are many ways to implement this step, and this application does not limit this. Exemplarily, a scoring method can be used to achieve the purpose of sorting one or more first-type videos and one or more second-type videos.
[0093] Specifically, based on the target attribute information corresponding to one or more first-type videos, the scores corresponding to one or more first-type videos are calculated; based on the target attribute information corresponding to one or more second-type videos, the scores corresponding to one or more second-type videos are calculated; based on the scores corresponding to one or more first-type videos and the scores corresponding to one or more second-type videos, one or more first-type videos and one or more second-type videos are sorted.
[0094] Exemplarily, one or more of the video title, author, posting time, and video play count can be selected as reference factors for sorting. Assume that the title, author, posting time, and video play count are all used as reference factors for sorting. Scoring rules can be further set for each reference factor. For example, if the posting time scoring range is 1-3 points, the posting time is less than 3 months ago, the score is 3 points; if the posting time is greater than 3 months ago and less than half a year ago, the score is 2 points; if the posting time is greater than half a year ago, the score is 1 point. If the author project scoring range is 1-3 points, the author's number of fans is greater than 10,000, the score is 3 points; if the author's number of fans is less than or equal to 10,000 and greater than 1,000, the score is 2 points; if the author's number of fans is less than or equal to 1,000, the score is 1 point.
[0095] It should be emphasized that when calculating the scores corresponding to the first type of videos and the scores corresponding to the second type of videos, the calculations need to be based on the same scoring criteria.
[0096] Optionally, the scoring ranges of different reference factors may be the same or different, and this application does not impose any limitation on this.
[0097] S223. Determine multiple target videos according to the sorting result.
[0098] There are many methods for implementing this step, and this application does not limit this. Exemplarily, multiple candidate videos that meet preset conditions in the sorting results are obtained, and any candidate video among the multiple candidate videos is a first type of video or a second type of video; the multiple candidate videos that meet the preset conditions are filtered to obtain multiple filtered candidate videos; according to the search request, the sorting position of the first type of video or the second type of video in the filtered multiple candidate videos is adjusted to obtain multiple candidate videos after the sorting adjustment; the first preset number of candidate videos in the multiple candidate videos after the sorting adjustment are used as multiple target videos. The essence of this setting is to process the sorting results obtained in S223 four times to obtain the final target video. The four processes are: 1. Perform initial screening based on preset conditions; 2. Filter the initial screening results; 3. Perform power enhancement or suppression processing on key videos; 4. Select the first preset number of candidate videos after the first three steps as target videos.
[0099] In the initial screening based on preset conditions, the preset conditions may be setting a preset score. If the score corresponding to a first type of video or a second type of video is greater than or equal to the preset score, then the first type of video or the second type of video is considered to be a result that needs to be retained in the initial screening.
[0100] Alternatively, the preset condition may be to sort the videos in descending order according to the scores, and take the first P videos in the sorting results as the target videos, where P is a positive integer.
[0101] The purpose of filtering the initial screening results is to filter out videos with poor relevance and timeliness. For example, in practice, the keyword entered by the user is "today's rain". However, a search result obtained is a video of yesterday's rain. This search result is a video with poor relevance and timeliness and needs to be filtered.
[0102] The specific implementation method for promoting or suppressing key videos can be to determine whether the user has a specific intention based on the search keywords. The specific intention can be music needs, or film and television needs, etc. If it exists, the score of the key video is adjusted based on the user's specific intention. For example, if it is determined that the user wants to search for videos with music attributes, and small videos often have music, the small video is promoted (that is, the score of the small video is increased), and the short video is suppressed (that is, the score of the short video is reduced). The essence of promoting or suppressing is to adjust the ranking position of the short video or small video in the candidate videos obtained after filtering. Because the ranking position may affect whether the short video or small video can finally be determined as the target video and displayed.
[0103] It should be noted that in practice, when a user searches, he may enter a search keyword phrase multiple times in a unit time, and the keyword phrases entered at different times are slightly different, but have a certain correlation. In this case, all the search keyword phrases entered in the unit time can be taken as a whole to determine whether the user has a specific intention.
[0104] Select the first preset number of candidate videos after the first three steps as the target video. There are three situations in the implementation of this step. Exemplarily, the preset number is 100. After the first three steps, the sorting result is greater than 100 videos (such as 150 videos in total), then the first 100 videos in the sorting are determined as the target videos. Alternatively, after the first three steps, the sorting result is equal to 100 videos, then all the sorting results are determined as the target video. Alternatively, after the first three steps, the sorting result is less than 100 videos, then all the sorting results are determined as the target video.
[0105] The essence of the above technical solution is to make the target video corresponding to the identification image displayed in the preset area of the final search result page a carefully selected video that better meets the needs of the user, thereby reducing the search time spent by the user to search for the required video.
[0106] It should be noted that S221-S223 in the above technical solution can be executed by the server or by the terminal, and this application does not impose any restrictions on this.
[0107] Fig.11A flowchart of another search result processing method provided by an embodiment of the present disclosure. The search result processing method can also be applied to Figure 1 In the application environment shown. For example, if a user wants to search for a certain content, the user can search the data stored in the server by operating the application in the terminal held by the user. Before executing the search result processing method provided by the present disclosure, the terminal obtains the user search request and forwards the user search request to the server. The server performs a data search based on the user search request, obtains data search results, processes the first identification picture corresponding to the first type of video and / or the second identification picture corresponding to the second type of video, so that the size of the first identification picture is the same as the size of the second identification picture, and finally sends the processed first identification picture and the second identification picture to the terminal, and the terminal displays the first identification picture and the second identification picture in a preset area on the search results page.
[0108] Specifically, see Figure 1 and Fig.11 , the method may include:
[0109] S310. Obtain search results corresponding to the search request, where the search results include one or more first-type videos and one or more second-type videos, the aspect ratio of the first-type video is different from the aspect ratio of the second-type video, and the size of the first identification picture of the first-type video is the same as the size of the second identification picture of the second-type video.
[0110] S320: Display the first identification image and the second identification image in a preset area of the search result page.
[0111] It should be noted that in the above technical solution, the explanation and specific implementation direction of each step are the same or similar to those recorded in the previous text and will not be repeated here.
[0112] In the above technical solution, the size of the first identification picture of the first type of video is the same as the size of the second identification picture of the second type of video; the first identification picture and the second identification picture are displayed in the preset area of the search results page, which is essentially to unify the sizes of the identification pictures of different types of videos in the search results to obtain processed identification pictures, mix the processed identification pictures, and use the same preset area in the search results page to display the mixed identification pictures. On the one hand, this setting can avoid the embarrassment of insufficient search results due to a small number of videos of the same type, and thus avoid the situation where when a user browses a certain type of video with a relatively early display position, if the number of such videos is small, the user will think that the current search term setting is unreasonable and will modify the search term again, resulting in the undesirable phenomenon that the user spends a long time searching for the required video; on the other hand, it can realize the centralized display of excellent videos of different types to reduce the difficulty of user understanding.
[0113] Similarly, based on the above technical solution, the search results are multiple target videos determined from one or more first-type videos and one or more second-type videos; the size of the first identification picture of the target video determined from the first-type video is the same as the size of the second identification picture of the target video determined from the second-type video. In this case, the step of determining the target video is performed by the server.
[0114] Fig.12 The structure diagram of a search result processing device in an embodiment of the present disclosure is shown in FIG. The search result processing device provided in an embodiment of the present disclosure may be configured in a client, and the search result processing device specifically includes:
[0115] An acquisition module 410 is configured to acquire search results corresponding to the search request, wherein the search results include one or more first-type videos and one or more second-type videos, wherein the aspect ratio of the first-type videos is different from the aspect ratio of the second-type videos;
[0116] A processing module 420, configured to process a first identification picture corresponding to the first type of video and / or a second identification picture corresponding to the second type of video so that a size of the first identification picture is the same as a size of the second identification picture;
[0117] The display module 430 is used to display the first identification image and the second identification image in a preset area of the search result page.
[0118] Furthermore, the processing module 420 is used to:
[0119] When the number of the second type of videos is greater than the number of the first type of videos, processing the first identification pictures corresponding to the first type of videos; or
[0120] When the number of the first type of videos is greater than the number of the second type of videos, the second identification pictures corresponding to the second type of videos are processed.
[0121] Furthermore, the processing module 420 is used to:
[0122] When the historical interaction count of the first type of video is greater than the historical interaction count of the second type of video, processing the second identification picture of the second type of video; or
[0123] When the historical interaction count of the second type of video is greater than the historical interaction count of the first type of video, the first identification image of the first type of video is processed.
[0124] Furthermore, the device further includes: a logo picture determination module, which is used to:
[0125] Extracting a first cover image from a video frame of the first type of video, and extracting first key information from video attribute information of the first type of video, and obtaining the first identification image according to the first cover image and the first key information; and / or
[0126] A second cover picture is extracted from the video frame of the second type of video, and second key information is extracted from the video attribute information of the second type of video, and the second identification picture is obtained based on the second cover picture and the second key information.
[0127] Furthermore, an aspect ratio of the first type of video is smaller than an aspect ratio of the second type of video.
[0128] Furthermore, the processing module 420 is used to:
[0129] A background part is added to the left and right sides of the first cover image in the first logo image, and the background part is a background obtained by blurring the first cover image or a background of a preset color.
[0130] Furthermore, the processing module 420 is used to:
[0131] The first cover image in the first logo image is cropped, and the aspect ratio of the cropped first cover image is the same as the aspect ratio of the second cover image in the second logo image;
[0132] The size of the cropped first cover image is adjusted to the size of the second cover image.
[0133] Furthermore, the processing module 420 is used to:
[0134] A background part is added to the upper and lower sides of the second cover image in the second logo image, and the background part is a background obtained by blurring the second cover image or a background of a preset color.
[0135] Furthermore, the processing module 420 is used to:
[0136] The second cover image in the second logo image is cropped, and the proportion of the target object in the cropped second cover image in the cropped second cover image is greater than a preset proportion;
[0137] A background part is added to the upper and lower sides of the cropped second cover image, and the background part is a background obtained by blurring the second cover image or a background of a preset color.
[0138] Furthermore, the processing module 420 is used to:
[0139] Crop the first cover image in the first logo image, and crop the second cover image in the second logo image, so that the aspect ratio of the cropped first cover image is the same as the aspect ratio of the cropped second cover image;
[0140] Resize the cropped first cover image and the cropped second cover image to the same size.
[0141] Furthermore, the first logo image and the second logo image are arranged vertically in the preset area; the device further comprises: a switching module for controlling the first logo image and the second logo image to move vertically in the preset area in response to a vertical sliding operation; or
[0142] The first logo image and the second logo image are arranged horizontally in the preset area; the device also includes: a switching module, which is used to control the first logo image and the second logo image to move horizontally in the preset area in response to a horizontal sliding operation.
[0143] Furthermore, the first type of video corresponding to the first identification picture and the second type of video corresponding to the second identification picture constitute a first video set;
[0144] The search results also include a second video collection and / or non-video search results;
[0145] The display module 430 is also used to determine the position of the preset area in the search results page and the position of the second video set and / or non-video search results in the search results page based on the historical characteristics of the first video set and the historical characteristics of the second video set and / or non-video search results.
[0146] Fig.13 A schematic diagram of the structure of another search result processing device provided in an embodiment of the present disclosure. The search result processing device provided in an embodiment of the present disclosure may be configured in a client, and the search result processing device specifically includes:
[0147] An acquisition module 510 is used to acquire search results corresponding to the search request, where the search results include one or more first-type videos and one or more second-type videos, where the aspect ratio of the first-type videos is different from the aspect ratio of the second-type videos, and the size of the first identification picture of the first-type videos is the same as the size of the second identification picture of the second-type videos;
[0148] The display module 520 is used to display the first identification image and the second identification image in a preset area of the search result page.
[0149] The search result processing device provided in the embodiment of the present disclosure can execute the steps executed by the client or server in the search result processing method provided in the embodiment of the method of the present disclosure, and the execution steps and beneficial effects are no longer repeated here.
[0150] Fig.14 Schematic diagram of the structure of an electronic device in the embodiment of the present disclosure. Fig.14 , which shows a schematic diagram of the structure of an electronic device 600 suitable for implementing the embodiment of the present disclosure. The electronic device 600 in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle terminals (such as vehicle navigation terminals), wearable electronic devices, etc., and fixed terminals such as digital TVs, desktop computers, smart home devices, etc. Fig.14 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0151] like Fig.14 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 to a random access memory (RAM) 603 to implement the ... method of the embodiment described in the present disclosure. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0152] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Fig.14 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0153] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart, thereby implementing the search result processing method as described above. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0154] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0155] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0156] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0157] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:
[0158] Obtain search results corresponding to the search request, the search results including one or more first-type videos and one or more second-type videos, wherein the aspect ratio of the first-type videos is different from the aspect ratio of the second-type videos;
[0159] Processing a first identification picture corresponding to the first type of video and / or a second identification picture corresponding to the second type of video so that a size of the first identification picture is the same as a size of the second identification picture;
[0160] The first identification image and the second identification image are displayed in a preset area of the search result page.
[0161] Alternatively, the computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device:
[0162] Obtain search results corresponding to the search request, the search results including one or more first-type videos and one or more second-type videos, the aspect ratio of the first-type videos is different from the aspect ratio of the second-type videos, and the size of the first identification picture of the first-type videos is the same as the size of the second identification picture of the second-type videos;
[0163] The first identification image and the second identification image are displayed in a preset area of the search result page.
[0164] Optionally, when the above one or more programs are executed by the electronic device, the electronic device may also execute other steps described in the above embodiments.
[0165] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0166] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0167] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.
[0168] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0169] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0170] The present disclosure provides an electronic device, comprising:
[0171] one or more processors;
[0172] A memory for storing one or more programs;
[0173] When the one or more programs are executed by the one or more processors, the one or more processors implement any search result processing method provided in the present disclosure.
[0174] According to one or more embodiments of the present disclosure, the present disclosure provides a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the search result processing method as described in any one of the methods provided in the present disclosure is implemented.
[0175] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0176] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0177] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A search result processing method, characterized in that: The method comprises: Obtain search results corresponding to the search request, the search results including one or more first-type videos and one or more second-type videos, wherein the aspect ratio of the first-type videos is different from the aspect ratio of the second-type videos; Processing a first identification picture corresponding to the first type of video and / or a second identification picture corresponding to the second type of video so that a size of the first identification picture is the same as a size of the second identification picture; Displaying the first identification image and the second identification image in a preset area on the search results page; The method further comprises: Extracting a first cover image from a video frame of the first type of video, and extracting first key information from video attribute information of the first type of video, and obtaining the first identification image according to the first cover image and the first key information; and / or Extracting a second cover picture from a video frame of the second type of video, and extracting second key information from video attribute information of the second type of video, and obtaining the second identification picture according to the second cover picture and the second key information; After obtaining search results corresponding to the search request, the search results including one or more first-type videos and one or more second-type videos, and the aspect ratio of the first-type videos is different from the aspect ratio of the second-type videos, the method further includes: Determine a plurality of target videos from the one or more first-type videos and the one or more second-type videos; The target video is a result of screening the first type of videos and the second type of videos, and is a video determined to be a display object.
2. The method according to claim 1, characterized in that Processing a first identification picture corresponding to the first type of video and / or a second identification picture corresponding to the second type of video includes: When the number of the second type of videos is greater than the number of the first type of videos, processing the first identification pictures corresponding to the first type of videos; or When the number of the first type of videos is greater than the number of the second type of videos, the second identification pictures corresponding to the second type of videos are processed.
3. The method according to claim 1, characterized in that Processing a first identification picture corresponding to the first type of video and / or a second identification picture corresponding to the second type of video includes: When the historical interaction count of the first type of video is greater than the historical interaction count of the second type of video, processing the second identification picture of the second type of video; or When the historical interaction count of the second type of video is greater than the historical interaction count of the first type of video, the first identification image of the first type of video is processed.
4. The method according to claim 1, characterized in that The aspect ratio of the first type of video is smaller than the aspect ratio of the second type of video.
5. The method according to claim 1, characterized in that Processing a first identification picture corresponding to the first type of video includes: A background part is added to the left and right sides of the first cover image in the first logo image, and the background part is a background obtained by blurring the first cover image or a background of a preset color.
6. The method according to claim 1, characterized in that Processing a first identification picture corresponding to the first type of video includes: The first cover image in the first logo image is cropped, and the aspect ratio of the cropped first cover image is the same as the aspect ratio of the second cover image in the second logo image; The size of the cropped first cover image is adjusted to the size of the second cover image.
7. The method according to claim 1, characterized in that Processing the second identification picture corresponding to the second type of video includes: A background part is added to the upper and lower sides of the second cover image in the second logo image, and the background part is a background obtained by blurring the second cover image or a background of a preset color.
8. The method according to claim 1, characterized in that Processing the second identification picture corresponding to the second type of video includes: The second cover image in the second logo image is cropped, and the proportion of the target object in the cropped second cover image in the cropped second cover image is greater than a preset proportion; A background part is added to the upper and lower sides of the cropped second cover image, and the background part is a background obtained by blurring the second cover image or a background of a preset color.
9. The method according to claim 1, characterized in that: Processing a first identification picture corresponding to the first type of video and a second identification picture corresponding to the second type of video includes: Crop the first cover image in the first logo image, and crop the second cover image in the second logo image, so that the aspect ratio of the cropped first cover image is the same as the aspect ratio of the cropped second cover image; Resize the cropped first cover image and the cropped second cover image to the same size.
10. The method according to claim 1, characterized in that The first logo image and the second logo image are arranged vertically in the preset area; the method further comprises: in response to a vertical sliding operation, controlling the first logo image and the second logo image to move vertically in the preset area; or The first logo image and the second logo image are arranged horizontally in the preset area; the method further includes: in response to a horizontal sliding operation, controlling the first logo image and the second logo image to move horizontally in the preset area.
11. The method according to claim 1, characterized in that: The first type of video corresponding to the first identification picture and the second type of video corresponding to the second identification picture constitute a first video set; The search results also include a second video collection and / or non-video search results; The method further comprises: Based on the historical characteristics of the first video collection and the historical characteristics of the second video collection and / or non-video search results, the position of the preset area in the search results page and the position of the second video collection and / or non-video search results in the search results page are determined.
12. A search result processing method, characterized in that: The method comprises: Obtain search results corresponding to the search request, the search results including one or more first-type videos and one or more second-type videos, the aspect ratio of the first-type videos is different from the aspect ratio of the second-type videos, and the size of the first identification picture of the first-type videos is the same as the size of the second identification picture of the second-type videos; Displaying the first identification image and the second identification image in a preset area on the search results page; The method further comprises: Extracting a first cover image from a video frame of the first type of video, and extracting first key information from video attribute information of the first type of video, and obtaining the first identification image according to the first cover image and the first key information; and / or Extracting a second cover picture from a video frame of the second type of video, and extracting second key information from video attribute information of the second type of video, and obtaining the second identification picture according to the second cover picture and the second key information; After obtaining search results corresponding to the search request, the search results including one or more first-type videos and one or more second-type videos, and the aspect ratio of the first-type videos is different from the aspect ratio of the second-type videos, the method further includes: a plurality of target videos determined from the one or more first-type videos and the one or more second-type videos; The target video is a result of screening the first type of videos and the second type of videos, and is a video determined to be a display object.
13. A search result processing device, characterized in that: The device comprises: An acquisition module, configured to acquire search results corresponding to the search request, the search results comprising one or more first-type videos and one or more second-type videos, wherein the aspect ratio of the first-type videos is different from the aspect ratio of the second-type videos; a processing module, configured to process a first identification picture corresponding to the first type of video and / or a second identification picture corresponding to the second type of video, so that a size of the first identification picture is the same as a size of the second identification picture; A display module, configured to display the first identification image and the second identification image in a preset area of a search result page; The device further includes: an identification picture determination module, which is used to: extract a first cover picture from the video frame of the first type of video, and extract first key information from the video attribute information of the first type of video, and obtain the first identification picture according to the first cover picture and the first key information; and / or Extracting a second cover picture from a video frame of the second type of video, and extracting second key information from video attribute information of the second type of video, and obtaining the second identification picture according to the second cover picture and the second key information; The device also includes: a target video determination module, which is used to: determine multiple target videos from the one or more first type videos and the one or more second type videos; wherein the target video is a result of screening the first type videos and the second type videos, and is a video determined to be a display object.
14. A search result processing device, characterized in that: The device comprises: an acquisition module, configured to acquire search results corresponding to the search request, the search results comprising one or more first-type videos and one or more second-type videos, the aspect ratio of the first-type videos being different from the aspect ratio of the second-type videos, and the size of a first identification picture of the first-type videos being the same as the size of a second identification picture of the second-type videos; A display module, configured to display the first identification image and the second identification image in a preset area of a search result page; The device further includes: an identification picture determination module, which is used to: extract a first cover picture from the video frame of the first type of video, and extract first key information from the video attribute information of the first type of video, and obtain the first identification picture according to the first cover picture and the first key information; and / or Extracting a second cover picture from a video frame of the second type of video, and extracting second key information from video attribute information of the second type of video, and obtaining the second identification picture according to the second cover picture and the second key information; The device also includes: a target video determination module, which is used to: determine multiple target videos from the one or more first type videos and the one or more second type videos; wherein the target video is a result of screening the first type videos and the second type videos, and is a video determined to be a display object.
15. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 12.
16. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 12 is implemented.
