WO2019072113A1 - Video recommendation method, terminal, and storage medium - Google Patents

Video recommendation method, terminal, and storage medium Download PDF

Info

Publication number
WO2019072113A1
WO2019072113A1 PCT/CN2018/108553 CN2018108553W WO2019072113A1 WO 2019072113 A1 WO2019072113 A1 WO 2019072113A1 CN 2018108553 W CN2018108553 W CN 2018108553W WO 2019072113 A1 WO2019072113 A1 WO 2019072113A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
recommendation
cover
terminal
target video
Prior art date
Application number
PCT/CN2018/108553
Other languages
French (fr)
Chinese (zh)
Inventor
陈姿
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2019072113A1 publication Critical patent/WO2019072113A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25875Management of end-user data involving end-user authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8126Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts
    • H04N21/8133Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts specifically related to the content, e.g. biography of the actors in a movie, detailed information about an article seen in a video program

Definitions

  • the present application relates to the field of computer technologies, and in particular, to a video recommendation method, a terminal, and a storage medium.
  • Video has become a very important way of resource sharing because of the richness of the content it displays. Video sharing is to send the target video directly to the object you want to share.
  • a video recommendation method a terminal, and a storage medium are provided.
  • a video recommendation method including:
  • the first terminal displays a video recommendation cover template
  • the first terminal acquires customized content input for the target video in the video recommendation cover template
  • the first terminal generates a video recommendation cover according to the video recommendation cover template and the customized content
  • the first terminal acquires a user identifier
  • the first terminal generates a recommendation message for the target video according to the video recommendation cover and the user identifier
  • the first terminal sends the recommendation message to the terminal corresponding to the user identifier, so that the terminal displays the video recommendation cover when the recommendation message is triggered, and plays the video after displaying the video recommendation cover.
  • the target video The target video.
  • a terminal comprising a memory and one or more processors having stored therein computer readable instructions, the computer readable instructions being executed by one or more processors such that the one or more processors Perform the following steps:
  • One or more storage media storing computer readable instructions, when executed by one or more processors, cause one or more processors to perform the following steps:
  • a video recommendation method including:
  • the second terminal detects a trigger instruction for the recommendation message
  • the second terminal parses the recommendation message according to the triggering instruction to obtain a video recommendation cover; the video recommendation cover is generated according to the video recommendation cover template and the customized content input in the video cover recommendation template;
  • the second terminal displays the video recommendation cover
  • the second terminal plays the target video after displaying the video recommendation cover.
  • a terminal comprising a memory and one or more processors having stored therein computer readable instructions, the computer readable instructions being executed by a processor such that the processor performs the following steps:
  • the video recommendation cover is generated according to the video recommendation cover template and the customized content input in the video cover recommendation template;
  • the target video is played.
  • One or more storage media storing computer readable instructions, when executed by one or more processors, cause one or more processors to perform the following steps:
  • the video recommendation cover is generated according to the video recommendation cover template and the customized content input in the video cover recommendation template;
  • the target video is played.
  • FIG. 1 is an application environment diagram of a video recommendation method in an embodiment
  • FIG. 2 is a schematic flow chart of a video recommendation method in an embodiment
  • FIG. 3 is a schematic diagram of an interface of a video recommendation cover in an embodiment
  • FIG. 4 is a schematic diagram of an interface for generating an additional content adding instruction in an embodiment
  • FIG. 5 is a schematic flowchart of a video recommendation method in another embodiment
  • 6A-6B are schematic diagrams of interfaces for triggering display of additional content in an embodiment
  • FIG. 7 is a schematic diagram of an interface acquired by a play time node in an embodiment
  • FIG. 8 is a timing diagram of a video recommendation method in an embodiment
  • FIG. 9 is a structural block diagram of a video recommendation apparatus in an embodiment
  • FIG. 10 is a structural block diagram of a video recommendation apparatus in another embodiment
  • FIG. 11 is a structural block diagram of a video recommendation device in still another embodiment.
  • Figure 12 is a block diagram of a computer device in one embodiment.
  • FIG. 1 is an application environment diagram of a video recommendation method in an embodiment.
  • the application environment includes a first terminal 110, a server 120, and a second terminal 130 connected through a network, where the first terminal 110 and the second terminal 130 have a video playing function, for example, the first terminal 110 and A video client may be installed in the second terminal 130 or a video play webpage may be run.
  • the first terminal 110 and the second terminal 130 may be desktop computers or mobile terminals, and the mobile terminal may include at least one of a mobile phone, a tablet computer, a personal digital assistant, and a wearable device.
  • the server 120 can be implemented by a stand-alone server or a server cluster composed of a plurality of physical servers.
  • the first terminal 110 may display a video recommendation cover template to obtain customized content for the target video input in the video recommendation cover template.
  • the first terminal 110 generates a video recommendation cover according to the video recommendation cover template and the customized content.
  • the first terminal 110 may obtain the user identifier, send the user identifier and send the video recommendation cover to the server 120, and the server 120 generates a recommendation message for the target video according to the video recommendation cover, and sends the recommendation message to the second terminal 130 corresponding to the user identifier.
  • the second terminal 130 displays the video recommendation cover when the recommendation message is triggered, and plays the target video after displaying the video recommendation cover.
  • the first terminal 110 may also generate a recommendation message for the target video according to the video recommendation cover, and obtain the user identifier, and send the recommendation message to the second terminal 130 corresponding to the user identifier. It can be understood that when the first terminal 110 is used to accept the recommended target video, the processing steps implemented in the second terminal 130 can also be applied to the first terminal 110. Similarly, when the second terminal 130 is used to recommend the target video, the processing steps implemented in the first terminal 110 may also be applied to the second terminal 130.
  • FIG. 2 is a schematic flow chart of a video recommendation method in an embodiment. This embodiment is mainly applied to the first terminal 110 or the second terminal 130 in FIG. 1 by using the video recommendation method. Referring to FIG. 2, the method specifically includes the following steps:
  • the video recommendation cover template is a preset template for generating a video recommendation cover. It can be understood that adding a content in the video recommendation cover template can generate a video recommendation cover.
  • the video recommendation cover is a page that is displayed before the target video is played and is used to recommend the target video.
  • the target video is the recommended video. That is to say, the user who receives the recommended target video first sees the video recommendation cover, and then plays the target video after displaying the video recommendation cover.
  • Video is a continuous picture that the human eye looks smooth and continuous.
  • Target videos include movie movies or short videos.
  • step S202 includes: obtaining a video recommendation instruction, and in response to the video recommendation instruction, acquiring a video recommendation cover template and displaying.
  • the first terminal may detect a video recommendation operation that meets the preset action, and trigger a generate video recommendation instruction when the video recommendation operation is detected.
  • the first terminal may detect a video recommendation operation that matches a preset action of the play interface of the target video, and trigger a generate video recommendation instruction when the video recommendation operation is detected.
  • the first terminal may display a video recommendation trigger control (for example, a video recommendation icon) in the play interface of the target video, and detect a trigger operation (such as clicking, pressing, or sliding) that matches the preset action on the video recommendation trigger control. And so on), the video recommendation mechanism is triggered according to the triggering operation to generate a video recommendation instruction.
  • a video recommendation trigger control for example, a video recommendation icon
  • a trigger operation such as clicking, pressing, or sliding
  • the first terminal may also detect a video recommendation operation for a thumbnail of the target video that conforms to a preset action (eg, a drag operation), and triggers generation of a video recommendation instruction when the video recommendation operation is detected.
  • a preset action eg, a drag operation
  • the first terminal may obtain a preset video recommendation cover template from the local device in response to the video recommendation instruction, or may send a video recommendation cover acquisition request to the server to obtain a video returned by the server in response to the video recommendation cover acquisition request.
  • Recommended cover template may be obtained from the local device in response to the video recommendation instruction, or may send a video recommendation cover acquisition request to the server to obtain a video returned by the server in response to the video recommendation cover acquisition request.
  • the first terminal may display only the initial video recommendation cover template (ie, the video recommendation cover template without added content), and may also display the video recommendation cover template.
  • the content added in the video recommendation cover template There is no limit to this. It is only necessary to display the video recommendation cover template. It is not limited to whether there is any added content in the video recommendation cover template.
  • the first terminal may generate a video recommendation triggering control, and when detecting the triggering operation of the video recommendation triggering control, performing the step S202.
  • the video recommendation trigger control may be a video recommendation button or a video recommendation icon.
  • step S202 includes: acquiring a video recommendation cover template; acquiring video attribute information of the target video; adding the video attribute information to the video recommendation cover template; displaying the video recommendation cover template and the added video attribute information.
  • the first terminal may acquire a video recommendation instruction, and obtain a video recommendation cover template in response to the video recommendation instruction.
  • Video attribute information is information describing the attributes of a video.
  • the video attribute information includes at least one of a video name, a shooting age of the video, a release date of the video, director information of the captured video, and information of the cast member participating in the video interpretation or production.
  • the first terminal may obtain video attribute information of the target video locally.
  • the first terminal may also query the server for video attribute information of the target video.
  • the first terminal may send a video attribute information query request including a video identifier of the target video to the server, so that the server queries the video attribute information corresponding to the video identifier of the target video, and the first terminal may obtain the target video returned by the server.
  • the video attribute information of the video ID is queried.
  • the first terminal may add the video attribute information to the obtained video recommendation cover template, and then display the video recommendation cover template and the added video attribute information. That is to say, the first terminal may also display the video attribute information automatically added in the video recommendation cover template while displaying the video recommendation cover template.
  • the customized content for the target video input is the customized content related to the target video that is input when the target video is recommended.
  • Custom content which can include video recommendations related content.
  • the video recommendation related content is related to the video recommendation.
  • the video recommendation related content may include at least one of video attribute information, user information of the recommended target video, user information of the target video, and recommended description information for the target video.
  • the user who receives the target video is the user who receives the recommended target video.
  • user A recommends video M to user B, then user A is the user who recommends the target video, and user B is the user who receives the target video.
  • User information includes information such as the user name.
  • the recommendation description information may include description information related to the recommendation reason. For example, the video has strong appeal, so it is recommended to describe the information.
  • the customized content may also be any other customized content that is intended to be displayed in the video recommendation cover, which is not limited thereto.
  • the video recommendation cover template is displayed in step S202, and the video attribute information added in the video recommendation cover template is also displayed, the video attribute information is not included in the customized content.
  • the first terminal may add the input customized content to the video cover template to generate a video recommendation cover.
  • the video recommendation cover template when the video recommendation cover template is displayed in step 202, the video attribute information is displayed, that is, the video attribute information is automatically added to the video recommendation cover for display before the customized content for the target video input is obtained.
  • the first terminal may further generate a video recommendation cover according to the input customized content, the displayed video attribute information, and the video recommendation cover template. It can be understood that the video recommendation cover generated in this embodiment includes video attribute information, input customized content, and information of the video cover template.
  • the video recommendation cover includes a video play trigger entry for triggering the play target video. It can be understood that when the first terminal receives the triggering operation on the video playback trigger entry, the playback target video can be triggered.
  • the video play trigger entry may be set in the video recommendation cover by means of a button or a slide bar, etc., when the first terminal detects a button press or a click operation, or detects a slide operation on the slide bar, that is, receiving When the trigger operation is performed on the video play entry, the first terminal can be triggered to play the target video.
  • FIG. 3 is a schematic diagram of an interface of a video recommendation cover in one embodiment.
  • the video recommendation cover in FIG. 3 includes video attribute information 302 such as a video name, director information, and main actor information, and includes custom content such as a user name of the recommended target video, a user name accepting the target video, and recommended description information. 304.
  • the video recommendation cover also includes a "click to watch" button, which is the video play trigger entry 306.
  • the user identifier is a unique identifier of the user who receives the recommended target video.
  • user A recommends video M to user B
  • user A is the user who recommends the target video
  • user B is the user who receives the target video
  • the user identifier obtained in step S208 is the unique identifier of the obtained user B.
  • the user identity may be a video player platform user identity or a social network platform user identity.
  • the video player platform user identifier is a user identifier registered on the video playing platform.
  • the social network platform user identity is the user identity registered on the social networking platform.
  • step S208 can be performed before any of steps S202-S206. That is, the user who recommends the target video may first select the user who receives the target video, the first terminal acquires the selected user identifier, and then obtains and displays the video recommendation cover template. The first terminal may also obtain the selected user identifier of the user for receiving the target video after the video recommendation cover template is displayed in step S202, and the first terminal may further obtain the selected target video for receiving the target video after generating the video recommendation cover.
  • User's user ID There is no limit on when to obtain a user ID.
  • the recommendation message for the target video is a message for recommending the target video.
  • the recommendation message may include a video recommendation cover, a user identification, and an identification of the target video.
  • the first terminal may generate a recommendation message for the target video according to the video recommendation cover and the user identifier.
  • the first terminal may also generate a video recommendation request for the target video according to the video recommendation cover and the user identifier, and send the video recommendation request to the server, so that the server generates the target video according to the video recommendation cover and the user identifier in the video recommendation request.
  • Recommended message may be generated.
  • the first terminal may directly send the recommendation message to the terminal corresponding to the user identifier (ie, the second terminal described in the application environment in FIG. 1).
  • the first terminal may also generate a video recommendation request for the target video according to the video recommendation cover and the user identifier in step S210, and send the video recommendation request to the server, so that the server recommends the cover and the user identifier according to the video in the video recommendation request.
  • a recommendation message for the target video is generated, and the generated recommendation message is sent to the terminal corresponding to the user identifier.
  • the terminal corresponding to the user identifier displays the video recommendation cover when the recommendation message is triggered, and plays the target video after displaying the video recommendation cover.
  • the terminal corresponding to the user identifier may directly play the target video after the video recommendation cover is displayed for a preset duration.
  • the terminal corresponding to the user identifier may also play the target video when receiving a trigger operation on the video play entry in the displayed video recommendation cover. Taking the video recommendation cover in FIG. 3 as an example, when the terminal receives the video trigger entry “click to watch” button in the video recommendation cover shown in FIG. 3, the target video is played.
  • a video recommendation cover template is set, and a video recommendation cover is generated by the customized content input in the video recommendation cover template.
  • the video recommendation cover includes a certain amount of information about the video.
  • the recommendation message for the target video is generated according to the video recommendation cover and sent to the terminal corresponding to the user identifier, so that the terminal displays the video recommendation cover when the recommendation message is triggered, and plays the target video after displaying the video recommendation cover.
  • the recommended party triggers the recommendation message
  • the recommended content of the video can be found through the recommended cover of the displayed video, and the amount of information conveyed by the video sharing is improved.
  • the method further includes an additional content adding step, specifically comprising the steps of: receiving an additional content adding instruction; acquiring a playing time node of the selected target video in response to the additional content adding instruction; acquiring the added and playing time node Corresponding additional content; sending the additional content and the corresponding playing time node to the terminal corresponding to the user identifier, so that the terminal displays the additional content when playing the target video to the playing time node.
  • the additional content is content that is attached and has an associated relationship with the played content of the target video.
  • the content associated with the playback content may include content having a review relationship and/or an explanatory relationship with the playback content.
  • the type of the additional content may be at least one of a picture, a text, an audio, and the like.
  • the content having the comment relationship with the play content includes content that is shared by the play content and content that evaluates the wearable lens of the play content.
  • the sharing of feelings is the feeling of sharing the content after watching the content.
  • the content that has an explanatory relationship with the playback content is content that is used to help understand the content being played.
  • the content with explanatory relationship with the playing content may include content explaining some story background or special vocabulary or character information in the playing content. For example, if Hawking is played in the target video, the introduction of Hawking may be added. Additional content.
  • the first terminal may receive an additional content adding instruction acting on the playing interface of the target video during the playing of the target video, and acquire a playing time node of the selected target video in response to the additional content adding instruction.
  • the user who recommends the target video may perform a trigger operation on the additional content adding entry during the playback of the target video to generate an additional content adding instruction.
  • the first terminal may acquire a playing time node selected to be added on the playing time axis of the playing interface of the target video, or may acquire a triggering operation when adding the additional content to the additional content.
  • the video recommendation trigger control is displayed on the play interface, and when the trigger operation for the video recommendation trigger control is detected, the additional content adding control is displayed on the play interface of the target video.
  • the first terminal detects a trigger operation for adding an additional content control, a corresponding additional content addition instruction is generated.
  • FIG. 4 is a schematic diagram of an interface for generating an additional content addition instruction in one embodiment.
  • the video recommendation triggering control 402 is displayed on the playing interface of the target video.
  • the additional content adding control 404 is displayed on the playing interface of the target video, and the first terminal detects When a trigger operation of the additional content adding control 404 is added, a corresponding additional content adding instruction is generated.
  • the first terminal may receive additional content added by the user corresponding to the play time node. Specifically, the first terminal may generate a corresponding additional content adding instruction when detecting a triggering operation for adding the control to the additional content, and display an additional content adding box to obtain a corresponding to the playing time node input in the additional content adding box. Additional content.
  • the first terminal may also acquire an additional content adding instruction, and in response to the additional content adding instruction, generate a selection interface of the playing time node of the target video, where the first terminal may receive the input playing. time frame. That is to say, the user can directly input the play time node of the additional content to be added in the selection interface, for example, the user can directly input the play time node of the 23rd minute and 55th second. In this way, the playback time node of the target video can be selected without playing the target video, the playback traffic is saved, and the addition efficiency of the additional content is also improved.
  • the first terminal may directly send the additional content and the corresponding play time node to the terminal corresponding to the user identifier. Specifically, the first terminal may send the additional content and the corresponding play time node to the terminal corresponding to the user identifier before step S212. The first terminal may also send the additional content and the corresponding play time node to the terminal corresponding to the user identifier after step S212.
  • the terminal corresponding to the user identifier plays the target video before receiving the additional content and the corresponding playing time node, since there is no additional content and a corresponding playing time node, the target video is not played to the playing time node. Show the corresponding additional content.
  • the terminal corresponding to the user identifier plays the target video after receiving the additional content and the corresponding playing time node, the corresponding additional content is displayed when the target video is played to the playing time node.
  • the first terminal may send the additional content and the corresponding play time node to the server, so that the server stores the additional content and the corresponding play time node correspondingly. Further, the server may send the additional content and the corresponding play time node to the terminal corresponding to the user identifier, so that the terminal displays the additional content when playing the target video to the play time node.
  • the first terminal may also send the additional content and the corresponding playing time node to the server before sending the video recommendation cover to the server, or may send the additional content and the corresponding content after sending the video recommended cover to the server.
  • the play time node is sent to the server.
  • the server may first store the additional content and the corresponding playing time node correspondingly, After receiving the video recommendation cover, the additional content and the corresponding play time node and the video recommendation cover are configured and stored. After the first terminal sends the video recommendation cover to the server, and sends the additional content and the corresponding play time node to the server, the server may store the video recommendation cover and the play time node and the corresponding additional content correspondingly. .
  • additional content may be added to the target video, and the recommended amount of information is improved.
  • the additional content is displayed, and the associated display of the target video and the additional content is realized, thereby further improving the accuracy of the meaning expressed by the additional content, thereby improving the information expressed by the additional content. the amount.
  • Step S212 includes: sending a recommendation message to the terminal running by the target video client by the video client, so that the target video client displays the video recommendation cover when the recommendation message is triggered, and plays the target video after displaying the video recommendation cover, where The target video client identifies the video client for the social network platform user identification login.
  • the social network service platform is a platform for socializing through a network, such as an instant messaging platform such as WeChat or Weibo.
  • the video client can log in through the social network platform user identification.
  • the first terminal may log in to the video client by using the social network platform user identifier of the recommended target video, and send the recommendation message to the terminal operated by the target video client to which the social network platform user identifier of the target video is registered is sent by the video client.
  • the user corresponding to the social network platform user identifier of the recommended target video and the user corresponding to the social network platform user identifier receiving the target video have a friend relationship in the social network platform.
  • the video playing platform is combined with the social network platform to implement the recommendation of the video in the social network, which improves the wideness of the video recommendation, and is more conducive to the recommendation and sharing of resources.
  • FIG. 5 is a schematic flow chart of a video recommendation method in another embodiment. This embodiment is mainly applied to the computer device in the video recommendation method.
  • the computer device may be the second terminal 130 or the first terminal 110 in FIG. 1 .
  • the method specifically includes the following steps:
  • the currently logged in user identifier is the user identifier of the user who receives the recommended target video.
  • the recommendation message is sent according to the user identifier, and the recommendation message is sent to the terminal where the user identifier is logged in.
  • the recommendation message sent according to the user identifier is a recommendation message sent to the terminal to which the user identifier is logged in.
  • the recommendation message may include a video recommendation cover, a user identification, and an identification of the target video. It can be understood that the user identifier included in the recommendation message refers to the user identifier of the user who receives the recommended target video.
  • the first terminal sends a recommendation message for the target video according to the user identifier that is logged in to the second terminal, and the second terminal receives the recommendation message for the target video according to the currently logged-in user identifier. It can be understood that the first terminal can directly send the recommendation message for the target video to the second terminal according to the user identifier that is logged in to the second terminal.
  • the first terminal may also send a video recommendation request to the server, generate a recommendation message for the target video through the server, and send a recommendation message for the target video to the second terminal by the server according to the user identifier logged in to the second terminal.
  • the user who receives the recommended target video may perform a triggering operation (such as a click operation, a long press operation, or a sliding operation, etc.) on the recommendation message by the second terminal to generate a trigger instruction for the recommendation message.
  • a triggering operation such as a click operation, a long press operation, or a sliding operation, etc.
  • S506 parse the recommendation message according to the trigger instruction to obtain a video recommendation cover; the video recommendation cover is generated according to the video recommendation cover template and the customized content input in the video cover recommendation template.
  • the recommendation message includes a video recommendation cover
  • the second terminal parses the recommendation message according to the trigger instruction to obtain a video recommendation cover.
  • the video recommendation cover is a first terminal of the recommended target video generated according to the video recommendation cover template and the customized content input in the video recommendation cover template.
  • the video recommendation cover template is a preset template for generating a video recommendation cover. It can be understood that adding a content in the video recommendation cover template can generate a video recommendation cover.
  • the video recommendation cover is a page that is displayed before the target video is played and is used to recommend the target video.
  • the displayed video recommendation cover includes information of the entered custom content and the video cover template.
  • the displayed video recommendation cover may include the input customized content, the video cover template information, and the video attribute information.
  • the second terminal may directly play the target video after the video recommendation cover is displayed for a preset duration.
  • the second terminal may also play the target video when receiving a triggering operation on the video play entry in the displayed video recommendation cover.
  • the video recommendation cover in FIG. 3 as an example, when the terminal receives the video trigger entry “click to watch” button in the video recommendation cover shown in FIG. 3, the target video is played.
  • the video recommendation cover includes a reply entry
  • the second terminal may detect a trigger operation of the reply entry and perform a reply process.
  • the video recommendation cover corresponding to the target video may be displayed, wherein the video recommendation cover is based on the video recommendation cover template and the target video input in the video cover recommendation template.
  • the video recommendation cover includes a certain amount of information about the video. The recommended cover of the video can be used to understand the information about the target video, which improves the amount of information conveyed during video sharing.
  • step S510 includes: detecting a video play triggering operation applied to the video recommendation cover; transmitting a video acquisition request for the target video in response to the video playback triggering operation; receiving the target video returned in response to the video acquisition request; playing The target video returned.
  • the video playback trigger operation is an operation for triggering playback of the target video.
  • Video Playback The trigger action includes a trigger action on the video play entry of the video recommendation cover.
  • the second terminal may acquire an identifier of the target video in the recommendation message for the target video in response to the video play triggering operation, and generate a video acquisition request for the target video according to the identifier of the target video.
  • the second terminal sends the video acquisition request to the server, and the server, in response to the video acquisition request, finds the target video according to the identifier of the target video in the video acquisition request, and returns the target video to the second terminal.
  • the second terminal plays the returned target video.
  • the second terminal may obtain an identifier of the video recommendation cover in response to the video play triggering operation, and generate a video acquisition request for the target video according to the identifier of the video recommendation cover.
  • the second terminal sends the video acquisition request to the server, where the server stores the correspondence between the identifier of the video recommendation cover and the identifier of the target video, and obtains the corresponding target video according to the identifier of the video recommendation cover in the video acquisition request.
  • the identifier of the target video is found according to the identifier of the target video, and the target video is returned to the second terminal.
  • the second terminal plays the returned target video.
  • the target video is requested to be played and played, thereby avoiding waste of traffic caused by directly playing the target video.
  • the method further includes: acquiring a play time node configured corresponding to the video recommendation cover; and displaying the additional content corresponding to the play time node when displaying the video image corresponding to the play time node on the played target video.
  • the play time node is a play time node of the target video.
  • the additional content corresponding to the play time node is additional content having a relationship with the play content corresponding to the play time node.
  • the video image corresponding to the playing time node is displayed on the target video, which may be a video image displayed when the target video is played to the playing time node, or the target video may not be played to the playing time node substantially, but the target video is overwritten. A video image corresponding to the play time node.
  • the recommendation message for the target video includes a play time node configured corresponding to the video recommendation cover.
  • the second terminal may parse the recommendation message to obtain a play time node configured corresponding to the video recommendation cover.
  • the second terminal may receive a play time node configured in response to the video recommendation request and corresponding to the video recommendation cover.
  • the second terminal may send a video acquisition request for the target video to the server, where the video acquisition request includes an identifier of the video recommendation cover, and the server pre-stores the identifier of the video recommendation cover and the playback time node of the target video.
  • the server may obtain a play time node configured corresponding to the video recommendation cover, and return the acquired play time node corresponding to the video recommendation cover to the second terminal.
  • the second terminal displays the video image corresponding to the play time node on the played target video, the additional content corresponding to the play time node is displayed.
  • the second terminal may receive a play time node configured corresponding to the video recommendation cover returned in response to the video acquisition request, and additional content corresponding to the play time node (ie, the second terminal may obtain the video recommendation The cover corresponds to the configured play time node, and the additional content corresponding to the play time node is acquired.
  • the second terminal displays the video image corresponding to the playing time node on the played target video, the additional content is displayed.
  • displaying the additional content corresponding to the playing time node when displaying the video image corresponding to the playing time node on the played target video, includes: when the target video is played to a preset time before the playing time node And sending an additional content acquisition request; receiving the additional content corresponding to the play time node returned in response to the additional content acquisition request; and displaying the received additional content when playing the target video to the play time node.
  • the second terminal may send an additional content acquisition request to the server when the target video is played to a time point preset by a time before the playing time node.
  • the additional content acquisition request includes a play time node.
  • the server acquires the additional content corresponding to the play time node in response to the additional content acquisition request, and returns the additional content to the second terminal.
  • the second terminal displays the received additional content when playing the target video to the play time node.
  • the second terminal may further send an additional content acquisition request carrying the play time node when playing the target video to the play time node, and receive the additional content corresponding to the play time node returned in response to the additional content acquisition request.
  • the second terminal displays the video image corresponding to the playing time node on the played target video, the additional content is displayed.
  • displaying the received additional content includes: when playing the target video to the play time node, providing a trigger entry for triggering the display of the additional content on the play interface, when The additional content received is displayed when a triggering operation on the trigger entry is detected.
  • the trigger entry for triggering the display of the additional content may be displayed in the form of an icon or a button in the play interface.
  • the triggering operation for the trigger entry may be a click, a press, a long press, a drag, or a slide.
  • displaying the additional content corresponding to the play time node includes: superimposing the sub-window at a preset position of the played target video; the size of the sub-window is smaller than the size of the play interface of the target video; in the sub-window, Show additional content corresponding to the play time node.
  • the sub-window is a window that is smaller in size than the playback interface of the target video and superimposed on the target video.
  • the preset position of the target video to be played is the preset position in the playback interface of the target video.
  • the second terminal may determine a preset position of the play interface of the target video, where the sub-window is superimposed. Further, the second terminal may display additional content corresponding to the play time node in the child window.
  • FIG. 6A-6B are schematic diagrams of interfaces that trigger the display of additional content in one embodiment.
  • an additional content display icon 602 for triggering the display of the additional content is displayed on the play interface, the icon 602 corresponding to a trigger entry for triggering the display of the additional content.
  • the sub-window 604 is superimposed at a preset position on the playback interface.
  • additional content corresponding to the play time node is displayed, as shown in Fig. 6B.
  • the play interface of the target video displays the video image corresponding to the play time node, so that the play time of the target video is realized.
  • the play content of the node is displayed in association with the additional content corresponding to the play time node to improve the accuracy of the meaning expressed by the additional content, thereby increasing the amount of information expressed by the additional content.
  • acquiring the play time node corresponding to the video recommendation cover comprises: acquiring a set of play time nodes configured for the target video and corresponding to the video recommendation cover; and respectively displaying the play time nodes in the set Thumbnail; when the selected instruction for the thumbnail is detected, the playback time node corresponding to the thumbnail for which the instruction is selected is determined.
  • the recommendation message for the target video includes a set of play time nodes for the target video and configured corresponding to the video recommendation cover.
  • the second terminal may acquire a set of play time nodes configured for the target video and corresponding to the video recommendation cover included in the recommendation message.
  • the second terminal may receive a set of play time nodes for the target video that are returned in response to the video acquisition request and configured corresponding to the video recommendation cover.
  • the second terminal may display each play time node in the set of play time nodes in the form of a corresponding thumbnail.
  • the second terminal may display an icon for triggering viewing of the set of playing time nodes on the interface, and when detecting the triggering operation on the icon, generate a secondary page, and display the secondary page.
  • the user receiving the recommended target video may directly perform a selection operation on the thumbnail of each play time node, and when the second terminal detects the selected instruction for the thumbnail, determine the play time node corresponding to the thumbnail for which the selected instruction is directed.
  • displaying the additional content corresponding to the play time node includes: playing time node corresponding to the thumbnail image targeted by the selected instruction The target video jumps to play, and when the target video jumps to the play time node, the received additional content is displayed.
  • the second terminal may play the target video to the play time node corresponding to the thumbnail for which the selected instruction is directed, and display additional content corresponding to the play time node.
  • the second terminal may trigger the step of executing the sending the additional content acquisition request when the target video jumps to the play time node corresponding to the thumbnail for which the selected instruction is directed, and receive the playback time node in response to the additional content acquisition request.
  • Corresponding additional content and display It can be understood that when the additional content corresponding to the play time node is already acquired by the second terminal before the play time node is selected, the second terminal may directly display the acquired additional content corresponding to the selected play time node. .
  • the second terminal may also play the target video to the time point of the preset time before the playing time node, trigger the step of executing the sending additional content obtaining request, and receive the additional corresponding to the playing time node returned in response to the additional content obtaining request. Content; when the target video is played to the play time node, the received additional content is displayed.
  • FIG. 7 is a schematic diagram of an interface acquired by a play time node in an embodiment.
  • an icon 702 on the interface is an icon for triggering a view of a set of viewing time nodes.
  • the secondary page p can be generated, and the corresponding thumbnails of the playing time nodes in the collection are displayed in the secondary page p, that is, the thumbnail 1, the thumbnail 2, and the thumbnail 3 are displayed.
  • the target video jump can be played to the play time node corresponding to the thumbnail 1 (1 hour, 10 minutes, 15 seconds).
  • a time point (1 hour, 10 minutes, 10 seconds) of a preset duration for example, the first 5 seconds to trigger execution of the step of transmitting the additional content acquisition request, and receiving an additional corresponding to the playback time node in response to the additional content acquisition request Content; when the target video is played to the play time node (1 hour, 10 minutes, 15 seconds), the received additional content is displayed.
  • the target video is correspondingly jumped according to the selected play time node by detecting the selection instruction of the corresponding thumbnail of the play time node without playing the complete target video, so as to make the target
  • the additional content received is displayed when the video jumps to the play time node. It avoids the need to play the target video by the play timeline to see the additional content limit, so that you don't need to spend more time and traffic costs to watch the target video, you can also view the additional content, so that additional Content viewing is more flexible, faster, and saves time and traffic costs.
  • displaying the additional content corresponding to the playing time node when displaying the video image corresponding to the playing time node on the played target video, includes: suspending the target video; acquiring the video corresponding to the playing time node in the target video. Image; overlays the video image over the target video that is paused for playback; displays additional content corresponding to the playback time node.
  • the video image corresponding to the play time node is a video image to be presented by the target video during playback to the play time node. It can be understood that the video is composed of a series of consecutive video images, each video image has a corresponding playing time node, and the corresponding video image is presented when the video is played to the corresponding playing time node.
  • the target video is paused, and the video image corresponding to the play time node is overlaid on the target video that is paused for display, and the additional content corresponding to the play time node is displayed. It is not necessary to play the target video to the corresponding playing time node, that is, the association display of the playing content of the playing time node and the additional content can be realized, which saves the playing traffic.
  • the method further comprises: when receiving the close instruction for the additional content of the presentation, removing the video image overlaid on the target video; and continuing to play the target video from the position when the playback was paused.
  • the video image corresponding to the playing time node played by the pause is displayed on the playing interface of the target video.
  • the target video is resumed from the position when the playback is paused, that is, the target video continues to be continuously played from the playback time node corresponding to the pause playback.
  • the target video when the closing instruction for the additional content is received, the target video can be continuously played from the position when the playback is paused, so that the playback of the target video is sequential and continuous, and the playback by the playback jump processing is avoided. Confusing situation.
  • Step S502 includes: receiving, by the video client, a recommendation message for the target video sent according to the social network platform user identifier when the video client logs in with the social network platform user identifier.
  • the recommendation message sent according to the user identifier of the social network platform is a recommendation message sent to the video client that is registered by the user identifier of the social network platform.
  • the second terminal may log in to the video client through the social network platform user identifier, and receive, by the video client, a recommendation message for the target video sent according to the social network platform user identifier.
  • the video playing platform is combined with the social network platform to implement the recommendation of the video in the social network, which improves the wideness of the video recommendation, and is more conducive to the recommendation and sharing of resources.
  • FIG. 8 is a timing diagram of a video recommendation method in one embodiment. Referring to FIG. 8, the timing diagram specifically includes the following steps:
  • the first terminal acquires an additional content adding instruction for the target video through the video client; acquires a playing time node of the selected target video in response to the additional content adding instruction; and acquires the added additional content corresponding to the playing time node.
  • the first terminal sends the additional content and the corresponding play time node to the server.
  • the server stores the additional content and the corresponding play time node correspondingly.
  • the first terminal acquires a video recommendation instruction, obtains a video recommendation cover template in response to the video recommendation instruction; acquires video attribute information of the target video; adds the video attribute information to the video recommendation cover template; displays the video recommendation cover template and adds Video attribute information.
  • the first terminal acquires the customized content input for the target video in the video recommendation cover template; and generates the video recommendation cover according to the video recommendation cover template, the added video attribute information, and the customized content.
  • the first terminal acquires the social network platform user identifier, and generates a video recommendation request for the target video according to the video recommendation cover and the social network platform user identifier.
  • the first terminal sends a video recommendation request to the server.
  • the server generates a recommendation message for the target video according to the video recommendation cover and the social network platform user identifier in response to the video recommendation request.
  • the server sends a recommendation message for the target video to the second terminal operated by the target video client to which the social network platform user ID logs in.
  • the second terminal receives the recommendation message for the target video sent according to the social network platform user identifier by the video client logged in with the social network platform user identifier.
  • the second terminal detects a trigger instruction for the recommendation message, parses the recommendation message according to the trigger instruction, obtains a video recommendation cover, and displays a video recommendation cover.
  • the video recommendation cover is generated according to the video recommendation cover template and the customized content input in the video cover recommendation template.
  • the second terminal detects a video playback trigger operation acting on the video recommendation cover; in response to the video playback trigger operation, transmitting a video acquisition request for the target video to the server.
  • the second terminal receives the target video returned by the server in response to the video acquisition request and the play time node configured corresponding to the video recommendation cover.
  • the second terminal plays the target video.
  • the second terminal sends an additional content acquisition request to the server when playing the target video to a preset time length before the playing time node.
  • the second terminal receives the additional content corresponding to the play time node returned by the server in response to the additional content acquisition request.
  • the second terminal superimposes the sub-window at the preset position of the played target video when the triggering operation on the trigger entry is detected.
  • the size of the sub-window is smaller than the size of the play interface of the target video.
  • the second terminal displays additional content corresponding to the play time node in the child window.
  • a computer device which may be the first terminal 110 or the second terminal 130 of FIG.
  • the internal structural block diagram of the computer device can be as shown in FIG. 12, the computer device includes a video recommendation device, and the video recommendation device includes various modules, and each module can be implemented in whole or in part by software, hardware, or a combination thereof.
  • a video recommendation apparatus 900 includes: a display module 902, a customized content acquisition module 904, a video recommendation cover generation module 906, an acquisition module 908, and a recommendation module. 910 and a sending module 912, wherein:
  • the display module 902 is configured to display a video recommendation cover template.
  • the customized content obtaining module 904 is configured to obtain customized content for the target video input in the video recommendation cover template.
  • the video recommendation cover generation module 906 is configured to generate a video recommendation cover according to the video recommendation cover template and the customized content.
  • the obtaining module 908 is configured to obtain a user identifier.
  • the recommendation module 910 is configured to generate a recommendation message for the target video according to the video recommendation cover and the user identifier.
  • the sending module 912 is configured to send a recommendation message to the terminal corresponding to the user identifier, so that the terminal displays the video recommendation cover when the recommendation message is triggered, and plays the target video after displaying the video recommendation cover.
  • the obtaining module 908 is further configured to acquire an additional content adding instruction; in response to the additional content adding instruction, acquire a playing time node of the selected target video; and acquire the added additional content corresponding to the playing time node.
  • the sending module 912 is further configured to send the additional content and the corresponding playing time node to the terminal, so that the terminal displays the additional content when playing the target video to the playing time node.
  • the presentation module 902 is further configured to acquire a video recommendation cover template; acquire video attribute information of the target video; add the video attribute information to the video recommendation cover template; and display the video recommendation cover template and the added video attribute information.
  • the video recommendation cover generation module 906 is further configured to generate a video recommendation cover according to the video recommendation cover template, the added video attribute information, and the customized content.
  • the user identification is a social network platform user identification.
  • the sending module 912 is further configured to send the recommendation message to the terminal run by the target video client by using the video client, so that the target video client displays the video recommendation cover when the recommendation message is triggered, and plays the target video after displaying the video recommendation cover;
  • the target video client is a video client that is logged in as a social network platform user identifier.
  • the apparatus 1000 includes: a receiving module 1002, a detecting module 1004, a video recommendation cover acquiring module 1006, a display module 1008, and a playing module 1010, where:
  • the receiving module 1002 is configured to receive, according to the currently logged user identifier, a recommendation message for the target video that is sent according to the user identifier.
  • the detecting module 1004 is configured to detect a triggering instruction for the recommendation message.
  • the video recommendation cover acquisition module 1006 is configured to parse the recommendation message according to the trigger instruction to obtain a video recommendation cover; the video recommendation cover is generated according to the video recommendation cover template and the customized content input in the video cover recommendation template.
  • the display module 1008 is configured to display a video recommendation cover.
  • the playing module 1010 is configured to play the target video after displaying the video recommendation cover.
  • the playing module 1010 is further configured to detect a video play triggering operation applied to the video recommendation cover; in response to the video playback triggering operation, send a video acquisition request for the target video; and receive the target video returned in response to the video acquisition request. ; Play back the returned target video.
  • the apparatus 1000 further includes:
  • the play time node obtaining module 1009 is further configured to acquire a play time node configured corresponding to the video recommendation cover.
  • the playing module 1010 is further configured to display the additional content corresponding to the playing time node when displaying the video image corresponding to the playing time node on the played target video.
  • the display module 1008 is further configured to superimpose the sub-window at a preset position of the played target video; the size of the sub-window is smaller than the size of the play interface of the target video; in the sub-window, the display and play time node Corresponding additional content.
  • the display module 1008 is further configured to: when the target video is played to a time point of a preset duration before the playing time node, send an additional content obtaining request; and receive the playback time node in response to the additional content obtaining request. Corresponding additional content; when the target video is played to the play time node, the received additional content is displayed.
  • the play time node obtaining module 1009 is further configured to acquire a set of play time nodes configured for the target video and corresponding to the video recommendation cover; and display respective thumbnails of the play time nodes in the set; For the selected instruction of the thumbnail, the playback time node corresponding to the thumbnail for which the instruction is selected is determined.
  • the display module 1008 is further configured to pause the target video; acquire a video image corresponding to the play time node in the target video; overlay the video image on the target video that is paused for display; display and play time Additional content corresponding to the node.
  • the playing module 1010 is further configured to: when receiving the closing instruction for the additional content of the presentation, remove the video image covered on the target video; and continue playing the target video from the position when the playback is paused.
  • the user identification is a social network platform user identification.
  • the receiving module 1002 is further configured to: when the video client logs in with the social network platform user identifier, receive, by the video client, a recommendation message for the target video sent according to the social network platform user identifier.
  • Figure 12 is a block diagram showing the internal structure of a computer device in an embodiment.
  • the computer device may be the first terminal 110 or the second terminal 130 shown in FIG. 1.
  • the computer device includes a processor, memory, network interface, display screen, and input device connected by a system bus.
  • the memory comprises a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium of the computer device can store an operating system and computer readable instructions that, when executed, can cause the processor to perform a video recommendation method.
  • the processor of the computer device is used to provide computing and control capabilities to support the operation of the entire computer device.
  • the internal memory can store computer readable instructions that, when executed by the processor, cause the processor to perform a video recommendation method.
  • the network interface of the computer device is used for network communication.
  • the display screen of the computer device may be a liquid crystal display or an electronic ink display screen, etc.
  • the input device of the computer device may be a touch layer covered on the display screen, or a button, a trackball or a touchpad provided on the terminal housing, It can be an external keyboard, trackpad or mouse.
  • the computer device may be a terminal such as a personal computer, a mobile terminal, or an in-vehicle device, and the mobile terminal includes at least one of a mobile phone, a tablet computer, a personal digital assistant, or a wearable device.
  • FIG. 12 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation of the computer device to which the solution of the present application is applied.
  • the specific computer device may It includes more or fewer components than those shown in the figures, or some components are combined, or have different component arrangements.
  • the video recommendation apparatus may be implemented in the form of a computer readable instruction executable on a computer device as shown in FIG. 12, the non- The volatile storage medium can store various program modules constituting the video recommendation device, for example, the display module 902, the customized content acquisition module 904, the video recommendation cover generation module 906, the acquisition module 908, the recommendation module 910, and the display module 910 shown in FIG. Send module 912.
  • Computer readable instructions comprising respective program modules for causing the computer device to perform the steps in the video recommendation method of various embodiments of the present application described in this specification, for example, the computer device may pass the video recommendation device as shown in FIG.
  • the display module 902 in 900 displays the video recommendation cover template, and acquires customized content for the target video input in the video recommendation cover template through the customized content acquisition module 904.
  • the computer device may generate a video recommendation cover by the video recommendation cover generation module 906 according to the video recommendation cover template and the customized content.
  • the computer device can obtain the user identifier through the obtaining module 908, and generate a recommendation message for the target video according to the video recommendation cover and the user identifier through the recommendation module 910.
  • the computer device may send the recommendation message to the terminal corresponding to the user identifier through the sending module 912, so that the terminal displays the video recommendation cover when the recommendation message is triggered, and plays the target video after displaying the video recommendation cover.
  • another video recommendation device provided by the present application may be implemented in the form of a computer readable instruction executable on a computer device as shown in FIG.
  • the non-volatile storage medium of the computer device can store various program modules constituting the video recommendation device, for example, the receiving module 1002, the detecting module 1004, the video recommendation cover acquiring module 1006, the display module 1008, and the playing module 1010 shown in FIG. .
  • Computer readable instructions comprising respective program modules for causing the computer device to perform the steps in the video recommendation method of various embodiments of the present application described in this specification, for example, the computer device may pass the video recommendation device as shown in FIG.
  • the receiving module 1002 in 1000 receives the recommendation message for the target video sent according to the user identifier according to the currently logged user identifier, and detects the triggering instruction for the recommendation message by the detecting module 1004.
  • the computer device may obtain a video recommendation cover by the video recommendation cover acquisition module 1006 according to the trigger instruction, and the video recommendation cover is generated according to the video recommendation cover template and the customized content input in the video cover recommendation template.
  • the computer device can display the video recommendation cover through the presentation module 1008 and play the target video through the play module 1010 after displaying the video recommendation cover.
  • a computer apparatus comprising a memory and one or more processors having stored therein computer readable instructions, the computer readable instructions being executed by one or more processors Having the one or more processors perform the steps of: presenting a video recommendation cover template; obtaining customized content for the target video input in the video recommendation cover template; recommending a cover template and the customized content according to the video Generating a video recommendation cover; acquiring a user identifier; generating a recommendation message for the target video according to the video recommendation cover and the user identifier; sending the recommendation message to a terminal corresponding to the user identifier, so that the terminal The video recommendation cover is displayed when the recommendation message is triggered, and the target video is played after the video recommendation cover is displayed.
  • the computer readable instructions further cause the processor to: acquire an additional content addition instruction; to retrieve a selected play time node of the target video in response to the additional content addition instruction; to obtain an added And the additional content corresponding to the play time node; sending the additional content and the corresponding play time node to the terminal, so that the terminal displays the additional content when playing the target video to the play time node .
  • the displaying a video recommendation cover template includes: acquiring a video recommendation cover template; acquiring video attribute information of the target video; adding the video attribute information to the video recommendation cover template; displaying the video recommendation a cover template and the added video attribute information; generating a video recommendation cover according to the video recommendation cover template and the customized content, including: recommending a cover template according to the video, adding the video attribute information, and Describe the custom content and generate a video recommendation cover.
  • the user identifier is a social network platform user identifier; the sending the recommendation message to the terminal corresponding to the user identifier, so that the terminal displays the video when the recommendation message is triggered.
  • Recommending a cover, and playing the target video after displaying the video recommendation cover includes: sending, by the video client, the recommendation message to a terminal run by the target video client, so that the target video client is in the recommendation message The video recommendation cover is displayed when triggered, and the target video is played after the video recommendation cover is displayed, wherein the target video client is a video client that is logged in as a social network platform user identifier.
  • one or more storage media storing computer readable instructions are provided, the computer readable instructions being executed by one or more processors such that the one or more processors perform the steps of: displaying a video recommendation cover template; acquiring custom content input for the target video in the video recommendation cover template; generating a video recommendation cover according to the video recommendation cover template and the customized content; acquiring a user identifier; according to the video And recommending the cover page and the user identifier to generate a recommendation message for the target video; sending the recommendation message to the terminal corresponding to the user identifier, so that the terminal displays the video recommendation cover when the recommendation message is triggered And playing the target video after displaying the video recommendation cover.
  • the computer readable instructions further cause the processor to: acquire an additional content addition instruction; to retrieve a selected play time node of the target video in response to the additional content addition instruction; to obtain an added And the additional content corresponding to the play time node; sending the additional content and the corresponding play time node to the terminal, so that the terminal displays the additional content when playing the target video to the play time node .
  • the displaying a video recommendation cover template includes: acquiring a video recommendation cover template; acquiring video attribute information of the target video; adding the video attribute information to the video recommendation cover template; displaying the video recommendation a cover template and the added video attribute information; generating a video recommendation cover according to the video recommendation cover template and the customized content, including: recommending a cover template according to the video, adding the video attribute information, and Describe the custom content and generate a video recommendation cover.
  • the user identifier is a social network platform user identifier; the sending the recommendation message to the terminal corresponding to the user identifier, so that the terminal displays the video when the recommendation message is triggered.
  • Recommending a cover, and playing the target video after displaying the video recommendation cover includes: sending, by the video client, the recommendation message to a terminal run by the target video client, so that the target video client is in the recommendation message The video recommendation cover is displayed when triggered, and the target video is played after the video recommendation cover is displayed, wherein the target video client is a video client that is logged in as a social network platform user identifier.
  • a computer apparatus comprising a memory and one or more processors having stored therein computer readable instructions, the computer readable instructions being executed by one or more processors Having the one or more processors perform the following steps: receiving, according to the currently logged-in user identifier, a recommendation message for the target video sent according to the user identifier; detecting a trigger instruction for the recommendation message; Parsing the recommendation message to obtain a video recommendation cover; the video recommendation cover is generated according to the video recommendation cover template and the customized content input in the video cover recommendation template; displaying the video recommendation cover; after displaying the video recommendation cover , playing the target video.
  • playing the target video comprises: detecting a video play trigger operation acting on the video recommendation cover; and transmitting the target in response to the video play trigger operation a video acquisition request of the target video; receiving a target video returned in response to the video acquisition request; playing the returned target video.
  • the computer readable instructions further cause the processor to: acquire a play time node configured corresponding to the video recommendation cover; when displaying the video image corresponding to the play time node on the played target video, The additional content corresponding to the play time node is displayed.
  • the displaying the additional content corresponding to the play time node includes: superimposing a sub-window at a preset position of the played target video; the size of the sub-window is smaller than the target video The size of the play interface; in the child window, additional content corresponding to the play time node is displayed.
  • displaying the additional content corresponding to the play time node includes: when playing the target video to the distance When the time point of the preset time period before the time node is played, the additional content acquisition request is sent; the additional content corresponding to the play time node returned in response to the additional content acquisition request is received; when the target video is played to the The additional content received is displayed when the time node is played.
  • the acquiring a play time node configured corresponding to the video recommendation cover comprises: acquiring a set of play time nodes configured for the target video and corresponding to the video recommendation cover; Each of the play time nodes in the set has a corresponding thumbnail; when the selected command for the thumbnail is detected, the play time node corresponding to the thumbnail for which the selected instruction is directed is determined.
  • displaying the additional content corresponding to the play time node when displaying the video image corresponding to the play time node on the played target video, includes: suspending the target video; acquiring a video image corresponding to the play time node in the target video; overlaying the video image on the target video that is paused for display; and displaying the additional content corresponding to the play time node.
  • the computer readable instructions further cause the processor to perform the step of: removing the video image overlaid on the target video upon receiving a close instruction for the additional content of the presentation; The target video continues to play from where it was paused.
  • the user identifier is a social network platform user identifier; and receiving, according to the currently logged-in user identifier, the recommendation message for the target video sent according to the user identifier, includes: when the video client is a social network platform When the user identifier is logged in, the video client receives a recommendation message for the target video sent according to the social network platform user identifier.
  • one or more storage media storing computer readable instructions are provided, the computer readable instructions being executed by one or more processors, such that the one or more processors perform the steps of: The currently logged-in user identifier, receiving a recommendation message for the target video sent according to the user identifier; detecting a triggering instruction for the recommendation message; parsing the recommendation message according to the triggering instruction to obtain a video recommendation cover; the video The recommended cover is generated according to the video recommended cover template and the customized content input in the video cover recommendation template; the video recommended cover is displayed; after the video recommended cover is displayed, the target video is played.
  • playing the target video comprises: detecting a video play trigger operation acting on the video recommendation cover; and transmitting the target in response to the video play trigger operation a video acquisition request of the target video; receiving a target video returned in response to the video acquisition request; playing the returned target video.
  • the computer readable instructions further cause the processor to: acquire a play time node configured corresponding to the video recommendation cover; when displaying the video image corresponding to the play time node on the played target video, The additional content corresponding to the play time node is displayed.
  • the displaying the additional content corresponding to the play time node includes: superimposing a sub-window at a preset position of the played target video; the size of the sub-window is smaller than the target video The size of the play interface; in the child window, additional content corresponding to the play time node is displayed.
  • displaying the additional content corresponding to the play time node includes: when playing the target video to the distance When the time point of the preset time period before the time node is played, the additional content acquisition request is sent; the additional content corresponding to the play time node returned in response to the additional content acquisition request is received; when the target video is played to the The additional content received is displayed when the time node is played.
  • the acquiring a play time node configured corresponding to the video recommendation cover comprises: acquiring a set of play time nodes configured for the target video and corresponding to the video recommendation cover; Each of the play time nodes in the set has a corresponding thumbnail; when the selected command for the thumbnail is detected, the play time node corresponding to the thumbnail for which the selected instruction is directed is determined.
  • displaying the additional content corresponding to the play time node when displaying the video image corresponding to the play time node on the played target video, includes: suspending the target video; acquiring a video image corresponding to the play time node in the target video; overlaying the video image on the target video that is paused for display; and displaying the additional content corresponding to the play time node.
  • the computer readable instructions further cause the processor to perform the step of: removing the video image overlaid on the target video upon receiving a close instruction for the additional content of the presentation; The target video continues to play from where it was paused.
  • the user identifier is a social network platform user identifier; and receiving, according to the currently logged-in user identifier, the recommendation message for the target video sent according to the user identifier, includes: when the video client is a social network platform When the user identifier is logged in, the video client receives a recommendation message for the target video sent according to the social network platform user identifier.
  • the various steps in the various embodiments of the present application are not necessarily performed in the order indicated by the steps. Except as explicitly stated herein, the execution of these steps is not strictly limited, and the steps may be performed in other orders. Moreover, at least some of the steps in the embodiments may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be executed at different times, and the execution of these sub-steps or stages The order is also not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of the other steps.
  • Non-volatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory can include random access memory (RAM) or external cache memory.
  • RAM is available in a variety of formats, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronization chain.
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDRSDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • Synchlink DRAM SLDRAM
  • Memory Bus Radbus
  • RDRAM Direct RAM
  • DRAM Direct Memory Bus Dynamic RAM
  • RDRAM Memory Bus Dynamic RAM

Abstract

A video recommendation method, comprising: displaying a video recommendation cover template; acquiring, from the video recommendation cover template, custom content inputted for a target video; generating a video recommendation cover according to the video recommendation cover template and the custom content; acquiring a user identifier; generating a recommendation message for the target video according to the video recommendation cover and the user identifier; and sending the recommendation message to a terminal corresponding to the user identifier, so that the terminal displays the video recommendation cover when the recommendation message is triggered, and plays back the target video after the video recommendation cover is displayed.

Description

视频推荐方法、终端和存储介质Video recommendation method, terminal and storage medium
本申请要求于2017年10月10日提交中国专利局,申请号为2017109368614,申请名称为“视频推荐方法、装置、设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application entitled "Video Recommendation Method, Apparatus, Apparatus, and Storage Medium" by the Chinese Patent Office, filed on October 10, 2017, with the application number of 2017109368614, the entire contents of In this application.
技术领域Technical field
本申请涉及计算机技术领域,特别是涉及一种视频推荐方法、终端和存储介质。The present application relates to the field of computer technologies, and in particular, to a video recommendation method, a terminal, and a storage medium.
背景技术Background technique
随着科学技术的飞速发展,人与人之间的资源分享类型越来越广泛,视频由于其所展示的内容的丰富性,成为一个非常主要的资源分享方式。视频分享,是把目标视频直接发送给想要分享的对象。With the rapid development of science and technology, the types of resource sharing between people are more and more extensive. Video has become a very important way of resource sharing because of the richness of the content it displays. Video sharing is to send the target video directly to the object you want to share.
目前,大家对于视频的分享,都是基于简单的链接地址,接收方接收到的只是一个简单的视频分享链接,基于这个视频分享链接所获知的信息量较少,需要点击该视频分享链接打开视频才能获知视频的一些信息。这样一来,分享视频给接收方时,所传达的信息量较少。At present, everyone's sharing of videos is based on a simple link address. The recipient receives only a simple video sharing link. The amount of information obtained based on this video sharing link is small. You need to click the video sharing link to open the video. In order to get some information about the video. As a result, when the video is shared to the recipient, the amount of information conveyed is small.
发明内容Summary of the invention
根据本申请提供的各种实施例,提供一种视频推荐方法、终端和存储介质。According to various embodiments provided by the present application, a video recommendation method, a terminal, and a storage medium are provided.
一种视频推荐方法,包括:A video recommendation method, including:
第一终端展示视频推荐封面模板;The first terminal displays a video recommendation cover template;
所述第一终端获取在所述视频推荐封面模板中针对目标视频输入的自定义内容;The first terminal acquires customized content input for the target video in the video recommendation cover template;
所述第一终端根据所述视频推荐封面模板和所述自定义内容,生成视频 推荐封面;The first terminal generates a video recommendation cover according to the video recommendation cover template and the customized content;
所述第一终端获取用户标识;The first terminal acquires a user identifier;
所述第一终端根据所述视频推荐封面和所述用户标识生成针对所述目标视频的推荐消息;及The first terminal generates a recommendation message for the target video according to the video recommendation cover and the user identifier; and
所述第一终端发送所述推荐消息至所述用户标识所对应的终端,使所述终端在所述推荐消息被触发时展示所述视频推荐封面,并在展示所述视频推荐封面后播放所述目标视频。The first terminal sends the recommendation message to the terminal corresponding to the user identifier, so that the terminal displays the video recommendation cover when the recommendation message is triggered, and plays the video after displaying the video recommendation cover. The target video.
一种终端,包括存储器和一个或多个处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行如下步骤:A terminal comprising a memory and one or more processors having stored therein computer readable instructions, the computer readable instructions being executed by one or more processors such that the one or more processors Perform the following steps:
展示视频推荐封面模板;Display a video recommendation cover template;
获取在所述视频推荐封面模板中针对目标视频输入的自定义内容;Obtaining customized content for the target video input in the video recommendation cover template;
根据所述视频推荐封面模板和所述自定义内容,生成视频推荐封面;Generating a video recommendation cover according to the video recommendation cover template and the customized content;
获取用户标识;Obtain the user ID;
根据所述视频推荐封面和所述用户标识生成针对所述目标视频的推荐消息;及Generating a recommendation message for the target video according to the video recommendation cover and the user identifier; and
发送所述推荐消息至所述用户标识所对应的终端,使所述终端在所述推荐消息被触发时展示所述视频推荐封面,并在展示所述视频推荐封面后播放所述目标视频。And sending the recommendation message to the terminal corresponding to the user identifier, so that the terminal displays the video recommendation cover when the recommendation message is triggered, and plays the target video after displaying the video recommendation cover.
一个或多个存储有计算机可读指令的存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行如下步骤:One or more storage media storing computer readable instructions, when executed by one or more processors, cause one or more processors to perform the following steps:
展示视频推荐封面模板;Display a video recommendation cover template;
获取在所述视频推荐封面模板中针对目标视频输入的自定义内容;Obtaining customized content for the target video input in the video recommendation cover template;
根据所述视频推荐封面模板和所述自定义内容,生成视频推荐封面;Generating a video recommendation cover according to the video recommendation cover template and the customized content;
获取用户标识;Obtain the user ID;
根据所述视频推荐封面和所述用户标识生成针对所述目标视频的推荐消息;及Generating a recommendation message for the target video according to the video recommendation cover and the user identifier; and
发送所述推荐消息至所述用户标识所对应的终端,使所述终端在所述推荐消息被触发时展示所述视频推荐封面,并在展示所述视频推荐封面后播放所述目标视频。And sending the recommendation message to the terminal corresponding to the user identifier, so that the terminal displays the video recommendation cover when the recommendation message is triggered, and plays the target video after displaying the video recommendation cover.
一种视频推荐方法,包括:A video recommendation method, including:
第二终端根据当前登录的用户标识,接收按照所述用户标识发送的针对目标视频的推荐消息;Receiving, by the second terminal, a recommendation message for the target video that is sent according to the user identifier, according to the currently logged user identifier;
所述第二终端检测针对所述推荐消息的触发指令;The second terminal detects a trigger instruction for the recommendation message;
所述第二终端根据所述触发指令,解析所述推荐消息获得视频推荐封面;所述视频推荐封面根据视频推荐封面模板和在视频封面推荐模板中输入的自定义内容生成;The second terminal parses the recommendation message according to the triggering instruction to obtain a video recommendation cover; the video recommendation cover is generated according to the video recommendation cover template and the customized content input in the video cover recommendation template;
所述第二终端展示所述视频推荐封面;及The second terminal displays the video recommendation cover; and
所述第二终端在展示所述视频推荐封面之后,播放所述目标视频。The second terminal plays the target video after displaying the video recommendation cover.
一种终端,包括存储器和一个或多个处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被处理器执行时,使得所述处理器执行如下步骤:A terminal comprising a memory and one or more processors having stored therein computer readable instructions, the computer readable instructions being executed by a processor such that the processor performs the following steps:
根据当前登录的用户标识,接收按照所述用户标识发送的针对目标视频的推荐消息;Receiving, according to the currently logged in user identifier, a recommendation message for the target video sent according to the user identifier;
检测针对所述推荐消息的触发指令;Detecting a trigger instruction for the recommendation message;
根据所述触发指令,解析所述推荐消息获得视频推荐封面;所述视频推荐封面根据视频推荐封面模板和在视频封面推荐模板中输入的自定义内容生成;And parsing the recommendation message according to the triggering instruction to obtain a video recommendation cover; the video recommendation cover is generated according to the video recommendation cover template and the customized content input in the video cover recommendation template;
展示所述视频推荐封面;及Presenting the video recommendation cover; and
在展示所述视频推荐封面之后,播放所述目标视频。After the video recommendation cover is displayed, the target video is played.
一个或多个存储有计算机可读指令的存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行如下步骤:One or more storage media storing computer readable instructions, when executed by one or more processors, cause one or more processors to perform the following steps:
根据当前登录的用户标识,接收按照所述用户标识发送的针对目标视频的推荐消息;Receiving, according to the currently logged in user identifier, a recommendation message for the target video sent according to the user identifier;
检测针对所述推荐消息的触发指令;Detecting a trigger instruction for the recommendation message;
根据所述触发指令,解析所述推荐消息获得视频推荐封面;所述视频推荐封面根据视频推荐封面模板和在视频封面推荐模板中输入的自定义内容生成;And parsing the recommendation message according to the triggering instruction to obtain a video recommendation cover; the video recommendation cover is generated according to the video recommendation cover template and the customized content input in the video cover recommendation template;
展示所述视频推荐封面;及Presenting the video recommendation cover; and
在展示所述视频推荐封面之后,播放所述目标视频。After the video recommendation cover is displayed, the target video is played.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。基于本申请的说明书、附图以及权利要求书,本申请的其它特征、目的和优点将变得更加明显。Details of one or more embodiments of the present application are set forth in the accompanying drawings and description below. Other features, objects, and advantages of the invention will be apparent from the description and appended claims.
附图说明DRAWINGS
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present application. Other drawings may also be obtained from those of ordinary skill in the art in light of the inventive work.
图1为一个实施例中视频推荐方法的应用环境图;1 is an application environment diagram of a video recommendation method in an embodiment;
图2为一个实施例中视频推荐方法的流程示意图;2 is a schematic flow chart of a video recommendation method in an embodiment;
图3为一个实施例中视频推荐封面的界面示意图;3 is a schematic diagram of an interface of a video recommendation cover in an embodiment;
图4为一个实施例中生成附加内容添加指令的界面示意图;4 is a schematic diagram of an interface for generating an additional content adding instruction in an embodiment;
图5为另一个实施例中视频推荐方法的流程示意图;FIG. 5 is a schematic flowchart of a video recommendation method in another embodiment; FIG.
图6A至图6B为一个实施例中触发展示附加内容的界面示意图;6A-6B are schematic diagrams of interfaces for triggering display of additional content in an embodiment;
图7为一个实施例中播放时间节点获取的界面示意图;7 is a schematic diagram of an interface acquired by a play time node in an embodiment;
图8为一个实施例中视频推荐方法的时序图;8 is a timing diagram of a video recommendation method in an embodiment;
图9为一个实施例中视频推荐装置的结构框图;9 is a structural block diagram of a video recommendation apparatus in an embodiment;
图10为另一个实施例中视频推荐装置的结构框图;FIG. 10 is a structural block diagram of a video recommendation apparatus in another embodiment; FIG.
图11为又一个实施例中视频推荐装置的结构框图;及11 is a structural block diagram of a video recommendation device in still another embodiment; and
图12为一个实施例中计算机设备的框图。Figure 12 is a block diagram of a computer device in one embodiment.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the objects, technical solutions, and advantages of the present application more comprehensible, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting.
图1为一个实施例中视频推荐方法的应用环境图。参照图1,该应用环境中包括通过网络连接的第一终端110、服务器120和第二终端130,其中,第一终端110和第二终端130中具有视频播放功能,比如,第一终端110和第二终端130中可安装视频客户端或者可以运行视频播放网页。第一终端110和第二终端130可以是台式计算机或移动终端,移动终端可以包括手机、平板电脑、个人数字助理和穿戴式设备等中的至少一种。服务器120可以用独立的服务器或者是多个物理服务器组成的服务器集群来实现。FIG. 1 is an application environment diagram of a video recommendation method in an embodiment. Referring to FIG. 1 , the application environment includes a first terminal 110, a server 120, and a second terminal 130 connected through a network, where the first terminal 110 and the second terminal 130 have a video playing function, for example, the first terminal 110 and A video client may be installed in the second terminal 130 or a video play webpage may be run. The first terminal 110 and the second terminal 130 may be desktop computers or mobile terminals, and the mobile terminal may include at least one of a mobile phone, a tablet computer, a personal digital assistant, and a wearable device. The server 120 can be implemented by a stand-alone server or a server cluster composed of a plurality of physical servers.
第一终端110可以展示视频推荐封面模板,获取在视频推荐封面模板中针对目标视频输入的自定义内容。第一终端110根据视频推荐封面模板和自定义内容,生成视频推荐封面。第一终端110可以获取用户标识,将用户标识和将视频推荐封面发送至服务器120,服务器120根据视频推荐封面生成针对目标视频的推荐消息,并发送推荐消息至用户标识所对应的第二终端130。第二终端130在推荐消息被触发时展示视频推荐封面,并在展示视频推荐封面后播放目标视频。The first terminal 110 may display a video recommendation cover template to obtain customized content for the target video input in the video recommendation cover template. The first terminal 110 generates a video recommendation cover according to the video recommendation cover template and the customized content. The first terminal 110 may obtain the user identifier, send the user identifier and send the video recommendation cover to the server 120, and the server 120 generates a recommendation message for the target video according to the video recommendation cover, and sends the recommendation message to the second terminal 130 corresponding to the user identifier. . The second terminal 130 displays the video recommendation cover when the recommendation message is triggered, and plays the target video after displaying the video recommendation cover.
可以理解,在其他实施例中,第一终端110也可以自身根据视频推荐封面生成针对目标视频的推荐消息,并获取用户标识,发送推荐消息至用户标识所对应的第二终端130。可以理解当第一终端110用于接受被推荐的目标视频,则在第二终端130中实现的处理步骤也可以适用于第一终端110。同理,当第二终端130用于推荐目标视频时,则在第一终端110中实现的处理步骤也可以适用于第二终端130。It can be understood that, in other embodiments, the first terminal 110 may also generate a recommendation message for the target video according to the video recommendation cover, and obtain the user identifier, and send the recommendation message to the second terminal 130 corresponding to the user identifier. It can be understood that when the first terminal 110 is used to accept the recommended target video, the processing steps implemented in the second terminal 130 can also be applied to the first terminal 110. Similarly, when the second terminal 130 is used to recommend the target video, the processing steps implemented in the first terminal 110 may also be applied to the second terminal 130.
图2为一个实施例中视频推荐方法的流程示意图。本实施例主要以该视频推荐方法应用于图1中的第一终端110或第二终端130。参照图2,该方法 具体包括如下步骤:2 is a schematic flow chart of a video recommendation method in an embodiment. This embodiment is mainly applied to the first terminal 110 or the second terminal 130 in FIG. 1 by using the video recommendation method. Referring to FIG. 2, the method specifically includes the following steps:
S202,展示视频推荐封面模板。S202, displaying a video recommendation cover template.
其中,视频推荐封面模板,是预先设置的用于生成视频推荐封面的模板。可以理解,在视频推荐封面模板中添加内容可以生成视频推荐封面。The video recommendation cover template is a preset template for generating a video recommendation cover. It can be understood that adding a content in the video recommendation cover template can generate a video recommendation cover.
视频推荐封面,是在播放目标视频之前展示的、且用于推荐目标视频的页面。目标视频,是被推荐的视频。也就是说,接收被推荐的目标视频的用户先看到视频推荐封面,在展示视频推荐封面后再播放目标视频。视频(Video),是人眼看上去是平滑连续的视觉效果的连续画面。目标视频包括电影影片或短视频等。The video recommendation cover is a page that is displayed before the target video is played and is used to recommend the target video. The target video is the recommended video. That is to say, the user who receives the recommended target video first sees the video recommendation cover, and then plays the target video after displaying the video recommendation cover. Video is a continuous picture that the human eye looks smooth and continuous. Target videos include movie movies or short videos.
在一个实施例中,步骤S202包括:获取视频推荐指令,响应于视频推荐指令,获取视频推荐封面模板并展示。In one embodiment, step S202 includes: obtaining a video recommendation instruction, and in response to the video recommendation instruction, acquiring a video recommendation cover template and displaying.
具体地,第一终端可以检测符合预设动作的视频推荐操作,当检测到视频推荐操作时触发生成视频推荐指令。Specifically, the first terminal may detect a video recommendation operation that meets the preset action, and trigger a generate video recommendation instruction when the video recommendation operation is detected.
在一个实施例中,第一终端可以检测作用于目标视频的播放界面的符合预设动作的视频推荐操作,当检测到视频推荐操作时触发生成视频推荐指令。In an embodiment, the first terminal may detect a video recommendation operation that matches a preset action of the play interface of the target video, and trigger a generate video recommendation instruction when the video recommendation operation is detected.
具体地,第一终端可以在目标视频的播放界面中显示视频推荐触发控件(比如,视频推荐图标),检测作用于视频推荐触发控件上的符合预设动作的触发操作(比如点击、按压或滑动等操作),根据该触发操作触发视频推荐机制以生成视频推荐指令。Specifically, the first terminal may display a video recommendation trigger control (for example, a video recommendation icon) in the play interface of the target video, and detect a trigger operation (such as clicking, pressing, or sliding) that matches the preset action on the video recommendation trigger control. And so on), the video recommendation mechanism is triggered according to the triggering operation to generate a video recommendation instruction.
在另一个实施例中,第一终端也可以检测针对目标视频的缩略图进行的符合预设动作(比如,拖拽操作)的视频推荐操作,当检测到视频推荐操作时触发生成视频推荐指令。In another embodiment, the first terminal may also detect a video recommendation operation for a thumbnail of the target video that conforms to a preset action (eg, a drag operation), and triggers generation of a video recommendation instruction when the video recommendation operation is detected.
在一个实施例中,第一终端响应于视频推荐指令,可以从本地获取预设的视频推荐封面模板,也可以向服务器发送视频推荐封面获取请求,获取服务器响应于视频推荐封面获取请求返回的视频推荐封面模板。In an embodiment, the first terminal may obtain a preset video recommendation cover template from the local device in response to the video recommendation instruction, or may send a video recommendation cover acquisition request to the server to obtain a video returned by the server in response to the video recommendation cover acquisition request. Recommended cover template.
需要说明的是,第一终端在展示视频推荐封面模板时,可以仅展示初始的视频推荐封面模板(即未添加内容的视频推荐封面模板),可以是在展示视 频推荐封面模板的同时,也展示在该视频推荐封面模板中添加的内容。对此不做限定,这里仅要展示视频推荐封面模板即可,不限定视频推荐封面模板中是否有添加内容。It should be noted that, when displaying the video recommendation cover template, the first terminal may display only the initial video recommendation cover template (ie, the video recommendation cover template without added content), and may also display the video recommendation cover template. The content added in the video recommendation cover template. There is no limit to this. It is only necessary to display the video recommendation cover template. It is not limited to whether there is any added content in the video recommendation cover template.
在一个实施例中,在步骤S202之前,还包括附加内容添加步骤,在添加附加内容后,第一终端可以生成视频推荐触发控件,在检测到对视频推荐触发控件的触发操作时,再执行步骤S202。其中,视频推荐触发控件可以是视频推荐按钮或视频推荐图标。In an embodiment, before the step S202, an additional content adding step is further included, after the adding the additional content, the first terminal may generate a video recommendation triggering control, and when detecting the triggering operation of the video recommendation triggering control, performing the step S202. The video recommendation trigger control may be a video recommendation button or a video recommendation icon.
在一个实施例中,步骤S202包括:获取视频推荐封面模板;获取目标视频的视频属性信息;将视频属性信息添加至视频推荐封面模板中;展示视频推荐封面模板和添加的视频属性信息。In one embodiment, step S202 includes: acquiring a video recommendation cover template; acquiring video attribute information of the target video; adding the video attribute information to the video recommendation cover template; displaying the video recommendation cover template and the added video attribute information.
在一个实施例中,第一终端可以获取视频推荐指令,响应于视频推荐指令,获取视频推荐封面模板。In an embodiment, the first terminal may acquire a video recommendation instruction, and obtain a video recommendation cover template in response to the video recommendation instruction.
视频属性信息,是描述视频的属性的信息。视频属性信息包括视频名称、视频的拍摄年限、视频的上映年限、拍摄视频的导演信息、以及参与视频演绎或制作的演职人员信息等中的至少一种。Video attribute information is information describing the attributes of a video. The video attribute information includes at least one of a video name, a shooting age of the video, a release date of the video, director information of the captured video, and information of the cast member participating in the video interpretation or production.
第一终端可以从本地获取目标视频的视频属性信息。第一终端也可以向服务器查询目标视频的视频属性信息。具体地,第一终端可以向服务器发送包括目标视频的视频标识的视频属性信息查询请求,使服务器查询与目标视频的视频标识对应的视频属性信息,第一终端可以获取服务器返回的根据目标视频的视频标识查询到的视频属性信息。The first terminal may obtain video attribute information of the target video locally. The first terminal may also query the server for video attribute information of the target video. Specifically, the first terminal may send a video attribute information query request including a video identifier of the target video to the server, so that the server queries the video attribute information corresponding to the video identifier of the target video, and the first terminal may obtain the target video returned by the server. The video attribute information of the video ID is queried.
第一终端可以将视频属性信息添加至所获取的视频推荐封面模板中,再展示视频推荐封面模板和添加的视频属性信息。也就是说,第一终端在展示视频推荐封面模板的同时,也可以展示该视频推荐封面模板中所自动添加的视频属性信息。The first terminal may add the video attribute information to the obtained video recommendation cover template, and then display the video recommendation cover template and the added video attribute information. That is to say, the first terminal may also display the video attribute information automatically added in the video recommendation cover template while displaying the video recommendation cover template.
S204,获取在视频推荐封面模板中针对目标视频输入的自定义内容。S204. Acquire custom content input for the target video in the video recommendation cover template.
其中,针对目标视频输入的自定义内容,是推荐目标视频时输入的与目标视频相关的自定义内容。The customized content for the target video input is the customized content related to the target video that is input when the target video is recommended.
自定义内容,可以包括视频推荐相关内容。视频推荐相关内容,是与视频推荐相关的内容。视频推荐相关内容,可以包括视频属性信息、推荐目标视频的用户信息、接收目标视频的用户信息和针对目标视频的推荐描述信息等中的至少一种。接收目标视频的用户,是接收被推荐的目标视频的用户。比如,用户A推荐视频M给用户B,则用户A为推荐目标视频的用户,用户B为接收目标视频的用户。用户信息包括用户名称等信息。推荐描述信息,可以包括与推荐原因相关的描述信息,比如,视频具有很强的感染力,所以要推荐等描述信息。可以理解,自定义内容也可以是其它的想在视频推荐封面中展示的任意自定义内容,对此不作限定。Custom content, which can include video recommendations related content. The video recommendation related content is related to the video recommendation. The video recommendation related content may include at least one of video attribute information, user information of the recommended target video, user information of the target video, and recommended description information for the target video. The user who receives the target video is the user who receives the recommended target video. For example, user A recommends video M to user B, then user A is the user who recommends the target video, and user B is the user who receives the target video. User information includes information such as the user name. The recommendation description information may include description information related to the recommendation reason. For example, the video has strong appeal, so it is recommended to describe the information. It can be understood that the customized content may also be any other customized content that is intended to be displayed in the video recommendation cover, which is not limited thereto.
需要说明的是,当步骤S202中展示视频推荐封面模板的同时,也展示在该视频推荐封面模板中添加的视频属性信息时,则自定义内容中就不包括视频属性信息。It should be noted that, when the video recommendation cover template is displayed in step S202, and the video attribute information added in the video recommendation cover template is also displayed, the video attribute information is not included in the customized content.
S206,根据视频推荐封面模板和自定义内容,生成视频推荐封面。S206. Generate a video recommendation cover according to the video recommendation cover template and the customized content.
具体地,第一终端可以将输入的自定义内容添加至视频封面模板中,生成视频推荐封面。Specifically, the first terminal may add the input customized content to the video cover template to generate a video recommendation cover.
在一个实施例中,当在步骤202中展示视频推荐封面模板的同时,展示视频属性信息,即视频属性信息是在获取针对目标视频输入的自定义内容之前,自动添加至视频推荐封面中进行展示时,第一终端还可以根据输入的自定义内容、展示的视频属性信息以及视频推荐封面模板,生成视频推荐封面。可以理解,该实施例中生成的视频推荐封面中包括视频属性信息、输入的自定义内容和视频封面模板的信息。In one embodiment, when the video recommendation cover template is displayed in step 202, the video attribute information is displayed, that is, the video attribute information is automatically added to the video recommendation cover for display before the customized content for the target video input is obtained. The first terminal may further generate a video recommendation cover according to the input customized content, the displayed video attribute information, and the video recommendation cover template. It can be understood that the video recommendation cover generated in this embodiment includes video attribute information, input customized content, and information of the video cover template.
在一个实施例中,视频推荐封面中包括用于触发播放目标视频的视频播放触发入口。可以理解,当第一终端接收对视频播放触发入口进行的触发操作时,可以触发播放目标视频。具体地,视频播放触发入口,可以以按钮或滑动条等方式设置于视频推荐封面中,当第一终端检测到对按钮进行按压或点击操作,或者检测到对滑动条进行滑动操作时,即接收到了对视频播放入口进行的触发操作,则可以触发第一终端播放目标视频。In one embodiment, the video recommendation cover includes a video play trigger entry for triggering the play target video. It can be understood that when the first terminal receives the triggering operation on the video playback trigger entry, the playback target video can be triggered. Specifically, the video play trigger entry may be set in the video recommendation cover by means of a button or a slide bar, etc., when the first terminal detects a button press or a click operation, or detects a slide operation on the slide bar, that is, receiving When the trigger operation is performed on the video play entry, the first terminal can be triggered to play the target video.
图3为一个实施例中视频推荐封面的界面示意图。参照图3,图3中的视频推荐封面包括视频名称、导演信息和主要演员信息等视频属性信息302,还包括推荐目标视频的用户名称、接受目标视频的用户名称和推荐描述信息等自定义内容304。视频推荐封面中还包括“点击观看”按钮,该“点击观看”按钮即为视频播放触发入口306。FIG. 3 is a schematic diagram of an interface of a video recommendation cover in one embodiment. Referring to FIG. 3, the video recommendation cover in FIG. 3 includes video attribute information 302 such as a video name, director information, and main actor information, and includes custom content such as a user name of the recommended target video, a user name accepting the target video, and recommended description information. 304. The video recommendation cover also includes a "click to watch" button, which is the video play trigger entry 306.
S208,获取用户标识。S208. Acquire a user identifier.
其中,用户标识,是接收被推荐的目标视频的用户的唯一标识。比如,用户A推荐视频M给用户B,则用户A为推荐目标视频的用户,用户B为接收目标视频的用户,步骤S208中获取的用户标识即为获取的用户B的唯一标识。用户标识可以是视频播放平台用户标识或社交网络平台用户标识。其中,视频播放平台用户标识是在视频播放平台注册的用户标识。社交网络平台用户标识是在社交网络平台注册的用户标识。The user identifier is a unique identifier of the user who receives the recommended target video. For example, user A recommends video M to user B, user A is the user who recommends the target video, user B is the user who receives the target video, and the user identifier obtained in step S208 is the unique identifier of the obtained user B. The user identity may be a video player platform user identity or a social network platform user identity. The video player platform user identifier is a user identifier registered on the video playing platform. The social network platform user identity is the user identity registered on the social networking platform.
可以理解,步骤S208可以在步骤S202-步骤S206中的任一步骤之前执行。即推荐目标视频的用户可以先选择接收目标视频的用户,第一终端获取该选择的用户标识,再获取并展示视频推荐封面模板。第一终端也可以在步骤S202展示视频推荐封面模板后,获取选择的用于接收目标视频的用户的用户标识,第一终端还可以在生成视频推荐封面后,获取选择的用于接收目标视频的用户的用户标识。对何时获取用户标识不作限定。It can be understood that step S208 can be performed before any of steps S202-S206. That is, the user who recommends the target video may first select the user who receives the target video, the first terminal acquires the selected user identifier, and then obtains and displays the video recommendation cover template. The first terminal may also obtain the selected user identifier of the user for receiving the target video after the video recommendation cover template is displayed in step S202, and the first terminal may further obtain the selected target video for receiving the target video after generating the video recommendation cover. User's user ID. There is no limit on when to obtain a user ID.
S210,根据视频推荐封面和用户标识生成针对目标视频的推荐消息。S210. Generate a recommendation message for the target video according to the video recommendation cover and the user identifier.
其中,针对目标视频的推荐消息,是用于推荐目标视频的消息。在一个实施例中,推荐消息可以包括视频推荐封面、用户标识和目标视频的标识。The recommendation message for the target video is a message for recommending the target video. In one embodiment, the recommendation message may include a video recommendation cover, a user identification, and an identification of the target video.
具体地,第一终端可以自身根据视频推荐封面和用户标识生成针对目标视频的推荐消息。第一终端也可以根据视频推荐封面和用户标识生成针对目标视频的视频推荐请求,将该视频推荐请求发送至服务器,使服务器根据该视频推荐请求中的视频推荐封面和用户标识生成针对目标视频的推荐消息。Specifically, the first terminal may generate a recommendation message for the target video according to the video recommendation cover and the user identifier. The first terminal may also generate a video recommendation request for the target video according to the video recommendation cover and the user identifier, and send the video recommendation request to the server, so that the server generates the target video according to the video recommendation cover and the user identifier in the video recommendation request. Recommended message.
S212,发送推荐消息至用户标识所对应的终端,使终端在推荐消息被触发时展示视频推荐封面,并在展示视频推荐封面后播放目标视频。S212. Send a recommendation message to the terminal corresponding to the user identifier, so that the terminal displays the video recommendation cover when the recommendation message is triggered, and plays the target video after displaying the video recommendation cover.
具体地,第一终端可以直接发送推荐消息至用户标识所对应的终端(即为图1中应用环境所描述的第二终端)。第一终端也可以在步骤S210中将根据视频推荐封面和用户标识生成针对目标视频的视频推荐请求,将该视频推荐请求发送至服务器,使服务器根据该视频推荐请求中的视频推荐封面和用户标识生成针对目标视频的推荐消息,并将生成的推荐消息发送至用户标识所对应的终端。Specifically, the first terminal may directly send the recommendation message to the terminal corresponding to the user identifier (ie, the second terminal described in the application environment in FIG. 1). The first terminal may also generate a video recommendation request for the target video according to the video recommendation cover and the user identifier in step S210, and send the video recommendation request to the server, so that the server recommends the cover and the user identifier according to the video in the video recommendation request. A recommendation message for the target video is generated, and the generated recommendation message is sent to the terminal corresponding to the user identifier.
进一步地,用户标识所对应的终端在推荐消息被触发时展示视频推荐封面,并在展示视频推荐封面后播放目标视频。具体地,用户标识所对应的终端可以在展示视频推荐封面满足预设时长后直接播放目标视频。用户标识所对应的终端也可以在接收到对所展示的视频推荐封面中的视频播放入口的触发操作时,播放目标视频。以图3中的视频推荐封面为例,终端在接收到对图3中所展示的视频推荐封面中的视频触发入口—“点击观看”按钮时,则播放目标视频。Further, the terminal corresponding to the user identifier displays the video recommendation cover when the recommendation message is triggered, and plays the target video after displaying the video recommendation cover. Specifically, the terminal corresponding to the user identifier may directly play the target video after the video recommendation cover is displayed for a preset duration. The terminal corresponding to the user identifier may also play the target video when receiving a trigger operation on the video play entry in the displayed video recommendation cover. Taking the video recommendation cover in FIG. 3 as an example, when the terminal receives the video trigger entry “click to watch” button in the video recommendation cover shown in FIG. 3, the target video is played.
上述视频推荐方法,设置了视频推荐封面模板,通过在视频推荐封面模板中输入的自定义内容,生成视频推荐封面。该视频推荐封面就包括了关于视频的一定信息量。根据视频推荐封面生成针对目标视频的推荐消息并发送至用户标识所对应的终端,使终端在推荐消息被触发时展示视频推荐封面,并在展示视频推荐封面后播放目标视频。被推荐方在触发推荐消息时,通过所展示的视频推荐封面可以了解到目标视频的相关信息,提高了视频分享时所传达的信息量。In the above video recommendation method, a video recommendation cover template is set, and a video recommendation cover is generated by the customized content input in the video recommendation cover template. The video recommendation cover includes a certain amount of information about the video. The recommendation message for the target video is generated according to the video recommendation cover and sent to the terminal corresponding to the user identifier, so that the terminal displays the video recommendation cover when the recommendation message is triggered, and plays the target video after displaying the video recommendation cover. When the recommended party triggers the recommendation message, the recommended content of the video can be found through the recommended cover of the displayed video, and the amount of information conveyed by the video sharing is improved.
在一个实施例中,该方法还包括附加内容添加步骤,具体包括以下步骤:接收附加内容添加指令;响应于附加内容添加指令,获取选择的目标视频的播放时间节点;获取添加的与播放时间节点对应的附加内容;将附加内容和对应的播放时间节点发送至用户标识所对应的终端,使该终端在播放目标视频至播放时间节点时展示附加内容。In an embodiment, the method further includes an additional content adding step, specifically comprising the steps of: receiving an additional content adding instruction; acquiring a playing time node of the selected target video in response to the additional content adding instruction; acquiring the added and playing time node Corresponding additional content; sending the additional content and the corresponding playing time node to the terminal corresponding to the user identifier, so that the terminal displays the additional content when playing the target video to the playing time node.
其中,附加内容,是附加的、且与目标视频的播放内容具有关联关系的内容。与播放内容具有关联关系的内容,可以包括与该播放内容具有点评关 系和/或具有解释说明关系的内容。附加内容的类型可以是图片、文字和音视频等中的至少一种。The additional content is content that is attached and has an associated relationship with the played content of the target video. The content associated with the playback content may include content having a review relationship and/or an explanatory relationship with the playback content. The type of the additional content may be at least one of a picture, a text, an audio, and the like.
与该播放内容具有点评关系的内容,包括对播放内容进行观感分享的内容和对播放内容的穿帮镜头进行评价的内容。观感分享,是分享观看播放内容后产生的感受。与播放内容具有解释说明关系的内容,是用于帮助理解播放内容的内容。与播放内容具有解释说明关系的内容,可以包括对播放内容中的一些故事背景或特殊词汇或人物信息进行解释说明的内容,比如,在目标视频中播放了霍金,则可以添加对霍金进行介绍的附加内容。The content having the comment relationship with the play content includes content that is shared by the play content and content that evaluates the wearable lens of the play content. The sharing of feelings is the feeling of sharing the content after watching the content. The content that has an explanatory relationship with the playback content is content that is used to help understand the content being played. The content with explanatory relationship with the playing content may include content explaining some story background or special vocabulary or character information in the playing content. For example, if Hawking is played in the target video, the introduction of Hawking may be added. Additional content.
在一个实施例中,第一终端可以在播放目标视频的过程中,接收作用于目标视频的播放界面上的附加内容添加指令,响应于附加内容添加指令,获取选择的目标视频的播放时间节点。In an embodiment, the first terminal may receive an additional content adding instruction acting on the playing interface of the target video during the playing of the target video, and acquire a playing time node of the selected target video in response to the additional content adding instruction.
具体地,推荐目标视频的用户可以在播放目标视频的过程中,对附加内容添加入口进行触发操作,以生成附加内容添加指令。第一终端可以在获取附加内容添加指令后,获取在目标视频的播放界面的播放时间轴上选择的需要添加附加内容的播放时间节点,也可以获取在对附加内容添加入口进行触发操作时,该目标视频所播放至的播放时间节点,作为选择的目标视频的播放时间节点。Specifically, the user who recommends the target video may perform a trigger operation on the additional content adding entry during the playback of the target video to generate an additional content adding instruction. After acquiring the additional content adding instruction, the first terminal may acquire a playing time node selected to be added on the playing time axis of the playing interface of the target video, or may acquire a triggering operation when adding the additional content to the additional content. The play time node to which the target video is played as the play time node of the selected target video.
在一个实施例中,第一终端可以播放目标视频时,在播放界面显示视频推荐触发控件,当检测到针对视频推荐触发控件的触发操作时,在目标视频的播放界面上显示附加内容添加控件。第一终端检测到针对附加内容添加控件的触发操作时,生成相应的附加内容添加指令。In an embodiment, when the first terminal can play the target video, the video recommendation trigger control is displayed on the play interface, and when the trigger operation for the video recommendation trigger control is detected, the additional content adding control is displayed on the play interface of the target video. When the first terminal detects a trigger operation for adding an additional content control, a corresponding additional content addition instruction is generated.
图4为一个实施例中生成附加内容添加指令的界面示意图。参照图4,目标视频的播放界面上显示视频推荐触发控件402,当检测到针对视频推荐触发控件402的触发操作时,在目标视频的播放界面上显示附加内容添加控件404,第一终端检测到针对附加内容添加控件404的触发操作时,生成相应的附加内容添加指令。4 is a schematic diagram of an interface for generating an additional content addition instruction in one embodiment. Referring to FIG. 4, the video recommendation triggering control 402 is displayed on the playing interface of the target video. When the triggering operation for the video recommendation triggering control 402 is detected, the additional content adding control 404 is displayed on the playing interface of the target video, and the first terminal detects When a trigger operation of the additional content adding control 404 is added, a corresponding additional content adding instruction is generated.
进一步地,第一终端可以接收用户添加的与播放时间节点对应的附加内 容。具体地,第一终端可以在检测到针对附加内容添加控件的触发操作时,生成相应的附加内容添加指令,并显示附加内容添加框,获取在该附加内容添加框中输入的与播放时间节点对应的附加内容。Further, the first terminal may receive additional content added by the user corresponding to the play time node. Specifically, the first terminal may generate a corresponding additional content adding instruction when detecting a triggering operation for adding the control to the additional content, and display an additional content adding box to obtain a corresponding to the playing time node input in the additional content adding box. Additional content.
可以理解,在其它实施例中,第一终端也可以获取附加内容添加指令,响应于附加内容添加指令,生成目标视频的播放时间节点的选择界面,该选择界面中第一终端可以接收输入的播放时间节点。也就是说,用户可以在选择界面中直接输入所需要添加附加内容的播放时间节点,比如用户可以直接输入第23分55秒这一播放时间节点。这样一来,就不需要播放目标视频就可以选择该目标视频的播放时间节点,节省播放流量,也提高了附加内容的添加效率。It can be understood that, in other embodiments, the first terminal may also acquire an additional content adding instruction, and in response to the additional content adding instruction, generate a selection interface of the playing time node of the target video, where the first terminal may receive the input playing. time frame. That is to say, the user can directly input the play time node of the additional content to be added in the selection interface, for example, the user can directly input the play time node of the 23rd minute and 55th second. In this way, the playback time node of the target video can be selected without playing the target video, the playback traffic is saved, and the addition efficiency of the additional content is also improved.
在一个实施例中,第一终端可以直接将附加内容和所对应的播放时间节点发送至用户标识所对应的终端。具体地,第一终端可以在步骤S212之前,将附加内容和所对应的播放时间节点发送至用户标识所对应的终端。第一终端也可以在步骤S212之后,将附加内容和所对应的播放时间节点发送至用户标识所对应的终端。In an embodiment, the first terminal may directly send the additional content and the corresponding play time node to the terminal corresponding to the user identifier. Specifically, the first terminal may send the additional content and the corresponding play time node to the terminal corresponding to the user identifier before step S212. The first terminal may also send the additional content and the corresponding play time node to the terminal corresponding to the user identifier after step S212.
可以理解,用户标识所对应的终端在接收附加内容和所对应的播放时间节点之前,播放目标视频时,由于没有附加内容和相应的播放时间节点,则不会在目标视频播放到该播放时间节点时,展示相应附加内容。当用户标识所对应的终端在接收附加内容和所对应的播放时间节点后,播放目标视频时,则会在目标视频播放到该播放时间节点时,展示相应的附加内容。It can be understood that, when the terminal corresponding to the user identifier plays the target video before receiving the additional content and the corresponding playing time node, since there is no additional content and a corresponding playing time node, the target video is not played to the playing time node. Show the corresponding additional content. When the terminal corresponding to the user identifier plays the target video after receiving the additional content and the corresponding playing time node, the corresponding additional content is displayed when the target video is played to the playing time node.
在另一个实施例中,第一终端可以将附加内容和所对应的播放时间节点发送至服务器,使服务器将附加内容和所对应的播放时间节点对应存储。进一步地,服务器可以将附加内容和所对应的播放时间节点发送至用户标识所对应的终端,使该终端在播放目标视频至播放时间节点时展示附加内容。In another embodiment, the first terminal may send the additional content and the corresponding play time node to the server, so that the server stores the additional content and the corresponding play time node correspondingly. Further, the server may send the additional content and the corresponding play time node to the terminal corresponding to the user identifier, so that the terminal displays the additional content when playing the target video to the play time node.
同样地,第一终端也可以在将视频推荐封面发送至服务器之前,将附加内容和所对应的播放时间节点发送至服务器,也可以在将视频推荐封面发送至服务器之后,将附加内容和所对应的播放时间节点发送至服务器。Similarly, the first terminal may also send the additional content and the corresponding playing time node to the server before sending the video recommendation cover to the server, or may send the additional content and the corresponding content after sending the video recommended cover to the server. The play time node is sent to the server.
可以理解,当第一终端是在将视频推荐封面发送至服务器之前,将附加内容和所对应的播放时间节点发送至服务器,则服务器可以是先将附加内容和所对应的播放时间节点对应存储,在之后接收到视频推荐封面后,再将附加内容和所对应的播放时间节点与视频推荐封面进行配置存储。当第一终端是在将视频推荐封面发送至服务器之后,将附加内容和所对应的播放时间节点发送至服务器,则服务器可以将视频推荐封面和播放时间节点和所对应的附加内容进行对应配置存储。It can be understood that, when the first terminal sends the additional content and the corresponding playing time node to the server before sending the video recommendation cover to the server, the server may first store the additional content and the corresponding playing time node correspondingly, After receiving the video recommendation cover, the additional content and the corresponding play time node and the video recommendation cover are configured and stored. After the first terminal sends the video recommendation cover to the server, and sends the additional content and the corresponding play time node to the server, the server may store the video recommendation cover and the play time node and the corresponding additional content correspondingly. .
上述实施例中,可以针对目标视频,添加附加内容,提高了推荐的信息量。此外,在播放目标视频至播放时间节点时展示附加内容,实现了目标视频的播放内容与附加内容的关联展示,进一步地提高附加内容所表达的意思的准确性,从而提高附加内容所表达的信息量。In the above embodiment, additional content may be added to the target video, and the recommended amount of information is improved. In addition, when the target video is played to the play time node, the additional content is displayed, and the associated display of the target video and the additional content is realized, thereby further improving the accuracy of the meaning expressed by the additional content, thereby improving the information expressed by the additional content. the amount.
在一个实施例中,用户标识为社交网络平台用户标识。步骤S212包括:通过视频客户端发送推荐消息至目标视频客户端所运行的终端,使目标视频客户端在推荐消息被触发时展示视频推荐封面,并在展示视频推荐封面后播放目标视频,其中,目标视频客户端为社交网络平台用户标识登录的视频客户端。In one embodiment, the user identification is a social network platform user identification. Step S212 includes: sending a recommendation message to the terminal running by the target video client by the video client, so that the target video client displays the video recommendation cover when the recommendation message is triggered, and plays the target video after displaying the video recommendation cover, where The target video client identifies the video client for the social network platform user identification login.
其中,社交网络(Social Network Service)平台,是通过网络实现社交的平台,比如微信等即时通信平台或微博等。Among them, the social network service platform is a platform for socializing through a network, such as an instant messaging platform such as WeChat or Weibo.
具体地,视频客户端可以通过社交网络平台用户标识进行登录。第一终端可以通过推荐目标视频的社交网络平台用户标识登录视频客户端,并通过视频客户端发送推荐消息至接收目标视频的社交网络平台用户标识登录的目标视频客户端所运行的终端。Specifically, the video client can log in through the social network platform user identification. The first terminal may log in to the video client by using the social network platform user identifier of the recommended target video, and send the recommendation message to the terminal operated by the target video client to which the social network platform user identifier of the target video is registered is sent by the video client.
在一个实施例中,推荐目标视频的社交网络平台用户标识所对应的用户与接收目标视频的社交网络平台用户标识所对应的用户,在社交网络平台中存在好友关系。In an embodiment, the user corresponding to the social network platform user identifier of the recommended target video and the user corresponding to the social network platform user identifier receiving the target video have a friend relationship in the social network platform.
上述实施例中,将视频播放平台与社交网络平台结合,实现在社交网络中对视频的推荐,提高了视频推荐的广泛性,更加有利于资源的推荐和分享。In the above embodiment, the video playing platform is combined with the social network platform to implement the recommendation of the video in the social network, which improves the wideness of the video recommendation, and is more conducive to the recommendation and sharing of resources.
图5为另一个实施例中视频推荐方法的流程示意图。本实施例主要以该视频推荐方法应用于计算机设备为例,该计算机设备可以是图1中的第二终端130或第一终端110,参照图5,该方法具体包括以下步骤:FIG. 5 is a schematic flow chart of a video recommendation method in another embodiment. This embodiment is mainly applied to the computer device in the video recommendation method. The computer device may be the second terminal 130 or the first terminal 110 in FIG. 1 . Referring to FIG. 5 , the method specifically includes the following steps:
S502,根据当前登录的用户标识,接收按照用户标识发送的针对目标视频的推荐消息。S502. Receive, according to the currently logged user identifier, a recommendation message for the target video that is sent according to the user identifier.
其中,当前登录的用户标识,是接收被推荐的目标视频的用户的用户标识。按照用户标识发送推荐消息,是将推荐消息发送至用户标识所登录的终端。按照用户标识发送的推荐消息,是发送至用户标识所登录的终端的推荐消息。The currently logged in user identifier is the user identifier of the user who receives the recommended target video. The recommendation message is sent according to the user identifier, and the recommendation message is sent to the terminal where the user identifier is logged in. The recommendation message sent according to the user identifier is a recommendation message sent to the terminal to which the user identifier is logged in.
在一个实施例中,推荐消息可以包括视频推荐封面、用户标识和目标视频的标识。可以理解,推荐消息中包括的用户标识,是指接收被推荐的目标视频的用户的用户标识。In one embodiment, the recommendation message may include a video recommendation cover, a user identification, and an identification of the target video. It can be understood that the user identifier included in the recommendation message refers to the user identifier of the user who receives the recommended target video.
具体地,第一终端按照登录于第二终端的用户标识发送针对目标视频的推荐消息,第二终端根据当前登录的该用户标识接收该针对目标视频的推荐消息。可以理解,第一终端可以按照登录于第二终端的用户标识直接发送针对目标视频的推荐消息至第二终端。第一终端也可以向服务器发送视频推荐请求,通过服务器生成针对目标视频的推荐消息,并通过服务器按照登录于第二终端的用户标识将针对目标视频的推荐消息发送至第二终端。Specifically, the first terminal sends a recommendation message for the target video according to the user identifier that is logged in to the second terminal, and the second terminal receives the recommendation message for the target video according to the currently logged-in user identifier. It can be understood that the first terminal can directly send the recommendation message for the target video to the second terminal according to the user identifier that is logged in to the second terminal. The first terminal may also send a video recommendation request to the server, generate a recommendation message for the target video through the server, and send a recommendation message for the target video to the second terminal by the server according to the user identifier logged in to the second terminal.
S504,检测针对推荐消息的触发指令。S504. Detect a trigger instruction for the recommendation message.
具体地,接收被推荐的目标视频的用户可以通过第二终端对推荐消息进行触发操作(比如,点击操作、长按操作或者滑动操作等),以生成针对推荐消息的触发指令。Specifically, the user who receives the recommended target video may perform a triggering operation (such as a click operation, a long press operation, or a sliding operation, etc.) on the recommendation message by the second terminal to generate a trigger instruction for the recommendation message.
S506,根据触发指令,解析推荐消息获得视频推荐封面;视频推荐封面根据视频推荐封面模板和在视频封面推荐模板中输入的自定义内容生成。S506: parse the recommendation message according to the trigger instruction to obtain a video recommendation cover; the video recommendation cover is generated according to the video recommendation cover template and the customized content input in the video cover recommendation template.
具体地,推荐消息中包括视频推荐封面,第二终端根据触发指令,解析推荐消息得到视频推荐封面。Specifically, the recommendation message includes a video recommendation cover, and the second terminal parses the recommendation message according to the trigger instruction to obtain a video recommendation cover.
其中,视频推荐封面是推荐目标视频的第一终端根据视频推荐封面模板 和在视频推荐封面模板中输入的自定义内容生成。视频推荐封面模板,是预先设置的用于生成视频推荐封面的模板。可以理解,在视频推荐封面模板中添加内容可以生成视频推荐封面。视频推荐封面,是在播放目标视频之前展示的、且用于推荐目标视频的页面。The video recommendation cover is a first terminal of the recommended target video generated according to the video recommendation cover template and the customized content input in the video recommendation cover template. The video recommendation cover template is a preset template for generating a video recommendation cover. It can be understood that adding a content in the video recommendation cover template can generate a video recommendation cover. The video recommendation cover is a page that is displayed before the target video is played and is used to recommend the target video.
S508,展示视频推荐封面。S508, showing the video recommendation cover.
在一个实施例中,展示的视频推荐封面中包括输入的自定义内容和视频封面模板的信息。In one embodiment, the displayed video recommendation cover includes information of the entered custom content and the video cover template.
在另一个实施例中,当自定义内容不包括视频属性信息时,展示的视频推荐封面中可以包括输入的自定义内容、视频封面模板的信息和视频属性信息。In another embodiment, when the customized content does not include the video attribute information, the displayed video recommendation cover may include the input customized content, the video cover template information, and the video attribute information.
S510,在展示视频推荐封面之后,播放目标视频。S510, after displaying the video recommendation cover, playing the target video.
具体地,第二终端可以在展示视频推荐封面满足预设时长后直接播放目标视频。第二终端也可以在接收到对所展示的视频推荐封面中的视频播放入口的触发操作时,播放目标视频。以图3中的视频推荐封面为例,终端在接收到对图3中所展示的视频推荐封面中的视频触发入口—“点击观看”按钮时,则播放目标视频。Specifically, the second terminal may directly play the target video after the video recommendation cover is displayed for a preset duration. The second terminal may also play the target video when receiving a triggering operation on the video play entry in the displayed video recommendation cover. Taking the video recommendation cover in FIG. 3 as an example, when the terminal receives the video trigger entry “click to watch” button in the video recommendation cover shown in FIG. 3, the target video is played.
在一个实施例中,视频推荐封面中包括回复入口,第二终端可以检测对该回复入口的触发操作,进行回复处理。In one embodiment, the video recommendation cover includes a reply entry, and the second terminal may detect a trigger operation of the reply entry and perform a reply process.
上述实施例中,在检测到针对目标视频的触发指令时,可以展示目标视频所对应的视频推荐封面,其中,视频推荐封面根据视频推荐封面模板和在视频封面推荐模板中针对目标视频输入的自定义内容生成。该视频推荐封面就包括了关于视频的一定信息量。通过所展示的视频推荐封面可以了解到目标视频的相关信息,提高了视频分享时所传达的信息量。In the above embodiment, when the trigger instruction for the target video is detected, the video recommendation cover corresponding to the target video may be displayed, wherein the video recommendation cover is based on the video recommendation cover template and the target video input in the video cover recommendation template. Define content generation. The video recommendation cover includes a certain amount of information about the video. The recommended cover of the video can be used to understand the information about the target video, which improves the amount of information conveyed during video sharing.
在一个实施例中,步骤S510包括:检测作用于视频推荐封面的视频播放触发操作;响应于视频播放触发操作,发送针对目标视频的视频获取请求;接收响应于视频获取请求返回的目标视频;播放返回的目标视频。In an embodiment, step S510 includes: detecting a video play triggering operation applied to the video recommendation cover; transmitting a video acquisition request for the target video in response to the video playback triggering operation; receiving the target video returned in response to the video acquisition request; playing The target video returned.
其中,视频播放触发操作,是用于触发播放目标视频的操作。视频播放 触发操作包括作用于视频推荐封面的视频播放入口的触发操作。The video playback trigger operation is an operation for triggering playback of the target video. Video Playback The trigger action includes a trigger action on the video play entry of the video recommendation cover.
在一个实施例中,第二终端可以响应于视频播放触发操作,获取针对目标视频的推荐消息中的目标视频的标识,根据该目标视频的标识生成针对目标视频的视频获取请求。第二终端将该视频获取请求发送至服务器,服务器响应于该视频获取请求,根据该视频获取请求中的目标视频的标识查找到目标视频,并将目标视频返回至第二终端。第二终端播放返回的目标视频。In an embodiment, the second terminal may acquire an identifier of the target video in the recommendation message for the target video in response to the video play triggering operation, and generate a video acquisition request for the target video according to the identifier of the target video. The second terminal sends the video acquisition request to the server, and the server, in response to the video acquisition request, finds the target video according to the identifier of the target video in the video acquisition request, and returns the target video to the second terminal. The second terminal plays the returned target video.
在另一个实施例中,第二终端可以响应于视频播放触发操作,获取视频推荐封面的标识,根据该视频推荐封面的标识生成针对目标视频的视频获取请求。第二终端将该视频获取请求发送至服务器,服务器中存储有视频推荐封面的标识和目标视频的标识之间的对应关系,根据该视频获取请求中的视频推荐封面的标识获取所对应的目标视频的标识,根据该目标视频的标识查找到目标视频,并将目标视频返回至第二终端。第二终端播放返回的目标视频。In another embodiment, the second terminal may obtain an identifier of the video recommendation cover in response to the video play triggering operation, and generate a video acquisition request for the target video according to the identifier of the video recommendation cover. The second terminal sends the video acquisition request to the server, where the server stores the correspondence between the identifier of the video recommendation cover and the identifier of the target video, and obtains the corresponding target video according to the identifier of the video recommendation cover in the video acquisition request. The identifier of the target video is found according to the identifier of the target video, and the target video is returned to the second terminal. The second terminal plays the returned target video.
上述实施例中,在检测作用于视频推荐封面的视频播放触发操作后,再请求获取目标视频并播放,避免了直接播放目标视频造成的流量浪费。In the above embodiment, after detecting the video playback triggering action applied to the video recommendation cover, the target video is requested to be played and played, thereby avoiding waste of traffic caused by directly playing the target video.
在一个实施例中,该方法还包括:获取与视频推荐封面对应配置的播放时间节点;在播放的目标视频上显示播放时间节点对应的视频图像时,展示与播放时间节点对应的附加内容。In an embodiment, the method further includes: acquiring a play time node configured corresponding to the video recommendation cover; and displaying the additional content corresponding to the play time node when displaying the video image corresponding to the play time node on the played target video.
其中,播放时间节点,是目标视频的播放时间节点。与播放时间节点对应的附加内容,是与播放时间节点所对应的播放内容具有关联关系的附加内容。播放的目标视频上显示播放时间节点对应的视频图像,可以是目标视频播放至播放时间节点时所显示的视频图像,也可以是目标视频实质上未播放至播放时间节点、但在目标视频上覆盖与播放时间节点对应的视频图像。The play time node is a play time node of the target video. The additional content corresponding to the play time node is additional content having a relationship with the play content corresponding to the play time node. The video image corresponding to the playing time node is displayed on the target video, which may be a video image displayed when the target video is played to the playing time node, or the target video may not be played to the playing time node substantially, but the target video is overwritten. A video image corresponding to the play time node.
在一个实施例中,针对目标视频的推荐消息中包括与视频推荐封面对应配置的播放时间节点。第二终端可以解析推荐消息,获取与视频推荐封面对应配置的播放时间节点。In one embodiment, the recommendation message for the target video includes a play time node configured corresponding to the video recommendation cover. The second terminal may parse the recommendation message to obtain a play time node configured corresponding to the video recommendation cover.
在另一个实施例中,第二终端可以接收响应于视频获取请求返回的与视 频推荐封面对应配置的播放时间节点。具体地,第二终端可以发送针对目标视频的视频获取请求至服务器,其中,视频获取请求中包括视频推荐封面的标识,服务器中预先存储了视频推荐封面的标识和目标视频的播放时间节点之间的配置关系,根据该配置关系,服务器可以获取与视频推荐封面对应配置的播放时间节点,并将获取的与视频推荐封面对应配置的播放时间节点返回至第二终端。In another embodiment, the second terminal may receive a play time node configured in response to the video recommendation request and corresponding to the video recommendation cover. Specifically, the second terminal may send a video acquisition request for the target video to the server, where the video acquisition request includes an identifier of the video recommendation cover, and the server pre-stores the identifier of the video recommendation cover and the playback time node of the target video. According to the configuration relationship, the server may obtain a play time node configured corresponding to the video recommendation cover, and return the acquired play time node corresponding to the video recommendation cover to the second terminal.
进一步地,第二终端在播放的目标视频上显示播放时间节点对应的视频图像时,展示与播放时间节点对应的附加内容。Further, when the second terminal displays the video image corresponding to the play time node on the played target video, the additional content corresponding to the play time node is displayed.
在一个实施例中,第二终端可以接收响应于视频获取请求返回的与视频推荐封面对应配置的播放时间节点,以及与该播放时间节点对应的附加内容(即第二终端可以在获取与视频推荐封面对应配置的播放时间节点的同时,获取该播放时间节点对应的附加内容)。第二终端在播放的目标视频上显示播放时间节点对应的视频图像时,再将该附加内容进行展示。In an embodiment, the second terminal may receive a play time node configured corresponding to the video recommendation cover returned in response to the video acquisition request, and additional content corresponding to the play time node (ie, the second terminal may obtain the video recommendation The cover corresponds to the configured play time node, and the additional content corresponding to the play time node is acquired. When the second terminal displays the video image corresponding to the playing time node on the played target video, the additional content is displayed.
在另一个实施例中,在播放的目标视频上显示播放时间节点对应的视频图像时,展示与播放时间节点对应的附加内容包括:当播放目标视频至距播放时间节点前预设时长的时间点时,则发送附加内容获取请求;接收响应于附加内容获取请求返回的与播放时间节点对应的附加内容;当播放目标视频至播放时间节点时,展示所接收的附加内容。In another embodiment, when displaying the video image corresponding to the playing time node on the played target video, displaying the additional content corresponding to the playing time node includes: when the target video is played to a preset time before the playing time node And sending an additional content acquisition request; receiving the additional content corresponding to the play time node returned in response to the additional content acquisition request; and displaying the received additional content when playing the target video to the play time node.
具体地,第二终端可以当播放目标视频至距播放时间节点前预设时长的时间点时,发送附加内容获取请求至服务器。其中,附加内容获取请求中包括播放时间节点。服务器响应于附加内容获取请求获取与该播放时间节点对应的附加内容,并将附加内容返回至第二终端。第二终端当播放目标视频至该播放时间节点时,展示所接收的附加内容。Specifically, the second terminal may send an additional content acquisition request to the server when the target video is played to a time point preset by a time before the playing time node. The additional content acquisition request includes a play time node. The server acquires the additional content corresponding to the play time node in response to the additional content acquisition request, and returns the additional content to the second terminal. The second terminal displays the received additional content when playing the target video to the play time node.
在其它实施例中,第二终端还可以在播放目标视频至播放时间节点时,发送携带播放时间节点的附加内容获取请求,接收响应于附加内容获取请求返回的与播放时间节点对应的附加内容。第二终端在播放的目标视频上显示播放时间节点对应的视频图像时,再将该附加内容进行展示。In other embodiments, the second terminal may further send an additional content acquisition request carrying the play time node when playing the target video to the play time node, and receive the additional content corresponding to the play time node returned in response to the additional content acquisition request. When the second terminal displays the video image corresponding to the playing time node on the played target video, the additional content is displayed.
在一个实施例中,当播放目标视频至播放时间节点时,展示所接收的附加内容包括:当播放目标视频至播放时间节点时,则在播放界面提供用于触发展示附加内容的触发入口,当检测到对触发入口的触发操作时,展示所接收的附加内容。In one embodiment, when playing the target video to the play time node, displaying the received additional content includes: when playing the target video to the play time node, providing a trigger entry for triggering the display of the additional content on the play interface, when The additional content received is displayed when a triggering operation on the trigger entry is detected.
其中,用于触发展示附加内容的触发入口可以在播放界面中以图标或者按钮等形式进行显示。对触发入口的触发操作可以是点击、按压、长按并拖动或者滑动等操作。The trigger entry for triggering the display of the additional content may be displayed in the form of an icon or a button in the play interface. The triggering operation for the trigger entry may be a click, a press, a long press, a drag, or a slide.
上述实施例中,除了展示目标视频,还可以展示附加内容,提高了推荐的信息量。In the above embodiment, in addition to displaying the target video, additional content can be displayed, which improves the amount of information recommended.
在一个实施例中,展示与播放时间节点对应的附加内容包括:在播放的目标视频的预设位置处,叠加子窗口;子窗口的尺寸小于目标视频的播放界面的尺寸;在子窗口中,展示与播放时间节点对应的附加内容。In an embodiment, displaying the additional content corresponding to the play time node includes: superimposing the sub-window at a preset position of the played target video; the size of the sub-window is smaller than the size of the play interface of the target video; in the sub-window, Show additional content corresponding to the play time node.
其中,子窗口,是尺寸小于目标视频的播放界面的尺寸的、且叠加于目标视频之上的窗口。播放的目标视频的预设位置,是目标视频的播放界面中的预设位置。The sub-window is a window that is smaller in size than the playback interface of the target video and superimposed on the target video. The preset position of the target video to be played is the preset position in the playback interface of the target video.
具体地,第二终端可以确定目标视频的播放界面的预设位置,在该预设位置处,叠加子窗口。进一步地,第二终端可以在子窗口中,展示与播放时间节点对应的附加内容。Specifically, the second terminal may determine a preset position of the play interface of the target video, where the sub-window is superimposed. Further, the second terminal may display additional content corresponding to the play time node in the child window.
图6A至图6B为一个实施例中触发展示附加内容的界面示意图。参照图6A,当播放目标视频至播放时间节点时,在播放界面上显示用于触发展示附加内容的附加内容展示图标602,该图标602对应于用于触发展示附加内容的触发入口。用户点击该图标602,则在播放界面上预设位置处,叠加子窗口604。在子窗口604中,展示与播放时间节点对应的附加内容,如图6B所示。6A-6B are schematic diagrams of interfaces that trigger the display of additional content in one embodiment. Referring to FIG. 6A, when the target video is played to the play time node, an additional content display icon 602 for triggering the display of the additional content is displayed on the play interface, the icon 602 corresponding to a trigger entry for triggering the display of the additional content. When the user clicks the icon 602, the sub-window 604 is superimposed at a preset position on the playback interface. In the sub-window 604, additional content corresponding to the play time node is displayed, as shown in Fig. 6B.
上述实施例中,在子窗口中,展示与播放时间节点对应的附加内容时,目标视频的播放界面显示的是播放时间节点对应的视频图像,这样一来,就实现了将目标视频的播放时间节点的播放内容与该播放时间节点对应的附加 内容进行关联显示,以提高附加内容所表达的意思的准确性,从而提高附加内容所表达的信息量。In the above embodiment, when the additional content corresponding to the play time node is displayed in the sub-window, the play interface of the target video displays the video image corresponding to the play time node, so that the play time of the target video is realized. The play content of the node is displayed in association with the additional content corresponding to the play time node to improve the accuracy of the meaning expressed by the additional content, thereby increasing the amount of information expressed by the additional content.
在一个实施例中,获取与视频推荐封面对应配置的播放时间节点包括:获取针对目标视频的、且与视频推荐封面对应配置的播放时间节点的集合;展示集合中的播放时间节点各自相应的缩略图;检测到针对缩略图的选中指令时,确定选中指令所针对的缩略图所对应的播放时间节点。In an embodiment, acquiring the play time node corresponding to the video recommendation cover comprises: acquiring a set of play time nodes configured for the target video and corresponding to the video recommendation cover; and respectively displaying the play time nodes in the set Thumbnail; when the selected instruction for the thumbnail is detected, the playback time node corresponding to the thumbnail for which the instruction is selected is determined.
在一个实施例中,针对目标视频的推荐消息中包括针对目标视频的、且与视频推荐封面对应配置的播放时间节点的集合。第二终端可以获取推荐消息中包括的针对目标视频的、且与视频推荐封面对应配置的播放时间节点的集合。In one embodiment, the recommendation message for the target video includes a set of play time nodes for the target video and configured corresponding to the video recommendation cover. The second terminal may acquire a set of play time nodes configured for the target video and corresponding to the video recommendation cover included in the recommendation message.
在另一个实施例中,第二终端可以接收响应于视频获取请求返回的针对目标视频的、且与视频推荐封面对应配置的播放时间节点的集合。In another embodiment, the second terminal may receive a set of play time nodes for the target video that are returned in response to the video acquisition request and configured corresponding to the video recommendation cover.
第二终端可以将播放时间节点的集合中的各播放时间节点以相应的缩略图的形式进行展示。在一个实施例中,第二终端可以在界面上显示用于触发查看播放时间节点的集合的图标,当检测到对该图标的触发操作时,则生成二级页面,在该二级页面中展示集合中的播放时间节点各自相应的缩略图。接收被推荐的目标视频的用户可以直接对各播放时间节点的缩略图进行选中操作,第二终端检测到针对缩略图的选中指令时,确定选中指令所针对的缩略图所对应的播放时间节点。The second terminal may display each play time node in the set of play time nodes in the form of a corresponding thumbnail. In an embodiment, the second terminal may display an icon for triggering viewing of the set of playing time nodes on the interface, and when detecting the triggering operation on the icon, generate a secondary page, and display the secondary page. The corresponding time thumbnails of the playback time nodes in the collection. The user receiving the recommended target video may directly perform a selection operation on the thumbnail of each play time node, and when the second terminal detects the selected instruction for the thumbnail, determine the play time node corresponding to the thumbnail for which the selected instruction is directed.
进一步地,在一个实施例中,在播放的目标视频上显示播放时间节点对应的视频图像时,展示与播放时间节点对应的附加内容包括:根据选中指令所针对的缩略图所对应的播放时间节点,将目标视频跳转播放,当目标视频跳转播放至播放时间节点时,展示所接收的附加内容。Further, in an embodiment, when displaying the video image corresponding to the play time node on the played target video, displaying the additional content corresponding to the play time node includes: playing time node corresponding to the thumbnail image targeted by the selected instruction The target video jumps to play, and when the target video jumps to the play time node, the received additional content is displayed.
具体地,第二终端可以将目标视频跳转播放至选中指令所针对的缩略图所对应的播放时间节点,展示与播放时间节点对应的附加内容。第二终端可以在将目标视频跳转播放至选中指令所针对的缩略图所对应的播放时间节点时,触发执行发送附加内容获取请求的步骤,接收响应于附加内容获取请求 返回的与播放时间节点对应的附加内容并展示。可以理解,当与播放时间节点对应的附加内容在播放时间节点被选中前就已经被第二终端获取了,第二终端则可以直接将已获取的与选中的播放时间节点对应的附加内容进行展示。Specifically, the second terminal may play the target video to the play time node corresponding to the thumbnail for which the selected instruction is directed, and display additional content corresponding to the play time node. The second terminal may trigger the step of executing the sending the additional content acquisition request when the target video jumps to the play time node corresponding to the thumbnail for which the selected instruction is directed, and receive the playback time node in response to the additional content acquisition request. Corresponding additional content and display. It can be understood that when the additional content corresponding to the play time node is already acquired by the second terminal before the play time node is selected, the second terminal may directly display the acquired additional content corresponding to the selected play time node. .
第二终端也可以将目标视频跳转播放至距播放时间节点前预设时长的时间点,触发执行发送附加内容获取请求的步骤;接收响应于附加内容获取请求返回的与播放时间节点对应的附加内容;当播放目标视频至播放时间节点时,展示所接收的附加内容。The second terminal may also play the target video to the time point of the preset time before the playing time node, trigger the step of executing the sending additional content obtaining request, and receive the additional corresponding to the playing time node returned in response to the additional content obtaining request. Content; when the target video is played to the play time node, the received additional content is displayed.
图7为一个实施例中播放时间节点获取的界面示意图。参照图7,界面上的图标702是用于触发查看播放时间节点的集合的图标。针对目标视频的、且与视频推荐封面对应设置的播放时间节点有3个,即在目标视频的3个播放时间节点处有对应的附加内容。用户点击图标702,则可以生成二级页面p,在二级页面p中展示集合中的播放时间节点各自相应的缩略图,即展示缩略图1、缩略图2和缩略图3。当用户对缩略图1进行选中操作,则确定缩略图1所对应的播放时间节点,可以将目标视频跳转播放至距缩略图1所对应的播放时间节点(1小时10分15秒)的前预设时长(比如,前5秒)的时间点(1小时10分10秒),以触发执行发送附加内容获取请求的步骤,并接收响应于附加内容获取请求返回的与播放时间节点对应的附加内容;当播放目标视频至播放时间节点(1小时10分15秒)时,展示所接收的附加内容。FIG. 7 is a schematic diagram of an interface acquired by a play time node in an embodiment. Referring to Figure 7, an icon 702 on the interface is an icon for triggering a view of a set of viewing time nodes. There are three play time nodes for the target video and corresponding to the video recommendation cover, that is, there are corresponding additional content at the three play time nodes of the target video. When the user clicks on the icon 702, the secondary page p can be generated, and the corresponding thumbnails of the playing time nodes in the collection are displayed in the secondary page p, that is, the thumbnail 1, the thumbnail 2, and the thumbnail 3 are displayed. When the user selects the thumbnail 1 to determine the play time node corresponding to the thumbnail 1, the target video jump can be played to the play time node corresponding to the thumbnail 1 (1 hour, 10 minutes, 15 seconds). a time point (1 hour, 10 minutes, 10 seconds) of a preset duration (for example, the first 5 seconds) to trigger execution of the step of transmitting the additional content acquisition request, and receiving an additional corresponding to the playback time node in response to the additional content acquisition request Content; when the target video is played to the play time node (1 hour, 10 minutes, 15 seconds), the received additional content is displayed.
上述实施例中,在不需要播放完整的目标视频的情况下,通过检测对播放时间节点的相应缩略图的选中指令,将目标视频根据所选中的播放时间节点进行相应的跳转,以使得目标视频跳转播放至播放时间节点时,展示所接收的附加内容。避免了必须要按播放时间轴播放目标视频才能看到附加内容的限制,这样一来,就不需要再花费较多的时间成本和流量成本来观看目标视频,也可以查看到附加内容,使得附加内容的查看更加的灵活、快捷、且节省时间成本和流量成本。In the above embodiment, the target video is correspondingly jumped according to the selected play time node by detecting the selection instruction of the corresponding thumbnail of the play time node without playing the complete target video, so as to make the target The additional content received is displayed when the video jumps to the play time node. It avoids the need to play the target video by the play timeline to see the additional content limit, so that you don't need to spend more time and traffic costs to watch the target video, you can also view the additional content, so that additional Content viewing is more flexible, faster, and saves time and traffic costs.
在一个实施例中,在播放的目标视频上显示播放时间节点对应的视频图 像时,展示与播放时间节点对应的附加内容包括:将目标视频暂停播放;获取目标视频中与播放时间节点对应的视频图像;将视频图像覆盖于暂停播放的目标视频之上进行展示;展示与播放时间节点对应的附加内容。In an embodiment, when displaying the video image corresponding to the playing time node on the played target video, displaying the additional content corresponding to the playing time node includes: suspending the target video; acquiring the video corresponding to the playing time node in the target video. Image; overlays the video image over the target video that is paused for playback; displays additional content corresponding to the playback time node.
其中,与播放时间节点对应的视频图像,是目标视频在播放至该播放时间节点所要呈现的视频图像。可以理解,视频是由一系列连续的视频图像组成,各视频图像都有一个对应的播放时间节点,在视频播放至相应播放时间节点,所对应的视频图像被呈现。The video image corresponding to the play time node is a video image to be presented by the target video during playback to the play time node. It can be understood that the video is composed of a series of consecutive video images, each video image has a corresponding playing time node, and the corresponding video image is presented when the video is played to the corresponding playing time node.
上述实施例中,将目标视频暂停播放,将与播放时间节点对应的视频图像覆盖于暂停播放的目标视频之上进行展示,展示与播放时间节点对应的附加内容。不需要将目标视频播放至相应播放时间节点,即可以实现将播放时间节点的播放内容与附加内容的关联显示,节省了播放流量。In the above embodiment, the target video is paused, and the video image corresponding to the play time node is overlaid on the target video that is paused for display, and the additional content corresponding to the play time node is displayed. It is not necessary to play the target video to the corresponding playing time node, that is, the association display of the playing content of the playing time node and the additional content can be realized, which saves the playing traffic.
在一个实施例中,该方法还包括:当接收到针对展示的附加内容的关闭指令时,则去除目标视频上覆盖的视频图像;将目标视频从暂停播放时的位置起继续播放。In one embodiment, the method further comprises: when receiving the close instruction for the additional content of the presentation, removing the video image overlaid on the target video; and continuing to play the target video from the position when the playback was paused.
可以理解,去除目标视频上覆盖的视频图像后,目标视频的播放界面上显示的是暂停时所播放至的播放时间节点所对应的视频图像。将目标视频从暂停播放时的位置起继续播放,也就是将目标视频从暂停播放时所对应的播放时间节点继续连续播放。It can be understood that after the video image covered on the target video is removed, the video image corresponding to the playing time node played by the pause is displayed on the playing interface of the target video. The target video is resumed from the position when the playback is paused, that is, the target video continues to be continuously played from the playback time node corresponding to the pause playback.
上述实施例中,在接收到针对附加内容的关闭指令时,可以将目标视频从暂停播放时的位置起继续播放,使得目标视频的播放有序连续,而避免了播放跳转处理带来的播放混乱的情况。In the above embodiment, when the closing instruction for the additional content is received, the target video can be continuously played from the position when the playback is paused, so that the playback of the target video is sequential and continuous, and the playback by the playback jump processing is avoided. Confusing situation.
在一个实施例中,用户标识为社交网络平台用户标识。步骤S502包括:当视频客户端以社交网络平台用户标识登录时,通过视频客户端接收按照社交网络平台用户标识发送的针对目标视频的推荐消息。In one embodiment, the user identification is a social network platform user identification. Step S502 includes: receiving, by the video client, a recommendation message for the target video sent according to the social network platform user identifier when the video client logs in with the social network platform user identifier.
其中,按照社交网络平台用户标识发送的推荐消息,是发送至社交网络平台用户标识所登录的视频客户端的推荐消息。The recommendation message sent according to the user identifier of the social network platform is a recommendation message sent to the video client that is registered by the user identifier of the social network platform.
具体地,第二终端可以通过社交网络平台用户标识登录视频客户端,并 通过视频客户端接收按照社交网络平台用户标识发送的针对目标视频的推荐消息。Specifically, the second terminal may log in to the video client through the social network platform user identifier, and receive, by the video client, a recommendation message for the target video sent according to the social network platform user identifier.
上述实施例中,将视频播放平台与社交网络平台结合,实现在社交网络中对视频的推荐,提高了视频推荐的广泛性,更加有利于资源的推荐和分享。In the above embodiment, the video playing platform is combined with the social network platform to implement the recommendation of the video in the social network, which improves the wideness of the video recommendation, and is more conducive to the recommendation and sharing of resources.
图8为一个实施例中视频推荐方法的时序图。参照图8,该时序图具体包括以下步骤:Figure 8 is a timing diagram of a video recommendation method in one embodiment. Referring to FIG. 8, the timing diagram specifically includes the following steps:
(1)第一终端通过视频客户端获取针对目标视频的附加内容添加指令;响应于附加内容添加指令,获取选择的目标视频的播放时间节点;获取添加的与播放时间节点对应的附加内容。(1) The first terminal acquires an additional content adding instruction for the target video through the video client; acquires a playing time node of the selected target video in response to the additional content adding instruction; and acquires the added additional content corresponding to the playing time node.
(2)第一终端将附加内容和对应的播放时间节点发送至服务器。(2) The first terminal sends the additional content and the corresponding play time node to the server.
(3)服务器将附加内容和对应的播放时间节点进行对应存储。(3) The server stores the additional content and the corresponding play time node correspondingly.
(4)第一终端获取视频推荐指令,响应于视频推荐指令,获取视频推荐封面模板;获取目标视频的视频属性信息;将视频属性信息添加至视频推荐封面模板中;展示视频推荐封面模板和添加的视频属性信息。(4) the first terminal acquires a video recommendation instruction, obtains a video recommendation cover template in response to the video recommendation instruction; acquires video attribute information of the target video; adds the video attribute information to the video recommendation cover template; displays the video recommendation cover template and adds Video attribute information.
(5)第一终端获取在视频推荐封面模板中针对目标视频输入的自定义内容;根据视频推荐封面模板、添加的视频属性信息和自定义内容,生成视频推荐封面。(5) The first terminal acquires the customized content input for the target video in the video recommendation cover template; and generates the video recommendation cover according to the video recommendation cover template, the added video attribute information, and the customized content.
(6)第一终端获取社交网络平台用户标识,根据视频推荐封面和社交网络平台用户标识生成针对目标视频的视频推荐请求。(6) The first terminal acquires the social network platform user identifier, and generates a video recommendation request for the target video according to the video recommendation cover and the social network platform user identifier.
(7)第一终端将视频推荐请求发送至服务器。(7) The first terminal sends a video recommendation request to the server.
(8)服务器响应于视频推荐请求,根据视频推荐封面和社交网络平台用户标识生成针对目标视频的推荐消息。(8) The server generates a recommendation message for the target video according to the video recommendation cover and the social network platform user identifier in response to the video recommendation request.
(9)服务器将针对目标视频的推荐消息发送至社交网络平台用户标识登录的目标视频客户端所运行的第二终端。(9) The server sends a recommendation message for the target video to the second terminal operated by the target video client to which the social network platform user ID logs in.
(10)第二终端通过以社交网络平台用户标识登录的视频客户端接收按照社交网络平台用户标识发送的针对目标视频的推荐消息。(10) The second terminal receives the recommendation message for the target video sent according to the social network platform user identifier by the video client logged in with the social network platform user identifier.
(11)第二终端检测针对推荐消息的触发指令,根据触发指令,解析推 荐消息获得视频推荐封面;展示视频推荐封面。(11) The second terminal detects a trigger instruction for the recommendation message, parses the recommendation message according to the trigger instruction, obtains a video recommendation cover, and displays a video recommendation cover.
其中,视频推荐封面根据视频推荐封面模板和在视频封面推荐模板中输入的自定义内容生成。The video recommendation cover is generated according to the video recommendation cover template and the customized content input in the video cover recommendation template.
(12)第二终端检测作用于视频推荐封面的视频播放触发操作;响应于视频播放触发操作,发送针对目标视频的视频获取请求至服务器。(12) The second terminal detects a video playback trigger operation acting on the video recommendation cover; in response to the video playback trigger operation, transmitting a video acquisition request for the target video to the server.
(13)第二终端接收服务器响应于视频获取请求返回的目标视频和与视频推荐封面对应配置的播放时间节点。(13) The second terminal receives the target video returned by the server in response to the video acquisition request and the play time node configured corresponding to the video recommendation cover.
(14)第二终端播放目标视频。(14) The second terminal plays the target video.
(15)第二终端当播放目标视频至距播放时间节点前预设时长的时间点时,则发送附加内容获取请求至服务器。(15) The second terminal sends an additional content acquisition request to the server when playing the target video to a preset time length before the playing time node.
(16)第二终端接收服务器响应于附加内容获取请求返回的与播放时间节点对应的附加内容。(16) The second terminal receives the additional content corresponding to the play time node returned by the server in response to the additional content acquisition request.
(17)第二终端当播放目标视频至播放时间节点时,则在播放界面提供用于触发展示附加内容的触发入口。(17) When the second terminal plays the target video to the play time node, a trigger entry for triggering the display of the additional content is provided on the play interface.
(18)第二终端当检测到对触发入口的触发操作时,在播放的目标视频的预设位置处,叠加子窗口。(18) The second terminal superimposes the sub-window at the preset position of the played target video when the triggering operation on the trigger entry is detected.
其中,子窗口的尺寸小于目标视频的播放界面的尺寸。The size of the sub-window is smaller than the size of the play interface of the target video.
(19)第二终端在子窗口中,展示与播放时间节点对应的附加内容。(19) The second terminal displays additional content corresponding to the play time node in the child window.
在一个实施例中,提供了一种计算机设备,该计算机设备可以为图1中的第一终端110或第二终端130。该计算机设备的内部结构框图可如图12所示,该计算机设备包括视频推荐装置,视频推荐装置中包括各个模块,每个模块可全部或部分通过软件、硬件或其组合来实现。In one embodiment, a computer device is provided, which may be the first terminal 110 or the second terminal 130 of FIG. The internal structural block diagram of the computer device can be as shown in FIG. 12, the computer device includes a video recommendation device, and the video recommendation device includes various modules, and each module can be implemented in whole or in part by software, hardware, or a combination thereof.
如图9所示,在一个实施例中,提供了一种视频推荐装置900,该装置900包括:展示模块902、自定义内容获取模块904、视频推荐封面生成模块906、获取模块908、推荐模块910以及发送模块912,其中:As shown in FIG. 9 , in one embodiment, a video recommendation apparatus 900 is provided. The apparatus 900 includes: a display module 902, a customized content acquisition module 904, a video recommendation cover generation module 906, an acquisition module 908, and a recommendation module. 910 and a sending module 912, wherein:
展示模块902,用于展示视频推荐封面模板。The display module 902 is configured to display a video recommendation cover template.
自定义内容获取模块904,用于获取在视频推荐封面模板中针对目标视 频输入的自定义内容。The customized content obtaining module 904 is configured to obtain customized content for the target video input in the video recommendation cover template.
视频推荐封面生成模块906,用于根据视频推荐封面模板和自定义内容,生成视频推荐封面。The video recommendation cover generation module 906 is configured to generate a video recommendation cover according to the video recommendation cover template and the customized content.
获取模块908,用于获取用户标识。The obtaining module 908 is configured to obtain a user identifier.
推荐模块910,用于根据视频推荐封面和用户标识生成针对目标视频的推荐消息。The recommendation module 910 is configured to generate a recommendation message for the target video according to the video recommendation cover and the user identifier.
发送模块912,用于发送推荐消息至用户标识所对应的终端,使终端在推荐消息被触发时展示视频推荐封面,并在展示视频推荐封面后播放目标视频。The sending module 912 is configured to send a recommendation message to the terminal corresponding to the user identifier, so that the terminal displays the video recommendation cover when the recommendation message is triggered, and plays the target video after displaying the video recommendation cover.
在一个实施例中,获取模块908还用于获取附加内容添加指令;响应于附加内容添加指令,获取选择的目标视频的播放时间节点;获取添加的与播放时间节点对应的附加内容。In one embodiment, the obtaining module 908 is further configured to acquire an additional content adding instruction; in response to the additional content adding instruction, acquire a playing time node of the selected target video; and acquire the added additional content corresponding to the playing time node.
发送模块912还用于将附加内容和对应的播放时间节点发送至终端,使终端在播放目标视频至播放时间节点时展示附加内容。The sending module 912 is further configured to send the additional content and the corresponding playing time node to the terminal, so that the terminal displays the additional content when playing the target video to the playing time node.
在一个实施例中,展示模块902还用于获取视频推荐封面模板;获取目标视频的视频属性信息;将视频属性信息添加至视频推荐封面模板中;展示视频推荐封面模板和添加的视频属性信息。In one embodiment, the presentation module 902 is further configured to acquire a video recommendation cover template; acquire video attribute information of the target video; add the video attribute information to the video recommendation cover template; and display the video recommendation cover template and the added video attribute information.
视频推荐封面生成模块906还用于根据视频推荐封面模板、添加的视频属性信息和自定义内容,生成视频推荐封面。The video recommendation cover generation module 906 is further configured to generate a video recommendation cover according to the video recommendation cover template, the added video attribute information, and the customized content.
在一个实施例中,用户标识为社交网络平台用户标识。发送模块912还用于通过视频客户端发送推荐消息至目标视频客户端所运行的终端,使目标视频客户端在推荐消息被触发时展示视频推荐封面,并在展示视频推荐封面后播放目标视频;其中,目标视频客户端为社交网络平台用户标识登录的视频客户端。In one embodiment, the user identification is a social network platform user identification. The sending module 912 is further configured to send the recommendation message to the terminal run by the target video client by using the video client, so that the target video client displays the video recommendation cover when the recommendation message is triggered, and plays the target video after displaying the video recommendation cover; The target video client is a video client that is logged in as a social network platform user identifier.
如图10所示,提供了另一种视频推荐装置1000,该装置1000包括:接收模块1002、检测模块1004、视频推荐封面获取模块1006、展示模块1008以及播放模块1010,其中:As shown in FIG. 10, another video recommendation apparatus 1000 is provided. The apparatus 1000 includes: a receiving module 1002, a detecting module 1004, a video recommendation cover acquiring module 1006, a display module 1008, and a playing module 1010, where:
接收模块1002,用于根据当前登录的用户标识,接收按照用户标识发送的针对目标视频的推荐消息。The receiving module 1002 is configured to receive, according to the currently logged user identifier, a recommendation message for the target video that is sent according to the user identifier.
检测模块1004,用于检测针对推荐消息的触发指令。The detecting module 1004 is configured to detect a triggering instruction for the recommendation message.
视频推荐封面获取模块1006,用于根据触发指令,解析推荐消息获得视频推荐封面;视频推荐封面根据视频推荐封面模板和在视频封面推荐模板中输入的自定义内容生成。The video recommendation cover acquisition module 1006 is configured to parse the recommendation message according to the trigger instruction to obtain a video recommendation cover; the video recommendation cover is generated according to the video recommendation cover template and the customized content input in the video cover recommendation template.
展示模块1008,用于展示视频推荐封面。The display module 1008 is configured to display a video recommendation cover.
播放模块1010,用于在展示视频推荐封面之后,播放目标视频。The playing module 1010 is configured to play the target video after displaying the video recommendation cover.
在一个实施例中,播放模块1010还用于检测作用于视频推荐封面的视频播放触发操作;响应于视频播放触发操作,发送针对目标视频的视频获取请求;接收响应于视频获取请求返回的目标视频;播放返回的目标视频。In one embodiment, the playing module 1010 is further configured to detect a video play triggering operation applied to the video recommendation cover; in response to the video playback triggering operation, send a video acquisition request for the target video; and receive the target video returned in response to the video acquisition request. ; Play back the returned target video.
如图11所示,在一个实施例中,该装置1000还包括:As shown in FIG. 11, in an embodiment, the apparatus 1000 further includes:
播放时间节点获取模块1009,还用于获取与视频推荐封面对应配置的播放时间节点。The play time node obtaining module 1009 is further configured to acquire a play time node configured corresponding to the video recommendation cover.
本实施例中,播放模块1010还用于在播放的目标视频上显示播放时间节点对应的视频图像时,展示与播放时间节点对应的附加内容。In this embodiment, the playing module 1010 is further configured to display the additional content corresponding to the playing time node when displaying the video image corresponding to the playing time node on the played target video.
在一个实施例中,展示模块1008还用于在播放的目标视频的预设位置处,叠加子窗口;子窗口的尺寸小于目标视频的播放界面的尺寸;在子窗口中,展示与播放时间节点对应的附加内容。In one embodiment, the display module 1008 is further configured to superimpose the sub-window at a preset position of the played target video; the size of the sub-window is smaller than the size of the play interface of the target video; in the sub-window, the display and play time node Corresponding additional content.
在一个实施例中,展示模块1008还用于当播放目标视频至距播放时间节点前预设时长的时间点时,则发送附加内容获取请求;接收响应于附加内容获取请求返回的与播放时间节点对应的附加内容;当播放目标视频至播放时间节点时,展示所接收的附加内容。In an embodiment, the display module 1008 is further configured to: when the target video is played to a time point of a preset duration before the playing time node, send an additional content obtaining request; and receive the playback time node in response to the additional content obtaining request. Corresponding additional content; when the target video is played to the play time node, the received additional content is displayed.
在一个实施例中,播放时间节点获取模块1009还用于获取针对目标视频的、且与视频推荐封面对应配置的播放时间节点的集合;展示集合中的播放时间节点各自相应的缩略图;检测到针对缩略图的选中指令时,确定选中指令所针对的缩略图所对应的播放时间节点。In one embodiment, the play time node obtaining module 1009 is further configured to acquire a set of play time nodes configured for the target video and corresponding to the video recommendation cover; and display respective thumbnails of the play time nodes in the set; For the selected instruction of the thumbnail, the playback time node corresponding to the thumbnail for which the instruction is selected is determined.
在一个实施例中,展示模块1008还用于将目标视频暂停播放;获取目标视频中与播放时间节点对应的视频图像;将视频图像覆盖于暂停播放的目标视频之上进行展示;展示与播放时间节点对应的附加内容。In one embodiment, the display module 1008 is further configured to pause the target video; acquire a video image corresponding to the play time node in the target video; overlay the video image on the target video that is paused for display; display and play time Additional content corresponding to the node.
在一个实施例中,播放模块1010还用于当接收到针对展示的附加内容的关闭指令时,则去除目标视频上覆盖的视频图像;将目标视频从暂停播放时的位置起继续播放。In one embodiment, the playing module 1010 is further configured to: when receiving the closing instruction for the additional content of the presentation, remove the video image covered on the target video; and continue playing the target video from the position when the playback is paused.
在一个实施例中,用户标识为社交网络平台用户标识。接收模块1002还用于当视频客户端以社交网络平台用户标识登录时,通过视频客户端接收按照社交网络平台用户标识发送的针对目标视频的推荐消息。In one embodiment, the user identification is a social network platform user identification. The receiving module 1002 is further configured to: when the video client logs in with the social network platform user identifier, receive, by the video client, a recommendation message for the target video sent according to the social network platform user identifier.
图12为一个实施例中计算机设备的内部结构示意图。参照图8,该计算机设备可以是图1中所示的第一终端110或第二终端130。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口、显示屏和输入装置。其中,存储器包括非易失性存储介质和内存储器。该计算机设备的非易失性存储介质可存储操作系统和计算机可读指令,该计算机可读指令被执行时,可使得处理器执行一种视频推荐方法。该计算机设备的处理器用于提供计算和控制能力,支撑整个计算机设备的运行。该内存储器中可储存有计算机可读指令,该计算机可读指令被处理器执行时,可使得处理器执行一种视频推荐方法。计算机设备的网络接口用于进行网络通信。计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏等,计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是终端外壳上设置的按键、轨迹球或触控板,也可以是外接的键盘、触控板或鼠标等。该计算机设备可以是个人计算机、移动终端或车载设备等终端,移动终端包括手机、平板电脑、个人数字助理或可穿戴设备等中的至少一种。Figure 12 is a block diagram showing the internal structure of a computer device in an embodiment. Referring to FIG. 8, the computer device may be the first terminal 110 or the second terminal 130 shown in FIG. 1. The computer device includes a processor, memory, network interface, display screen, and input device connected by a system bus. Wherein, the memory comprises a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device can store an operating system and computer readable instructions that, when executed, can cause the processor to perform a video recommendation method. The processor of the computer device is used to provide computing and control capabilities to support the operation of the entire computer device. The internal memory can store computer readable instructions that, when executed by the processor, cause the processor to perform a video recommendation method. The network interface of the computer device is used for network communication. The display screen of the computer device may be a liquid crystal display or an electronic ink display screen, etc. The input device of the computer device may be a touch layer covered on the display screen, or a button, a trackball or a touchpad provided on the terminal housing, It can be an external keyboard, trackpad or mouse. The computer device may be a terminal such as a personal computer, a mobile terminal, or an in-vehicle device, and the mobile terminal includes at least one of a mobile phone, a tablet computer, a personal digital assistant, or a wearable device.
本领域技术人员可以理解,图12中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。It will be understood by those skilled in the art that the structure shown in FIG. 12 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation of the computer device to which the solution of the present application is applied. The specific computer device may It includes more or fewer components than those shown in the figures, or some components are combined, or have different component arrangements.
在一个实施例中,本申请提供的视频推荐装置可以实现为一种计算机可读指令的形式,所述计算机可读指令可在如图12所示的计算机设备上运行,所述计算机设备的非易失性存储介质可存储组成该视频推荐装置的各个程序模块,比如,图9所示的展示模块902、自定义内容获取模块904、视频推荐封面生成模块906、获取模块908、推荐模块910以及发送模块912。各个程序模块所组成的计算机可读指令用于使该计算机设备执行本说明书中描述的本申请各个实施例的视频推荐方法中的步骤,例如,计算机设备可以通过如图9所示的视频推荐装置900中的展示模块902展示视频推荐封面模板,并通过自定义内容获取模块904获取在视频推荐封面模板中针对目标视频输入的自定义内容。计算机设备可以通过视频推荐封面生成模块906根据视频推荐封面模板和自定义内容,生成视频推荐封面。计算机设备可以通过获取模块908获取用户标识,并通过推荐模块910,根据视频推荐封面和用户标识生成针对目标视频的推荐消息。计算机设备可以通过发送模块912发送推荐消息至用户标识所对应的终端,使终端在推荐消息被触发时展示视频推荐封面,并在展示视频推荐封面后播放目标视频。In one embodiment, the video recommendation apparatus provided herein may be implemented in the form of a computer readable instruction executable on a computer device as shown in FIG. 12, the non- The volatile storage medium can store various program modules constituting the video recommendation device, for example, the display module 902, the customized content acquisition module 904, the video recommendation cover generation module 906, the acquisition module 908, the recommendation module 910, and the display module 910 shown in FIG. Send module 912. Computer readable instructions comprising respective program modules for causing the computer device to perform the steps in the video recommendation method of various embodiments of the present application described in this specification, for example, the computer device may pass the video recommendation device as shown in FIG. The display module 902 in 900 displays the video recommendation cover template, and acquires customized content for the target video input in the video recommendation cover template through the customized content acquisition module 904. The computer device may generate a video recommendation cover by the video recommendation cover generation module 906 according to the video recommendation cover template and the customized content. The computer device can obtain the user identifier through the obtaining module 908, and generate a recommendation message for the target video according to the video recommendation cover and the user identifier through the recommendation module 910. The computer device may send the recommendation message to the terminal corresponding to the user identifier through the sending module 912, so that the terminal displays the video recommendation cover when the recommendation message is triggered, and plays the target video after displaying the video recommendation cover.
在另一个实施例中,本申请提供的另一种视频推荐装置可以实现为一种计算机可读指令的形式,所述计算机可读指令可在如图12所示的计算机设备上运行,所述计算机设备的非易失性存储介质可存储组成该视频推荐装置的各个程序模块,比如,图10所示的接收模块1002、检测模块1004、视频推荐封面获取模块1006、展示模块1008以及播放模块1010。各个程序模块所组成的计算机可读指令用于使该计算机设备执行本说明书中描述的本申请各个实施例的视频推荐方法中的步骤,例如,计算机设备可以通过如图10所示的视频推荐装置1000中的接收模块1002根据当前登录的用户标识,接收按照用户标识发送的针对目标视频的推荐消息,并通过检测模块1004检测针对推荐消息的触发指令。计算机设备可以通过视频推荐封面获取模块1006根据触发指令,解析推荐消息获得视频推荐封面;视频推荐封面根据视频推荐封面模板和在视频封面推荐模板中输入的自定义内容生成。计算机设备可 以通过展示模块1008展示视频推荐封面,并通过播放模块1010在展示视频推荐封面之后,播放目标视频。In another embodiment, another video recommendation device provided by the present application may be implemented in the form of a computer readable instruction executable on a computer device as shown in FIG. The non-volatile storage medium of the computer device can store various program modules constituting the video recommendation device, for example, the receiving module 1002, the detecting module 1004, the video recommendation cover acquiring module 1006, the display module 1008, and the playing module 1010 shown in FIG. . Computer readable instructions comprising respective program modules for causing the computer device to perform the steps in the video recommendation method of various embodiments of the present application described in this specification, for example, the computer device may pass the video recommendation device as shown in FIG. The receiving module 1002 in 1000 receives the recommendation message for the target video sent according to the user identifier according to the currently logged user identifier, and detects the triggering instruction for the recommendation message by the detecting module 1004. The computer device may obtain a video recommendation cover by the video recommendation cover acquisition module 1006 according to the trigger instruction, and the video recommendation cover is generated according to the video recommendation cover template and the customized content input in the video cover recommendation template. The computer device can display the video recommendation cover through the presentation module 1008 and play the target video through the play module 1010 after displaying the video recommendation cover.
在一个实施例中,提供了一种计算机设备,包括存储器和一个或多个处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行如下步骤:展示视频推荐封面模板;获取在所述视频推荐封面模板中针对目标视频输入的自定义内容;根据所述视频推荐封面模板和所述自定义内容,生成视频推荐封面;获取用户标识;根据所述视频推荐封面和所述用户标识生成针对所述目标视频的推荐消息;发送所述推荐消息至所述用户标识所对应的终端,使所述终端在所述推荐消息被触发时展示所述视频推荐封面,并在展示所述视频推荐封面后播放所述目标视频。In one embodiment, a computer apparatus is provided comprising a memory and one or more processors having stored therein computer readable instructions, the computer readable instructions being executed by one or more processors Having the one or more processors perform the steps of: presenting a video recommendation cover template; obtaining customized content for the target video input in the video recommendation cover template; recommending a cover template and the customized content according to the video Generating a video recommendation cover; acquiring a user identifier; generating a recommendation message for the target video according to the video recommendation cover and the user identifier; sending the recommendation message to a terminal corresponding to the user identifier, so that the terminal The video recommendation cover is displayed when the recommendation message is triggered, and the target video is played after the video recommendation cover is displayed.
在一个实施例中,计算机可读指令还使得处理器执行以下步骤:获取附加内容添加指令;响应于所述附加内容添加指令,获取选择的所述目标视频的播放时间节点;获取添加的与所述播放时间节点对应的附加内容;将所述附加内容和对应的所述播放时间节点发送至所述终端,使所述终端在播放所述目标视频至所述播放时间节点时展示所述附加内容。In one embodiment, the computer readable instructions further cause the processor to: acquire an additional content addition instruction; to retrieve a selected play time node of the target video in response to the additional content addition instruction; to obtain an added And the additional content corresponding to the play time node; sending the additional content and the corresponding play time node to the terminal, so that the terminal displays the additional content when playing the target video to the play time node .
在一个实施例中,所述展示视频推荐封面模板包括:获取视频推荐封面模板;获取目标视频的视频属性信息;将所述视频属性信息添加至所述视频推荐封面模板中;展示所述视频推荐封面模板和所述添加的所述视频属性信息;根据所述视频推荐封面模板和所述自定义内容,生成视频推荐封面包括:根据所述视频推荐封面模板、添加的所述视频属性信息和所述自定义内容,生成视频推荐封面。In one embodiment, the displaying a video recommendation cover template includes: acquiring a video recommendation cover template; acquiring video attribute information of the target video; adding the video attribute information to the video recommendation cover template; displaying the video recommendation a cover template and the added video attribute information; generating a video recommendation cover according to the video recommendation cover template and the customized content, including: recommending a cover template according to the video, adding the video attribute information, and Describe the custom content and generate a video recommendation cover.
在一个实施例中,所述用户标识为社交网络平台用户标识;所述发送所述推荐消息至所述用户标识所对应的终端,使所述终端在所述推荐消息被触发时展示所述视频推荐封面,并在展示所述视频推荐封面后播放所述目标视频包括:通过视频客户端发送所述推荐消息至目标视频客户端所运行的终端,使所述目标视频客户端在所述推荐消息被触发时展示所述视频推荐封面,并 在展示所述视频推荐封面后播放所述目标视频,其中,目标视频客户端为社交网络平台用户标识登录的视频客户端。In one embodiment, the user identifier is a social network platform user identifier; the sending the recommendation message to the terminal corresponding to the user identifier, so that the terminal displays the video when the recommendation message is triggered. Recommending a cover, and playing the target video after displaying the video recommendation cover includes: sending, by the video client, the recommendation message to a terminal run by the target video client, so that the target video client is in the recommendation message The video recommendation cover is displayed when triggered, and the target video is played after the video recommendation cover is displayed, wherein the target video client is a video client that is logged in as a social network platform user identifier.
在一个实施例中,提供了一个或多个存储有计算机可读指令的存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行如下步骤:展示视频推荐封面模板;获取在所述视频推荐封面模板中针对目标视频输入的自定义内容;根据所述视频推荐封面模板和所述自定义内容,生成视频推荐封面;获取用户标识;根据所述视频推荐封面和所述用户标识生成针对所述目标视频的推荐消息;发送所述推荐消息至所述用户标识所对应的终端,使所述终端在所述推荐消息被触发时展示所述视频推荐封面,并在展示所述视频推荐封面后播放所述目标视频。In one embodiment, one or more storage media storing computer readable instructions are provided, the computer readable instructions being executed by one or more processors such that the one or more processors perform the steps of: displaying a video recommendation cover template; acquiring custom content input for the target video in the video recommendation cover template; generating a video recommendation cover according to the video recommendation cover template and the customized content; acquiring a user identifier; according to the video And recommending the cover page and the user identifier to generate a recommendation message for the target video; sending the recommendation message to the terminal corresponding to the user identifier, so that the terminal displays the video recommendation cover when the recommendation message is triggered And playing the target video after displaying the video recommendation cover.
在一个实施例中,计算机可读指令还使得处理器执行以下步骤:获取附加内容添加指令;响应于所述附加内容添加指令,获取选择的所述目标视频的播放时间节点;获取添加的与所述播放时间节点对应的附加内容;将所述附加内容和对应的所述播放时间节点发送至所述终端,使所述终端在播放所述目标视频至所述播放时间节点时展示所述附加内容。In one embodiment, the computer readable instructions further cause the processor to: acquire an additional content addition instruction; to retrieve a selected play time node of the target video in response to the additional content addition instruction; to obtain an added And the additional content corresponding to the play time node; sending the additional content and the corresponding play time node to the terminal, so that the terminal displays the additional content when playing the target video to the play time node .
在一个实施例中,所述展示视频推荐封面模板包括:获取视频推荐封面模板;获取目标视频的视频属性信息;将所述视频属性信息添加至所述视频推荐封面模板中;展示所述视频推荐封面模板和所述添加的所述视频属性信息;根据所述视频推荐封面模板和所述自定义内容,生成视频推荐封面包括:根据所述视频推荐封面模板、添加的所述视频属性信息和所述自定义内容,生成视频推荐封面。In one embodiment, the displaying a video recommendation cover template includes: acquiring a video recommendation cover template; acquiring video attribute information of the target video; adding the video attribute information to the video recommendation cover template; displaying the video recommendation a cover template and the added video attribute information; generating a video recommendation cover according to the video recommendation cover template and the customized content, including: recommending a cover template according to the video, adding the video attribute information, and Describe the custom content and generate a video recommendation cover.
在一个实施例中,所述用户标识为社交网络平台用户标识;所述发送所述推荐消息至所述用户标识所对应的终端,使所述终端在所述推荐消息被触发时展示所述视频推荐封面,并在展示所述视频推荐封面后播放所述目标视频包括:通过视频客户端发送所述推荐消息至目标视频客户端所运行的终端,使所述目标视频客户端在所述推荐消息被触发时展示所述视频推荐封面,并在展示所述视频推荐封面后播放所述目标视频,其中,目标视频客户端为社 交网络平台用户标识登录的视频客户端。In one embodiment, the user identifier is a social network platform user identifier; the sending the recommendation message to the terminal corresponding to the user identifier, so that the terminal displays the video when the recommendation message is triggered. Recommending a cover, and playing the target video after displaying the video recommendation cover includes: sending, by the video client, the recommendation message to a terminal run by the target video client, so that the target video client is in the recommendation message The video recommendation cover is displayed when triggered, and the target video is played after the video recommendation cover is displayed, wherein the target video client is a video client that is logged in as a social network platform user identifier.
在一个实施例中,提供了一种计算机设备,包括存储器和一个或多个处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行如下步骤:根据当前登录的用户标识,接收按照所述用户标识发送的针对目标视频的推荐消息;检测针对所述推荐消息的触发指令;根据所述触发指令,解析所述推荐消息获得视频推荐封面;所述视频推荐封面根据视频推荐封面模板和在视频封面推荐模板中输入的自定义内容生成;展示所述视频推荐封面;在展示所述视频推荐封面之后,播放所述目标视频。In one embodiment, a computer apparatus is provided comprising a memory and one or more processors having stored therein computer readable instructions, the computer readable instructions being executed by one or more processors Having the one or more processors perform the following steps: receiving, according to the currently logged-in user identifier, a recommendation message for the target video sent according to the user identifier; detecting a trigger instruction for the recommendation message; Parsing the recommendation message to obtain a video recommendation cover; the video recommendation cover is generated according to the video recommendation cover template and the customized content input in the video cover recommendation template; displaying the video recommendation cover; after displaying the video recommendation cover , playing the target video.
在一个实施例中,所述在展示所述视频推荐封面之后,播放所述目标视频包括:检测作用于所述视频推荐封面的视频播放触发操作;响应于所述视频播放触发操作,发送针对所述目标视频的视频获取请求;接收响应于所述视频获取请求返回的目标视频;播放返回的所述目标视频。In an embodiment, after the displaying the video recommendation cover, playing the target video comprises: detecting a video play trigger operation acting on the video recommendation cover; and transmitting the target in response to the video play trigger operation a video acquisition request of the target video; receiving a target video returned in response to the video acquisition request; playing the returned target video.
在一个实施例中,计算机可读指令还使得处理器执行以下步骤:获取与所述视频推荐封面对应配置的播放时间节点;在播放的目标视频上显示所述播放时间节点对应的视频图像时,展示与所述播放时间节点对应的所述附加内容。In one embodiment, the computer readable instructions further cause the processor to: acquire a play time node configured corresponding to the video recommendation cover; when displaying the video image corresponding to the play time node on the played target video, The additional content corresponding to the play time node is displayed.
在一个实施例中,所述展示与所述播放时间节点对应的所述附加内容包括:在播放的目标视频的预设位置处,叠加子窗口;所述子窗口的尺寸小于所述目标视频的播放界面的尺寸;在所述子窗口中,展示与所述播放时间节点对应的附加内容。In an embodiment, the displaying the additional content corresponding to the play time node includes: superimposing a sub-window at a preset position of the played target video; the size of the sub-window is smaller than the target video The size of the play interface; in the child window, additional content corresponding to the play time node is displayed.
在一个实施例中,所述在播放的目标视频上显示所述播放时间节点对应的视频图像时,展示与所述播放时间节点对应的所述附加内容包括:当播放所述目标视频至距所述播放时间节点前预设时长的时间点时,则发送附加内容获取请求;接收响应于所述附加内容获取请求返回的与所述播放时间节点对应的附加内容;当播放所述目标视频至所述播放时间节点时,展示所接收的所述附加内容。In an embodiment, when displaying the video image corresponding to the play time node on the played target video, displaying the additional content corresponding to the play time node includes: when playing the target video to the distance When the time point of the preset time period before the time node is played, the additional content acquisition request is sent; the additional content corresponding to the play time node returned in response to the additional content acquisition request is received; when the target video is played to the The additional content received is displayed when the time node is played.
在一个实施例中,所述获取与所述视频推荐封面对应配置的播放时间节点包括:获取针对所述目标视频的、且与所述视频推荐封面对应配置的播放时间节点的集合;展示所述集合中的播放时间节点各自相应的缩略图;检测到针对所述缩略图的选中指令时,确定所述选中指令所针对的缩略图所对应的播放时间节点。In an embodiment, the acquiring a play time node configured corresponding to the video recommendation cover comprises: acquiring a set of play time nodes configured for the target video and corresponding to the video recommendation cover; Each of the play time nodes in the set has a corresponding thumbnail; when the selected command for the thumbnail is detected, the play time node corresponding to the thumbnail for which the selected instruction is directed is determined.
在一个实施例中,所述在播放的目标视频上显示所述播放时间节点对应的视频图像时,展示与所述播放时间节点对应的所述附加内容包括:将所述目标视频暂停播放;获取所述目标视频中与所述播放时间节点对应的视频图像;将所述视频图像覆盖于暂停播放的所述目标视频之上进行展示;展示与所述播放时间节点对应的所述附加内容。In an embodiment, when displaying the video image corresponding to the play time node on the played target video, displaying the additional content corresponding to the play time node includes: suspending the target video; acquiring a video image corresponding to the play time node in the target video; overlaying the video image on the target video that is paused for display; and displaying the additional content corresponding to the play time node.
在一个实施例中,计算机可读指令还使得处理器执行以下步骤:当接收到针对展示的所述附加内容的关闭指令时,则去除所述目标视频上覆盖的所述视频图像;将所述目标视频从暂停播放时的位置起继续播放。In one embodiment, the computer readable instructions further cause the processor to perform the step of: removing the video image overlaid on the target video upon receiving a close instruction for the additional content of the presentation; The target video continues to play from where it was paused.
在一个实施例中,所述用户标识为社交网络平台用户标识;所述根据当前登录的用户标识,接收按照所述用户标识发送的针对目标视频的推荐消息包括:当视频客户端以社交网络平台用户标识登录时,通过所述视频客户端接收按照所述社交网络平台用户标识发送的针对目标视频的推荐消息。In an embodiment, the user identifier is a social network platform user identifier; and receiving, according to the currently logged-in user identifier, the recommendation message for the target video sent according to the user identifier, includes: when the video client is a social network platform When the user identifier is logged in, the video client receives a recommendation message for the target video sent according to the social network platform user identifier.
在一个实施例中,提供了一个或多个存储有计算机可读指令的存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行如下步骤:根据当前登录的用户标识,接收按照所述用户标识发送的针对目标视频的推荐消息;检测针对所述推荐消息的触发指令;根据所述触发指令,解析所述推荐消息获得视频推荐封面;所述视频推荐封面根据视频推荐封面模板和在视频封面推荐模板中输入的自定义内容生成;展示所述视频推荐封面;在展示所述视频推荐封面之后,播放所述目标视频。In one embodiment, one or more storage media storing computer readable instructions are provided, the computer readable instructions being executed by one or more processors, such that the one or more processors perform the steps of: The currently logged-in user identifier, receiving a recommendation message for the target video sent according to the user identifier; detecting a triggering instruction for the recommendation message; parsing the recommendation message according to the triggering instruction to obtain a video recommendation cover; the video The recommended cover is generated according to the video recommended cover template and the customized content input in the video cover recommendation template; the video recommended cover is displayed; after the video recommended cover is displayed, the target video is played.
在一个实施例中,所述在展示所述视频推荐封面之后,播放所述目标视频包括:检测作用于所述视频推荐封面的视频播放触发操作;响应于所述视频播放触发操作,发送针对所述目标视频的视频获取请求;接收响应于所述 视频获取请求返回的目标视频;播放返回的所述目标视频。In an embodiment, after the displaying the video recommendation cover, playing the target video comprises: detecting a video play trigger operation acting on the video recommendation cover; and transmitting the target in response to the video play trigger operation a video acquisition request of the target video; receiving a target video returned in response to the video acquisition request; playing the returned target video.
在一个实施例中,计算机可读指令还使得处理器执行以下步骤:获取与所述视频推荐封面对应配置的播放时间节点;在播放的目标视频上显示所述播放时间节点对应的视频图像时,展示与所述播放时间节点对应的所述附加内容。In one embodiment, the computer readable instructions further cause the processor to: acquire a play time node configured corresponding to the video recommendation cover; when displaying the video image corresponding to the play time node on the played target video, The additional content corresponding to the play time node is displayed.
在一个实施例中,所述展示与所述播放时间节点对应的所述附加内容包括:在播放的目标视频的预设位置处,叠加子窗口;所述子窗口的尺寸小于所述目标视频的播放界面的尺寸;在所述子窗口中,展示与所述播放时间节点对应的附加内容。In an embodiment, the displaying the additional content corresponding to the play time node includes: superimposing a sub-window at a preset position of the played target video; the size of the sub-window is smaller than the target video The size of the play interface; in the child window, additional content corresponding to the play time node is displayed.
在一个实施例中,所述在播放的目标视频上显示所述播放时间节点对应的视频图像时,展示与所述播放时间节点对应的所述附加内容包括:当播放所述目标视频至距所述播放时间节点前预设时长的时间点时,则发送附加内容获取请求;接收响应于所述附加内容获取请求返回的与所述播放时间节点对应的附加内容;当播放所述目标视频至所述播放时间节点时,展示所接收的所述附加内容。In an embodiment, when displaying the video image corresponding to the play time node on the played target video, displaying the additional content corresponding to the play time node includes: when playing the target video to the distance When the time point of the preset time period before the time node is played, the additional content acquisition request is sent; the additional content corresponding to the play time node returned in response to the additional content acquisition request is received; when the target video is played to the The additional content received is displayed when the time node is played.
在一个实施例中,所述获取与所述视频推荐封面对应配置的播放时间节点包括:获取针对所述目标视频的、且与所述视频推荐封面对应配置的播放时间节点的集合;展示所述集合中的播放时间节点各自相应的缩略图;检测到针对所述缩略图的选中指令时,确定所述选中指令所针对的缩略图所对应的播放时间节点。In an embodiment, the acquiring a play time node configured corresponding to the video recommendation cover comprises: acquiring a set of play time nodes configured for the target video and corresponding to the video recommendation cover; Each of the play time nodes in the set has a corresponding thumbnail; when the selected command for the thumbnail is detected, the play time node corresponding to the thumbnail for which the selected instruction is directed is determined.
在一个实施例中,所述在播放的目标视频上显示所述播放时间节点对应的视频图像时,展示与所述播放时间节点对应的所述附加内容包括:将所述目标视频暂停播放;获取所述目标视频中与所述播放时间节点对应的视频图像;将所述视频图像覆盖于暂停播放的所述目标视频之上进行展示;展示与所述播放时间节点对应的所述附加内容。In an embodiment, when displaying the video image corresponding to the play time node on the played target video, displaying the additional content corresponding to the play time node includes: suspending the target video; acquiring a video image corresponding to the play time node in the target video; overlaying the video image on the target video that is paused for display; and displaying the additional content corresponding to the play time node.
在一个实施例中,计算机可读指令还使得处理器执行以下步骤:当接收到针对展示的所述附加内容的关闭指令时,则去除所述目标视频上覆盖的所 述视频图像;将所述目标视频从暂停播放时的位置起继续播放。In one embodiment, the computer readable instructions further cause the processor to perform the step of: removing the video image overlaid on the target video upon receiving a close instruction for the additional content of the presentation; The target video continues to play from where it was paused.
在一个实施例中,所述用户标识为社交网络平台用户标识;所述根据当前登录的用户标识,接收按照所述用户标识发送的针对目标视频的推荐消息包括:当视频客户端以社交网络平台用户标识登录时,通过所述视频客户端接收按照所述社交网络平台用户标识发送的针对目标视频的推荐消息。In an embodiment, the user identifier is a social network platform user identifier; and receiving, according to the currently logged-in user identifier, the recommendation message for the target video sent according to the user identifier, includes: when the video client is a social network platform When the user identifier is logged in, the video client receives a recommendation message for the target video sent according to the social network platform user identifier.
应该理解的是,本申请各实施例中的各个步骤并不是必然按照步骤标号指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,各实施例中至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that the various steps in the various embodiments of the present application are not necessarily performed in the order indicated by the steps. Except as explicitly stated herein, the execution of these steps is not strictly limited, and the steps may be performed in other orders. Moreover, at least some of the steps in the embodiments may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be executed at different times, and the execution of these sub-steps or stages The order is also not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of the other steps.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by computer-readable instructions for instructing related hardware, and the program can be stored in a non-volatile computer readable. In the storage medium, the program, when executed, may include the flow of an embodiment of the methods as described above. Any reference to a memory, storage, database or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of formats, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronization chain. Synchlink DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技 术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments may be arbitrarily combined. For the sake of brevity of description, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, It is considered to be the range described in this specification.
以上实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above embodiments are merely illustrative of several embodiments of the present application, and the description thereof is more specific and detailed, but is not to be construed as limiting the scope of the invention. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the present application. Therefore, the scope of the invention should be determined by the appended claims.

Claims (24)

  1. 一种视频推荐方法,包括:A video recommendation method, including:
    第一终端展示视频推荐封面模板;The first terminal displays a video recommendation cover template;
    所述第一终端获取在所述视频推荐封面模板中针对目标视频输入的自定义内容;The first terminal acquires customized content input for the target video in the video recommendation cover template;
    所述第一终端根据所述视频推荐封面模板和所述自定义内容,生成视频推荐封面;The first terminal generates a video recommendation cover according to the video recommendation cover template and the customized content;
    所述第一终端获取用户标识;The first terminal acquires a user identifier;
    所述第一终端根据所述视频推荐封面和所述用户标识生成针对所述目标视频的推荐消息;及The first terminal generates a recommendation message for the target video according to the video recommendation cover and the user identifier; and
    所述第一终端发送所述推荐消息至所述用户标识所对应的终端,使所述终端在所述推荐消息被触发时展示所述视频推荐封面,并在展示所述视频推荐封面后播放所述目标视频。The first terminal sends the recommendation message to the terminal corresponding to the user identifier, so that the terminal displays the video recommendation cover when the recommendation message is triggered, and plays the video after displaying the video recommendation cover. The target video.
  2. 根据权利要求1所述的方法,其特征在于,还包括:The method of claim 1 further comprising:
    所述第一终端获取附加内容添加指令;The first terminal acquires an additional content adding instruction;
    所述第一终端响应于所述附加内容添加指令,获取选择的所述目标视频的播放时间节点;The first terminal acquires a selected play time node of the target video in response to the additional content adding instruction;
    所述第一终端获取添加的与所述播放时间节点对应的附加内容;及The first terminal acquires the added additional content corresponding to the play time node; and
    所述第一终端将所述附加内容和对应的所述播放时间节点发送至所述终端,使所述终端在播放所述目标视频至所述播放时间节点时展示所述附加内容。The first terminal sends the additional content and the corresponding play time node to the terminal, so that the terminal displays the additional content when playing the target video to the play time node.
  3. 根据权利要求1所述的方法,其特征在于,所述第一终端展示视频推荐封面模板包括:The method according to claim 1, wherein the displaying, by the first terminal, a video recommendation cover template comprises:
    第一终端获取视频推荐封面模板;The first terminal acquires a video recommendation cover template;
    所述第一终端获取目标视频的视频属性信息;The first terminal acquires video attribute information of the target video;
    所述第一终端将所述视频属性信息添加至所述视频推荐封面模板中;及The first terminal adds the video attribute information to the video recommendation cover template; and
    所述第一终端展示所述视频推荐封面模板和所述添加的所述视频属性信 息;The first terminal displays the video recommendation cover template and the added video attribute information;
    所述第一终端根据所述视频推荐封面模板和所述自定义内容,生成视频推荐封面包括:The first terminal generates a video recommendation cover according to the video recommendation cover template and the customized content, including:
    所述第一终端根据所述视频推荐封面模板、添加的所述视频属性信息和所述自定义内容,生成视频推荐封面。The first terminal generates a video recommendation cover according to the video recommendation cover template, the added video attribute information, and the customized content.
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述用户标识为社交网络平台用户标识;The method according to any one of claims 1 to 3, wherein the user identifier is a social network platform user identifier;
    所述第一终端发送所述推荐消息至所述用户标识所对应的终端,使所述终端在所述推荐消息被触发时展示所述视频推荐封面,并在展示所述视频推荐封面后播放所述目标视频包括:The first terminal sends the recommendation message to the terminal corresponding to the user identifier, so that the terminal displays the video recommendation cover when the recommendation message is triggered, and plays the video after displaying the video recommendation cover. The target video includes:
    所述第一终端通过视频客户端发送所述推荐消息至目标视频客户端所运行的终端,使所述目标视频客户端在所述推荐消息被触发时展示所述视频推荐封面,并在展示所述视频推荐封面后播放所述目标视频,其中,所述目标视频客户端为所述社交网络平台用户标识登录的视频客户端。The first terminal sends the recommendation message to the terminal operated by the target video client by using the video client, so that the target video client displays the video recommendation cover when the recommendation message is triggered, and displays the video The target video is played after the video recommendation cover, wherein the target video client is a video client that is logged in to the social network platform user identifier.
  5. 一种视频推荐方法,包括:A video recommendation method, including:
    第二终端根据当前登录的用户标识,接收按照所述用户标识发送的针对目标视频的推荐消息;Receiving, by the second terminal, a recommendation message for the target video that is sent according to the user identifier, according to the currently logged user identifier;
    所述第二终端检测针对所述推荐消息的触发指令;The second terminal detects a trigger instruction for the recommendation message;
    所述第二终端根据所述触发指令,解析所述推荐消息获得视频推荐封面;所述视频推荐封面根据视频推荐封面模板和在视频封面推荐模板中输入的自定义内容生成;The second terminal parses the recommendation message according to the triggering instruction to obtain a video recommendation cover; the video recommendation cover is generated according to the video recommendation cover template and the customized content input in the video cover recommendation template;
    所述第二终端展示所述视频推荐封面;及The second terminal displays the video recommendation cover; and
    所述第二终端在展示所述视频推荐封面之后,播放所述目标视频。The second terminal plays the target video after displaying the video recommendation cover.
  6. 根据权利要求5所述的方法,其特征在于,所述第二终端在展示所述视频推荐封面之后,播放所述目标视频包括:The method according to claim 5, wherein after the second terminal displays the video recommendation cover, playing the target video comprises:
    所述第二终端检测作用于所述视频推荐封面的视频播放触发操作;The second terminal detects a video play triggering operation that is applied to the video recommendation cover;
    所述第二终端响应于所述视频播放触发操作,发送针对所述目标视频的 视频获取请求;Sending, by the second terminal, a video acquisition request for the target video, in response to the video play triggering operation;
    所述第二终端接收响应于所述视频获取请求返回的目标视频;及Receiving, by the second terminal, a target video returned in response to the video acquisition request; and
    所述第二终端播放返回的所述目标视频。The second terminal plays the returned target video.
  7. 根据权利要求5所述的方法,其特征在于,还包括:The method of claim 5, further comprising:
    所述第二终端获取与所述视频推荐封面对应配置的播放时间节点;及The second terminal acquires a play time node configured corresponding to the video recommendation cover; and
    所述第二终端在播放的目标视频上显示所述播放时间节点对应的视频图像时,展示与所述播放时间节点对应的所述附加内容。When the second terminal displays the video image corresponding to the play time node on the played target video, the additional content corresponding to the play time node is displayed.
  8. 根据权利要求7所述的方法,其特征在于,所述第二终端展示与所述播放时间节点对应的所述附加内容包括:The method according to claim 7, wherein the displaying, by the second terminal, the additional content corresponding to the play time node comprises:
    所述第二终端在播放的目标视频的预设位置处,叠加子窗口;所述子窗口的尺寸小于所述目标视频的播放界面的尺寸;及The second terminal superimposes the sub-window at a preset position of the played target video; the size of the sub-window is smaller than the size of the play interface of the target video;
    所述第二终端在所述子窗口中,展示与所述播放时间节点对应的附加内容。The second terminal displays additional content corresponding to the play time node in the sub-window.
  9. 根据权利要求7所述的方法,其特征在于,所述第二终端在播放的目标视频上显示所述播放时间节点对应的视频图像时,展示与所述播放时间节点对应的所述附加内容包括:The method according to claim 7, wherein when the second terminal displays the video image corresponding to the play time node on the played target video, displaying the additional content corresponding to the play time node includes :
    所述第二终端当播放所述目标视频至距所述播放时间节点前预设时长的时间点时,则发送附加内容获取请求;Sending, by the second terminal, an additional content acquisition request when playing the target video to a preset time length before the playing time node;
    所述第二终端接收响应于所述附加内容获取请求返回的与所述播放时间节点对应的附加内容;及The second terminal receives additional content corresponding to the play time node returned in response to the additional content acquisition request; and
    所述第二终端当播放所述目标视频至所述播放时间节点时,展示所接收的所述附加内容。The second terminal displays the received additional content when playing the target video to the play time node.
  10. 根据权利要求7所述的方法,其特征在于,所述第二终端获取与所述视频推荐封面对应配置的播放时间节点包括:The method according to claim 7, wherein the acquiring, by the second terminal, the play time node corresponding to the video recommendation cover comprises:
    所述第二终端获取针对所述目标视频的、且与所述视频推荐封面对应配置的播放时间节点的集合;Obtaining, by the second terminal, a set of play time nodes configured for the target video and corresponding to the video recommendation cover;
    所述第二终端展示所述集合中的播放时间节点各自相应的缩略图;及The second terminal displays respective thumbnails of the play time nodes in the set; and
    所述第二终端检测到针对所述缩略图的选中指令时,确定所述选中指令所针对的缩略图所对应的播放时间节点。And when the second terminal detects the selected instruction for the thumbnail, determining a play time node corresponding to the thumbnail for which the selected instruction is directed.
  11. 根据权利要求5至10中任一项所述的方法,其特征在于,所述用户标识为社交网络平台用户标识;The method according to any one of claims 5 to 10, wherein the user identifier is a social network platform user identifier;
    所述第二终端根据当前登录的用户标识,接收按照所述用户标识发送的针对目标视频的推荐消息包括:Receiving, by the second terminal, the recommended message for the target video that is sent according to the user identifier, according to the currently logged user identifier, includes:
    所述第二终端当视频客户端以社交网络平台用户标识登录时,通过所述视频客户端接收按照所述社交网络平台用户标识发送的针对目标视频的推荐消息。When the video client logs in with the social network platform user identifier, the second terminal receives, by the video client, a recommendation message for the target video that is sent according to the social network platform user identifier.
  12. 一种终端,包括存储器和一个或多个处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行如下步骤:A terminal comprising a memory and one or more processors having stored therein computer readable instructions, the computer readable instructions being executed by one or more processors such that the one or more processors Perform the following steps:
    展示视频推荐封面模板;Display a video recommendation cover template;
    获取在所述视频推荐封面模板中针对目标视频输入的自定义内容;Obtaining customized content for the target video input in the video recommendation cover template;
    根据所述视频推荐封面模板和所述自定义内容,生成视频推荐封面;Generating a video recommendation cover according to the video recommendation cover template and the customized content;
    获取用户标识;Obtain the user ID;
    根据所述视频推荐封面和所述用户标识生成针对所述目标视频的推荐消息;及Generating a recommendation message for the target video according to the video recommendation cover and the user identifier; and
    发送所述推荐消息至所述用户标识所对应的终端,使所述终端在所述推荐消息被触发时展示所述视频推荐封面,并在展示所述视频推荐封面后播放所述目标视频。And sending the recommendation message to the terminal corresponding to the user identifier, so that the terminal displays the video recommendation cover when the recommendation message is triggered, and plays the target video after displaying the video recommendation cover.
  13. 根据权利要求12所述的终端,其特征在于,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行如下步骤:The terminal of claim 12, wherein the computer readable instructions are executed by one or more processors such that the one or more processors perform the following steps:
    获取附加内容添加指令;Obtain an additional content addition instruction;
    响应于所述附加内容添加指令,获取选择的所述目标视频的播放时间节点;And acquiring a play time node of the selected target video in response to the additional content adding instruction;
    获取添加的与所述播放时间节点对应的附加内容;及Obtaining additional content added corresponding to the play time node; and
    将所述附加内容和对应的所述播放时间节点发送至所述终端,使所述终端在播放所述目标视频至所述播放时间节点时展示所述附加内容。And sending the additional content and the corresponding play time node to the terminal, so that the terminal displays the additional content when playing the target video to the play time node.
  14. 根据权利要求12所述的终端,其特征在于,所述展示视频推荐封面模板包括:The terminal according to claim 12, wherein the display video recommendation cover template comprises:
    获取视频推荐封面模板;Get a video recommendation cover template;
    获取目标视频的视频属性信息;Obtaining video attribute information of the target video;
    将所述视频属性信息添加至所述视频推荐封面模板中;及Adding the video attribute information to the video recommendation cover template; and
    展示所述视频推荐封面模板和所述添加的所述视频属性信息;Displaying the video recommendation cover template and the added video attribute information;
    所述根据所述视频推荐封面模板和所述自定义内容,生成视频推荐封面包括:The generating a video recommendation cover according to the video recommendation cover template and the customized content includes:
    根据所述视频推荐封面模板、添加的所述视频属性信息和所述自定义内容,生成视频推荐封面。And generating a video recommendation cover according to the video recommendation cover template, the added video attribute information, and the customized content.
  15. 根据权利要求12所述的终端,其特征在于,所述用户标识为社交网络平台用户标识;The terminal according to claim 12, wherein the user identifier is a social network platform user identifier;
    所述发送所述推荐消息至所述用户标识所对应的终端,使所述终端在所述推荐消息被触发时展示所述视频推荐封面,并在展示所述视频推荐封面后播放所述目标视频包括:Sending the recommendation message to the terminal corresponding to the user identifier, so that the terminal displays the video recommendation cover when the recommendation message is triggered, and plays the target video after displaying the video recommendation cover include:
    通过视频客户端发送所述推荐消息至目标视频客户端所运行的终端,使所述目标视频客户端在所述推荐消息被触发时展示所述视频推荐封面,并在展示所述视频推荐封面后播放所述目标视频,其中,所述目标视频客户端为所述社交网络平台用户标识登录的视频客户端。Sending the recommendation message to the terminal run by the target video client by the video client, so that the target video client displays the video recommendation cover when the recommendation message is triggered, and after displaying the video recommendation cover Playing the target video, wherein the target video client identifies the video client that is logged in to the social network platform user.
  16. 一种终端,包括存储器和一个或多个处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行如下步骤:A terminal comprising a memory and one or more processors having stored therein computer readable instructions, the computer readable instructions being executed by one or more processors such that the one or more processors Perform the following steps:
    根据当前登录的用户标识,接收按照所述用户标识发送的针对目标视频的推荐消息;Receiving, according to the currently logged in user identifier, a recommendation message for the target video sent according to the user identifier;
    检测针对所述推荐消息的触发指令;Detecting a trigger instruction for the recommendation message;
    根据所述触发指令,解析所述推荐消息获得视频推荐封面;所述视频推荐封面根据视频推荐封面模板和在视频封面推荐模板中输入的自定义内容生成;And parsing the recommendation message according to the triggering instruction to obtain a video recommendation cover; the video recommendation cover is generated according to the video recommendation cover template and the customized content input in the video cover recommendation template;
    展示所述视频推荐封面;及Presenting the video recommendation cover; and
    在展示所述视频推荐封面之后,播放所述目标视频。After the video recommendation cover is displayed, the target video is played.
  17. 根据权利要求16所述的终端,其特征在于,所述在展示所述视频推荐封面之后,播放所述目标视频包括:The terminal according to claim 16, wherein after the displaying the video recommendation cover, playing the target video comprises:
    检测作用于所述视频推荐封面的视频播放触发操作;Detecting a video play triggering operation acting on the video recommendation cover;
    响应于所述视频播放触发操作,发送针对所述目标视频的视频获取请求;Transmitting a video acquisition request for the target video in response to the video play triggering operation;
    接收响应于所述视频获取请求返回的目标视频;及Receiving a target video returned in response to the video acquisition request; and
    播放返回的所述目标视频。Play back the target video returned.
  18. 根据权利要求16所述的终端,其特征在于,所述计算机可读指令被一个或多个处理器执行时,还使得所述一个或多个处理器执行如下步骤:The terminal of claim 16 wherein said computer readable instructions, when executed by one or more processors, further cause said one or more processors to perform the following steps:
    获取与所述视频推荐封面对应配置的播放时间节点;及Obtaining a play time node configured corresponding to the video recommendation cover; and
    在播放的目标视频上显示所述播放时间节点对应的视频图像时,展示与所述播放时间节点对应的所述附加内容。When the video image corresponding to the play time node is displayed on the played target video, the additional content corresponding to the play time node is displayed.
  19. 根据权利要求18所述的终端,其特征在于,所述展示与所述播放时间节点对应的所述附加内容包括:The terminal according to claim 18, wherein the displaying the additional content corresponding to the play time node comprises:
    在播放的目标视频的预设位置处,叠加子窗口;所述子窗口的尺寸小于所述目标视频的播放界面的尺寸;及Superimposing the sub-window at a preset position of the played target video; the size of the sub-window is smaller than the size of the play interface of the target video;
    在所述子窗口中,展示与所述播放时间节点对应的附加内容。In the sub-window, additional content corresponding to the play time node is displayed.
  20. 根据权利要求18所述的终端,其特征在于,所述在播放的目标视频上显示所述播放时间节点对应的视频图像时,展示与所述播放时间节点对应的所述附加内容包括:The terminal according to claim 18, wherein when the video image corresponding to the play time node is displayed on the played target video, the displaying the additional content corresponding to the play time node includes:
    当播放所述目标视频至距所述播放时间节点前预设时长的时间点时,则发送附加内容获取请求;Sending an additional content acquisition request when the target video is played to a time point preset by a preset time before the playing time node;
    接收响应于所述附加内容获取请求返回的与所述播放时间节点对应的附 加内容;及Receiving additional content corresponding to the play time node returned in response to the additional content acquisition request; and
    当播放所述目标视频至所述播放时间节点时,展示所接收的所述附加内容。The additional content received is displayed when the target video is played to the play time node.
  21. 根据权利要求18所述的终端,其特征在于,所述获取与所述视频推荐封面对应配置的播放时间节点包括:The terminal according to claim 18, wherein the acquiring a play time node corresponding to the video recommendation cover comprises:
    获取针对所述目标视频的、且与所述视频推荐封面对应配置的播放时间节点的集合;Obtaining a set of play time nodes configured for the target video and configured corresponding to the video recommendation cover;
    展示所述集合中的播放时间节点各自相应的缩略图;及Displaying corresponding thumbnails of the play time nodes in the collection; and
    检测到针对所述缩略图的选中指令时,确定所述选中指令所针对的缩略图所对应的播放时间节点。When a selected instruction for the thumbnail is detected, a play time node corresponding to the thumbnail for which the selected instruction is directed is determined.
  22. 根据权利要求16所述的终端,其特征在于,所述用户标识为社交网络平台用户标识;The terminal according to claim 16, wherein the user identifier is a social network platform user identifier;
    所述根据当前登录的用户标识,接收按照所述用户标识发送的针对目标视频的推荐消息包括:Receiving, according to the currently logged user identifier, the recommendation message for the target video sent according to the user identifier includes:
    当视频客户端以社交网络平台用户标识登录时,通过所述视频客户端接收按照所述社交网络平台用户标识发送的针对目标视频的推荐消息。When the video client logs in with the social network platform user identifier, the video client receives a recommendation message for the target video sent according to the social network platform user identifier.
  23. 一个或多个存储有计算机可读指令的存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行如下步骤:One or more storage media storing computer readable instructions, when executed by one or more processors, cause one or more processors to perform the following steps:
    展示视频推荐封面模板;Display a video recommendation cover template;
    获取在所述视频推荐封面模板中针对目标视频输入的自定义内容;Obtaining customized content for the target video input in the video recommendation cover template;
    根据所述视频推荐封面模板和所述自定义内容,生成视频推荐封面;Generating a video recommendation cover according to the video recommendation cover template and the customized content;
    获取用户标识;Obtain the user ID;
    根据所述视频推荐封面和所述用户标识生成针对所述目标视频的推荐消息;及Generating a recommendation message for the target video according to the video recommendation cover and the user identifier; and
    发送所述推荐消息至所述用户标识所对应的终端,使所述终端在所述推荐消息被触发时展示所述视频推荐封面,并在展示所述视频推荐封面后播放所述目标视频。And sending the recommendation message to the terminal corresponding to the user identifier, so that the terminal displays the video recommendation cover when the recommendation message is triggered, and plays the target video after displaying the video recommendation cover.
  24. 一个或多个存储有计算机可读指令的存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行如下步骤:One or more storage media storing computer readable instructions, when executed by one or more processors, cause one or more processors to perform the following steps:
    根据当前登录的用户标识,接收按照所述用户标识发送的针对目标视频的推荐消息;Receiving, according to the currently logged in user identifier, a recommendation message for the target video sent according to the user identifier;
    检测针对所述推荐消息的触发指令;Detecting a trigger instruction for the recommendation message;
    根据所述触发指令,解析所述推荐消息获得视频推荐封面;所述视频推荐封面根据视频推荐封面模板和在视频封面推荐模板中输入的自定义内容生成;And parsing the recommendation message according to the triggering instruction to obtain a video recommendation cover; the video recommendation cover is generated according to the video recommendation cover template and the customized content input in the video cover recommendation template;
    展示所述视频推荐封面;及Presenting the video recommendation cover; and
    在展示所述视频推荐封面之后,播放所述目标视频。After the video recommendation cover is displayed, the target video is played.
PCT/CN2018/108553 2017-10-10 2018-09-29 Video recommendation method, terminal, and storage medium WO2019072113A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710936861.4 2017-10-10
CN201710936861.4A CN109660854B (en) 2017-10-10 2017-10-10 Video recommendation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2019072113A1 true WO2019072113A1 (en) 2019-04-18

Family

ID=66100401

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/108553 WO2019072113A1 (en) 2017-10-10 2018-09-29 Video recommendation method, terminal, and storage medium

Country Status (2)

Country Link
CN (1) CN109660854B (en)
WO (1) WO2019072113A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111246255B (en) * 2020-01-21 2022-05-06 北京达佳互联信息技术有限公司 Video recommendation method and device, storage medium, terminal and server
CN111930459A (en) * 2020-08-11 2020-11-13 北京字节跳动网络技术有限公司 Content display method and device, electronic equipment and computer readable medium
CN112492372B (en) * 2020-11-25 2022-09-23 北京达佳互联信息技术有限公司 Comment message display method and device, electronic equipment, system and storage medium
CN112559888A (en) * 2020-12-25 2021-03-26 北京明略软件系统有限公司 Recommended content tracing method and system, electronic device and readable storage medium
CN113449144B (en) * 2021-06-01 2023-10-27 北京百度网讯科技有限公司 Video processing method and device and electronic equipment
CN113496422B (en) * 2021-09-07 2021-12-03 济宁景泽信息科技有限公司 Block chain-based popularization resource allocation method and big data information cloud platform

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060282856A1 (en) * 2005-03-04 2006-12-14 Sharp Laboratories Of America, Inc. Collaborative recommendation system
CN101315634A (en) * 2007-06-01 2008-12-03 音乐会技术公司 System and method of generating a media item recommendation message with recommender presence information
CN101754106A (en) * 2008-12-04 2010-06-23 倪县乐 Method and system for recommending contents between mobile phone users
CN101867800A (en) * 2009-04-15 2010-10-20 华为技术有限公司 Program recommending method, terminal equipment and network system
CN103905914A (en) * 2014-04-08 2014-07-02 天津思博科科技发展有限公司 Video sharing device based on Internet television technology
CN105095452A (en) * 2009-06-16 2015-11-25 Rovi技术公司 Media asset recommendation service
CN105872839A (en) * 2016-05-05 2016-08-17 北京京东尚科信息技术有限公司 Video sharing implementation method and system

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101625701A (en) * 2009-08-12 2010-01-13 中兴通讯股份有限公司 Video sharing method and video sharing system
CN101930779B (en) * 2010-07-29 2012-02-29 华为终端有限公司 Video commenting method and video player
SG194169A1 (en) * 2011-04-15 2013-11-29 Imagerecon Llc Method to determine a pixon map in iterative image reconstruction
CN103488661A (en) * 2013-03-29 2014-01-01 吴晗 Audio/video file annotation system
CN103686396B (en) * 2013-11-19 2017-02-22 乐视致新电子科技(天津)有限公司 Video sharing method and device
CN106303596A (en) * 2015-05-15 2017-01-04 北京国双科技有限公司 Video recommendation system, method and device
CN105893423A (en) * 2015-12-03 2016-08-24 乐视网信息技术(北京)股份有限公司 Video recommendation method and system, terminal and server
CN106599208B (en) * 2016-12-15 2022-05-06 腾讯科技(深圳)有限公司 Content sharing method and user client
CN106658200B (en) * 2016-12-30 2020-07-28 香港乐蜜有限公司 Live video sharing and acquiring method and device and terminal equipment thereof
CN106844705B (en) * 2017-02-06 2021-01-05 百度在线网络技术(北京)有限公司 Method and apparatus for displaying multimedia content

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060282856A1 (en) * 2005-03-04 2006-12-14 Sharp Laboratories Of America, Inc. Collaborative recommendation system
CN101315634A (en) * 2007-06-01 2008-12-03 音乐会技术公司 System and method of generating a media item recommendation message with recommender presence information
CN101754106A (en) * 2008-12-04 2010-06-23 倪县乐 Method and system for recommending contents between mobile phone users
CN101867800A (en) * 2009-04-15 2010-10-20 华为技术有限公司 Program recommending method, terminal equipment and network system
CN105095452A (en) * 2009-06-16 2015-11-25 Rovi技术公司 Media asset recommendation service
CN103905914A (en) * 2014-04-08 2014-07-02 天津思博科科技发展有限公司 Video sharing device based on Internet television technology
CN105872839A (en) * 2016-05-05 2016-08-17 北京京东尚科信息技术有限公司 Video sharing implementation method and system

Also Published As

Publication number Publication date
CN109660854B (en) 2021-08-24
CN109660854A (en) 2019-04-19

Similar Documents

Publication Publication Date Title
WO2019072113A1 (en) Video recommendation method, terminal, and storage medium
KR101983523B1 (en) Gallery of messages with a shared interest
US10067730B2 (en) Systems and methods for enabling replay of internet co-browsing
US8528053B2 (en) Disambiguating online identities
RU2632131C2 (en) Method and device for creating recommended list of content
JP6620205B2 (en) Provision of supplemental content related to embedded media
CA2992484A1 (en) Video-production system with social-media features
US11463748B2 (en) Identifying relevance of a video
US11968427B2 (en) Video message generation method and apparatus, electronic device, and storage medium
KR20130066694A (en) Composition of customized presentations associated with a social media application
WO2019047878A1 (en) Method for controlling terminal by voice, terminal, server and storage medium
CN111949908A (en) Media information processing method and device, electronic equipment and storage medium
CN107515870B (en) Searching method and device and searching device
WO2019085625A1 (en) Emotion picture recommendation method and apparatus
CN112585986B (en) Synchronization of digital content consumption
CN113986574A (en) Comment content generation method and device, electronic equipment and storage medium
WO2023179549A1 (en) Document block sharing method, apparatus and system, and storage medium
CN113158094B (en) Information sharing method and device and electronic equipment
WO2014134753A1 (en) Method and system for representing social network carriers, and device thereof
CN112016001A (en) Friend recommendation method and device and computer readable medium
US11601481B2 (en) Image-based file and media loading
CN117997866A (en) Expression image sharing method and device, computer equipment and storage medium
CN116594724A (en) Content presentation method, device, equipment and storage medium
CN115407996A (en) Component rendering method and device, electronic equipment and storage medium
CN116149815A (en) Task processing method and device, electronic equipment and storage medium

Legal Events

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

Ref document number: 18867136

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18867136

Country of ref document: EP

Kind code of ref document: A1