A video recommendation method, device, electronic device and storage medium
By receiving and playing the highlight information of the target video as the entry point, the complex problem of short and long video jumps for film and television dramas is solved, and the seamless viewing of long videos is achieved, improving user experience and saving storage space.
Patent Information
- Application Number
- CN202010931532.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-07
- Publication Date
- 2025-08-05
- Estimated Expiration
- 2041-02-04
AI Technical Summary
In the recommendation of film and television dramas, the jump between short videos and long videos is more complicated, affecting the user's playback experience.
Receive the highlight information of the target video, and play the target video after the user triggers the operation. Use the highlight information as an entry point to guide the user to browse the long video. The server only stores the highlight information and its corresponding playback location.
It realizes seamless viewing of long videos, improves the effect of long video recommendations, lowers the threshold for user cognition, and saves storage space.
Smart Images

Figure CN114154012B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of video processing technology, and in particular, to a video recommendation method, apparatus, electronic device, and storage medium. Background Art
[0002] The content of film and television dramas generally has a long duration, and in the recommendation stream scenario suitable for fragmented reading, the distribution effect is often unsatisfactory.
[0003] Currently, the common method is to directly clip the highlights of film and television dramas into short videos and distribute them in the recommendation stream. The so-called highlights refer to the segments in film and television dramas with relatively eye-catching plots. After a user clicks on a highlight, they can directly watch the short video of the highlight of the film and television drama and start watching the drama from the short video, saving the preamble part of the film and television drama. However, this recommendation method requires a jump operation between short videos and long videos, which is relatively complex and may also affect the user's playback experience of long videos. Summary of the Invention
[0004] In order to solve the above technical problems or at least partially solve the above technical problems, embodiments of the present disclosure provide a video recommendation method, apparatus, electronic device, and storage medium, which can optimize the video recommendation scheme and make the recommendation effect of long videos better.
[0005] Embodiments of the present disclosure provide a video recommendation method, including:
[0006] Receiving highlight information of a target video, where the number of the highlight information is at least one, and the highlight information corresponds to a preset playback position in the target video;
[0007] Displaying the highlight information, and playing the target video after receiving a trigger operation of the user based on the highlight information.
[0008] Embodiments of the present disclosure also provide a video recommendation method, including:
[0009] Generating highlight information of a target video, where the number of the highlight information is at least one, and the highlight information corresponds to a preset playback position in the target video;
[0010] Sending the highlight information of the target video to a client, so that the client displays the highlight information, and plays the target video after receiving a trigger operation of the user based on the highlight information.
[0011] Embodiments of the present disclosure also provide a video recommendation apparatus, including:
[0012] A highlight information receiving module, configured to receive highlight information of a target video, where the number of the highlight information is at least one, and the highlight information corresponds to a preset playing position in the target video;
[0013] A long video recommendation module, configured to display the highlight information and play the target video after receiving a trigger operation of a user based on the highlight information.
[0014] An embodiment of the present disclosure further provides a video recommendation device, which includes:
[0015] A highlight information generating module, configured to generate highlight information of a target video, where the number of the highlight information is at least one, and the highlight information corresponds to a preset playing position in the target video;
[0016] A highlight information sending module, configured to send the highlight information of the target video to a client, so that the client displays the highlight information and plays the target video after receiving a trigger operation of a user based on the highlight information.
[0017] An embodiment of the present disclosure further provides an electronic device, where the electronic device includes:
[0018] One or more processors;
[0019] A storage device, configured to store one or more programs;
[0020] When the one or more programs are executed by the one or more processors, the one or more processors implement the video recommendation method as described above.
[0021] An embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the video recommendation method as described above is implemented.
[0022] The technical solutions provided by the embodiments of the present disclosure have the following advantages compared with the prior art: The video recommendation solution provided by the embodiments of the present disclosure receives the highlight information of the target video, where the number of highlight information is at least one, and the highlight information corresponds to a preset playback position in the target video, displays the highlight information, and plays the target video after receiving the trigger operation of the user based on the highlight information. By adopting the above technical solution, the highlight information can start from a segment of a long video or the playback position corresponding to a climax point, guide the user to browse the long video, enable the user to seamlessly watch the long video on the basis of obtaining the wonderful content of the long video at the fastest speed, a long video can be recommended from multiple angles, improving the effect of long video recommendation, reducing the user's cognitive threshold, and improving the user's experience of browsing long videos; moreover, the server only needs to store the highlight information and its corresponding playback position, without additionally generating and storing the video segments corresponding to the highlight information, saving storage space. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In combination with the accompanying drawings and referring to the following specific embodiments, the above and other features, advantages and aspects of the embodiments of the present disclosure will become more obvious. 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 original components and elements are not necessarily drawn to scale.
[0024] Figure 1 It is a flowchart of a video recommendation method in the embodiments of the present disclosure;
[0025] Figure 2 It is a schematic diagram of a first type of display page in the embodiments of the present disclosure;
[0026] Figure 3 It is a schematic diagram of a playback switching prompt message in the embodiments of the present disclosure;
[0027] Figure 4 It is a schematic diagram of another playback switching prompt message in the embodiments of the present disclosure;
[0028] Figure 5 It is a schematic diagram of the current highlight information in the embodiments of the present disclosure;
[0029] Figure 6 It is a schematic diagram of another current highlight information in the embodiments of the present disclosure;
[0030] Figure 7 It is a flowchart of another video recommendation method in the embodiments of the present disclosure;
[0031] Figure 8 It is a schematic diagram of the structure of a video recommendation device in the embodiments of the present disclosure;
[0032] Figure 9Schematic structural diagram of another video recommendation device in an embodiment of the present disclosure;
[0033] Figure 10 Schematic structural diagram of an electronic device in an embodiment of the present disclosure. Specific implementation manners
[0034] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. On the contrary, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not used to limit the protection scope of the present disclosure.
[0035] It should be understood that the steps recited in the method embodiments of the present disclosure can be executed in a different order 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 regard. <(
[0036] The term "including" and its variations used herein are open-ended, that is, "including but not limited to". The term "based on" is "at least partially based 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.
[0037] 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 mutual dependence relationship of the functions performed by these devices, modules or units.
[0038] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive. Those skilled in the art should understand that unless otherwise clearly specified in the context, it should be understood as "one or more".
[0039] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only for illustrative purposes and are not used to limit the scope of these messages or information.
[0040] Figure 1The flowchart of a video recommendation method in an embodiment of the present disclosure. This embodiment is applicable to the situation of video recommendation in a client. This method can be executed by a video recommendation device, which can be implemented in a software and / or hardware manner and can be configured in an electronic device, such as a mobile terminal, specifically including a mobile phone, a computer, a tablet computer, etc. As Figure 1 shown, this method is applied to a client and specifically may include:
[0041] Step 101: Receive the highlight information of the target video. The number of highlight information is at least one, and the highlight information corresponds to a preset playback position in the target video.
[0042] It can be understood that the client can be any electronic device with a video playback function or an electronic device that can control other video playback devices to play videos. The target video can be a video that a user expects to play. For example, the target video can be an episode of a movie, a documentary, or a TV series. The highlight information can be the highlight and feature information represented by the climax segment, wonderful segment, or highlight segment in the target video. The highlight information corresponds to a preset playback position in the target video. The preset playback position can be a playback position in the wonderful segment of the target video and can be specifically determined according to the actual situation.
[0043] Specifically, the highlight information can include at least one of a highlight title, a highlight cover, a highlight duration, and a highlight playback prompt. The highlight information can be understood as the relevant information of the wonderful points of the target video and is personalized information pre-configured for a certain wonderful point. The same target video can include multiple different highlight information. The highlight title can be a text description of the highlight video, the highlight cover can be a screenshot of the highlight video, and the highlight duration is the playback duration of the highlight video.
[0044] Exemplarily, when the target video is a movie and the highlight video is a highlight segment of the male protagonist, the highlight information can include the highlight title, highlight cover, and highlight duration of the above-mentioned highlight segment of the male protagonist, etc.
[0045] Specifically, the client can receive the highlight information of the target video pre-configured by the server. Moreover, the number and types of target videos are not limited in the embodiments of the present disclosure and can be set according to the actual situation.
[0046] Step 102: Display the highlight information and play the target video after receiving the trigger operation of the user based on the highlight information.
[0047] Among them, the triggering operation can be an operation made by the user through an external input device or by touching the display screen of the client, etc. The specific operation of the triggering operation is not limited in the embodiments of the present disclosure. For example, the triggering operation can be an operation such as single-clicking, double-clicking, or long-pressing on the display screen of the client.
[0048] In the embodiments of the present disclosure, displaying highlight information may include: generating a first type of display page and setting a video recommendation box on the first type of display page, where the video recommendation box is used to display the highlight information of the target video. Among them, the first type of display page can be a display page in the client for recommending long videos to the user. Only the highlight information of the long video can be displayed on this display page. The long video can be set as a video with a video content greater than or equal to a set value, and the above set value can be set according to the actual situation. The number of video recommendation boxes can be multiple, which is specifically set according to the actual situation. For example, multiple video recommendation boxes can be set on the first type of display page, specifically arranged from top to bottom or from left to right in sequence, and each video recommendation box is used to display a highlight information of a target video. The highlight information is displayed in a static form in the video recommendation box, which can be called a highlight card. The positions of each piece of information in the highlight information in the video recommendation box can be set according to the actual situation, and are not limited in the embodiments of the present disclosure.
[0049] Exemplarily, Figure 2 is a schematic diagram of a first type of display page in the embodiments of the present disclosure. In the figure, a video recommendation box is shown, and this video recommendation box displays a highlight information of the movie "B". The highlight title is "B: The acting skills of actor A are amazing! It's completely unrecognizable as the same person!", the highlight cover is a screenshot of the highlight video, the highlight duration is displayed in the lower right corner of the highlight cover, and the highlight duration is 1 minute and 31 seconds. The playback times of this movie are 10,000 times, and the highlight playback prompt is "Wonderful highlight". The highlight information can also include the user information of the user who shared this highlight information. Figure 2 The user information of the user who shared this highlight information is also exemplarily shown. At the Figure 2 bottom, the moon picture is the user avatar, "C" is the username, and "Follow" button and comment button are also set, which are used to follow this user and comment on this highlight information respectively. Other function buttons can also be set according to the actual situation.
[0050] Optionally, the first type of display page is a video recommendation stream page that displays interesting point information, and may further include: associatively displaying interesting point information and a target video corresponding to the interesting point information in a video recommendation box. The video recommendation stream page also belongs to a display page for recommending long videos to users. The difference is that interesting point information and the corresponding long video can be associatively displayed on this video recommendation stream page. Both the interesting point information and the target video can be displayed to the user in the video recommendation box, and the specific position is not limited. Since the preset playback position of the interesting point information corresponds to the target video, the target video can start playing and displaying from this preset playback position, or can start playing and displaying from the starting position of the target video, and the specific situation is not limited.
[0051] Optionally, when the target video corresponding to the interesting point information is displayed in the video recommendation box, after receiving the trigger operation based on the interesting point information by the user on the first type of display page, the target video can continue to be played in the video recommendation box from the playback display position of the target video, and the playback display position is the playback position of the target video when the interesting point information is triggered.
[0052] In the embodiments of the present disclosure, playing the target video after receiving the trigger operation of the user based on the interesting point information includes: receiving the trigger operation of the user based on the interesting point information on the first type of display page; obtaining the target video and the preset playback position based on the interesting point information, where the preset playback position includes the playback start position; playing the target video based on the preset playback position. Optionally, the preset playback position may further include the playback end position. Playing the target video based on the preset playback position includes: playing the target video from the playback start position and ending the playback at the playback end position.
[0053] The preset playback position may only include a time node of the target video, that is, the playback start position. The preset playback position may also include the start node and the end node of a video content segment of the target video, that is, the playback start position and the playback end position. For example, the target video may be a movie with a playback duration of 1 hour. The wonderful video content segment may be from the 30th minute to the 35th minute of the movie, or may be from the 30th minute of the movie to the end of the movie. The playback start position in the preset playback position may be the 30th minute of the movie, and the playback end position may be the 35th minute of the movie or not set. When the user performs a trigger operation on interesting point information such as an interesting point title, an interesting point cover, an interesting point duration, or an interesting point playback prompt on the first type of display page, the video data of the target video and the preset playback position are obtained from the server based on the interesting point information, and the target video is played based on the preset playback position, so that the user can start watching the target video from a certain wonderful point. For example, see Figure 2 , when the user performs a trigger operation at the position of the interesting point playback prompt "wonderful interesting point" on the interesting point cover, the movie is played based on the preset playback position.
[0054] In the embodiments of the present disclosure, the video recommendation box is further configured to display long video information of the target video, and the long video information includes at least one of a target video name, a target video identifier, and a target video playback prompt. The long video information refers to the relevant information of the target video, and one target video corresponds to one piece of long video information. For example, when the target video is a movie and the highlight video is a highlight segment of the male lead, the long video information may include the name of the movie, the movie identifier, and the number of movie plays, etc. In addition to displaying the highlight information of the target video, the long video information of the target video can also be displayed in the video recommendation box. Exemplarily, referring to Figure 2 , the target video playback prompt in the long video information displayed in the video recommendation box is "Watch the full movie", and the cover of the full movie of the target video and the target video name can be displayed below the highlight cover.
[0055] Optionally, the video recommendation method provided in the embodiments of the present disclosure may further include: receiving a trigger operation of the user based on the long video information in the first type of display page; obtaining the target video based on the long video information, and playing the target video from the starting position of the target video. When the user performs a trigger operation on the long video information such as the target video name and the target video playback prompt in the first type of display page, the target video is obtained based on the long video information, and the target video is played from the starting position, so that the user can watch the target video from the beginning. For example, referring to Figure 2 , when the user performs a trigger operation at the position of the target video playback prompt "Watch the full movie" on the right side of the target video name, the movie is played from the beginning.
[0056] In the embodiments of the present disclosure, after receiving the trigger operation of the user based on the highlight information, the target video can be played based on the highlight information. For example, the target video is played from the start position of the preset playback position corresponding to the highlight information. Specifically, when playing, it can be jumped to the playback page or the details page of the target video to play the target video, or the target video can be directly played in the video recommendation box on the current first type of display page. There is no specific limitation, and it can be set according to the actual situation.
[0057] The video recommendation solution provided by the embodiments of the present disclosure is such that the client receives the highlight information of the target video. Here, the number of highlight information is at least one, and the highlight information corresponds to the preset playback position in the target video. The highlight information is displayed, and after receiving the trigger operation of the user based on the highlight information, the target video is played. By adopting the above technical solution, the highlight information can start from the playback position corresponding to a segment or a climax point of the long video, guiding the user to browse the long video. On the basis that the user can obtain the wonderful content of the long video at the fastest speed, the user can seamlessly watch the long video. A long video can be recommended from multiple angles, improving the effect of long video recommendation, reducing the user's cognitive threshold, and enhancing the user's experience of browsing long videos. Moreover, the server only needs to store the highlight information and its corresponding playback position, without additionally generating and storing the video segments corresponding to the highlight information, saving storage space.
[0058] In some embodiments, after receiving the highlight information of the target video, it further includes: generating a second type of display page and displaying the highlight information on the second type of display page; in response to the trigger operation of the user based on the highlight information received on the second type of display page, playing the highlight video corresponding to the highlight information, where the highlight video is a video content segment intercepted from the target video based on the highlight information.
[0059] The highlight video is derived from the target video and can be intercepted from the target video, being a part of the target video. The highlight video can be a climax segment, a wonderful segment or a highlight segment in the target video. The highlight information can correspond to the highlight video. One highlight information can correspond to a single highlight video or multiple highlight videos, which is not specifically limited.
[0060] The second type of display page can be a display page in the client for recommending highlight videos to the user, belonging to the scenario of short video recommendation. The short video can be set as a video with video content less than a set value, and the set value can be set according to the actual situation. For example, the second type of display page can be a search result display page and a user personal homepage display page, etc. Multiple video recommendation boxes can also be set on the second type of display page, and each video recommendation box is used to display the highlight information of a highlight video. When receiving the trigger operation of the user for the highlight information, the highlight video can be played. The advantage of such a setting is that on the basis of recommending the long video through the highlight information, the highlight videos corresponding to the highlight information of the long video can also be displayed to the user in a non-recommendation stream scenario.
[0061] Optionally, during the playback of the highlight video, if a trigger operation for the long video information is received from the user, the target video can be obtained based on the long video information, and the playback can be switched to the target video. To switch to play the target video, specifically, it can be switched from the playback page of the highlight video to the playback page of the target video to play the target video. Moreover, the target video can be played from the beginning after the highlight video finishes playing, or the target video can be played starting from the end moment of the highlight video playback after the highlight video finishes playing, and there is no specific limit. The advantage of this setting is that during the process of the user watching the highlight video, the user can switch to play the corresponding long video according to actual needs, enriching the content of video recommendations and enhancing the user's viewing experience.
[0062] In some embodiments, after presenting the highlight information and playing the target video after receiving the trigger operation from the user based on the highlight information, it may further include: presenting a playback switching prompt message on the playback page of the target video, where the playback switching prompt message includes a switching prompt message for prompting the switching of the playback position and / or a playback prompt message for prompting continued playback. Among them, the playback switching prompt message can include two types of prompt messages. One is used to provide the user to change the playback position of the target video, and the other is used to prompt the user about the playback status of the video. The specific content of the information can be set according to the actual situation.
[0063] Optionally, the switching prompt message includes a first prompt message. Presenting the playback switching prompt message on the playback page of the target video includes: if the current playback position of the target video is not the starting position of the target video, then present the first prompt message on the playback page of the target video, where the first prompt message is a prompt message for prompting to switch from the current playback position of the target video to the starting position. Exemplarily, Figure 3 is a schematic diagram of a playback switching prompt message in an embodiment of the present disclosure, Figure 3 The playback switching prompt message shown therein is a switching prompt message for prompting to switch from the current playback position of the target video to the starting position, specifically "Playing from an exciting segment, you can also play from the beginning".
[0064] Optionally, the playback switching prompt information includes the second prompt information. Displaying the playback switching prompt information on the playback page of the target video includes: if there is a historical playback position for the target video, display the second prompt information on the playback page of the target video, where the second prompt information is used to prompt switching from the current playback position of the target video to the historical playback position. Here, the historical playback position refers to the playback start position or the playback end position of playing the target video at a certain historical time before the current time. There is no limitation on the specific client for playing the target video, which may include the playback position of the current user on one client, or may also include the playback positions of the current user on multiple different types of clients within a preset time, without specific limitation. For example, the historical playback position may include the playback position of the current user on the mobile client, or may also include the playback positions of the current user on the mobile client and the tablet client within one day. Exemplarily, the second prompt information may be "Starting to play from an exciting segment. You can also continue from where you left off last time."
[0065] The advantage of the above-mentioned switching prompt information by displaying the playback switching prompt information on the playback page of the long video is that while playing the long video, it can prompt the user that they are watching from the middle of the target video and provide the user with a prompt allowing playback switching, making the user's control over the playback of the long video more flexible.
[0066] Optionally, displaying the playback switching prompt information on the playback page of the target video may include: if the preset playback position includes the playback end position and the current playback position of the target video is the playback end position, display the playback prompt information on the playback page of the target video, where the playback prompt information is used to prompt to continue playing the target video after the current playback segment of the target video has finished playing. The current playback segment is determined based on the highlight information. The current playback segment may be a video content segment intercepted from the target video based on the highlight information. Exemplarily, Figure 4 This is a schematic diagram of another type of playback switching prompt information in the embodiments of the present disclosure. Figure 4 The playback switching prompt information shown is the playback prompt information for continuing to play after the current highlight video of the target video has finished playing. Specifically, it is "The exciting segment has finished playing. We will continue to play the full version for you." This playback prompt information can be displayed to the user when the target video is played to the playback end position of the current playback segment, that is, at the end of the highlight video.
[0067] The advantage of the above-mentioned playback prompt information by displaying the playback switching prompt information on the playback page of the long video is that while playing the long video, it can prompt the user about the completion of the exciting segment related to the highlight information, so that the user can accurately understand the playback situation of the long video and enhance the user's browsing experience of the long video.
[0068] The display manner of the play switch prompt message can be set according to the specific actual situation, and it is not limited in the embodiments of the present disclosure. Optionally, the center position of the display area where the play switch prompt message is located is aligned with the floating marker of the play progress bar. The floating marker of the play progress bar slides continuously as the target video is played, representing the current play position. Optionally, the play switch prompt message is displayed in a floating manner. Exemplarily, Figure 3 and Figure 4 The play switch prompt messages in both are displayed in a floating manner on the play page of the target video, and the center position of the display area where the play switch prompt message is located is aligned with the floating marker 11 of the play progress bar, and the name of the target video, the title of the highlight, and other relevant information of the target video are all displayed below the target video.
[0069] In some embodiments, after the play switch prompt message is displayed on the play page of the target video, it may further include: when receiving a trigger operation by the user based on the switch prompt message or the play progress bar of the target video, performing a corresponding play switch operation. When the user performs a trigger operation on the switch prompt message in the play switch prompt message, the client can perform the play switch corresponding to the triggered switch prompt message, or when the user performs a trigger operation at a position on the play progress bar, the target video can be switched from the current play position to the trigger position for playing. The advantage of such a setting is that when the user watches a long video based on the highlight information, the play position can be adjusted according to actual needs, improving the user's viewing experience.
[0070] In some embodiments, after displaying the highlight information and playing the target video after receiving a trigger operation by the user based on the highlight information, it may further include: displaying the current highlight information. Specifically, the current highlight information can be displayed on the play page of the target video. Optionally, the current highlight information is displayed in a variable bubble manner. Optionally, displaying the current highlight information may include: displaying the current highlight information as a variable bubble of the first size and shrinking it after hovering for a set time until the size of the variable bubble reaches the second size, where the second size is smaller than the first size.
[0071] The current highlight information is the highlight information currently triggered by the user, and specifically may include information such as the highlight title, the highlight cover, and the time point of the current play position. The variable bubble manner is only an example of display, and other ways that can prominently display the current highlight information are also applicable. Exemplarily, Figure 5 is a schematic diagram of a current highlight information in the embodiments of the present disclosure, Figure 6 is another schematic diagram of the current highlight information in the embodiments of the present disclosure, where the current highlight information is in Figure 5 and Figure 6All are displayed in the form of variable bubbles. The center positions of the variable bubbles are aligned with the buoy 11 of the playback progress bar. Figure 5 The variable bubbles in are larger. Figure 6 The variable bubbles in are smaller. The highlight titles are displayed in the variable bubbles, and the target video name and other relevant information of the target video are all displayed below the target video. After the target video starts playing, a variable bubble of the current highlight information in can pop up at the buoy of the playback progress bar. Figure 5 The variable bubble of the current highlight information in can indent towards the playback progress bar after hovering for a set time and become Figure 6 the smaller variable bubble shown in , to imply that the user is currently watching from the middle of the target video.
[0072] By displaying the current highlight information as described above, when the user watches a long video based on the highlight information, exciting point information that attracts the user to enter can be displayed, enabling the user to be more focused on browsing the long video and improving the user's viewing experience.
[0073] For the video recommendation solution provided by the embodiments of the present disclosure, from the user's perspective, the user's decision-making cost is lower, the user can be quickly attracted by stories and suspense, and can quickly obtain feedback, and the experience of continuing to browse the long video is smoother. Compared with the short video form, it can better achieve a seamless long video viewing experience, and the user's cognitive threshold is lower; from the video provider's perspective, the recommended description range is wider, and the highlights can be directly pushed. It can be done that the video provider uses "content segments" as the entry point to recommend movies and TV dramas. More suspense and descriptions can be set for the recommendation language and cover, with higher flexibility, and the works can be recommended repeatedly from multiple perspectives. A single work can be recommended from multiple angles according to different highlights and features of the work to maximize the long video recommendation effect.
[0074] Figure 7 It is a flowchart of another video recommendation method in the embodiments of the present disclosure. Based on the above embodiments, this embodiment further specifically describes the video recommendation method. Correspondingly, as shown in , the method of this embodiment is applied to a server and specifically includes: Figure 7 As shown in , the method of this embodiment is applied to a server and specifically includes:
[0075] Step 201, generate highlight information for the target video, where the number of highlight information is at least one, and the highlight information corresponds to a preset playback position in the target video.
[0076] The highlight information may include at least one of a highlight title, a highlight cover, a highlight duration, and a highlight playback prompt.
[0077] In the embodiments of the present disclosure, generating the highlight information of the target video may include: extracting at least one preset playing position of the target video; configuring the highlight information of each preset playing position, and storing the corresponding relationship between each highlight information and the preset playing position. Specifically, by identifying the content of the target video, multiple exciting moments in the target video are determined. An exciting moment can be used as a preset playing position, and specific exciting point introduction information is configured for each preset playing position, that is, the highlight information is obtained, and the corresponding association between each highlight information and the preset playing position is stored for later use.
[0078] Step 202: Send the highlight information of the target video to the client, so that the client displays the highlight information and plays the target video after receiving the trigger operation of the user based on the highlight information.
[0079] The server can send the highlight information of the target video to the client. The client can display the highlight information on the first type of display page, and play the target video after receiving the trigger operation of the user based on the highlight information. Since the long video information of the target video can also be displayed in the video recommendation box on the first type of display page, specifically for the trigger operations of the user based on the highlight information and the long video information, the target video can be played respectively from the preset playing position and the starting position of the target video.
[0080] In the video recommendation solution provided by the embodiments of the present disclosure, the server generates the highlight information of the target video. Among them, the number of highlight information is at least one, and the highlight information corresponds to the preset playing position in the target video. The highlight information of the target video is sent to the client, so that the client displays the highlight information and plays the target video after receiving the trigger operation of the user based on the highlight information. By adopting the above technical solution, the server can generate multiple highlight information of the long video and send them to the client, so that the client displays the highlight information. The highlight information can start from the playing position corresponding to a segment or a climax point of the long video, guiding the user to browse the long video. On the basis that the user can obtain the wonderful content of the long video at the fastest speed, the user can watch the long video seamlessly. A long video can be recommended from multiple angles, improving the effect of long video recommendation, reducing the user's cognitive threshold, and improving the user's experience of browsing long videos; and, the server only needs to store the highlight information and its corresponding playing position, without additionally generating and storing the video segments corresponding to the highlight information, saving storage space.
[0081] In some embodiments, after generating the highlight information of the target video, it may further include: intercepting video content segments in the target video based on the highlight information to obtain at least one highlight video. Based on the preset playback position corresponding to the highlight information in the target video, different-duration video content segments including the preset playback position can be intercepted through content interception to obtain highlight videos of different durations. The highlight information can correspond to the highlight videos. One piece of highlight information can correspond to a single highlight video or multiple highlight videos, and there is no specific limitation. The embodiments of the present disclosure do not limit the duration and quantity of the highlight videos, which can be set according to actual situations.
[0082] Optionally, the video recommendation method provided by the embodiments of the present disclosure may further include: in response to a highlight video acquisition request sent by the client after receiving a trigger operation on the highlight information, sending the highlight video to the client so that the client plays the highlight video. The client can display the highlight information on the second type of display page. After receiving a trigger operation from the user based on the highlight information, the client can send a highlight video acquisition request to the server. After the server obtains the highlight video acquisition request, it can send the highlight video corresponding to the highlight information to the client so that the client plays the highlight video. When the highlight information corresponds to multiple highlight videos, the server can send any one of the highlight videos to the client or select a highlight video to send to the client according to a set rule, where the set rule can be set according to actual situations. For example, the set rule can be the highlight video with the longest duration.
[0083] Based on the recommendation of long videos based on the highlight information, the highlight videos corresponding to the highlight information of the long videos can also be displayed to users in a non-recommended stream scenario, realizing the recommendation of short videos, improving the flexibility of video recommendation, meeting the needs of users in different scenarios, and thus improving the user's video browsing experience effect.
[0084] Figure 8 It is a schematic structural diagram of a video recommendation device in the embodiments of the present disclosure. The video recommendation device provided by the embodiments of the present disclosure can be configured in the client. The device specifically includes:
[0085] A highlight information receiving module 301, configured to receive the highlight information of the target video, where the quantity of the highlight information is at least one, and the highlight information corresponds to a preset playback position in the target video;
[0086] A long video recommendation module 302, configured to display the highlight information and play the target video after receiving a trigger operation from the user based on the highlight information.
[0087] Optionally, the long video recommendation module 302 includes a display unit, specifically configured to:
[0088] Generate a first type of display page, and set a video recommendation box on the first type of display page, where the video recommendation box is used to display the highlights information of the target video.
[0089] Optionally, the first type of display page is a video recommendation stream page, and the display unit is further configured to:
[0090] Associate and display the highlights information and the target video corresponding to the highlights information in the video recommendation box.
[0091] Optionally, the highlights information includes at least one of a highlights title, a highlights cover, a highlights duration, and a highlights play prompt.
[0092] Optionally, the long video recommendation module 302 includes a playback unit, which is specifically configured to:
[0093] Receive a trigger operation of the user on the first type of display page based on the highlights information;
[0094] Obtain the target video and the preset playback position based on the highlights information, where the preset playback position includes a playback start position;
[0095] Play the target video based on the preset playback position.
[0096] Optionally, the preset playback position further includes a playback end position, and the playback unit is specifically configured to:
[0097] Play the target video from the playback start position and end the playback at the playback end position.
[0098] Optionally, the video recommendation box is further configured to display the long video information of the target video, and the long video information includes at least one of a target video name, a target video identifier, and a target video play prompt.
[0099] Optionally, the long video recommendation module 302 is further configured to:
[0100] Receive a trigger operation of the user on the first type of display page based on the long video information;
[0101] Obtain the target video based on the long video information and play the target video from the starting position of the target video.
[0102] Optionally, the device further includes a short video recommendation module, which is specifically configured to: after receiving the highlights information of the target video,
[0103] Generate a second type of display page and display the highlights information on the second type of display page;
[0104] In response to a trigger operation of the received user based on the highlight information in the second type of display page, play the highlight video corresponding to the highlight information, where the highlight video is a video content segment intercepted from the target video based on the highlight information.
[0105] Optionally, the device further includes a prompt module, specifically used for: after displaying the highlight information and playing the target video after receiving the trigger operation of the user based on the highlight information,
[0106] Display play switching prompt information on the play page of the target video, where the play switching prompt information includes switching prompt information for prompting to switch the play position and / or play prompt information for prompting continuous play.
[0107] Optionally, the center position of the display area where the play switching prompt information is located is aligned with the floating mark of the play progress bar.
[0108] Optionally, the switching prompt information includes a first prompt information, and the prompt module is specifically used for:
[0109] If the current play position of the target video is not the start position of the target video, display the first prompt information on the play page of the target video, where the first prompt information is prompt information for prompting to switch from the current play position of the target video to the start position.
[0110] Optionally, the switching prompt information includes a second prompt information, and the prompt module is specifically used for:
[0111] If there is a historical play position of the target video, display the second prompt information on the play page of the target video, where the second prompt information is prompt information for prompting to switch from the current play position of the target video to the historical play position.
[0112] Optionally, the prompt module is specifically used for:
[0113] If the preset play position includes the play end position and the current play position of the target video is the play end position, display the play prompt information on the play page of the target video, where the play prompt information is used to prompt to continue playing the target video after the current play segment of the target video is played, and the current play segment is determined based on the highlight information.
[0114] Optionally, the play switching prompt information is displayed in a floating manner.
[0115] Optionally, the device further includes a switching module, specifically configured to: after presenting a playback switching prompt message on the playback page of the target video,
[0116] when receiving a trigger operation from the user based on the switching prompt message or the playback progress bar of the target video, perform a corresponding playback switching operation.
[0117] Optionally, the device further includes a highlight display module, specifically configured to: after presenting the highlight information and playing the target video after receiving a trigger operation from the user based on the highlight information,
[0118] present the current highlight information.
[0119] Optionally, the current highlight information is presented in a variable bubble manner.
[0120] Optionally, the highlight display module is specifically configured to:
[0121] present the current highlight information in a variable bubble of a first size, and reduce the size after hovering for a set time until the size of the variable bubble reaches a second size, where the second size is smaller than the first size.
[0122] The video recommendation device provided by the embodiments of the present disclosure can execute the steps performed by the client in the video recommendation method provided by the method embodiments of the present disclosure, and has corresponding functional modules and beneficial effects for executing the method.
[0123] Figure 9 It is a schematic structural diagram of another video recommendation device in the embodiments of the present disclosure. The video recommendation device provided by the embodiments of the present disclosure can be configured in a server. The device specifically includes:
[0124] A highlight information generation module 401, configured to generate highlight information of a target video, where the number of the highlight information is at least one, and the highlight information corresponds to a preset playback position in the target video;
[0125] A highlight information sending module 402, configured to send the highlight information of the target video to the client, so that the client presents the highlight information and plays the target video after receiving a trigger operation from the user based on the highlight information.
[0126] Optionally, the highlight information generation module 401 is specifically configured to:
[0127] extract at least one preset playback position of the target video;
[0128] configure the highlight information for each of the preset playback positions, and store the corresponding relationship between each of the highlight information and the preset playback position.
[0129] Optionally, the device further includes a highlight video generation module, specifically configured to: after generating the highlight information of the target video,
[0130] Based on the highlight information, intercept video content segments in the target video to obtain at least one highlight video.
[0131] Optionally, the device further includes a highlight video sending module, specifically configured to:
[0132] In response to a highlight video acquisition request sent by the client after receiving a trigger operation on the highlight information, send the highlight video to the client so that the client plays the highlight video.
[0133] The video recommendation device provided by the embodiments of the present disclosure can execute the steps performed by the server in the video recommendation method provided by the method embodiments of the present disclosure, and has corresponding functional modules and beneficial effects for executing the method.
[0134] Figure 10 It is a schematic structural diagram of an electronic device in the embodiments of the present disclosure. Specifically refer to Figure 10 , which shows a schematic structural diagram of an electronic device 500 suitable for implementing the embodiments of the present disclosure. The electronic device 500 in the embodiments 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), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 10 The electronic device shown is only an example and should not impose any limitations on the functions and usage scope of the embodiments of the present disclosure.
[0135] As Figure 10 shown, the electronic device 500 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 502 or the program loaded from the storage device 508 into the random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. The input / output (I / O) interface 505 is also connected to the bus 504.
[0136] Typically, the following devices can be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 can allow the electronic device 500 to communicate with other devices wirelessly or wiredly to exchange data. Although Figure 10 an electronic device 500 with various devices is shown, it should be understood that it is not required to implement or have all the shown devices. More or fewer devices can be alternatively implemented or had.
[0137] Specifically, 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 program codes for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication device 509, or installed from the storage device 508, or installed from the ROM 502. When the computer program is executed by the processing device 501, the above functions defined in the video recommendation method of the embodiment of the present disclosure are executed.
[0138] It should be noted that the above-mentioned computer-readable medium in the present disclosure can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of a computer-readable storage medium can 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 can be any tangible medium that contains or stores a program, which can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can 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 a computer-readable medium can be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0139] In some embodiments, the client and the server can communicate using any currently known or future-developed network protocol such as HTTP (HyperText Transfer Protocol), and can be interconnected with digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or future-developed networks.
[0140] The above-mentioned computer-readable medium can be included in the above-mentioned electronic device; it can also exist separately and not be assembled into the electronic device.
[0141] The above computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to: receive the highlight information of the target video, where the number of the highlight information is at least one, and the highlight information corresponds to a preset playback position in the target video; display the highlight information, and play the target video after receiving a trigger operation of the user based on the highlight information.
[0142] Alternatively, the above computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to: generate the highlight information of the target video, where the number of the highlight information is at least one, and the highlight information corresponds to a preset playback position in the target video; send the highlight information of the target video to the client, so that the client displays the highlight information and plays the target video after receiving a trigger operation of the user based on the highlight information.
[0143] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or combinations thereof. The programming languages include, but are not limited to, object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may execute entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In the case of 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., via the Internet using an Internet service provider).
[0144] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a segment of a program, or a part of code that contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions noted in the blocks may occur in a different order than noted in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, or they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0145] The units described in the embodiments of the present disclosure can be implemented in software or in hardware. In some cases, the name of the unit does not constitute a limitation on the unit itself.
[0146] The functions described above herein can be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that can be used include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), Systems on Chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
[0147] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on 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 Disc Read Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0148] According to one or more embodiments of the present disclosure, the present disclosure provides a video recommendation method, including:
[0149] Receive the highlight information of the target video, where the number of the highlight information is at least one, and the highlight information corresponds to a preset playback position in the target video;
[0150] Display the highlight information, and play the target video after receiving a trigger operation of the user based on the highlight information.
[0151] According to one or more embodiments of the present disclosure, in the video recommendation method provided by the present disclosure, the displaying the highlight information includes:
[0152] Generate a first type of display page, and set a video recommendation box in the first type of display page, where the video recommendation box is used to display the highlight information of the target video.
[0153] According to one or more embodiments of the present disclosure, in the video recommendation method provided by the present disclosure, the first type of display page is a video recommendation stream page, and the displaying the highlight information further includes:
[0154] Associate and display the highlight information and the target video corresponding to the highlight information in the video recommendation box.
[0155] According to one or more embodiments of the present disclosure, in the video recommendation method provided by the present disclosure, the highlight information includes at least one of a highlight title, a highlight cover, a highlight duration, and a highlight playback prompt.
[0156] According to one or more embodiments of the present disclosure, in the video recommendation method provided by the present disclosure, the playing the target video after receiving a trigger operation of the user based on the highlight information includes:
[0157] Receive a trigger operation of the user based on the highlight information in the first type of display page;
[0158] Obtain the target video and the preset playback position based on the highlight information, where the preset playback position includes a playback start position;
[0159] Play the target video based on the preset playback position.
[0160] According to one or more embodiments of the present disclosure, in the video recommendation method provided by the present disclosure, the preset playback position further includes a playback end position, and the playing the target video based on the preset playback position includes:
[0161] Play the target video from the playback start position and end the playback at the playback end position.
[0162] According to one or more embodiments of the present disclosure, in the video recommendation method provided by the present disclosure, the video recommendation box is further configured to display long video information of the target video, and the long video information includes at least one of a target video name, a target video identifier, and a target video playback prompt.
[0163] According to one or more embodiments of the present disclosure, the video recommendation method provided by the present disclosure further includes:
[0164] Receiving a trigger operation of the user in the first type of display page based on the long video information;
[0165] Obtaining the target video based on the long video information, and playing the target video from the starting position of the target video.
[0166] According to one or more embodiments of the present disclosure, in the video recommendation method provided by the present disclosure, after receiving the highlight information of the target video, it further includes:
[0167] Generating a second type of display page, and displaying the highlight information in the second type of display page;
[0168] In response to a trigger operation of the user received in the second type of display page based on the highlight information, playing a highlight video corresponding to the highlight information, where the highlight video is a video content segment intercepted from the target video based on the highlight information.
[0169] According to one or more embodiments of the present disclosure, in the video recommendation method provided by the present disclosure, after displaying the highlight information and playing the target video after receiving a trigger operation of the user based on the highlight information, it further includes:
[0170] Displaying play switching prompt information on the playback page of the target video, where the play switching prompt information includes switching prompt information for prompting a switching of the playback position and / or playback prompt information for prompting continuous playback.
[0171] According to one or more embodiments of the present disclosure, in the video recommendation method provided by the present disclosure, the center position of the display area where the play switching prompt information is located is aligned with the floating mark of the playback progress bar.
[0172] According to one or more embodiments of the present disclosure, in the video recommendation method provided by the present disclosure, the switching prompt information includes first prompt information, and displaying the play switching prompt information on the playback page of the target video includes:
[0173] If the current playing position of the target video is not the starting position of the target video, the first prompt message is displayed on the playing page of the target video, where the first prompt message is a prompt message for prompting to switch from the current playing position of the target video to the starting position.
[0174] According to one or more embodiments of the present disclosure, in the video recommendation method provided by the present disclosure, the switching prompt message includes a second prompt message, and the displaying the playing switching prompt message on the playing page of the target video includes:
[0175] If there is a historical playing position of the target video, the second prompt message is displayed on the playing page of the target video, where the second prompt message is a prompt message for prompting to switch from the current playing position of the target video to the historical playing position.
[0176] According to one or more embodiments of the present disclosure, in the video recommendation method provided by the present disclosure, the displaying the playing switching prompt message on the playing page of the target video includes:
[0177] If the preset playing position includes the playing end position and the current playing position of the target video is the playing end position, the playing prompt message is displayed on the playing page of the target video, where the playing prompt message is used to prompt to continue playing the target video after the current playing segment of the target video is played, and the current playing segment is determined based on the key point information.
[0178] According to one or more embodiments of the present disclosure, in the video recommendation method provided by the present disclosure, the playing switching prompt message is displayed in a floating manner.
[0179] According to one or more embodiments of the present disclosure, in the video recommendation method provided by the present disclosure, after the playing switching prompt message is displayed on the playing page of the target video, it further includes:
[0180] When a trigger operation based on the switching prompt message or the playing progress bar of the target video is received from the user, the corresponding playing switching operation is executed.
[0181] According to one or more embodiments of the present disclosure, in the video recommendation method provided by the present disclosure, after the key point information is displayed and the target video is played after receiving a trigger operation from the user based on the key point information, it further includes:
[0182] Display the current key point information.
[0183] According to one or more embodiments of the present disclosure, in the video recommendation method provided by the present disclosure, the current key point information is displayed in a variable bubble manner.
[0184] According to one or more embodiments of the present disclosure, in the video recommendation method provided by the present disclosure, the displaying of the current highlight information includes:
[0185] Display the current highlight information in a variable bubble of a first size, and reduce it after hovering for a set time until the size of the variable bubble reaches a second size, where the second size is smaller than the first size.
[0186] According to one or more embodiments of the present disclosure, the present disclosure provides a video recommendation method, including:
[0187] Generate highlight information of a target video, where the number of the highlight information is at least one, and the highlight information corresponds to a preset playback position in the target video;
[0188] Send the highlight information of the target video to a client, so that the client displays the highlight information and plays the target video after receiving a trigger operation based on the highlight information.
[0189] According to one or more embodiments of the present disclosure, in the video recommendation method provided by the present disclosure, the generating of the highlight information of the target video includes:
[0190] Extract at least one preset playback position of the target video;
[0191] Configure the highlight information of each preset playback position, and store the corresponding relationship between each highlight information and the preset playback position.
[0192] According to one or more embodiments of the present disclosure, after generating the highlight information of the target video in the video recommendation method provided by the present disclosure, it further includes:
[0193] Intercept video content segments in the target video based on the highlight information to obtain at least one highlight video.
[0194] According to one or more embodiments of the present disclosure, the video recommendation method provided by the present disclosure further includes:
[0195] In response to a highlight video acquisition request sent by the client after receiving a trigger operation on the highlight information, send the highlight video to the client so that the client plays the highlight video.
[0196] According to one or more embodiments of the present disclosure, the present disclosure provides a video recommendation device, including:
[0197] A highlight information receiving module for receiving highlight information of a target video, where the number of the highlight information is at least one, and the highlight information corresponds to a preset playing position in the target video;
[0198] A long video recommendation module for displaying the highlight information and playing the target video after receiving a trigger operation by the user based on the highlight information.
[0199] According to one or more embodiments of the present disclosure, in the video recommendation device provided by the present disclosure, the long video recommendation module includes a display unit, specifically used for:
[0200] Generating a first type of display page and setting a video recommendation box in the first type of display page, where the video recommendation box is used to display the highlight information of the target video.
[0201] According to one or more embodiments of the present disclosure, in the video recommendation device provided by the present disclosure, the first type of display page is a video recommendation stream page, and the display unit is further used for:
[0202] Associatively displaying the highlight information and the target video corresponding to the highlight information in the video recommendation box.
[0203] According to one or more embodiments of the present disclosure, in the video recommendation device provided by the present disclosure, the highlight information includes at least one of a highlight title, a highlight cover, a highlight duration, and a highlight play prompt.
[0204] According to one or more embodiments of the present disclosure, in the video recommendation device provided by the present disclosure, the long video recommendation module includes a play unit, specifically used for:
[0205] Receiving a trigger operation by the user based on the highlight information in the first type of display page;
[0206] Obtaining the target video and the preset playing position based on the highlight information, where the preset playing position includes a play start position;
[0207] Playing the target video based on the preset playing position.
[0208] According to one or more embodiments of the present disclosure, in the video recommendation device provided by the present disclosure, the preset playing position further includes a play end position, and the play unit is specifically used for:
[0209] Playing the target video from the play start position and ending the play at the play end position.
[0210] According to one or more embodiments of the present disclosure, in the video recommendation device provided by the present disclosure, the video recommendation box is further configured to display long video information of the target video, and the long video information includes at least one of a target video name, a target video identifier, and a target video playback prompt.
[0211] According to one or more embodiments of the present disclosure, in the video recommendation device provided by the present disclosure, the long video recommendation module is further configured to:
[0212] Receive a trigger operation of the user in the first type of display page based on the long video information;
[0213] Obtain a target video based on the long video information, and play the target video from the starting position of the target video.
[0214] According to one or more embodiments of the present disclosure, in the video recommendation device provided by the present disclosure, the device further includes a short video recommendation module, which is specifically configured to: after receiving the highlight information of the target video,
[0215] Generate a second type of display page, and display the highlight information in the second type of display page;
[0216] In response to a trigger operation of the user received in the second type of display page based on the highlight information, play the highlight video corresponding to the highlight information, where the highlight video is a video content segment intercepted from the target video based on the highlight information.
[0217] According to one or more embodiments of the present disclosure, in the video recommendation device provided by the present disclosure, the device further includes a prompt module, which is specifically configured to: after displaying the highlight information and playing the target video after receiving a trigger operation of the user based on the highlight information,
[0218] Display playback switching prompt information on the playback page of the target video, and the playback switching prompt information includes switching prompt information for prompting to switch the playback position and / or playback prompt information for prompting continuous playback.
[0219] According to one or more embodiments of the present disclosure, in the video recommendation device provided by the present disclosure, the center position of the display area where the playback switching prompt information is located is aligned with the floating mark of the playback progress bar.
[0220] According to one or more embodiments of the present disclosure, in the video recommendation device provided by the present disclosure, the switching prompt information includes first prompt information, and the prompt module is specifically configured to:
[0221] If the current playback position of the target video is not the starting position of the target video, the first prompt information is displayed on the playback page of the target video, wherein the first prompt information is prompt information for prompting switching from the current playback position of the target video to the starting position.
[0222] According to one or more embodiments of the present disclosure, in the video recommendation device provided by the present disclosure, the switching prompt information includes second prompt information, and the prompt module is specifically configured to:
[0223] If the target video has a historical playback position, the second prompt information is displayed on the playback page of the target video, wherein the second prompt information is prompt information for prompting to switch from the current playback position of the target video to the historical playback position.
[0224] According to one or more embodiments of the present disclosure, in the video recommendation device provided by the present disclosure, the prompt module is specifically configured to:
[0225] If the preset playback position includes a playback end position and the current playback position of the target video is the playback end position, the playback prompt information is displayed on the playback page of the target video, wherein the playback prompt information is used to prompt the target video to continue playing after the current playback segment of the target video is finished, and the current playback segment is determined based on the viewing point information.
[0226] According to one or more embodiments of the present disclosure, in the video recommendation device provided by the present disclosure, the playback switching prompt information is displayed in a floating manner.
[0227] According to one or more embodiments of the present disclosure, the video recommendation device provided by the present disclosure further includes a switching module, which is specifically configured to: after displaying the playback switching prompt information on the playback page of the target video,
[0228] When a triggering operation of the user based on the switching prompt information or the play progress bar of the target video is received, a corresponding play switching operation is performed.
[0229] According to one or more embodiments of the present disclosure, the video recommendation device provided by the present disclosure further includes a highlight display module, which is specifically configured to: after displaying the highlight information and playing the target video after receiving a user's triggering operation based on the highlight information,
[0230] Displays the current viewing information.
[0231] According to one or more embodiments of the present disclosure, in the video recommendation device provided by the present disclosure, the current viewing point information is displayed in a variable bubble manner.
[0232] According to one or more embodiments of the present disclosure, in the video recommendation device provided by the present disclosure, the highlight display module is specifically configured to:
[0233] Display the current highlight information in a variable bubble of a first size, and reduce the size after hovering for a set time until the size of the variable bubble reaches a second size, where the second size is smaller than the first size.
[0234] According to one or more embodiments of the present disclosure, the present disclosure provides a video recommendation device, including:
[0235] A highlight information generation module, configured to generate highlight information of a target video, where the number of the highlight information is at least one, and the highlight information corresponds to a preset playback position in the target video;
[0236] A highlight information sending module, configured to send the highlight information of the target video to a client, so that the client displays the highlight information and plays the target video after receiving a trigger operation based on the highlight information.
[0237] According to one or more embodiments of the present disclosure, in the video recommendation device provided by the present disclosure, the highlight information generation module is specifically configured to:
[0238] Extract at least one preset playback position of the target video;
[0239] Configure the highlight information of each preset playback position, and store the corresponding relationship between each highlight information and the preset playback position.
[0240] According to one or more embodiments of the present disclosure, in the video recommendation device provided by the present disclosure, the device further includes a highlight video generation module, specifically configured to: after generating the highlight information of the target video,
[0241] Intercept video content segments in the target video based on the highlight information to obtain at least one highlight video.
[0242] According to one or more embodiments of the present disclosure, in the video recommendation device provided by the present disclosure, the device further includes a highlight video sending module, specifically configured to:
[0243] In response to a highlight video acquisition request sent by the client after receiving a trigger operation on the highlight information, send the highlight video to the client, so that the client plays the highlight video.
[0244] According to one or more embodiments of the present disclosure, the present disclosure provides an electronic device, including:
[0245] One or more processors;
[0246] A memory for storing one or more programs;
[0247] When the one or more programs are executed by the one or more processors, the one or more processors implement any of the video recommendation methods provided in the present disclosure.
[0248] 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, it implements any of the video recommendation methods provided in the present disclosure.
[0249] The above description is only a preferred embodiment of the present disclosure and an explanation of the applied technical principles. Those skilled in the art should understand that the scope of the disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above technical features, and should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosure concept. For example, the technical solutions formed by mutually replacing the above features with the (but not limited to) technical features having similar functions disclosed in the present disclosure.
[0250] In addition, although the operations are depicted in a particular order, this should not be construed as requiring that the operations be performed in the particular order shown or in sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, although a number of specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features described in the context of separate embodiments may also be implemented combinatorially in a single embodiment. Conversely, the various features described in the context of a single embodiment may also be implemented separately or in any suitable sub-combination in multiple embodiments.
[0251] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
Claims
1. A video recommendation method, characterized in that: include: Receive highlight information of a target video, wherein the number of the highlight information is at least one, the highlight information corresponds to a preset playback position in the target video, and the highlight information includes at least one of a highlight title, a highlight cover, a highlight duration, and a highlight playback prompt; Displaying the highlight information, and playing the target video after receiving a triggering operation from the user based on the highlight information; The display of the highlight information includes: Displaying the highlight information of the target video in a video recommendation box set on a first type of display page; wherein the first type of display page is a video recommendation stream page; The display of the highlight information further includes: Associatively displaying the viewing point information and the target video corresponding to the viewing point information in the video recommendation box; After receiving the highlight information of the target video, the method further includes: Generate the second type of display page; In response to a received trigger operation by the user based on the highlight information in the second type of display page, a highlight video corresponding to the highlight information is played, wherein the highlight video is a video content segment captured from the target video based on the highlight information.
2. The method according to claim 1, characterized in that Playing the target video after receiving a triggering operation from a user based on the viewing point information includes: receiving a triggering operation of a user based on the highlight information on the first type of display page; Acquire a target video and the preset playback position based on the viewing point information, wherein the preset playback position includes a playback start position; The target video is played based on the preset playback position.
3. The method according to claim 2, characterized in that The preset playback position also includes a playback end position, and playing the target video based on the preset playback position includes: The target video is played from the play start position and ends at the play end position.
4. The method according to claim 1, wherein The video recommendation box is also used to display the long video information of the target video, and the long video information includes at least one of the target video name, the target video identifier and the target video playback prompt.
5. The method according to claim 4, characterized in that Also includes: Receiving a triggering operation by a user based on the long video information on the first type of display page; A target video is acquired based on the long video information, and the target video is played from a starting position of the target video.
6. The method according to claim 1, characterized in that After displaying the highlight information and playing the target video after receiving a triggering operation from the user based on the highlight information, the method further includes: The playback switching prompt information is displayed on the playback page of the target video, and the playback switching prompt information includes switching prompt information for prompting switching the playback position and / or playback prompt information for prompting continued playback.
7. The method according to claim 6, characterized in that The center position of the display area where the play switching prompt information is located is aligned with the float of the play progress bar.
8. The method according to claim 6, characterized in that The switching prompt information includes first prompt information, and the displaying of the playback switching prompt information on the playback page of the target video includes: If the current playback position of the target video is not the starting position of the target video, the first prompt information is displayed on the playback page of the target video, wherein the first prompt information is prompt information for prompting switching from the current playback position of the target video to the starting position.
9. The method according to claim 6, characterized in that The switching prompt information includes second prompt information, and the displaying of the playback switching prompt information on the playback page of the target video includes: If the target video has a historical playback position, the second prompt information is displayed on the playback page of the target video, wherein the second prompt information is prompt information for prompting to switch from the current playback position of the target video to the historical playback position.
10. The method according to claim 6, characterized in that The displaying of the playback switching prompt information on the playback page of the target video includes: If the preset playback position includes a playback end position and the current playback position of the target video is the playback end position, the playback prompt information is displayed on the playback page of the target video, wherein the playback prompt information is used to prompt the target video to continue playing after the current playback segment of the target video is finished, and the current playback segment is determined based on the viewing point information.
11. The method according to claim 6, characterized in that The playback switching prompt information is displayed in a floating manner.
12. The method according to claim 6, characterized in that After displaying the playback switching prompt information on the playback page of the target video, the method further includes: When a triggering operation of the user based on the switching prompt information or the play progress bar of the target video is received, a corresponding play switching operation is performed.
13. The method according to claim 1, wherein After displaying the highlight information and playing the target video after receiving a triggering operation from the user based on the highlight information, the method further includes: Displays the current viewing information.
14. The method according to claim 13, characterized in that The current viewing point information is displayed in a variable bubble manner.
15. The method according to claim 14, characterized in that The display of current viewing information includes: The current viewing point information is displayed in a variable bubble of a first size, and is reduced in size after hovering for a set time until the size of the variable bubble reaches a second size, wherein the second size is smaller than the first size.
16. A video recommendation method, characterized in that: include: Generate highlight information for a target video, wherein the highlight information is at least one, corresponds to a preset playback position in the target video, and includes at least one of a highlight title, a highlight cover, a highlight duration, and a highlight playback prompt; Sending the highlight information of the target video to the client, so that the client displays the highlight information and plays the target video after receiving a trigger operation based on the highlight information from the user; After generating the highlight information of the target video, the method further includes: Extracting a video content segment from the target video based on the highlight information to obtain at least one highlight video; The method further comprises: In response to a viewing point video acquisition request sent by the client after receiving a triggering operation on the viewing point information, the viewing point video is sent to the client so that the client plays the viewing point video.
17. The method according to claim 16, characterized in that The generating of the highlight information of the target video includes: Extracting at least one preset playback position of the target video; The viewing point information of each preset playback position is configured, and the corresponding relationship between each viewing point information and the preset playback position is stored.
18. A video recommendation device, characterized in that: include: a highlight information receiving module, configured to receive highlight information of a target video, wherein the highlight information is at least one, the highlight information corresponds to a preset playback position in the target video, and the highlight information includes at least one of a highlight title, a highlight cover, a highlight duration, and a highlight playback prompt; A long video recommendation module, configured to display the viewing point information and play the target video after receiving a user's triggering operation based on the viewing point information; The display of the highlight information includes: Displaying the highlight information of the target video in a video recommendation box set on a first type of display page; wherein the first type of display page is a video recommendation stream page; The display of the highlight information further includes: Associatively displaying the viewing point information and the target video corresponding to the viewing point information in the video recommendation box; After receiving the highlight information of the target video, the method further includes: Generate the second type of display page; In response to a received trigger operation by the user based on the highlight information in the second type of display page, a highlight video corresponding to the highlight information is played, wherein the highlight video is a video content segment captured from the target video based on the highlight information.
19. A video recommendation device, characterized in that: include: a highlight information generation module, configured to generate highlight information for a target video, wherein the highlight information is at least one, corresponds to a preset playback position in the target video, and includes at least one of a highlight title, a highlight cover, a highlight duration, and a highlight playback prompt; A highlight information sending module is used to send the highlight information of the target video to the client, so that the client displays the highlight information and plays the target video after receiving a trigger operation based on the highlight information from the user; After generating the highlight information of the target video, the method further includes: Extracting a video content segment from the target video based on the highlight information to obtain at least one highlight video; The device further comprises: In response to a viewing point video acquisition request sent by the client after receiving a triggering operation on the viewing point information, the viewing point video is sent to the client so that the client plays the viewing point video.
20. 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 video recommendation method according to any one of claims 1 to 17.
21. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the video recommendation method according to any one of claims 1 to 17 is implemented.