WO2020015454A1 - 推荐内容显示方法、装置、终端及计算机可读存储介质 - Google Patents

推荐内容显示方法、装置、终端及计算机可读存储介质 Download PDF

Info

Publication number
WO2020015454A1
WO2020015454A1 PCT/CN2019/088153 CN2019088153W WO2020015454A1 WO 2020015454 A1 WO2020015454 A1 WO 2020015454A1 CN 2019088153 W CN2019088153 W CN 2019088153W WO 2020015454 A1 WO2020015454 A1 WO 2020015454A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
target video
target
playback area
area
Prior art date
Application number
PCT/CN2019/088153
Other languages
English (en)
French (fr)
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 WO2020015454A1 publication Critical patent/WO2020015454A1/zh
Priority to US17/004,164 priority Critical patent/US20200396497A1/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
    • 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/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
    • H04N21/4316Generation 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 for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/466Learning process for intelligent management, e.g. learning user preferences for recommending movies
    • H04N21/4668Learning process for intelligent management, e.g. learning user preferences for recommending movies for recommending content, e.g. movies
    • 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/482End-user interface for program selection
    • H04N21/4826End-user interface for program selection using recommendation lists, e.g. of programs or channels sorted out according to their score

Definitions

  • Embodiments of the present application relate to the field of content recommendation, and in particular, to a method, a device, a terminal, and a computer-readable storage medium for displaying recommended content.
  • the video client is a client with a high installation rate and usage rate in the terminal. Users can watch serials, movies, variety shows, etc. through the video client.
  • the playback interface of a video client usually includes a video player, a playback control area, and a playlist area.
  • the video player area is used to play videos
  • the playback control area is used to display playback controls, such as progress bar controls, volume controls, and image quality. Select controls, etc.
  • the playlist area is used to display playlists and video-related information.
  • the video client hides the video player; and in order to increase the click rate of other videos, the video client displays recommended videos in the interface for users to click and watch.
  • the recommended content is displayed only after the current video is completely played, and the user usually does not watch until the video is completely completed, resulting in a low exposure and click-through rate of the recommended content.
  • a method, a device, a terminal, and a computer-readable storage medium for displaying recommended content are provided.
  • a method for displaying recommended content is executed by a terminal, and the method includes:
  • the reduced video playback area and recommended content are displayed in the video player, and the reduced video playback area is used to continue playing the target video.
  • a recommended content display device includes:
  • a first playback module configured to play a target video in a video playback area of a video player
  • a reduction module configured to reduce the size of the video playback area when the target video is played to the end of the film
  • the display module is configured to display the reduced video playback rest and recommended content in the video player, and the reduced video playback area is used to continue playing the target video.
  • a terminal includes a processor and a memory, and the memory stores at least one instruction, at least one program, a code set, or an instruction set, the at least one instruction, the at least one program, the code set, or The instruction set executes the steps of the above-mentioned recommended content display method by the processor.
  • a computer-readable storage medium characterized in that the storage medium stores at least one instruction, at least one program, code set, or instruction set, the at least one instruction, the at least one program, the code set, or The instruction set executes the steps of the above-mentioned recommended content display method by the processor.
  • FIG. 1 shows a schematic diagram of an implementation environment provided by an embodiment of the present application
  • 2a is a schematic diagram of a playback interface of a video client
  • FIG. 2b is a schematic interface diagram of a recommended content display process in the related art
  • FIG. 3 is a schematic diagram of an interface of a recommended content display process in an embodiment of the present application.
  • FIG. 4 shows a flowchart of a recommended content display method provided by an embodiment of the present application
  • FIG. 5 shows a flowchart of a recommended content display method according to another embodiment of the present application.
  • FIG. 6 is a flowchart of a process of determining whether a target video meets a recommendation condition
  • FIG. 7 is a schematic diagram of dividing a playback interface area in an embodiment of the present application.
  • FIG. 8 is a flowchart of a process in which a background server feeds back recommended content to a video client;
  • FIG. 9 is a schematic diagram of a video element and a banner in a recommendation mode
  • FIG. 10 is an interface diagram of a switching process between a playback mode and a recommended mode
  • FIG. 11 shows a flowchart of a recommended content display method according to another embodiment of the present application.
  • FIG. 12 shows a block diagram of a recommended content display device provided by an embodiment of the present application.
  • FIG. 13 shows a structural block diagram of a terminal provided by an exemplary embodiment of the present application.
  • FIG. 1 illustrates a schematic diagram of an implementation environment provided by an embodiment of the present application.
  • the implementation environment includes a terminal 110 and a server 120.
  • the terminal 110 is an electronic device on which a video client is installed, and the electronic device may be a smart phone, a tablet computer, a personal computer, or the like. In FIG. 1, the terminal 110 is a personal computer.
  • the video client is a client that provides video-on-demand and online video playback services.
  • the video client displays a main interface, and the main interface includes videos sorted according to video type, video ranking, video playback volume, video update time, video popularity and other conditions.
  • the video client displays a playback interface
  • the playback interface may include a video player, a playback control area, and a playlist area.
  • the user can control the video player through the playback controls in the playback control area, for example, by dragging the slider on the progress bar control to adjust the playback time point, and by the double speed control to adjust the video playback speed, Use the volume controls to adjust the video volume and more.
  • the playlist area contains information about the playlist and the currently playing video, such as the movie's cast, director, and ratings.
  • the terminal 110 is connected to the server 120 through a wired or wireless network.
  • the server 120 is a background server of the video client.
  • the server 120 may be a server, a server cluster composed of several servers, or a cloud computing center.
  • the server 120 includes a video database, and the video database stores video data, or video paths corresponding to the video data (stored in other servers).
  • the server 120 provides video data to the video client based on the video database.
  • the server 120 includes a user database, and the user database stores corresponding relationships between different user accounts and historical playing records, membership levels, and user portrait data.
  • the server 120 performs content recommendation based on the user database.
  • the server 120 includes a video information database, and the video information database stores information such as the playback volume of different videos, rankings and ratings in similar videos.
  • the server 120 performs recommendation content screening based on the video information database.
  • the terminal 110 obtains video data from the server 120 and performs analysis and playback.
  • the terminal 110 sends a recommended content acquisition request to the server 120, requesting to acquire the recommended content from the server 120.
  • the server 120 determines the recommended content based on the user database 121 and the video information database 122, and then feeds back the recommended content to the terminal 110 for analysis and display by the video client in the terminal 110.
  • the terminal 110 when the terminal 110 caches the recommended content, when the video is played at the end, the terminal 110 obtains the recommended content from the cache and analyzes and displays it without requesting the server 120.
  • the aforementioned wireless network or wired network uses standard communication technologies and / or protocols.
  • the network is usually the Internet, but it can also be any network, including but not limited to a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), mobile, wired, or wireless Network, private network, or any combination of virtual private networks).
  • technologies and / or formats including HyperText Markup Language (HTML), Extensible Markup Language (XML), and the like are used to represent data exchanged over a network.
  • SSL Secure Socket Layer
  • TLS Transport Layer Security
  • VPN Virtual Private Network
  • IPsec Internet Protocol Security
  • customized and / or dedicated data communication technologies may also be used in place of or in addition to the above data communication technologies.
  • FIG. 2a illustrates a schematic diagram of a playback interface 21 of a video client provided by an embodiment of the present application.
  • the playback interface 21 includes a video player 211, a playback control area 212, and a playlist area 213.
  • the video player 211 is configured to display at least one of a video screen and a recommended content.
  • the playback control area 212 is used to control the playback status of the played video when the video is playing, such as pausing, adjusting the playback progress, and double-speed playback.
  • the playlist area 213 is used to display video information of the played video, such as a video profile and a user's comment on the video. In addition, the playlist area 213 can also be used to search for online videos.
  • the video player 211 may include a recommended area and a video playback area for displaying recommended content.
  • the video screen is displayed in the video playback area, and the video playback area can be displayed in the video player 211 in full size (that is, the area that fills the video player 211); or, the video playback area can be smaller than The size display of the video player 211, for example, when the video is played to the end, the video playback area is reduced in the video player 211 so that the recommended area is displayed at the same time.
  • the recommended area is usually not displayed when you watch the video normally, so as not to affect the viewing experience of the user; when the video is played to the end, the video playback area can be reduced to display the recommended area at the same time.
  • the recommended content display method provided by each embodiment of the present application may be executed by the terminal 110 (the video client in the embodiment) alone, or may be performed by the terminal 110 and the server 120 in cooperation.
  • the following embodiments use the recommended content display method by the terminal 110
  • the installed video client is taken as an example for illustration.
  • the playback interface 21 of the video client when the user selects a video for playback, the playback interface 21 of the video client includes a video player 211, a playback control area 212, and a playlist area 213.
  • the video player 211 displays a video screen, and the user can control the playback progress through the playback controls in the playback control area 212.
  • the video client hides the video player 211 and displays a recommendation area 214 for presenting recommended content in the interface for the user to click and watch.
  • the recommended content can only be exposed after the current video is completely played.
  • videos such as TV series, movies, documentaries, and variety shows
  • the video content at the end of the video is usually rolling captions, movie clips, and users. Does not pay too much attention to this part of the video content (often exits the playback interface 21 when the playback is not complete), resulting in a low exposure of the recommended content; and the video client may interact with the background server data in advance to obtain the recommended content , Low exposure of recommended content will cause waste of data transmission resources.
  • the video client when it is detected that the current video is played to the end of the video, the video client reduces the size of the video player 211.
  • the following uses a schematic embodiment to describe the recommended content display method provided in the embodiment of the present application.
  • FIG. 4 shows a flowchart of a recommended content display method provided by an embodiment of the present application.
  • This embodiment is exemplified by applying the method to a terminal installed with a video client.
  • the method may include the following steps:
  • Step 401 Play a target video in a video playback area of a video player.
  • the playback interface of the video client includes a video player.
  • the video client uses the video player to parse and render the received video data, thereby displaying the corresponding video in the video playback area of the video player. Screen.
  • the size of the video playback area is the same as the size of the video player, or the size of the video playback area is slightly smaller than the size of the video player, that is, only the video playback area is displayed in the video player .
  • the video player 211 completely displays the video screen.
  • the target video in the embodiment of the present application is the currently playing video.
  • the target video may be a TV series, a movie, a documentary, a cartoon, a music video (MV), a variety show, or an original video.
  • the embodiment of the present application does not target the target.
  • the type of video is limited.
  • step 402 when the target video is played to the end of the film, the size of the video playback area is reduced.
  • the video client obtains an ending time point corresponding to the target video, and determines whether to play to the ending point according to the current playing time point and ending time point of the target video.
  • the video client obtains the end time corresponding to the target video.
  • the video client may estimate the end time of the video based on the total video length of the target video, or the video client may automatically identify the video end based on the video picture.
  • the video client stores a first size and a second size in advance, where the first size is a display size of the video playback area during normal playback (regardless of manually scaling the video client window size), and the second size is the video The target size after the playback area is reduced.
  • the video client reduces the video playback area from the first size to the second size.
  • the video player client dynamically determines the reduced target size of the video playback area based on the current window size.
  • the video client determines that the user is concerned about the end of the video and stops reducing the size of the video playback area.
  • Step 403 Display the reduced video playback area and the recommended content in the video player, and the reduced video playback area is used to continue playing the target video.
  • the video client sends a recommended content acquisition request to the background server before playing to the end of the film, so as to obtain the corresponding recommended content.
  • the recommended content may include at least one of the following: a video, an advertisement, and an application.
  • a video may include at least one of the following: a video, an advertisement, and an application.
  • an application may include at least one of the following: a video, an advertisement, and an application.
  • the embodiment of the present application does not limit the specific type of the recommended content.
  • the video client After reducing the video playback area and obtaining the recommended content, the video client renders and displays the video playback area and the recommended content in the video player.
  • the reduced video playback area 215 is displayed in the upper left corner area of the video player 211, and the recommended content 214 is displayed in other areas of the video player 211.
  • the reduced video playback area may also be displayed in the upper right corner area, the lower left corner area, the lower right corner area, and the like of the video player.
  • the embodiment of the present application does not specifically describe the reduced video playback area. The display position is limited.
  • the video client continues to play the end of the target video through the reduced video playback area, and receives a selection signal for recommended content.
  • the reduced video playback area is still controlled by the playback controls in the playback control area, that is, when an operation signal for the playback controls in the playback control area is received, the video playback area adjusts the playback progress according to the operation signals.
  • the recommended content is displayed by using the method provided in the embodiment of the present application, since the recommended content is displayed when it is played to the end of the video, there is no need to wait until the video is completely played, and the display timing of the recommended content is advanced. To avoid the problem that the user cannot close the playback interface after watching to the end of the video, and the recommended content cannot be exposed.
  • the video playback area is first filled into the entire video player, so that the video is played in the entire video player; when the video is played to the end, The size of the video playback area, so that the reduced video playback area and recommended content are displayed in the video player at the same time, and the target video continues to be played in the reduced video playback area; compared to the related technology, it is required to complete the video completely Recommended content will be displayed.
  • the user can view the recommended content at the end of the video by adjusting the size of the video playback area and performing content recommendation on the video player without affecting the normal viewing of the video by the user. , Which in turn improves the visibility of recommended content.
  • the video client when the recommended content is displayed using the above method, since the recommended content and the video screen are displayed in the video player at the same time, in order to ensure the screen in the video playback area is clear, the video client also needs to determine whether Make content recommendations.
  • the video client performs content recommendation when the current video meets the recommended conditions, and the size of the current video player meets the size conditions, and the current video is played to the end of the film.
  • the following uses an exemplary embodiment for Instructions.
  • FIG. 5 illustrates a flowchart of a recommended content display method provided by another embodiment of the present application.
  • This embodiment is exemplified by applying the method to a terminal installed with a video client.
  • the method may include the following steps:
  • Step 501 Play a target video in a video playback area of a video player.
  • step 401 For implementation of this step, reference may be made to step 401 described above.
  • Step 502 Detect whether the target video meets the recommended conditions.
  • the video client detects whether the target video meets the recommended conditions. If the target video meets the recommended conditions, the video client executes step 505, and if the target video If the recommended conditions are not met, the video client will not perform the recommended steps described below.
  • the video playback device detects whether the target video is the last episode in the video set to which it belongs. If the target video is in the video set to which it belongs, In the last episode, it is determined that it meets the recommended conditions. As shown in FIG. 6, this step may include the following steps.
  • Step 502A Determine a target video set to which the target video belongs.
  • the target video set is a collection of videos having a playback timing relationship with the target video.
  • the target video set may be a collection of several serials, a collection of several cartoons, a collection of series of movies, or a collection of series of documentaries.
  • the embodiments of the present application do not provide specific types of the target video set. Limitation.
  • the video client sends a request to the background server to determine the target video set to which the target video belongs.
  • Step 502B It is detected whether the target video set includes a continuous video corresponding to the target video, and the playback order of the continuous video in the target video set is located after the target video.
  • the target video set includes a playback sequence and playback rights corresponding to each video.
  • the playback order is used to indicate the playback order of each video, and the playback order can be determined by the episode number corresponding to the video. For example, the playback sequence for the first episode precedes the second.
  • the playback right is used to indicate the minimum permissions of the client that can play the video, and the playback rights corresponding to different videos in the same video set may be the same or different.
  • the playback rights for episodes 1 to 10 are registered users, and the playback rights for episodes 11 to 15 are members.
  • the video client Based on the determined target video set, the video client detects whether the target video set contains a continuous video corresponding to the target video. If the target video set does not include a continuous video corresponding to the target video, it indicates that the target video is the latest episode in the target video set. Recommended conditions; if it includes a continuous video corresponding to the target video, indicating that the target video is not the latest episode in the target video set, it is determined that the target video does not meet the recommended conditions.
  • the video client when including the tandem video corresponding to the target video, the video client further determines whether it has the playback right of the tandem video, and if it has the playback right of the tandem video (that is, the tandem video can continue to be played after the target video is played), it is determined The target video does not meet the recommended conditions; if it does not have the playback rights of the podcast video, it is determined that the target video meets the recommended conditions, and the logic of enabling the playback permissions of the podcast video is performed. For example, when a non-member user watches a video, if the next video of the currently played video needs to be a member user to watch, then it is determined that he does not have the playback right of the continuous video, that is, the target video meets the recommended conditions.
  • step 502C if the target video set does not include a continuous broadcast video, it is determined that the target video meets the recommended conditions.
  • the video client determines that the next episode cannot be played after the target video is played, so that it is determined that the target video meets the recommended conditions, and step 505 is performed.
  • the video client determines that the current video meets the recommended conditions.
  • step 502D if the target video set includes the continuous video, but the video client does not have the playback right of the continuous video, it is determined that the target video meets the recommended conditions.
  • the video client when the target video set includes continuous broadcast video, the video client further detects whether the broadcast video has the permission to play the continuous broadcast video. If it has, the continuous broadcast operation is performed. If not, the recommended continuous broadcast is performed after the current video playback ends. Operation of video playback permissions.
  • the playback rights of episodes 1 to 10 are registered users, and the playback rights of episodes 11 to 15 are members. If the login account of the video client is a registered user and the current video is episode 10, it is determined that the current video meets the recommended conditions, and when the current video is played to the end of the video, the member opens the entrance in the recommended content.
  • the video client may also determine that the recommended conditions are not met, and it is recommended to open after the target video is played. Permission to play tandem video.
  • Step 503 Check whether the video player meets the size condition.
  • the video client obtains the size of the video player, and detects whether the size of the video player is greater than the size threshold. If the size of the video player is greater than the size threshold, determine to proceed The video screen can be clearly displayed during content recommendation, and the following step 505 is performed; if the size of the video player is smaller than the size threshold, it is determined that the video screen cannot be clearly displayed during content recommendation, and the following recommended steps are stopped.
  • the size threshold includes a length size threshold of 640px and a height size threshold of 435px.
  • the size threshold may be related to the video resolution of the target video. For example, when the video resolution is 1080p, the size threshold is 640px ⁇ 435px, and when the video resolution is 720p, the size threshold is 600px ⁇ 400px.
  • the video client can perform the size detection step when it detects that the target video is played to the end of the movie, or when it is about to be played to the end of the movie.
  • Step 504 It is detected whether the target video is played to the end of the movie.
  • the video client may use any one of the following three methods to detect whether the video is played to the end of the movie.
  • the end time is the start time of the end of the play.
  • the size of the video playback area is reduced.
  • the video contains the corresponding opening time and ending time.
  • the opening time is the ending time of the opening and the ending time is the ending positive.
  • the intro time and intro time are manually labeled, or are generated based on the click behavior of a large number of users when watching the video (fast-forward to the main movie, and reach the end of the movie is manually closed).
  • the video client while the video client obtains the target video data from the background server, the video client obtains the end time of the target video from the background server, and detects whether the current playback time point is in the process of playing the target video. Reach the end of the movie time point, and when it reaches, reduce the size of the video playback area.
  • the video client obtains the end time of the target video as 01:40:32, when the video is played to 1 hour, 40 minutes, and 32 seconds, it is determined to enter the end of the film and reduce the size of the video player.
  • the video client obtains the total video duration of the target video, and further Determine the estimated ending time point based on the total video duration.
  • the video client determines the duration of the trailer based on the video type of the target video. , And then determine an estimated ending time point based on the ending length ratio and the total video duration.
  • the total length of the video obtained by the video client for the target video is 90 minutes, and the type of the target video is a movie. Therefore, based on the 5% of the ending time corresponding to the video type of the movie, the ending length of the ending video is determined to be 4.5 minutes.
  • the ending time point is 85 minutes and 30 seconds.
  • the video client detects whether the current playback time point has reached the expected ending time point, and when it reaches, reduces the size of the video playback area.
  • the end-of-credit feature includes at least one of the following: the end-of-title feature and the end-of-picture feature.
  • video trailers often contain a large number of subtitles, and the picture characteristics of video trailers and video positives are significantly different. Therefore, in a possible implementation, when the ending time point corresponding to the target video is not obtained, The video client detects whether the video picture meets the end caption feature and / or the end cap feature.
  • the ending subtitle features include subtitle keywords, for example, the subtitle keywords include: cast, director, acting, producer, and so on.
  • the end-of-picture feature includes the picture color composition and the target color ratio.
  • the picture color of the video screen is composed of black and white and the black (target color) color ratio reaches 80%
  • the video client determines the video.
  • the picture matches the feature of the credit.
  • the video client may also determine whether to currently play to the end of the movie according to the feature of the ending song, which is not limited in this embodiment of the present application.
  • Step 505 When the target video meets the recommended conditions, and the video player meets the size condition, and the target video is played to the end of the movie, the size of the video playback area is reduced.
  • the video client When the recommended conditions and size conditions are met at the same time, and the video is played to the end, the video client performs an operation of reducing the video playback area.
  • the steps of reducing the size of the video playback area refer to step 302 described above.
  • this embodiment is only described as an example of displaying recommended content when the above three conditions are simultaneously met.
  • the video client can also display the recommended content.
  • Step 506 Display the reduced video playback area and the recommended content in the video player, and the reduced video playback area is used to continue playing the target video.
  • the user interface (UI) framework of the video client is single, which is not conducive to the display of recommended content.
  • the UI framework is reset, so that the video player can display different content in the playback mode and the recommended mode.
  • the playback interface of the video client includes a video player 71, a playback control area 72, and a playlist area 73.
  • the video player 71 includes a video playback area 711, a first recommendation area 712, and a second recommendation area 713.
  • the initial state (default state) of the video playback region 711 is a show state
  • the initial states of the first recommendation region 712 and the second recommendation region 713 are hidden states.
  • the video client displays the recommended content and the video player at the same time, the following steps are included.
  • the size of the video playback area in the video player is variable.
  • the size of the video playback area is the same as the size of the video player, that is, the video playback area is automatically expanded to the entire video player.
  • the initial states of the first recommendation region and the second recommendation region are both hidden, they will not affect the video screen.
  • the video client When the trigger condition for displaying recommended content is reached, in order to be able to display the recommended content in the video player, the video client will display the reduced video playback area at a predetermined position of the video player, which may be the video player ’s Top left, top right, bottom left or bottom right, and more.
  • the reduced video playback area is displayed in the upper left corner of the video player as an example for description.
  • the first recommendation area is set to a display state, and the first recommendation content is displayed in the first recommendation area, and the first recommendation content includes a video associated with the target video.
  • the video client Since the first recommendation area is hidden in the initial state, in order to make the recommendation content in the first recommendation area visible, the video client first sets the first recommendation area to a display state, and then displays the acquired first recommendation content on the Within the first recommendation area.
  • the first recommendation area is adjacent to the video playback area and is located at the same height, a video associated with the target video is displayed in the first recommendation area.
  • the target video is a movie or a TV series
  • the first recommended content is a shot or a tidbit of the target video, and so on.
  • the embodiment of the present application does not limit the specific content of the first recommended content.
  • the outer layer of the first recommendation area only provides an empty frame BlooperWrapper, and a video element item (trivia) is created in the BlooperWrapper through a separately created class (trivia class).
  • the second recommendation area includes the leaderboard video and the recommended video.
  • the leaderboard video and the target video belong to the same video type.
  • the recommended video Determined based on the historical playback record of the video client.
  • the video client first sets the second recommendation area to a display state, and then displays the acquired second recommendation content. Within the second recommended area.
  • the outer layer of the second recommendation area only provides an empty frame RecommendedContainer, and a video element item (a leaderboard video and a recommended video) is created in the RecommendedContainer through a separately created class (recommended class).
  • the video client obtains the corresponding leaderboard under the video type according to the video type to which the target video belongs, and further determines the leaderboard video in the leaderboard as the second recommended content;
  • the video client determines the number of playback times of various video types according to the historical playback record, thereby determining the n target video types with the highest number of playbacks, and further determines the second recommended content (ie, the recommended video) for the videos corresponding to the n target video types.
  • n is a positive integer.
  • the embodiment of the present application does not limit the specific manner of determining the second recommended content.
  • obtaining the recommended content by the video client includes the following steps.
  • the video client checks whether there is recommended content cached locally; 2. If there is recommended content cached locally, it directly reads the recommended content from the local cache; 3. If the recommended content is not cached locally, it sends the recommended content to the background server for acquisition Request; 4. format check the received recommended content, and after passing the check, parse the recommended content and cache it locally.
  • the server feedbacks the recommended content to the video client including the following steps: 801, receiving a recommendation content acquisition request; 802, fetching recommendation data according to the recommendation content acquisition request, the recommendation data includes tidbit data, ranking Ranking data and personal recommendation data; 803, when the recommendation data is successfully captured, the corresponding extended data is obtained, and the extended data is used to add additional information (including the subscripts and ratings of the recommended items); 804, the recommendation data and the extension The data is encapsulated into recommended content and fed back to the video client.
  • the video client simultaneously displays the reduced video playback area and the recommended content to avoid content recommendation during the continuous video broadcast , And ensure that the video picture displayed by the video player is clear.
  • the video playback area of the video player is enlarged and displayed in the playback mode, and the first and second recommended areas are hidden (recommended content is displayed); the video player is reduced in the recommended mode.
  • the video client plays the first recommended content through the reduced video playback area and updates the first recommended content displayed in the first recommended area.
  • the video playback area 215 plays the tidbit A and the tidbit B in the recommended content 214 in sequence, and updates the tidbit video in the first recommended area 712.
  • the video client may enlarge the video playback area and play the first recommended content in the enlarged video playback area.
  • the video playback area is enlarged, and the selected first recommended content or the second recommended content is played through the enlarged video playback area.
  • the video client When the selection signal for the recommended content is received, it indicates that the user has a strong desire to watch the recommended content. Therefore, the video client enlarges the video playback area and plays the selected recommended content in the enlarged video playback area to achieve better results. Playback effect.
  • the video player only contains the video screen, and the recommended content is hidden; or after the video playback area is enlarged, the video player contains both the video screen and the recommended content, and the recommended content is displayed
  • the size is reduced proportionally. Among them, the ratio of enlargement and reduction can be adjusted by the user.
  • the video client when receiving a selection signal for a leaderboard video in the recommended content 214, the video client expands the video playback area 711 to the entire video player 71 (the first recommendation area 712 and the first The second recommendation area 713 is hidden), and the video playback area is restored, so that the selected leaderboard video is played through the restored video playback area.
  • the video client in order to increase the click-through rate of subsequent recommended content, and reduce interference with the push of content that does not meet user preferences, the video client generates user portrait update data according to the operations performed by the user in the video player, where the user Operations performed within the video player include, but are not limited to, pause operations, click operations, close operations, and the like.
  • the video player 91 includes a plurality of video elements 92, and each video element 92 is used to display the cover of the video and the viewing authority icon (such as membership, VIP, etc.), video information such as video name, rating, or leaderboard, and is used to respond to user click operations.
  • the viewing authority icon Such as membership, VIP, etc.
  • video information such as video name, rating, or leaderboard
  • Figure 9 includes a sidebar 93, a leaderboard 94, and a recommendation 95 for you.
  • the video client submits the recommendation data of each level to the corresponding level on the UI, ensuring that each level only draws the recommendation data it receives, without paying attention to the data of other levels.
  • the data of EndRecomendInfoItemList (including data related to the title of the banner, the type of the banner, etc.) is submitted to the banner layer so that the banner layer can draw the content of the banner.
  • the data is submitted to the video element layer, so that the video element layer draws each video element.
  • the reduced video playback area 1001 includes a restore control 1002. Accordingly, as shown in FIG. 11, after step 506, the following steps are included:
  • step 507 after receiving the operation signal of the restoration control, the video playback area is enlarged.
  • the restore control in the video playback area can be triggered.
  • the video client receives an operation signal for the restoration control, it enlarges the size of the video playback area and hides the recommended content.
  • the size of the enlarged video playback area is the same as the size of the video player, or is slightly smaller than the size of the video player.
  • the video client resets the first recommended area and the second recommended area in the video player to a hidden state, and expands the video playback area to the video player.
  • the conversion from the recommended mode to the playback mode can be implemented.
  • the restored video playback area 1101 It also includes a switch control 1003.
  • the following steps are also included.
  • Step 508 After receiving the operation signal of the switching control, reduce the size of the video playback area, and display the reduced video playback area and the recommended content in the video player.
  • a toggle control in the video playback area can be triggered.
  • the video client receives the operation signal of the switching control, it reduces the size of the video playback area. For the steps of reducing the size of the video playback area, refer to step 402 described above.
  • the video client resets the first recommended area and the second recommended area in the video player to the display state, and reduces the video playback area to a predetermined size, so that the video playback area and the recommendation are displayed in the video player at the same time. content.
  • steps in the flowchart of FIG. 4-6 are sequentially displayed according to the directions of the arrows, these steps are not necessarily performed sequentially in the order indicated by the arrows. Unless explicitly stated in this document, the execution of these steps is not strictly limited, and these steps can be performed in other orders. Moreover, at least part of the steps in Figure 4-6 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily performed at the same time, but may be performed at different times. These sub-steps or stages The execution order of is not necessarily performed in sequence, but can be performed in turn or at least partially with other steps or substeps or stages of other steps.
  • FIG. 12 shows a block diagram of a recommended content display device provided by an embodiment of the present application.
  • the device has a function of performing the above-mentioned recommended content display method example.
  • the function may be implemented by hardware, or may be implemented by hardware executing corresponding software.
  • the device may include:
  • a first playback module 1210 configured to play a target video in a video playback area of a video player
  • a reduction module 1220 configured to reduce the size of the video playback area when the target video is played to the end of the film
  • the display module 1230 is configured to display the reduced video playback rest and recommended content in the video player, and the reduced video playback area is used to continue playing the target video.
  • the device further includes:
  • a first detection module configured to detect whether the target video meets a recommended condition
  • the reduction module 1220 is further configured to execute the step of reducing the size of the video playback area when the target video is played to the end of the video if the target video meets the recommended conditions.
  • the first detection module includes:
  • a video set determining unit configured to determine a target video set to which the target video belongs
  • the determining unit is configured to determine that the target video meets the recommendation condition if the continuous video is not included in the target video set.
  • the reduction module 1220 includes:
  • An obtaining unit configured to obtain an end time point of the target video, where the end time point is a start time point at which the end of the video is played;
  • the first reduction unit is configured to reduce the size of the video playback area when the target video is played to the end time.
  • the reduction module 1220 further includes:
  • a second reducing unit configured to obtain a total video duration of the target video; determine an estimated ending time point according to the total video duration; and reduce the video playback area when the target video is played to the estimated ending time point size of;
  • the reduction module 1220 further includes:
  • the third reducing unit is configured to reduce the size of the video playback area if the video picture meets the ending feature, the ending feature includes at least one of the following: ending feature and ending feature.
  • the device further includes:
  • a size obtaining module configured to obtain a size of the video player
  • the reduction module 1220 is further configured to execute the step of reducing the size of the video playback area when the target video is played to the end of the video if the size of the video player is greater than the size threshold.
  • the reduced video playback area includes a restore control
  • the device further includes:
  • the amplification module is configured to enlarge the video playback area after receiving an operation signal on the restoration control.
  • the enlarged video playback area includes a switching control
  • the device further includes:
  • a switching module is configured to reduce the size of the video playback area after receiving an operation signal on the switching control, and display the reduced video playback area and the recommended content in the video player.
  • the video player includes the video playback area, a first recommendation area, and a second recommendation area, and an initial state of the video playback area is a display state, and the first recommendation area and the second recommendation area The initial state of the recommended area is hidden;
  • the display module 1230 includes:
  • a first display unit configured to display the reduced video playback area at a predetermined position of the video player
  • a second display unit configured to set the first recommended area to a display state, and display first recommended content in the first recommended area, where the first recommended content includes a content associated with the target video video;
  • a third display unit configured to set the second recommendation area to a display state, and display second recommended content in the second recommendation area, where the second recommended content includes a leaderboard video and a recommended video, and The leaderboard video and the target video belong to the same video type, and the recommended video is determined according to the historical playback record of the video client.
  • the device further includes:
  • a second playback module configured to play the first recommended content through the reduced video playback area when the target video playback ends, and update the first recommended content displayed in the first recommended area ;
  • a third playback module configured to, when a selection signal for the first recommended content or the second recommended content is received, enlarge the video playback area, and play the selected video through the enlarged video playback area; The first recommended content or the second recommended content.
  • the above image processing apparatus may be implemented in the form of a computer program, and the computer program may be run on a terminal.
  • the storage medium on the terminal may store various program modules constituting the image processing apparatus, such as the first playback module 1210, the reduction module 1220, and the display module 1230 shown in FIG.
  • the processor causes the processor to execute the steps in the recommended content display method of each embodiment of the present application.
  • FIG. 13 shows a structural block diagram of a terminal 1300 provided by an exemplary embodiment of the present application.
  • the terminal 1300 may be a smart phone, a tablet computer, or a personal computer.
  • the terminal 1300 includes a processor 1301 and a memory 1302.
  • the processor 1301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like.
  • the processor 1301 may use at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array, Field Programmable Gate Array), and PLA (Programmable Logic Array). achieve.
  • the processor 1301 may also include a main processor and a co-processor.
  • the main processor is a processor for processing data in the awake state, also called a CPU (Central Processing Unit).
  • the co-processor is Low-power processor for processing data in standby.
  • the processor 1301 may be integrated with a GPU (Graphics Processing Unit).
  • the GPU is responsible for rendering and drawing content required to be displayed on the display screen.
  • the processor 1301 may further include an AI (Artificial Intelligence) processor, and the AI processor is configured to process computing operations related to machine learning. .
  • AI Artificial Intelligence
  • the memory 1302 may include one or more computer-readable storage media, which may be non-volatile and / or volatile memory.
  • Non-volatile memory may 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 various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Synchlink DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDRSDRAM dual data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous chain Synchlink DRAM
  • memory bus Rabus direct RAM
  • DRDRAM direct memory bus dynamic RAM
  • RDRAM memory bus dynamic RAM
  • the terminal 1300 may further include a peripheral device interface 1303 and at least one peripheral device.
  • the peripheral device includes at least one of a radio frequency circuit 1304, a touch display screen 1305, a camera 1306, an audio circuit 1307, a positioning component 1308, and a power source 1309.
  • the peripheral device interface 1303 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1301 and the memory 1302.
  • the processor 1301, the memory 1302, and the peripheral device interface 1303 are integrated on the same chip or circuit board; in some other embodiments, any one of the processor 1301, the memory 1302, and the peripheral device interface 1303 or Two can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
  • the radio frequency circuit 1304 is used for receiving and transmitting an RF (Radio Frequency) signal, also called an electromagnetic signal.
  • the radio frequency circuit 1304 communicates with a communication network and other communication devices through electromagnetic signals.
  • the radio frequency circuit 1304 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals.
  • the radio frequency circuit 1304 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like.
  • the radio frequency circuit 1304 can communicate with other terminals through at least one wireless communication protocol.
  • the wireless communication protocols include, but are not limited to, the World Wide Web, metropolitan area networks, intranets, mobile communication networks (2G, 3G, 4G, and 5G) of various generations, wireless local area networks, and / or WiFi (Wireless Fidelity) networks.
  • the radio frequency circuit 1304 may further include NFC (Near Field Communication) circuits, which are not limited in this application.
  • the touch display screen 1305 is used to display a UI (User Interface).
  • the UI can include graphics, text, icons, videos, and any combination thereof.
  • the touch display screen 1305 also has the ability to collect touch signals on or above the surface of the touch display screen 1305.
  • the touch signal can be input as a control signal to the processor 1301 for processing.
  • the touch display screen 1305 is used to provide a virtual button and / or a virtual keyboard, which is also called a soft button and / or a soft keyboard.
  • one touch display screen 1305 may be provided, and a front panel of the terminal 1300 is provided.
  • at least two touch display screens 1305 may be provided on different surfaces of the terminal 1300 or may be folded.
  • the touch display screen 1305 may be a flexible display screen disposed on a curved surface or a folded surface of the terminal 1300. Furthermore, the touch display screen 1305 can also be set as a non-rectangular irregular figure, that is, a special-shaped screen.
  • the touch display screen 1305 can be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode).
  • the camera component 1306 is used for capturing images or videos.
  • the camera component 1306 includes a front camera and a rear camera.
  • a front camera is used to implement a video call or a selfie
  • a rear camera is used to implement a photo or video shooting.
  • the camera assembly 1306 may further include a flash.
  • the flash can be a monochrome temperature flash or a dual color temperature flash.
  • a dual color temperature flash is a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
  • the audio circuit 1307 is used to provide an audio interface between the user and the terminal 1300.
  • the audio circuit 1307 may include a microphone and a speaker.
  • the microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals and input them to the processor 1301 for processing, or input to the radio frequency circuit 1304 to implement voice communication.
  • the microphone can also be an array microphone or an omnidirectional acquisition microphone.
  • the speaker is used to convert electrical signals from the processor 1301 or the radio frequency circuit 1304 into sound waves.
  • the speaker can be a traditional film speaker or a piezoelectric ceramic speaker.
  • the speaker When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible to humans, but also convert electrical signals into sound waves inaudible to humans for ranging purposes.
  • the audio circuit 1307 may further include a headphone jack.
  • the positioning component 1308 is used to locate the current geographic position of the terminal 1300 to implement navigation or LBS (Location Based Service).
  • the positioning component 1308 may be a positioning component based on a US-based GPS (Global Positioning System), a Chinese Beidou system, or a Russian Galileo system.
  • the power supply 1309 is used to power various components in the terminal 1300.
  • the power source 1309 may be an alternating current, a direct current, a disposable battery, or a rechargeable battery.
  • the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery.
  • the wired rechargeable battery is a battery charged through a wired line
  • the wireless rechargeable battery is a battery charged through a wireless coil.
  • the rechargeable battery can also be used to support fast charging technology.
  • the terminal 1300 further includes one or more sensors 1310.
  • the one or more sensors 1310 include, but are not limited to, an acceleration sensor 1311, a gyro sensor 1312, a pressure sensor 1313, a fingerprint sensor 1314, an optical sensor 1315, and a proximity sensor 1316.
  • the acceleration sensor 1311 can detect the magnitude of acceleration on three coordinate axes of the coordinate system established by the terminal 1300.
  • the acceleration sensor 1311 may be used to detect components of the acceleration of gravity on three coordinate axes.
  • the processor 1301 may control the touch display screen 1305 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1311.
  • the acceleration sensor 1311 may also be used for collecting motion data of a game or a user.
  • the gyro sensor 1312 can detect the body direction and rotation angle of the terminal 1300, and the gyro sensor 1312 can cooperate with the acceleration sensor 1311 to collect a 3D motion of the user on the terminal 1300. Based on the data collected by the gyro sensor 1312, the processor 1301 can implement the following functions: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
  • the pressure sensor 1313 may be disposed on a side frame of the terminal 1300 and / or a lower layer of the touch display screen 1305.
  • the pressure sensor 1313 When the pressure sensor 1313 is disposed on a side frame of the terminal 1300, it can detect a user's holding signal on the terminal 1300, and perform left-right hand recognition or quick operation according to the holding signal.
  • the pressure sensor 1313 When the pressure sensor 1313 is disposed on the lower layer of the touch display screen 1305, it is possible to control the operability controls on the UI interface according to the user's pressure operation on the touch display screen 1305.
  • the operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
  • the fingerprint sensor 1314 is used to collect a user's fingerprint to identify the user's identity based on the collected fingerprint.
  • the processor 1301 authorizes the user to perform related sensitive operations, such as unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings.
  • the fingerprint sensor 1314 may be provided on the front, back, or side of the terminal 1300. When a physical button or a manufacturer's logo is set on the terminal 1300, the fingerprint sensor 1314 can be integrated with the physical button or the manufacturer's logo.
  • the optical sensor 1315 is used to collect the ambient light intensity.
  • the processor 1301 may control the display brightness of the touch display screen 1305 according to the ambient light intensity collected by the optical sensor 1315. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1305 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 1305 is decreased.
  • the processor 1301 may further dynamically adjust the shooting parameters of the camera component 1306 according to the ambient light intensity collected by the optical sensor 1315.
  • the proximity sensor 1316 also called a distance sensor, is usually disposed on the front of the terminal 1300.
  • the proximity sensor 1316 is used to collect the distance between the user and the front of the terminal 1300.
  • the processor 1301 controls the touch display screen 1305 to switch from the bright screen state to the closed screen state;
  • the touch screen display 1305 is controlled by the processor 1301 to switch from the rest screen state to the bright screen state.
  • FIG. 13 does not constitute a limitation on the terminal 1300, and may include more or fewer components than shown in the figure, or combine certain components, or adopt different component arrangements.
  • An embodiment of the present application further provides a computer-readable storage medium, where the storage medium stores at least one instruction, at least one program, code set, or instruction set, the at least one instruction, the at least one program, and the code set Or the instruction set is loaded and executed by the processor to implement the recommended content display method provided by the foregoing embodiments.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Television Signal Processing For Recording (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本申请公开了一种推荐内容显示方法、装置、终端及存储介质,属于内容推荐领域。所述方法包括:在视频播放器的视频播放区域中播放目标视频;当目标视频播放至片尾时,缩小视频播放区域的尺寸;在视频播放器内显示缩小后的视频播放其余以及推荐内容,缩小后的视频播放区域用于继续播放目标视频。

Description

推荐内容显示方法、装置、终端及计算机可读存储介质
本申请要求于2018年07月20日提交中国专利局,申请号为2018108044453,发明名称为“推荐内容显示方法、装置、终端及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及内容推荐领域,特别涉及一种推荐内容显示方法、装置、终端及计算机可读存储介质。
背景技术
视频客户端是终端中安装率以及使用率较高的客户端,用户通过视频客户端可以观看连续剧、电影、综艺节目等等。
视频客户端的播放界面中通常包含视频播放器、播放控制区域和播放列表区域,其中,视频播放器区域用于播放视频,播放控制区域用于显示播放控件,比如进度条控件、音量控件和画质选择控件等等,播放列表区域用于显示播放列表及视频相关信息。
相关技术中,视频播放结束后,视频客户端隐藏视频播放器;并且为了提高其它视频的点击率,视频客户端在界面中显示推荐视频,以便用户点击观看。
然而,采用上述方式进行视频推荐时,推荐内容只有在当前视频全部播放结束后才会显示,而用户通常不会观看至视频完全结束,导致推荐内容的曝光率和点击率较低。
发明内容
根据本申请的各种实施例,提供了一种推荐内容显示方法、装置、终端及计算机可读存储介质。
一种推荐内容显示方法,由终端执行,所述方法包括:
在视频播放器的视频播放区域中播放目标视频;
当所述目标视频播放至片尾时,缩小所述视频播放区域的尺寸;
在所述视频播放器内显示缩小后的所述视频播放区域以及推荐内容,缩小 后的所述视频播放区域用于继续播放所述目标视频。
一种推荐内容显示装置,所述装置包括:
第一播放模块,用于在视频播放器的视频播放区域中播放目标视频,;
缩小模块,用于当所述目标视频播放至片尾时,缩小所述视频播放区域的尺寸;
显示模块,用于在所述视频播放器内显示缩小后的所述视频播放其余以及推荐内容,缩小后的所述视频播放区域用于继续播放所述目标视频。
一种终端,所述终端包括处理器和存储器,所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器执行上述的推荐内容显示方法的步骤。
一种计算机可读存储介质,其特征在于,所述存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器执行上述的推荐内容显示方法的步骤。
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征和优点将从说明书、附图以及权利要求书变得明显。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1示出了本申请一个实施例提供的实施环境的示意图;
图2a是视频客户端的播放界面的示意图;
图2b是相关技术中推荐内容显示过程的界面示意图;
图3是本申请实施例中推荐内容显示过程的界面示意图;
图4示出了本申请一个实施例提供的推荐内容显示方法的流程图;
图5示出了本申请另一个实施例提供的推荐内容显示方法的流程图;
图6是判断目标视频是否满足推荐条件过程的流程图;
图7是本申请实施例中播放界面区域的划分示意图;
图8是后台服务器向视频客户端反馈推荐内容过程的流程图;
图9是推荐模式下视频元素与通栏的示意图;
图10是播放模式和推荐模式切换过程的界面示意图;
图11示出了本申请另一个实施例提供的推荐内容显示方法的流程图;
图12示出了本申请一个实施例提供的推荐内容显示装置的框图;
图13示出了本申请一个示例性实施例提供的终端的结构框图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
请参考图1,其示出了本申请一个实施例提供的实施环境的示意图。该实施环境中包括终端110和服务器120。
终端110是安装有视频客户端的电子设备,该电子设备可以是智能手机、平板电脑、个人计算机等等。图1中,以终端110是个人计算机进行说明。
其中,视频客户端是一种提供视频点播以及在线视频播放服务的客户端。
终端110启动视频客户端后,视频客户端显示主界面,该主界面中包含按照视频类型、视频排行、视频播放量、视频更新时间、视频热度等条件排序的视频。
当用户选择其中某一视频后,视频客户端显示播放界面,该播放界面中可以包括视频播放器、播放控制区域和播放列表区域。视频播放器播放视频过程中,用户可以通过播放控制区域内的播放控件对视频播放器进行控制,比如,通过拖动进度条控件上的滑块调整播放时间点,通过倍速控件调整视频播放速度,通过音量控件调整视频音量等等。播放列表区域中包含播放列表以及当前播放视频的相关信息,比如电影的演员表、导演以及评分等信息。
终端110通过有线或无线网络与服务器120相连。
服务器120是视频客户端的后台服务器,服务器120可以是一台服务器、若干台服务器构成的服务器集群或云计算中心。
可选的,服务器120中包含视频数据库,该视频数据库中存储有视频数据,或者,视频数据(存储在其他服务器中)对应的视频路径。服务器120即基于视频数据库为视频客户端提供视频数据。
可选的,服务器120中包含用户数据库,该用户数据库中存储有不同用户账号与历史播放记录、会员等级以及用户画像数据之间的对应关系。服务器120即基于用户数据库进行内容推荐。
可选的,服务器120中包含视频信息数据库,该视频信息数据库中存储有不同视频的播放量、在同类视频中的排名、评分等信息。服务器120即基于视频信息数据库进行推荐内容筛选。
在一种可能的应用场景下,如图1所示,终端110运行视频客户端后,从服务器120处获取视频数据,并进行解析播放。当视频播放至片尾时,终端110即向服务器120发送推荐内容获取请求,请求从服务器120处获取推荐内容。服务器120接收到推荐内容获取请求后,基于用户数据库121和视频信息数据库122确定推荐内容,进而将推荐内容反馈给终端110,供终端110中视频客户端进行解析显示。
在另一种可能的实施方式中,当终端110缓存有推荐内容时,当视频播放之片尾时,终端110即从缓存中获取推荐内容并进行解析显示,而无需请求服务器120。
可选地,上述的无线网络或有线网络使用标准通信技术和/或协议。网络通常为因特网、但也可以是任何网络,包括但不限于局域网(Local Area Network,LAN)、城域网(Metropolitan Area Network,MAN)、广域网(Wide Area Network,WAN)、移动、有线或者无线网络、专用网络或者虚拟专用网络的任何组合)。在一些实施例中,使用包括超文本标记语言(Hyper Text Mark-up Language,HTML)、可扩展标记语言(Extensible Markup Language,XML)等的技术和/或格式来代表通过网络交换的数据。此外还可以使用诸如安全套接字层(Secure Socket Layer,SSL)、传输层安全(Transport Layer Security,TLS)、虚拟专用网络(Virtual Private Network,VPN)、网际协议安全(Internet Protocol Security,IPsec)等常规加密技术来加密所有或者一些链路。在另一些实施例中,还可以使用定制和/或专用数据通信技术取代或者补充上述数据通信技术。
请参考图2a,其示出了本申请一个实施例提供的视频客户端的播放界面21的示意图。该播放界面21中包含视频播放器211、播放控制区域212和播放列表区域213。视频播放器211,用于显示视频画面和显示推荐内容中的至少一种。播放控制区域212,用于在播放视频时,对所播放视频的播放状态进行控制,如 暂停、调整播放进度和倍速播放等。播放列表区域213,用于展示所播放视频的视频信息,如视频简介、用户对视频的观影评论,此外,还可以在播放列表区域213中搜索在线视频等。
其中,该视频播放器211内可以具有用于显示推荐内容的推荐区域和视频播放区域。在播放视频时,视频画面在视频播放区域内显示,而视频播放区域可以在视频播放器211内以全尺寸(即占满视频播放器211的区域)显示;或者,视频播放区域可以以小于与视频播放器211的尺寸显示,例如在播放到视频的末尾时,在视频播放器211内缩小视频播放区域,以便同时显示推荐区域。
需要说明的时,在正常观看视频时,通常不显示推荐区域,以免影响用户的观赏体验;而在播放到视频的末尾时,可以将视频播放区域进行缩小显示,以便同时显示推荐区域。
本申请各个实施例提供的推荐内容显示方法可以由终端110(中的视频客户端)单独执行,也可以由终端110和服务器120协同执行,下述各个实施例以推荐内容显示方法由终端110中安装的视频客户端执行为例进行说明。
如图2b所示,用户选中视频进行播放时,视频客户端的播放界面21中包含视频播放器211、播放控制区域212和播放列表区域213。非全屏播放模式下,视频播放器211显示视频画面,用户通过播放控制区域212中的播放控件即可控制播放进度。
相关技术中,当前视频播放结束后,视频客户端隐藏视频播放器211,并在界面内显示用于呈现推荐内容的推荐区域214,以便用户点击观看。
显然,推荐内容只有在当前视频完全播放结束后才能得到曝光,而实际情况下,对于电视剧、电影、纪录片、综艺节目这类视频,位于视频结尾部分的视频内容通常是滚动字幕、片花,而用户并不会过多关注这部分视频内容(往往在未完全播放结束时退出播放界面21),导致推荐内容的曝光率较低;并且,视频客户端可能预先与后台服务器进行数据交互以获取推荐内容,推荐内容的低曝光率将造成数据传输资源的浪费。
为了在不影响用户正常观看视频的前提下,提高推荐内容的曝光率,如图3所示,本申请实施例中,当检测到当前视频播放至片尾时,视频客户端缩小视频播放器211内视频播放区域215的尺寸,并将视频播放区域215移动至视频 播放器211的指定位置继续播放视频;与此同时,视频客户端在视频播放器211的推荐区域214(除视频播放区域215以外的区域)内显示推荐内容,在不影响用户观看视频片尾的同时,方便用户选择推荐内容进行观看。下面采用示意性的实施例,对本申请实施例提供的推荐内容显示方法进行说明。
请参考图4,其示出了本申请一个实施例提供的推荐内容显示方法的流程图。本实施例以该方法应用于安装有视频客户端的终端来举例说明,该方法可以包括以下几个步骤:
步骤401,在视频播放器的视频播放区域中播放目标视频。
视频客户端的播放界面中包含视频播放器,使用视频客户端播放视频时,视频客户端通过视频播放器对接收到的视频数据进行解析渲染,从而在视频播放器的视频播放区域内显示相应的视频画面。
可选的,当前视频未播放至片尾时,视频播放区域的尺寸与视频播放器的尺寸相同,或者,视频播放区域的尺寸略小于视频播放器的尺寸,即视频播放器内仅显示视频播放区域。如图3所示,未播放至片尾时,视频播放器211完全显示视频画面。
本申请实施例中的目标视频即为当前播放视频,该目标视频可以是电视剧、电影、纪录片、动画片、音乐录像(Music Video,MV)、综艺节目或原创视频,本申请实施例并不对目标视频的类型进行限定。
步骤402,当目标视频播放至片尾时,缩小视频播放区域的尺寸。
在一种可能的实施方式中,视频客户端获取目标视频对应的片尾时间点,并根据目标视频的当前播放时间点和片尾时间点,确定是否播放至片尾。可选的,视频客户端接收到对目标视频播放请求后,获取目标视频对应的片尾时间点。
在另一种可能的实施方式中,视频客户端可以根据目标视频的视频总时长预估出片尾时间点,或者,视频客户端基于视频画面自动识别视频片尾。
可选的,视频客户端预先存储有第一尺寸和第二尺寸,其中,第一尺寸为正常播放时视频播放区域的显示尺寸(不考虑手动缩放视频客户端窗口大小),第二尺寸是视频播放区域缩小后的目标尺寸。当播放至片尾时,视频客户端即将视频播放区域由第一尺寸缩小至第二尺寸。
可选的,在缩小视频播放区域时,视频播放器客户端根据当前窗口大小,动态确定视频播放区域缩小后的目标尺寸。
可选的,当检测到用户通过播放控件将播放时间点手动定位到片尾时,视频客户端确定用户关注视频的片尾,并停止缩小视频播放区域的尺寸。
步骤403,在视频播放器内显示缩小后的视频播放区域以及推荐内容,缩小后的视频播放区域用于继续播放目标视频。
可选的,视频客户端在播放至片尾前,向后台服务器发送推荐内容获取请求,从而获取相应的推荐内容。
可选的,该推荐内容可以包括如下至少一种:视频、广告和应用。本申请实施例并不对推荐内容的具体类型进行限定。
缩小视频播放区域并获取到推荐内容后,视频客户端在视频播放器内渲染显示视频播放区域以及推荐内容。
在一种可能的实施方式中,如图3所示,缩小后的视频播放区域215显示在视频播放器211的左上角区域,推荐内容214则显示在视频播放器211的其它区域。在其他可能的实施方式中,缩小后的视频播放区域还可以显示在视频播放器的右上角区域、左下角区域、右下角区域等等,本申请实施例并不对缩小后的视频播放区域的具体显示位置进行限定。
视频客户端通过缩小后的视频播放区域继续播放目标视频的片尾,并接收对推荐内容的选择信号。并且,缩小后的视频播放区域仍旧受播放控制区域中播放控件控制,即当接收到对播放控制区域中播放控件的操作信号时,视频播放区域根据操作信号调整播放进度。
采用本申请实施例提供的方法显示推荐内容时,由于播放至视频片尾时即显示推荐内容,而无需等待至视频完全播放结束,即将推荐内容的显示时机提前,从而提高了推荐内容的曝光率,避免出现用户观看至片尾后,即关闭播放界面,导致推荐内容无法曝光的问题。
综上所述,本申请实施例中,使用视频客户端观看视频时,首先将视频播放区域填充至整个视频播放器,从而在整个视频播放器内播放视频;当视频播放至片尾时,通过缩小视频播放区域的尺寸,进而在视频播放器内同时显示缩小后的视频播放区域以及推荐内容,并在缩小后的视频播放区域继续播放目标视频;相较于相关技术中需要在视频完全结束后才会显示推荐内容,本申请实 施例中,在不影响用户正常观看视频的前提下,通过调整视频播放区域的尺寸并在视频播放器进行内容推荐,使得用户在视频片尾阶段即可查看到推荐内容,进而提高了推荐内容的曝光率。
在一种应用场景下,当用户使用视频客户端播放连续剧时,通常期望在播放完当前视频后,继续播放下一视频,而并不期望在播放完当前视频后进行内容推荐,因此视频客户端还需要检测当前视频是否符合推荐条件,并在当前视频符合推荐条件时进行内容推荐。
并且,采用上述方法显示推荐内容时,由于推荐内容和视频画面同时显示在视频播放器内,因此,为了保证视频播放区域中画面清晰,视频客户端还需要根据当前视频播放器的尺寸,确定是否进行内容推荐。
在一种可能的实施方式中,视频客户端在当前视频符合推荐条件,且当前视频播放器的尺寸符合尺寸条件,且当前视频播放至片尾时,进行内容推荐,下面采用示意性的实施例进行说明。
请参考图5,其示出了本申请另一个实施例提供的推荐内容显示方法的流程图。本实施例以该方法应用于安装有视频客户端的终端来举例说明,该方法可以包括以下几个步骤:
步骤501,在视频播放器的视频播放区域中播放目标视频。
本步骤的实施方式可以参考上述步骤401。
步骤502,检测目标视频是否符合推荐条件。
在一种可能的实施方式中,当接收到对目标视频的播放请求时,视频客户端即检测目标视频是否符合推荐条件,若目标视频符合推荐条件,视频客户端则执行步骤505,若目标视频不符合推荐条件,视频客户端则不会执行下述推荐步骤。
由于用户在观看连续视频时,不希望被推荐内容打断,因此在一种可能的实施方式中,视频播放设备检测目标视频是否为所属视频集中的最后一集,若目标视频是所属视频集中的最后一集,则确定符合推荐条件。如图6所示,本步骤可以包括如下步骤。
步骤502A,确定目标视频所属的目标视频集。
目标视频集是与目标视频具备播放时序关系的视频的集合。可选的,目标视频集可以是若干集连续剧的集合,可以是若干集动画片的集合,可以是系列 电影的集合,可以是系列纪录片的集合,本申请实施例并不对目标视频集的具体类型进行限定。
可选的,视频客户端通过向后台服务器发送请求,从而确定目标视频所属的目标视频集。
步骤502B,检测目标视频集中是否包含目标视频对应的连播视频,连播视频在目标视频集中的播放顺序位于目标视频之后。
可选的,目标视频集中包含各个视频对应的播放顺序以及播放权限。
播放顺序用于指示各个视频的播放先后顺序,该播放顺序可以由视频对应的集号确定。比如,第一集对应的播放顺序位于第二级之前。
播放权限用于指示可以播放该视频的客户端的最低权限,且同一视频集中不同视频对应的播放权限可以相同也可以不同。比如,连续剧A对应的连续剧集中,第1至10集的播放权限为注册用户,第11至15集的播放权限为会员。
基于确定出的目标视频集,视频客户端检测目标视频集中是否包含目标视频对应的连播视频,若不包含目标视频对应的连播视频,表明目标视频是目标视频集中最新一集,则确定目标视频符合推荐条件;若包含目标视频对应的连播视频,表明目标视频不是目标视频集中最新一集,则确定目标视频不符合推荐条件。
可选的,当包含目标视频对应的连播视频时,视频客户端进一步确定是否具有连播视频的播放权限,若具有连播视频的播放权限(即播放完目标视频后可以继续播放连播视频),则确定目标视频不符合推荐条件;若不具备连播视频的播放权限,则确定目标视频符合推荐条件,并执行开通连播视频的播放权限的逻辑。例如,非会员用户在观看视频时,若当前所播放视频的下一个视频需要是会员用户才能观看,那么,则确定不具有连播视频的播放权限,即目标视频符合推荐条件。
步骤502C,若目标视频集中不包含连播视频,确定目标视频符合推荐条件。
当目标视频集中不包含连播视频时,视频客户端确定无法在播放完目标视频后继续播放下一集,从而确定目标视频符合推荐条件,并执行步骤505。
比如,当目标视频集中包含连续剧的第1至10集,且当前视频为第10集时,视频客户端确定当前视频符合推荐条件。
步骤502D,若目标视频集中包含连播视频、但视频客户端不具备连播视频 的播放权限,确定目标视频符合推荐条件。
可选的,当目标视频集中包含连播视频时,视频客户端进一步检测是否具备连播视频的播放权限,若具备,则执行连播操作,若不具备,则在当前视频播放结束后,执行推荐开通连播视频播放权限的操作。
比如,当目标视频集中包含连续剧的第1至15集,其中,第1至10集的播放权限为注册用户,而第11至15集的播放权限为会员。若视频客户端登陆账号的为注册用户,且当前视频为第10集时,确定当前视频符合推荐条件,并在当前视频播放至片尾时,在推荐内容中显示会员开通入口。
在其他可能的实施方式中,当目标视频集中包含连播视频,且视频客户端不具备连播视频的播放权限时,视频客户端也可以确定不符合推荐条件,并在目标视频播放结束后,推荐开通播放连播视频的播放权限。
步骤503,检测视频播放器是否符合尺寸条件。
在一种可能的实施方式中,目标视频播放过程中,视频客户端获取视频播放器的尺寸,并检测视频播放器的尺寸是否大于尺寸阈值,若视频播放器的尺寸大于尺寸阈值,则确定进行内容推荐时视频画面能够清晰显示,并执行下述步骤505;若视频播放器的尺寸小于尺寸阈值,则确定进行内容推荐时视频画面无法清晰显示,并停止执行下述推荐步骤。比如,该尺寸阈值为包括长度尺寸阈值640px以及高度尺寸阈值435px。
可选的,该尺寸阈值可以与目标视频的视频分辨率相关,比如,当视频分辨率为1080p时,尺寸阈值为640px×435px,当视频分辨率为720p时,尺寸阈值为600px×400px。
可选的,由于视频播放器会随着视频客户端的窗口大小而发生尺寸变化,因此,视频客户端可以在检测到目标视频播放至片尾,或者,即将播放至片尾时,进行尺寸检测的步骤。
步骤504,检测目标视频是否播放至片尾。
在一种可能的实施方式中,视频客户端检测是否播放至片尾可采用下述三种方式中的任意一种。
一、获取目标视频的片尾时间点,片尾时间点是播放片尾的起始时间点;当目标视频播放至片尾时间点时,缩小视频播放区域的尺寸。
为了方便用户在连续播放视频过程中,快速跳过视频的片头和片尾,视频 包含对应的片头时间点和片尾时间点,其中,片头时间点是片头结束的时间点,片尾时间点是结束正片,并播放片尾的起始时间点。
可选的,片头时间点和片尾时间点为人工标注,或者根据大量用户观看视频时的点击行为(快进至正片,到达片尾是手动关闭)生成。
在一种可能的实施方式中,视频客户端从后台服务器处获取目标视频数据的同时,从后台服务器处获取目标视频的片尾时间点,并在播放目标视频的过程中,检测当前播放时间点是否达到片尾时间点,并在达到时,缩小视频播放区域的尺寸。
比如,视频客户端获取到目标视频的片尾时间点为01:40:32,则视频播放至1小时40分32秒时,确定进入片尾,并缩小视频播放器的尺寸。
二、获取目标视频的视频总时长;根据视频总时长确定预计片尾时间点;当目标视频播放至预计片尾时间点时,缩小视频播放区域的尺寸。
由于并非所有的视频均预先设置有片尾时间点,因此,在一种可能的实施方式中,当未获取到目标视频对应的片尾时间点时,视频客户端获取目标视频的视频总时长,并进一步基于视频总时长确定预计片尾时间点。
在一种可能的实施方式中,由于视频片尾通常仅占用较短时长,且不同类型视频的片尾所占据的时长比例不同,因此,视频客户端根据目标视频的视频类型确定视频片尾的片尾时长比例,进而根据片尾时长比例和视频总时长确定出预计片尾时间点。
比如,视频客户端获取到目标视频的视频总时长为90分钟,且目标视频的类型为电影,从而根据电影这一视频类型对应的片尾时长比例5%,确定片尾吃长为4.5分钟,进而确定片尾时间点为85分30秒。
在播放目标视频的过程中,视频客户端检测当前播放时间点是否达到预计片尾时间点,并在达到时,缩小视频播放区域的尺寸。
三、若视频画面符合片尾特征,则缩小视频播放区域的尺寸,片尾特征包括如下至少一种:片尾字幕特征和片尾画面特征。
通常情况下,视频片尾通常包含大量字幕,且视频片尾画面与视频正片画面的画面特征相差较大,因此,在一种可能的实施方式中,当未获取到目标视频对应的片尾时间点时,视频客户端检测视频画面是否符合片尾字幕特征和/或片尾画面特征。
可选的,片尾字幕特征包括字幕关键词,比如,字幕关键词包括:演员表、导演、饰演、监制等等。
可选的,片尾画面特征包括画面颜色构成和目标颜色占比,比如,当视频画面的画面颜色构成为黑色和白色,且黑色(目标颜色)颜色占比达到80%时,视频客户端确定视频画面符合片尾特征。
在其他可能的实施方式中,视频客户端还可以根据片尾曲特征确定当前是否播放至片尾,本申请实施例对此不做限定。
步骤505,当目标视频符合推荐条件,且视频播放器是否符合尺寸条件,且目标视频播放至片尾时,缩小视频播放区域的尺寸。
当同时符合推荐条件、尺寸条件,且播放至片尾时,视频客户端执行缩小视频播放区域的操作。其中,缩小视频播放区域尺寸的步骤可以参考上述步骤302。
需要说明的是,本实施例仅以同时满足上述三个条件时显示推荐内容为例进行说明,在其他可能的实施方式中,当播放至片尾且视频播放区域符合尺寸条件时,或者,当播放至片尾且目标使用符合推荐条件时,视频客户端也可以进行推荐内容显示。
步骤506,在视频播放器内显示缩小后的视频播放区域以及推荐内容,缩小后的视频播放区域用于继续播放目标视频。
相关技术中,视频客户端的用户界面(User Interface,UI)框架单一,不利于推荐内容的显示。而本申请实施例中,通过对UI框架进行了重新设置,使得视频播放器能够在播放模式和推荐模式下显示不同的内容。
如图7所示,视频客户端的播放界面中包含视频播放器71、播放控制区域72和播放列表区域73。其中,视频播放器71中包含视频播放区域711、第一推荐区域712和第二推荐区域713。并且,视频播放区域711的初始状态(默认状态)为展示状态(show),第一推荐区域712和第二推荐区域713的初始状态为隐藏状态(hide)。相应的,视频客户端同时显示推荐内容和视频播放器时,包括如下步骤。
一、在视频播放器内显示缩小后的视频播放区域。
本实施例中,视频播放器中视频播放区域的大小可变。当未达到显示推荐内容的触发条件时,视频播放区域的尺寸与视频播放器的尺寸一致,即视频播 放区域自动扩充至整个视频播放器。并且,由于第一推荐区域和第二推荐区域的初始状态均为隐藏状态,因此并不会对视频画面造成影响。
当达到显示推荐内容的触发条件时,为了能够在视频播放器内显示推荐内容,视频客户端将将缩小后的视频播放区域显示在视频播放器的预定位置,该预定位置可以是视频播放器的左上角、右上角、左下角或右下角等等。本实施例以缩小后的视频播放区域显示在视频播放器左上角为例进行说明。
二、将第一推荐区域设置为展示状态,并在第一推荐区域内显示第一推荐内容,第一推荐内容中包含与目标视频相关联的视频。
由于初始状态下第一推荐区域处于隐藏状态,因此为了让第一推荐区域内的推荐内容可见,视频客户端首先将第一推荐区域设置为展示状态,然后将获取到的第一推荐内容显示在第一推荐区域内。
在一种可能的实施方式中,由于第一推荐区域与视频播放区域相邻,且位于同一高度,因此,第一推荐区域内显示与目标视频相关联的视频。比如,当目标视频为电影、电视剧时,第一推荐内容为目标视频的片花或者花絮等等。本申请实施例并不对第一推荐内容的具体内容进行限定。
在一种可能的实现方式中,第一推荐区域的外层仅提供一个空框架(frame)BlooperWrapper,并通过单独创建的类(花絮类)在BlooperWrapper中创建视频元素项(花絮)。
三、将第二推荐区域设置为展示状态,并在第二推荐区域内显示第二推荐内容,第二推荐内容包括排行榜视频和推荐视频,排行榜视频与目标视频属于同一视频类型,推荐视频根据视频客户端的历史播放记录确定。
由于初始状态下第二推荐区域也处于隐藏状态,因此为了让第二推荐区域内的推荐内容可见,视频客户端首先将第二推荐区域设置为展示状态,然后将获取到的第二推荐内容显示在第二推荐区域内。
在一种可能的实现方式中,第二推荐区域的外层仅提供一个空框架RecommendContainer,并通过单独创建的类(推荐类)在RecommendContainer中创建视频元素项(排行榜视频和推荐视频)。
在一种获取第二推荐内容的方式中,视频客户端根据目标视频所属的视频类型,获取该视频类型下对应的排行榜,并进一步将排行榜中的排行榜视频确定为第二推荐内容;视频客户端根据历史播放记录,确定各种视频类型对应播 放次数,从而确定播放次数最多的n种目标视频类型,进而将n种目标视频类型对应的视频确定第二推荐内容(即推荐视频),n为正整数。本申请实施例并不对确定第二推荐内容的具体方式进行限定。
可选的,视频客户端获取推荐内容包括如下步骤。
1、视频客户端检查本地是否缓存有推荐内容;2、若本地缓存有推荐内容,则直接从本地缓存中读取推荐内容;3、若本地未缓存推荐内容,则向后台服务器发送推荐内容获取请求;4、对接收到的推荐内容进行格式检查,并在通过检查后,解析推荐内容并缓存在本地。
示意性的,如图8所示,服务器向视频客户端反馈推荐内容包括如下步骤:801,接收推荐内容获取请求;802,根据推荐内容获取请求抓取推荐数据,该推荐数据包括花絮数据、排行榜数据和个人推荐数据;803,当推荐数据抓取成功时,获取对应的扩充数据,扩充数据用于添加额外信息(包括推荐项的角标、评分等信息);804,将推荐数据和扩充数据封装成推荐内容,并反馈给视频客户端。
本实施例中,当目标视频满足推荐条件,视频播放器满足尺寸条件且目标视频播放至片尾时,视频客户端同时显示缩小后的视频播放区域以及推荐内容,避免在视频连播过程中进行内容推荐,并保证了视频播放器显示的视频画面清晰。
本实施例中,借助灵活的UI界面框架,在播放模式下放大显示视频播放器的视频播放区域,并隐藏第一、第二推荐区域(显示推荐内容);在推荐模式下缩小显示视频播放器的视频播放区域,并显示第一、第二推荐区域,在不影响用户正常观看的同时,提高推荐内容的曝光率。
可选的,同时显示视频播放器和推荐内容后,当目标视频播放结束时,视频客户端通过缩小后的视频播放区域播放第一推荐内容,并更新第一推荐区域内显示的第一推荐内容。
示意性的,结合图3和图7,当目标视频完全播放结束后,视频播放区域215依次播放推荐内容214中的花絮A和花絮B,并对第一推荐区域712中的花絮视频进行更新。
在其他可能的实施方式中,为了达到更好的播放效果,视频客户端可以放大视频播放区域,并在放大后的视频播放区域中播放第一推荐内容。
可选的,当接收到对第一推荐内容或第二推荐内容的选择信号时,放大视频播放区域,并通过放大后的视频播放区域播放选中的第一推荐内容或第二推荐内容。
当接收到对推荐内容的选择信号后,表明用户观看该推荐内容的欲望强烈,因此,视频客户端放大视频播放区域,并在放大后的视频播放区域中播放选中的推荐内容,以达到较好的播放效果。
可选的,放大视频播放区域后,视频播放器内仅包含视频画面,而推荐内容被隐藏;或者,放大视频播放区域后,视频播放器内同时包含视频画面和推荐内容,且推荐内容的显示尺寸按比例缩小。其中,放大和缩小的比例可以由用户调节。
示意性的,结合图3和图7,当接收到对推荐内容214中排行榜视频的选择信号时,视频客户端将视频播放区域711扩充至整个视频播放器71(第一推荐区域712和第二推荐区域713隐藏),并还原视频播放区域,从而通过还原后的视频播放区域播放选中的排行榜视频。
可选的,为了提高后续推荐内容的点击率,并降低推送不符合用户喜好的内容,对用户造成干扰,视频客户端根据用户在视频播放器内执行的操作生成用户画像更新数据,其中,用户在视频播放器内执行的操作包括但不限于停留操作、点击操作、关闭操作等等。
如图9所示,推荐模式下(同时显示视频播放器和推荐内容),视频播放器91内包含多个视频元素92,其中,各个视频元素92用于展示视频的封面、观看权限角标(比如会员、VIP等等)、视频名称、评分或排行榜等视频信息,并用于响应用户的点击操作。位于同一显示高度的若干个视频元素92组合在一起构成了一组视频内容,连同其相关的标题(比如花絮、排行榜和为你推荐)即构成了一个通栏。图9中包含花絮通栏93、排行榜通栏94以及为你推荐通栏95。
在一种推荐内容绘制方式中,视频客户端将各个层级的推荐数据提交给UI上对应的层级,保证各个层级仅对其接收到的推荐数据进行绘制,而无需关注其他层级的数据。比如,图9中,EndRecomendInfoItemList(包含通栏标题、通栏类型等通栏相关的数据)的数据提交给通栏层,以便通栏层对通栏内容进行绘制,EndRecomendInfoItem(包含视频元素的封面地址、视频名称等视频信 息)的数据提交给视频元素层,以便视频元素层绘制各个视频元素。
为了方便由推荐模式切换至播放模式继续观看目标视频,如图10所示,缩小后的视频播放区域1001中包含还原控件1002,相应的,如图11所示,步骤506之后还包括如下步骤:
步骤507,当接收到对还原控件的操作信号后,放大视频播放区域。
当用户需要在更大的显示区域观看目标视频的片尾时,可以触发视频播放区域中的还原控件。相应的,视频客户端接收到对还原控件的操作信号时,放大视频播放区域的尺寸,并隐藏推荐内容。可选的,放大后视频播放区域的尺寸与视频播放器的尺寸相同,或,略小于视频播放器的尺寸。
结合上述步骤506,视频客户端将视频播放器中第一推荐区域和第二推荐区域重新设置为隐藏状态,并将视频播放区域扩充至视频播放器。
借助缩小后视频播放区域中的还原控件,可以实现推荐模式向播放模式的转换,为了进一步实现播放模式向推荐模式的转换,可选的,如图10所示,还原后的视频播放区域1101中还包括切换控件1003,相应的,步骤507之后还包括如下步骤
步骤508,当接收到对切换控件的操作信号后,缩小视频播放区域的尺寸,并在视频播放器内显示缩小后的视频播放区域以及推荐内容。
当用户想要重新查看推荐内容时,可以触发视频播放区域中的切换控件。相应的,视频客户端接收对切换控件的操作信号时,即缩小视频播放区域的尺寸。其中,缩小视频播放区域尺寸的步骤可以参考上述步骤402。
结合上述步骤506,视频客户端将视频播放器中第一推荐区域和第二推荐区域重新设置为显示状态,并将视频播放区域缩小至预定尺寸,使得视频播放器内同时显示视频播放区域和推荐内容。
本实施例中,通过在缩小后的视频播放区域中设置还原按钮,并在放大后的视频播放区域中设置切换按钮,实现播放模式与推荐模式之间的自由切换,方便用户根据需求选择相应的显示模式。
应该理解的是,虽然图4-6的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图4-6中的至少一部分步骤可以包括多个子步骤或者多个阶段, 这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交底地执行。
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。
请参考图12,其示出了本申请一个实施例提供的推荐内容显示装置的框图。该装置具有执行上述推荐内容显示方法示例的功能,功能可以由硬件实现,也可以由硬件执行相应的软件实现。该装置可以包括:
第一播放模块1210,用于在视频播放器的视频播放区域中播放目标视频,;
缩小模块1220,用于当所述目标视频播放至片尾时,缩小所述视频播放区域的尺寸;
显示模块1230,用于在所述视频播放器内显示缩小后的所述视频播放其余以及推荐内容,缩小后的所述视频播放区域用于继续播放所述目标视频。
可选的,所述装置还包括:
第一检测模块,用于检测所述目标视频是否符合推荐条件;
所述缩小模块1220,还用于若所述目标视频符合所述推荐条件,则执行所述当所述目标视频播放至片尾时,缩小所述视频播放区域的尺寸的步骤。
可选的,所述第一检测模块,包括:
视频集确定单元,用于确定所述目标视频所属的目标视频集;
检测单元,用检测所述目标视频集中是否包含所述目标视频对应的连播视频,所述连播视频在所述目标视频集中的播放顺序位于所述目标视频之后;
确定单元,用若所述目标视频集中不包含所述连播视频,则确定所述目标视频符合所述推荐条件。
可选的,缩小模块1220,包括:
获取单元,用于获取所述目标视频的片尾时间点,所述片尾时间点是播放片尾的起始时间点;
第一缩小单元,用于当所述目标视频播放至所述片尾时间点时,缩小所述视频播放区域的尺寸。
可选的,所述缩小模块1220还包括:
第二缩小单元,用于获取所述目标视频的视频总时长;根据所述视频总时长确定预计片尾时间点;当所述目标视频播放至所述预计片尾时间点时,缩小所述视频播放区域的尺寸;
可选的,所述缩小模块1220还包括:
第三缩小单元,用于若视频画面符合所述片尾特征,则缩小所述视频播放区域的尺寸,所述片尾特征包括如下至少一种:片尾字幕特征和片尾画面特征。
可选的,所述装置还包括:
尺寸获取模块,用于获取所述视频播放器的尺寸;
所述缩小模块1220,还用于若所述视频播放器的尺寸大于尺寸阈值,则执行当所述目标视频播放至片尾时,缩小所述视频播放区域的尺寸的步骤。
可选的,缩小后的所述视频播放区域中包含还原控件;
所述装置还包括:
放大模块,用于当接收到对所述还原控件的操作信号后,放大所述视频播放区域。
可选的,放大后的所述视频播放区域中包含切换控件;
所述装置还包括:
切换模块,用于当接收到对所述切换控件的操作信号后,缩小所述视频播放区域的尺寸,并在所述视频播放器内显示缩小后的所述视频播放区域以及所述推荐内容。
可选的,所述视频播放器中包含所述视频播放区域、第一推荐区域和第二推荐区域,所述视频播放区域的初始状态为展示状态,所述第一推荐区域和所述第二推荐区域的初始状态为隐藏状态;
所述显示模块1230,包括:
第一显示单元,用于将缩小后的所述视频播放区域显示在所述视频播放器的预定位置;
第二显示单元,用于将所述第一推荐区域设置为展示状态,并在所述第一推荐区域内显示第一推荐内容,所述第一推荐内容中包含与所述目标视频相关联的视频;
第三显示单元,用于将所述第二推荐区域设置为展示状态,并在所述第二推荐区域内显示第二推荐内容,所述第二推荐内容包括排行榜视频和推荐视频, 所述排行榜视频与所述目标视频属于同一视频类型,所述推荐视频根据所述视频客户端的历史播放记录确定。
可选的,所述装置还包括:
第二播放模块,用于当所述目标视频播放结束时,通过缩小后的所述视频播放区域播放所述第一推荐内容,并更新所述第一推荐区域内显示的所述第一推荐内容;
第三播放模块,用于当接收到对所述第一推荐内容或所述第二推荐内容的选择信号时,放大所述视频播放区域,并通过放大后的所述视频播放区域播放选中的所述第一推荐内容或所述第二推荐内容。
上述图像处理装置可以实现为一种计算机程序的形式,计算机程序可在终端上运行。终端上的存储介质中可存储组成该图像处理装置的各个程序模块,比如,图7所示的第一播放模块1210、缩小模块1220和显示模块1230。各个程序模块构成的计算机程序在被处理器执行时,使得处理器执行本申请各个实施例的推荐内容显示方法中的步骤。
图13示出了本申请一个示例性实施例提供的终端1300的结构框图。该终端1300可以是智能手机、平板电脑或个人计算机。
通常,终端1300包括有:处理器1301和存储器1302。
处理器1301可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器1301可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器1301也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central Processing Unit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器1301可以在集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器1301还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。。
存储器1302可以包括一个或多个计算机可读存储介质,该计算机可读存储 介质可以是非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(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)等。在一些实施例中,存储器1302中的非易失性的计算机可读存储介质用于存储至少一个指令,该至少一个指令用于被处理器1301所执行以实现本申请中提供的推荐内容显示方法。
在一些实施例中,终端1300还可选包括有:外围设备接口1303和至少一个外围设备。具体地,外围设备包括:射频电路1304、触摸显示屏1305、摄像头1306、音频电路1307、定位组件1308和电源1309中的至少一种。
外围设备接口1303可被用于将I/O(Input/Output,输入/输出)相关的至少一个外围设备连接到处理器1301和存储器1302。在一些实施例中,处理器1301、存储器1302和外围设备接口1303被集成在同一芯片或电路板上;在一些其他实施例中,处理器1301、存储器1302和外围设备接口1303中的任意一个或两个可以在单独的芯片或电路板上实现,本实施例对此不加以限定。
射频电路1304用于接收和发射RF(Radio Frequency,射频)信号,也称电磁信号。射频电路1304通过电磁信号与通信网络以及其他通信设备进行通信。射频电路1304将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。可选地,射频电路1304包括:天线系统、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户身份模块卡等等。射频电路1304可以通过至少一种无线通信协议来与其它终端进行通信。该无线通信协议包括但不限于:万维网、城域网、内联网、各代移动通信网络(2G、3G、4G及5G)、无线局域网和/或WiFi(Wireless Fidelity,无线保真)网络。在一些实施例中,射频电路1304还可以包括NFC(Near Field Communication,近距离无线通信)有关的电路,本申请对此不加以限定。
触摸显示屏1305用于显示UI(User Interface,用户界面)。该UI可以包 括图形、文本、图标、视频及其它们的任意组合。触摸显示屏1305还具有采集在触摸显示屏1305的表面或表面上方的触摸信号的能力。该触摸信号可以作为控制信号输入至处理器1301进行处理。触摸显示屏1305用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。在一些实施例中,触摸显示屏1305可以为一个,设置终端1300的前面板;在另一些实施例中,触摸显示屏1305可以为至少两个,分别设置在终端1300的不同表面或呈折叠设计;在再一些实施例中,触摸显示屏1305可以是柔性显示屏,设置在终端1300的弯曲表面上或折叠面上。甚至,触摸显示屏1305还可以设置成非矩形的不规则图形,也即异形屏。触摸显示屏1305可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等材质制备。
摄像头组件1306用于采集图像或视频。可选地,摄像头组件1306包括前置摄像头和后置摄像头。通常,前置摄像头用于实现视频通话或自拍,后置摄像头用于实现照片或视频的拍摄。在一些实施例中,后置摄像头为至少两个,分别为主摄像头、景深摄像头、广角摄像头中的任意一种,以实现主摄像头和景深摄像头融合实现背景虚化功能,主摄像头和广角摄像头融合实现全景拍摄以及VR(Virtual Reality,虚拟现实)拍摄功能。在一些实施例中,摄像头组件1306还可以包括闪光灯。闪光灯可以是单色温闪光灯,也可以是双色温闪光灯。双色温闪光灯是指暖光闪光灯和冷光闪光灯的组合,可以用于不同色温下的光线补偿。
音频电路1307用于提供用户和终端1300之间的音频接口。音频电路1307可以包括麦克风和扬声器。麦克风用于采集用户及环境的声波,并将声波转换为电信号输入至处理器1301进行处理,或者输入至射频电路1304以实现语音通信。出于立体声采集或降噪的目的,麦克风可以为多个,分别设置在终端1300的不同部位。麦克风还可以是阵列麦克风或全向采集型麦克风。扬声器则用于将来自处理器1301或射频电路1304的电信号转换为声波。扬声器可以是传统的薄膜扬声器,也可以是压电陶瓷扬声器。当扬声器是压电陶瓷扬声器时,不仅可以将电信号转换为人类可听见的声波,也可以将电信号转换为人类听不见的声波以进行测距等用途。在一些实施例中,音频电路1307还可以包括耳机插孔。
定位组件1308用于定位终端1300的当前地理位置,以实现导航或LBS (Location Based Service,基于位置的服务)。定位组件1308可以是基于美国的GPS(Global Positioning System,全球定位系统)、中国的北斗系统或俄罗斯的伽利略系统的定位组件。
电源1309用于为终端1300中的各个组件进行供电。电源1309可以是交流电、直流电、一次性电池或可充电电池。当电源1309包括可充电电池时,该可充电电池可以是有线充电电池或无线充电电池。有线充电电池是通过有线线路充电的电池,无线充电电池是通过无线线圈充电的电池。该可充电电池还可以用于支持快充技术。
在一些实施例中,终端1300还包括有一个或多个传感器1310。该一个或多个传感器1310包括但不限于:加速度传感器1311、陀螺仪传感器1312、压力传感器1313、指纹传感器1314、光学传感器1315以及接近传感器1316。
加速度传感器1311可以检测以终端1300建立的坐标系的三个坐标轴上的加速度大小。比如,加速度传感器1311可以用于检测重力加速度在三个坐标轴上的分量。处理器1301可以根据加速度传感器1311采集的重力加速度信号,控制触摸显示屏1305以横向视图或纵向视图进行用户界面的显示。加速度传感器1311还可以用于游戏或者用户的运动数据的采集。
陀螺仪传感器1312可以检测终端1300的机体方向及转动角度,陀螺仪传感器1312可以与加速度传感器1311协同采集用户对终端1300的3D动作。处理器1301根据陀螺仪传感器1312采集的数据,可以实现如下功能:动作感应(比如根据用户的倾斜操作来改变UI)、拍摄时的图像稳定、游戏控制以及惯性导航。
压力传感器1313可以设置在终端1300的侧边框和/或触摸显示屏1305的下层。当压力传感器1313设置在终端1300的侧边框时,可以检测用户对终端1300的握持信号,根据该握持信号进行左右手识别或快捷操作。当压力传感器1313设置在触摸显示屏1305的下层时,可以根据用户对触摸显示屏1305的压力操作,实现对UI界面上的可操作性控件进行控制。可操作性控件包括按钮控件、滚动条控件、图标控件、菜单控件中的至少一种。
指纹传感器1314用于采集用户的指纹,以根据采集到的指纹识别用户的身份。在识别出用户的身份为可信身份时,由处理器1301授权该用户执行相关的敏感操作,该敏感操作包括解锁屏幕、查看加密信息、下载软件、支付及更改 设置等。指纹传感器1314可以被设置终端1300的正面、背面或侧面。当终端1300上设置有物理按键或厂商Logo时,指纹传感器1314可以与物理按键或厂商Logo集成在一起。
光学传感器1315用于采集环境光强度。在一个实施例中,处理器1301可以根据光学传感器1315采集的环境光强度,控制触摸显示屏1305的显示亮度。具体地,当环境光强度较高时,调高触摸显示屏1305的显示亮度;当环境光强度较低时,调低触摸显示屏1305的显示亮度。在另一个实施例中,处理器1301还可以根据光学传感器1315采集的环境光强度,动态调整摄像头组件1306的拍摄参数。
接近传感器1316,也称距离传感器,通常设置在终端1300的正面。接近传感器1316用于采集用户与终端1300的正面之间的距离。在一个实施例中,当接近传感器1316检测到用户与终端1300的正面之间的距离逐渐变小时,由处理器1301控制触摸显示屏1305从亮屏状态切换为息屏状态;当接近传感器1316检测到用户与终端1300的正面之间的距离逐渐变大时,由处理器1301控制触摸显示屏1305从息屏状态切换为亮屏状态。
本领域技术人员可以理解,图13中示出的结构并不构成对终端1300的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。
本申请实施例还提供一种计算机可读存储介质,该存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现如上述各个实施例提供的推荐内容显示方法。
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (20)

  1. 一种推荐内容显示方法,由终端执行,其特征在于,所述方法包括:
    在视频播放器的视频播放区域中播放目标视频;
    当所述目标视频播放至片尾时,缩小所述视频播放区域的尺寸;
    在所述视频播放器内显示缩小后的所述视频播放区域以及推荐内容,缩小后的所述视频播放区域用于继续播放所述目标视频。
  2. 根据权利要求1所述的方法,其特征在于,所述当所述目标视频播放至片尾时,缩小所述视频播放区域的尺寸之前,所述方法还包括:
    检测所述目标视频是否符合推荐条件;
    若所述目标视频符合所述推荐条件,则执行所述当所述目标视频播放至片尾时,缩小所述视频播放区域的尺寸的步骤。
  3. 根据权利要求2所述的方法,其特征在于,所述检测所述目标视频是否符合推荐条件,包括:
    确定所述目标视频所属的目标视频集;
    检测所述目标视频集中是否包含所述目标视频对应的连播视频,所述连播视频在所述目标视频集中的播放顺序位于所述目标视频之后;
    若所述目标视频集中不包含所述连播视频,或者,所述目标视频集中包含所述连播视频、但视频客户端不具备所述连播视频的播放权限,确定所述目标视频符合所述推荐条件。
  4. 根据权利要求1至3任一所述的方法,其特征在于,所述当所述目标视频播放至片尾时,缩小所述视频播放区域的尺寸,包括:
    获取所述目标视频的片尾时间点,所述片尾时间点是播放片尾的起始时间点;
    当所述目标视频播放至所述片尾时间点时,缩小所述视频播放区域的尺寸。
  5. 根据权利要求1至3任一所述的方法,其特征在于,所述当所述目标视频播放至片尾时,缩小所述视频播放区域的尺寸,包括:
    获取所述目标视频的视频总时长;
    根据所述视频总时长确定预计片尾时间点;
    当所述目标视频播放至所述预计片尾时间点时,缩小所述视频播放区域的尺寸。
  6. 根据权利要求1至3任一所述的方法,其特征在于,所述当所述目标视频播放至片尾时,缩小所述视频播放区域的尺寸,包括:
    若视频画面符合所述片尾特征,则缩小所述视频播放区域的尺寸,所述片尾特征包括如下至少一种:片尾字幕特征和片尾画面特征。
  7. 根据权利要求1至3任一所述的方法,其特征在于,所述当所述目标视频播放至片尾时,缩小所述视频播放区域的尺寸之前,所述方法还包括:
    获取所述视频播放器的尺寸;
    若所述视频播放器的尺寸大于尺寸阈值,则执行当所述目标视频播放至片尾时,缩小所述视频播放区域的尺寸的步骤。
  8. 根据权利要求1至3任一所述的方法,其特征在于,缩小后的所述视频播放区域中包含还原控件;
    所述在所述视频播放器内显示缩小后的所述视频播放区域以及推荐内容之后,所述方法还包括:
    当接收到对所述还原控件的操作信号后,放大所述视频播放区域。
  9. 根据权利要求8所述的方法,其特征在于,放大后的所述视频播放区域中包含切换控件;
    当接收到对所述还原控件的操作信号后,放大所述视频播放区域之后,所述方法还包括:
    当接收到对所述切换控件的操作信号后,缩小所述视频播放区域的尺寸,并在所述视频播放器内显示缩小后的所述视频播放区域以及所述推荐内容。
  10. 根据权利要求1至3任一所述的方法,其特征在于,所述视频播放器中包含所述视频播放区域、第一推荐区域和第二推荐区域,所述视频播放区域的初始状态为展示状态,所述第一推荐区域和所述第二推荐区域的初始状态为隐藏状态;
    所述在所述视频播放器内显示缩小后的所述视频播放区域以及推荐内容,包括:
    将缩小后的所述视频播放区域显示在所述视频播放器的预定位置;
    将所述第一推荐区域设置为展示状态,并在所述第一推荐区域内显示第一推荐内容,所述第一推荐内容中包含与所述目标视频相关联的视频;
    将所述第二推荐区域设置为展示状态,并在所述第二推荐区域内显示第二 推荐内容,所述第二推荐内容包括排行榜视频和推荐视频,所述排行榜视频与所述目标视频属于同一视频类型,所述推荐视频根据所述视频客户端的历史播放记录确定。
  11. 根据权利要求10所述的方法,其特征在于,所述在所述视频播放器内显示缩小后的所述视频播放区域以及推荐内容之后,所述方法还包括:
    当所述目标视频播放结束时,通过缩小后的所述视频播放区域播放所述第一推荐内容,并更新所述第一推荐区域内显示的所述第一推荐内容;
    当接收到对所述第一推荐内容或所述第二推荐内容的选择信号后,放大所述视频播放区域,并通过放大后的所述视频播放区域播放选中的所述第一推荐内容或所述第二推荐内容。
  12. 一种推荐内容显示装置,其特征在于,所述装置包括:
    第一播放模块,用于在视频播放器的视频播放区域中播放目标视频,;
    缩小模块,用于当所述目标视频播放至片尾时,缩小所述视频播放区域的尺寸;
    显示模块,用于在所述视频播放器内显示缩小后的所述视频播放其余以及推荐内容,缩小后的所述视频播放区域用于继续播放所述目标视频。
  13. 一种终端,其特征在于,所述终端包括处理器和存储器,所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器执行以下步骤:
    在视频播放器的视频播放区域中播放目标视频;
    当所述目标视频播放至片尾时,缩小所述视频播放区域的尺寸;
    在所述视频播放器内显示缩小后的所述视频播放区域以及推荐内容,缩小后的所述视频播放区域用于继续播放所述目标视频。
  14. 根据权利要求13所述的终端,其特征在于,所述指令、所述程序、所述代码集或所述指令集由所述处理器加载并执行以下步骤:
    检测所述目标视频是否符合推荐条件;
    若所述目标视频符合所述推荐条件,则执行所述当所述目标视频播放至片尾时,缩小所述视频播放区域的尺寸的步骤。
  15. 根据权利要求14所述的终端,其特征在于,所述指令、所述程序、所述代码集或所述指令集由所述处理器加载并执行检测所述目标视频是否符合推荐条件的步骤时,使得所述处理器具体执行以下步骤:
    确定所述目标视频所属的目标视频集;
    检测所述目标视频集中是否包含所述目标视频对应的连播视频,所述连播视频在所述目标视频集中的播放顺序位于所述目标视频之后;
    若所述目标视频集中不包含所述连播视频,或者,所述目标视频集中包含所述连播视频、但视频客户端不具备所述连播视频的播放权限,确定所述目标视频符合所述推荐条件。
  16. 根据权利要求13至15任一所述的终端,其特征在于,所述指令、所述程序、所述代码集或所述指令集由所述处理器加载并执行当所述目标视频播放至片尾时,缩小所述视频播放区域的尺寸的步骤时,使得所述处理器具体执行以下步骤:
    获取所述目标视频的片尾时间点,所述片尾时间点是播放片尾的起始时间点;
    当所述目标视频播放至所述片尾时间点时,缩小所述视频播放区域的尺寸。
  17. 一种计算机可读存储介质,其特征在于,所述存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器执行时,使得所述处理器执行以下步骤:
    在视频播放器的视频播放区域中播放目标视频;
    当所述目标视频播放至片尾时,缩小所述视频播放区域的尺寸;
    在所述视频播放器内显示缩小后的所述视频播放区域以及推荐内容,缩小后的所述视频播放区域用于继续播放所述目标视频。
  18. 根据权利要求17所述的计算机可读存储介质,其特征在于,所述指令、所述程序、所述代码集或所述指令集由所述处理器加载并执行以下步骤:
    检测所述目标视频是否符合推荐条件;
    若所述目标视频符合所述推荐条件,则执行所述当所述目标视频播放至片尾时,缩小所述视频播放区域的尺寸的步骤。
  19. 根据权利要求18所述的计算机可读存储介质,其特征在于,所述指令、所述程序、所述代码集或所述指令集由所述处理器加载并执行检测所述目标视频是否符合推荐条件的步骤时,使得所述处理器具体执行以下步骤:
    确定所述目标视频所属的目标视频集;
    检测所述目标视频集中是否包含所述目标视频对应的连播视频,所述连播视频在所述目标视频集中的播放顺序位于所述目标视频之后;
    若所述目标视频集中不包含所述连播视频,或者,所述目标视频集中包含所述连播视频、但视频客户端不具备所述连播视频的播放权限,确定所述目标视频符合所述推荐条件。
  20. 根据权利要求17至19任一所述的计算机可读存储介质,其特征在于,所述指令、所述程序、所述代码集或所述指令集由所述处理器加载并执行当所述目标视频播放至片尾时,缩小所述视频播放区域的尺寸的步骤时,使得所述处理器具体执行以下步骤:
    获取所述目标视频的片尾时间点,所述片尾时间点是播放片尾的起始时间点;
    当所述目标视频播放至所述片尾时间点时,缩小所述视频播放区域的尺寸。
PCT/CN2019/088153 2018-07-20 2019-05-23 推荐内容显示方法、装置、终端及计算机可读存储介质 WO2020015454A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/004,164 US20200396497A1 (en) 2018-07-20 2020-08-27 Recommended content display method and apparatus, terminal, and computer-readable storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810804445.3A CN108965980B (zh) 2018-07-20 2018-07-20 推荐内容显示方法、装置、终端及存储介质
CN201810804445.3 2018-07-20

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/004,164 Continuation US20200396497A1 (en) 2018-07-20 2020-08-27 Recommended content display method and apparatus, terminal, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
WO2020015454A1 true WO2020015454A1 (zh) 2020-01-23

Family

ID=64482013

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/088153 WO2020015454A1 (zh) 2018-07-20 2019-05-23 推荐内容显示方法、装置、终端及计算机可读存储介质

Country Status (4)

Country Link
US (1) US20200396497A1 (zh)
CN (1) CN108965980B (zh)
TW (1) TWI695276B (zh)
WO (1) WO2020015454A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111770376A (zh) * 2020-06-29 2020-10-13 百度在线网络技术(北京)有限公司 信息展示方法、装置、系统、电子设备及存储介质
CN113613051A (zh) * 2021-10-08 2021-11-05 飞狐信息技术(天津)有限公司 无缝续播方法、装置、服务器及计算机存储介质

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3677037A1 (en) * 2017-08-28 2020-07-08 Dolby Laboratories Licensing Corporation Media-aware navigation metadata
CN108965980B (zh) * 2018-07-20 2021-08-10 腾讯科技(深圳)有限公司 推荐内容显示方法、装置、终端及存储介质
CN109842813A (zh) * 2019-01-03 2019-06-04 百度在线网络技术(北京)有限公司 用户界面交互方法、装置、设备及存储介质
CN110175060A (zh) * 2019-05-17 2019-08-27 毛信良 一种显示方法与设备
CN110519645B (zh) * 2019-09-05 2022-09-23 北京字节跳动网络技术有限公司 视频内容的播放方法、装置、电子设备及计算机可读介质
CN110830813B (zh) * 2019-10-31 2020-11-06 北京达佳互联信息技术有限公司 一种视频切换的方法、装置、电子设备及存储介质
CN110856031B (zh) * 2019-11-18 2022-01-18 广州市百果园信息技术有限公司 一种媒体资源的展示系统、方法、设备和存储介质
CN112367550A (zh) * 2020-10-30 2021-02-12 Vidaa美国公司 一种媒资列表多标题动态展示的实现方法及显示设备
CN112291589B (zh) * 2020-10-29 2023-09-22 腾讯科技(深圳)有限公司 视频文件的结构检测方法、装置
CN112328814B (zh) * 2021-01-05 2021-03-26 北京达佳互联信息技术有限公司 多媒体资源推荐方法、装置及存储介质
CN115002549B (zh) * 2021-03-01 2024-05-24 腾讯科技(深圳)有限公司 视频画面的显示方法、装置、设备及介质
CN115086771B (zh) * 2021-03-16 2023-10-24 聚好看科技股份有限公司 一种视频推荐媒资的展示方法及显示设备、服务器
CN113157972B (zh) * 2021-04-14 2023-09-19 北京达佳互联信息技术有限公司 视频封面文案的推荐方法、装置、电子设备及存储介质
TWI786627B (zh) * 2021-05-11 2022-12-11 中強光電股份有限公司 顯示影像調整方法及擴增實境顯示裝置
CN115391575A (zh) * 2021-05-25 2022-11-25 北京字跳网络技术有限公司 应用程序的热点事件展示方法、装置、设备、介质和产品
EP4334810A1 (en) * 2021-06-06 2024-03-13 Apple Inc. User interfaces for displaying content recommendations for a group of users
CN113613053B (zh) * 2021-07-26 2023-03-21 北京达佳互联信息技术有限公司 视频推荐方法、装置、电子设备及存储介质
CN113626127A (zh) * 2021-08-20 2021-11-09 广州酷狗计算机科技有限公司 内容项展示方法、装置、终端及存储介质
CN114245214B (zh) * 2021-12-17 2024-05-17 北京达佳互联信息技术有限公司 对象播放方法、服务器、终端及存储介质
CN114007103B (zh) * 2021-12-30 2022-04-26 飞狐信息技术(天津)有限公司 在线视频播放的方法及装置、电子设备、存储介质
CN114501150A (zh) * 2022-01-17 2022-05-13 北京达佳互联信息技术有限公司 媒体资源推荐方法、装置、设备及存储介质
US20230412885A1 (en) * 2022-05-18 2023-12-21 Lemon Inc. Automatic identification of video series
US11831938B1 (en) 2022-06-03 2023-11-28 Safran Passenger Innovations, Llc Systems and methods for recommending correlated and anti-correlated content
WO2023235113A1 (en) * 2022-06-03 2023-12-07 Safran Passenger Innovations, Llc Systems and methods for recommending correlated and anti-correlated content
CN117915156A (zh) * 2024-01-25 2024-04-19 中央广播电视总台 基于完播率的视频动态推荐方法、装置、设备和介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070063258A (ko) * 2005-12-14 2007-06-19 주식회사 대우일렉트로닉스 Pip 기능을 갖는 텔레비전의 광고 방송 제어 방법
CN104244066A (zh) * 2014-09-23 2014-12-24 深圳市九洲电器有限公司 电视节目观看方法及系统
CN105933752A (zh) * 2016-06-14 2016-09-07 乐视控股(北京)有限公司 节目提示展示方法与装置
CN106792000A (zh) * 2016-12-09 2017-05-31 深圳市纽格力科技有限公司 一种数字电视广告播放方法及系统
CN108965980A (zh) * 2018-07-20 2018-12-07 腾讯科技(深圳)有限公司 推荐内容显示方法、装置、终端及存储介质

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6240555B1 (en) * 1996-03-29 2001-05-29 Microsoft Corporation Interactive entertainment system for presenting supplemental interactive content together with continuous video programs
US20070157237A1 (en) * 2005-12-29 2007-07-05 Charles Cordray Systems and methods for episode tracking in an interactive media environment
CN101964850A (zh) * 2010-09-16 2011-02-02 中兴通讯股份有限公司 一种视频客服系统中数据推送的方法及视频客服系统
US8989499B2 (en) * 2010-10-20 2015-03-24 Comcast Cable Communications, Llc Detection of transitions between text and non-text frames in a video stream
US9066145B2 (en) * 2011-06-30 2015-06-23 Hulu, LLC Commenting correlated to temporal point of video data
US8204890B1 (en) * 2011-09-26 2012-06-19 Google Inc. Media content voting, ranking and playing system
KR20140046902A (ko) * 2012-10-11 2014-04-21 엘지전자 주식회사 영상표시장치 및 그 동 작방법
US9554184B2 (en) * 2012-12-04 2017-01-24 24/7 Customer, Inc. Method and apparatus for increasing user engagement with video advertisements and content by summarization
CN103533439A (zh) * 2013-09-30 2014-01-22 乐视网信息技术(北京)股份有限公司 一种多媒体文件推荐方法及电子设备
US9380343B2 (en) * 2014-08-29 2016-06-28 Verizon Patent And Licensing Inc. Watch next service
CN104268250A (zh) * 2014-09-30 2015-01-07 北京奇虎科技有限公司 一种网页中视频元素的播放方法和装置
CN105072465A (zh) * 2015-08-27 2015-11-18 北京搜狗科技发展有限公司 一种视频播放控制方法及电子设备
US9465996B1 (en) * 2015-09-15 2016-10-11 Echostar Technologies Llc Apparatus, systems and methods for control of media content event recording
CN105451063A (zh) * 2015-09-15 2016-03-30 北京合盒互动科技有限公司 一种显示推送信息的方法及装置
CN105975471A (zh) * 2015-12-09 2016-09-28 乐视网信息技术(北京)股份有限公司 一种视频推荐方法和系统
KR102668224B1 (ko) * 2016-11-30 2024-05-24 엘지디스플레이 주식회사 표시장치
EP3566457B1 (en) * 2017-01-03 2020-12-23 Rovi Guides, Inc. Systems and methods for predicting viewing behavior
CN107690086B (zh) * 2017-05-27 2020-06-12 腾讯科技(北京)有限公司 视频播放方法、播放终端及计算机存储介质
CN108200464A (zh) * 2018-01-25 2018-06-22 青岛海信电器股份有限公司 智能电视以及便于选择教育课程内容的方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070063258A (ko) * 2005-12-14 2007-06-19 주식회사 대우일렉트로닉스 Pip 기능을 갖는 텔레비전의 광고 방송 제어 방법
CN104244066A (zh) * 2014-09-23 2014-12-24 深圳市九洲电器有限公司 电视节目观看方法及系统
CN105933752A (zh) * 2016-06-14 2016-09-07 乐视控股(北京)有限公司 节目提示展示方法与装置
CN106792000A (zh) * 2016-12-09 2017-05-31 深圳市纽格力科技有限公司 一种数字电视广告播放方法及系统
CN108965980A (zh) * 2018-07-20 2018-12-07 腾讯科技(深圳)有限公司 推荐内容显示方法、装置、终端及存储介质

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111770376A (zh) * 2020-06-29 2020-10-13 百度在线网络技术(北京)有限公司 信息展示方法、装置、系统、电子设备及存储介质
CN113613051A (zh) * 2021-10-08 2021-11-05 飞狐信息技术(天津)有限公司 无缝续播方法、装置、服务器及计算机存储介质
CN113613051B (zh) * 2021-10-08 2021-12-24 飞狐信息技术(天津)有限公司 无缝续播方法、装置、服务器及计算机存储介质

Also Published As

Publication number Publication date
CN108965980A (zh) 2018-12-07
US20200396497A1 (en) 2020-12-17
CN108965980B (zh) 2021-08-10
TW202008188A (zh) 2020-02-16
TWI695276B (zh) 2020-06-01

Similar Documents

Publication Publication Date Title
WO2020015454A1 (zh) 推荐内容显示方法、装置、终端及计算机可读存储介质
CN109167950B (zh) 视频录制方法、视频播放方法、装置、设备及存储介质
US20220113843A1 (en) Method for processing live streaming data and electronic device
CN109600678B (zh) 信息展示方法、装置及系统、服务器、终端、存储介质
US10212386B2 (en) Method, device, terminal device, and storage medium for video effect processing
CN109729372B (zh) 直播间切换方法、装置、终端、服务器及存储介质
CN111901658B (zh) 评论信息显示方法、装置、终端及存储介质
CN112929687A (zh) 基于直播视频的互动方法、装置、设备及存储介质
WO2016192325A1 (zh) 视频文件的标识处理方法及装置
US11545188B2 (en) Video processing method, video playing method, devices and storage medium
CN110248236B (zh) 视频播放方法、装置、终端及存储介质
KR102138525B1 (ko) 디스플레이 디바이스 및 그 제어 방법
WO2023000677A1 (zh) 内容项显示方法及装置
US20220256099A1 (en) Method for processing video, terminal, and storage medium
CN111741366A (zh) 音频播放方法、装置、终端及存储介质
WO2019170118A1 (zh) 视频播放方法、装置及设备
WO2023050737A1 (zh) 基于直播间的资源展示方法及终端
CN109982129B (zh) 短视频的播放控制方法、装置及存储介质
CN109618192B (zh) 播放视频的方法、装置、系统和存储介质
CN113395566B (zh) 视频播放方法、装置、电子设备及计算机可读存储介质
US20220256230A1 (en) Method and apparatus for video playing
CN112383808A (zh) 视频播放方法、装置、终端及存储介质
KR20170009087A (ko) 영상 표시 장치 및 그 동작 방법
CN111818358A (zh) 音频文件的播放方法、装置、终端及存储介质
WO2022166371A1 (zh) 多景录像方法、装置及电子设备

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: 19836972

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: 19836972

Country of ref document: EP

Kind code of ref document: A1