CN104918071A - Video playing method, device and terminal equipment - Google Patents
Video playing method, device and terminal equipment Download PDFInfo
- Publication number
- CN104918071A CN104918071A CN201510306704.6A CN201510306704A CN104918071A CN 104918071 A CN104918071 A CN 104918071A CN 201510306704 A CN201510306704 A CN 201510306704A CN 104918071 A CN104918071 A CN 104918071A
- Authority
- CN
- China
- Prior art keywords
- video
- plot
- resolution
- playing
- expected
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47217—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25808—Management of client data
- H04N21/25825—Management of client data involving client display capabilities, e.g. screen resolution of a mobile phone
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25866—Management of end-user data
- H04N21/25891—Management of end-user data being end-user preferences
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47202—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Graphics (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Description
技术领域technical field
本发明实施例涉及移动设备技术领域,尤其涉及一种视频播放方法、装置和终端设备。Embodiments of the present invention relate to the technical field of mobile devices, and in particular, to a video playing method, device and terminal device.
背景技术Background technique
目前,诸如智能手机、平板电脑或者个人数字助理之类的移动终端,已渗入各个领域,被人们所普遍使用。一部普通的移动终端通常具有即时通信、游戏、音乐播放、视频播放、互联网资源浏览等功能。视频播放作为其中一项十分重要的功能,能够提供影视资源(例如电影、电视剧、娱乐节目)供用户观看,从而极大地丰富了人们的精神生活,满足了人们的视觉体验,有助于人们获取知识了解世界。Currently, mobile terminals such as smart phones, tablet computers, or personal digital assistants have penetrated into various fields and are widely used by people. An ordinary mobile terminal usually has functions such as instant messaging, games, music playback, video playback, and Internet resource browsing. As one of the very important functions, video playback can provide video resources (such as movies, TV dramas, entertainment programs) for users to watch, thus greatly enriching people's spiritual life, satisfying people's visual experience, and helping people acquire Knowledge understands the world.
然而,用户在视频网站在线观看视频的过程中,网络状态会实时发生变化,当用户拖动进度条或视频播放至用户期待的情节内容时,可能由于当前网络状态较差,而出现卡顿严重的情况,使得用户不能够顺畅的观看期待的情节内容,极大的影响了用户的观影体验。However, when a user watches a video online on a video website, the network status will change in real time. When the user drags the progress bar or the video is played to the plot content that the user expects, the current network status may be poor and serious freezes may occur. In such a situation, the user cannot smoothly watch the expected plot content, which greatly affects the user's viewing experience.
发明内容Contents of the invention
本发明的目的是提出一种视频播放方法、装置和终端设备,以提高对视频中用户期待观看情节的播放质量,提升用户观看体验。The purpose of the present invention is to propose a video playback method, device and terminal equipment, so as to improve the playback quality of the episodes that users expect to watch in the video, and improve the viewing experience of users.
第一方面,本发明实施例提供一种视频播放方法,包括:In a first aspect, an embodiment of the present invention provides a video playback method, including:
在接收到对视频的播放指令以及接收到用户选择的所述视频中的期待观看情节后,下载具有设定分辨率的所述期待观看情节对应的视频内容;After receiving the playback instruction for the video and receiving the expected viewing episode in the video selected by the user, downloading the video content corresponding to the expected viewing episode with a set resolution;
在检测到用户拖动播放进度条或所述视频播放至所述期待观看情节对应的起始播放时间点时,读取并播放所述期待观看情节对应的视频内容。When it is detected that the user drags the playback progress bar or the video is played to the starting playback time point corresponding to the expected viewing episode, the video content corresponding to the expected viewing episode is read and played.
第二方面,本发明实施例提供一种视频播放装置,包括:In a second aspect, an embodiment of the present invention provides a video playback device, including:
预下载单元,用于在接收到对视频的播放指令以及接收到用户选择的所述视频中的期待观看情节后,下载具有设定分辨率的所述期待观看情节对应的视频内容;A pre-download unit, configured to download the video content corresponding to the expected viewing episode with a set resolution after receiving the video playback instruction and receiving the expected viewing episode in the video selected by the user;
播放单元,用于在检测到用户拖动播放进度条或所述视频播放至所述期待观看情节对应的起始播放时间点时,读取并播放所述期待观看情节对应的视频内容。The playback unit is configured to read and play the video content corresponding to the expected viewing episode when it is detected that the user drags the playback progress bar or the video is played to the starting playback time point corresponding to the expected viewing episode.
第三方面,本发明实施例提供一种终端设备,包括所述视频播放装置。In a third aspect, an embodiment of the present invention provides a terminal device, including the video playback apparatus.
本发明实施例中,在接收到对视频的播放指令以及接收到用户选择的所述视频中的期待观看情节后,下载具有设定分辨率的所述期待观看情节对应的视频内容,在检测到用户拖动播放进度条或所述视频播放至所述期待观看情节对应的起始播放时间点时,读取并播放所述期待观看情节对应的视频内容。可见,本方案通过在播放用户选择的期待观看情节之前预下载期待观看情节对应的视频内容,使得在需要播放期待观看情节时直接读取并播放预下载的期待观看情节对应的视频内容,而不需要实时的从网络侧下载期待观看情节对应的视频内容,从而使得无论当前的网络状态如何,都能够顺畅的播放期待观看情节对应的视频内容,进而提高了期待观看情节的播放质量,提升了用户观看体验。In the embodiment of the present invention, after receiving the video playback instruction and receiving the expected viewing episode in the video selected by the user, the video content corresponding to the expected viewing episode with a set resolution is downloaded, and the When the user drags the playback progress bar or the video is played to the start playing time point corresponding to the desired viewing episode, the video content corresponding to the desired viewing episode is read and played. It can be seen that this solution pre-downloads the video content corresponding to the expected watching episode selected by the user before playing the expected watching episode, so that when the expected watching episode needs to be played, the video content corresponding to the pre-downloaded expected watching episode is directly read and played, without It is necessary to download the video content corresponding to the expected watching plot from the network side in real time, so that no matter what the current network status is, the video content corresponding to the expected watching plot can be played smoothly, thereby improving the playback quality of the expected watching plot and improving the user experience. viewing experience.
附图说明Description of drawings
图1为本发明实施例一提供的一种视频播放方法的流程示意图;FIG. 1 is a schematic flowchart of a video playback method provided by Embodiment 1 of the present invention;
图2为本发明实施例二提供的一种视频播放方法的流程示意图;FIG. 2 is a schematic flowchart of a video playing method provided by Embodiment 2 of the present invention;
图3为本发明实施例三提供的一种视频播放方法的流程示意图;FIG. 3 is a schematic flowchart of a video playing method provided by Embodiment 3 of the present invention;
图4为本发明实施例四提供的一种视频播放装置的结构示意图。FIG. 4 is a schematic structural diagram of a video playback device provided by Embodiment 4 of the present invention.
具体实施方式detailed description
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.
实施例一Embodiment one
图1为本发明实施例一提供的一种视频播放方法的流程图,该方法可以由视频播放装置来执行,该装置可以软件或硬件形式实现,该装置可以设置在终端中,如图1所示,本实施例的方法具体包括:步骤110-步骤120。Figure 1 is a flow chart of a video playback method provided by Embodiment 1 of the present invention, the method can be executed by a video playback device, the device can be implemented in the form of software or hardware, and the device can be set in a terminal, as shown in Figure 1 As shown, the method in this embodiment specifically includes: step 110-step 120.
步骤110:在接收到对视频的播放指令以及接收到用户选择的该视频中的期待观看情节后,下载具有设定分辨率的期待观看情节对应的视频内容;Step 110: Download the video content corresponding to the expected viewing episode with a set resolution after receiving the video playback instruction and the expected viewing episode in the video selected by the user;
步骤120:在检测到用户拖动播放进度条或视频播放至期待观看情节对应的起始播放时间点时,读取并播放期待观看情节对应的视频内容。Step 120: When it is detected that the user drags the playback progress bar or the video is played to the starting time point corresponding to the expected watching episode, read and play the video content corresponding to the expected watching episode.
具体的,步骤110中,接收用户选择的所述视频中的期待观看情节,具体实现可以包含如下两种方式:Specifically, in step 110, the expected viewing plot in the video selected by the user is received, and the specific implementation may include the following two ways:
第一,在接收到对视频的播放指令之前或之后,在当前显示页面上展现用户想要观看的视频的情节列表,该情节列表中包含视频的至少一个情节,每个情节可以使用文字信息等进行描述;接收用户在该情节列表中选择的情节,作为该视频中的期待观看情节;比如,对于一部战争题材的电影,对应的情节列表中可以包含“男主诞生”、“男主参战”、“男主负伤”、“男主胜利归来”等情节,若用户在情节列表中点击情节“男主负伤”,则将情节“男主负伤”作为用户选择的该电影的期待观看情节。First, before or after receiving the video playback instruction, a list of episodes of the video that the user wants to watch is displayed on the current display page. The episode list contains at least one episode of the video, and each episode can use text information, etc. Describe; receive the plot selected by the user in the plot list as the expected viewing plot in the video; for example, for a war-themed movie, the corresponding plot list can include "the birth of the male protagonist", "the male protagonist joins the war" ", "The male protagonist is injured", "The male protagonist returns in victory" and other plots, if the user clicks on the plot "The male protagonist is injured" in the plot list, then the plot "The male protagonist is injured" is used as the expected viewing plot of the movie selected by the user.
第二,在接收到对视频的播放指令之后,在播放进度条上标记至少一个情节,每个情节可以使用文字信息等进行描述,接收用户在播放进度条上选择的情节,作为视频中的期待观看情节。比如,对于一部战争题材的电影,在播放界面的播放进度条上标记“男主诞生”、“男主参战”、“男主负伤”、“男主胜利归来”等情节,每个情节可以在播放进度条上该情节对应的播放位置进行标记,在用户点击播放进度条上某个情节对应的播放位置后,将该情节作为用户选择的期待观看情节。Second, after receiving the playback instruction for the video, mark at least one plot on the playback progress bar. Each plot can be described using text information, etc., and receive the plot selected by the user on the playback progress bar as the expectation in the video Watch the episode. For example, for a war-themed movie, plots such as "the birth of the male protagonist", "the male protagonist joins the war", "the male protagonist is injured", and "the male protagonist returns victoriously" are marked on the playback progress bar of the playback interface. The playing position corresponding to the episode is marked on the playing progress bar, and after the user clicks on the playing position corresponding to a certain episode on the playing progress bar, the episode is regarded as the desired watching episode selected by the user.
示例性的,上述情节列表中包含的或播放进度条上标记的至少一个情节,具体可以通过如下三种方式中的至少一种方式预先收集到:Exemplarily, at least one episode included in the above episode list or marked on the playback progress bar may be pre-collected in at least one of the following three ways:
第一,将视频提供方提供的视频的重要情节,作为所述至少一个情节;First, take the important plot of the video provided by the video provider as the at least one plot;
该重要情节可以从提供视频的服务器获取到,一般来说,在视频提供方发布视频时,会将该视频的一些重要情节比如高潮情节等一起发布;The important plot can be obtained from the server that provides the video. Generally speaking, when the video provider publishes the video, some important plots of the video, such as the climax, will be released together;
第二,收集用户历史观看的视频中的情节,作为所述至少一个情节;Second, collect plots in videos watched by users historically as the at least one plot;
具体可以将视频中被用户频繁观看的一段或多段内容,分别作为一个情节进行收集。Specifically, one or more pieces of content frequently watched by the user in the video may be collected as one episode.
第三,将所述视频中与用户的兴趣爱好相关的情节,作为所述至少一个情节。Thirdly, a plot related to the user's hobbies in the video is used as the at least one plot.
比如,用户在视频网站进行注册时,可以提示用户填写自己的兴趣爱好相关的内容,比如,所喜欢的明星、感兴趣的领域等。在获取到用户的兴趣爱好信息后,确定视频中与用户的兴趣爱好相关的一段或多段内容,分别作为一个情节进行收集,例如将视频中出现了用户所喜欢的明星的多段内容分别作为一个情节进行收集。For example, when a user registers on a video website, the user may be prompted to fill in content related to his or her hobbies, such as favorite stars, areas of interest, and the like. After obtaining the user's hobbies and hobbies, determine one or more pieces of content in the video that are related to the user's hobbies and collect them as a plot. to collect.
步骤110中,下载具有设定分辨率的期待观看情节对应的视频内容,具体可以是固定下载高清分辨率的期待观看情节对应的视频内容。或者,根据当前的网络状态和/或期待观看情节对应的播放时间段,确定该设定分辨率,然后下载该设定分辨率的期待观看情节对应的视频内容。In step 110, the video content corresponding to the expected viewing episode with a set resolution is downloaded, specifically, the video content corresponding to the expected viewing episode with a high-definition resolution may be fixedly downloaded. Alternatively, the set resolution is determined according to the current network status and/or the playing time period corresponding to the expected viewing episode, and then the video content corresponding to the expected viewing episode at the set resolution is downloaded.
示例性的,根据当前的网络状态和/或期待观看情节对应的播放时间段,确定所述设定分辨率,具体实现可以如下:Exemplarily, the set resolution is determined according to the current network status and/or the playing time period corresponding to the plot to be watched, and the specific implementation may be as follows:
若根据当前的下载速度确定当前的网络状态为堵塞,则确定所述设定分辨率为标清分辨率,若根据下载速度确定当前的网络状态为顺畅,则:If it is determined that the current network state is blocked according to the current download speed, then it is determined that the set resolution is a standard definition resolution, and if the current network state is determined to be smooth according to the download speed, then:
在期待观看情节对应的播放时间段属于视频的起始播放时间段时,确定设定分辨率为标清分辨率,因为在期待观看情节对应的播放时间段属于视频的起始播放时间段时,在接收到视频播放指令后的较短时间内可能就会播放到期待观看情节,可以进行预下载的时间比较短,因此下载标清分辨率的期待观看情节对应的视频内容,相对于下载高清分辨率的期待观看情节对应的视频内容,更能节省时间,以保证用户的观看。在所述期待观看情节对应的播放时间段不属于视频的起始播放时间段时,确定所述设定分辨率为高清分辨率,从而使用户能够观看到高品质的期待观看情节对应的视频内容。When the playback time period corresponding to the expected viewing plot belongs to the initial playback time period of the video, determine the set resolution as standard definition resolution, because when the playback time period corresponding to the expected viewing episode belongs to the initial playback time period of the video, in After receiving the video playback command, the expected episode may be played within a relatively short period of time, and the pre-download time is relatively short. Therefore, downloading the video content corresponding to the expected episode in standard definition resolution is much more difficult than downloading high-definition resolution. Look forward to watching the video content corresponding to the plot, which can save time and ensure the user's viewing. When the playing time period corresponding to the expected viewing episode does not belong to the initial playing time period of the video, the set resolution is determined to be high-definition resolution, so that the user can watch the high-quality video content corresponding to the expected watching episode .
步骤110中,下载具有设定分辨率的期待观看情节对应的视频内容,具体可以是向视频服务端发送下载请求,该下载请求中包含视频的标识信息(比如名称或编号等)、以及期待观看情节的标识信息,以使视频服务端根据视频的标识信息、以及期待观看情节的标识信息获取到期待观看情节对应的视频内容并返回给发送下载请求的终端设备。期待观看情节的标识信息可以是期待观看情节在视频中的播放时间信息(比如起始播放时间和终止播放时间)或描述信息或编号信息等。In step 110, download the video content corresponding to the expected viewing plot with the set resolution, specifically, a download request may be sent to the video server, the download request includes video identification information (such as name or serial number, etc.), and the expected viewing The identification information of the episode, so that the video server can obtain the video content corresponding to the episode to be watched according to the identification information of the video and the identification information of the episode to be watched, and return it to the terminal device that sent the download request. The identification information of the episode to be watched may be the playing time information (such as the start playing time and the ending playing time) or description information or serial number information of the episode to be watched in the video.
本实施例中,通过在播放用户选择的期待观看情节之前预下载期待观看情节对应的视频内容,使得在需要播放期待观看情节时直接读取并播放预下载的期待观看情节对应的视频内容,而不需要实时的从网络侧下载期待观看情节对应的视频内容,从而使得无论当前的网络状态如何,都能够顺畅的播放期待观看情节对应的视频内容,进而提高了期待观看情节的播放质量,提升了用户观看体验。In this embodiment, by pre-downloading the video content corresponding to the expected viewing episode selected by the user before playing the expected viewing episode, the video content corresponding to the pre-downloaded expected viewing episode is directly read and played when the expected viewing episode needs to be played, and There is no need to download the video content corresponding to the expected watching plot from the network side in real time, so that regardless of the current network status, the video content corresponding to the expected watching plot can be played smoothly, thereby improving the playback quality of the expected watching plot and improving the User viewing experience.
实施例二:Embodiment two:
图2为本发明实施例二提供的一种视频播放方法的流程图,该方法可以由视频播放装置来执行,该装置可以软件或硬件形式实现,该装置可以设置在终端中,如图2所示,本实施例的方法具体包括:步骤210-步骤250。Fig. 2 is a flow chart of a video playing method provided by Embodiment 2 of the present invention, the method can be executed by a video playing device, the device can be implemented in the form of software or hardware, and the device can be set in a terminal, as shown in Fig. 2 As shown, the method in this embodiment specifically includes: Step 210-Step 250.
步骤210:在进入包含有用户想要观看的视频的播放图标的界面后,检测到用户点击该界面上的预设情节展现按钮时,展现视频的情节列表,该情节列表中包含该视频的至少一个情节;Step 210: After entering the interface containing the play icon of the video that the user wants to watch, when it is detected that the user clicks the preset plot display button on the interface, the plot list of the video is displayed, and the plot list contains at least one episode of the video. a plot;
步骤220:接收用户在情节列表中选择的情节,作为视频中的期待观看情节;Step 220: Receive the plot selected by the user in the plot list as the expected viewing plot in the video;
步骤230:用户点击播放图标,接收到对视频的播放指令,根据当前的网络状态确定分辨率,下载并播放确定的分辨率的视频内容,同时下载高清分辨率的、用户预先选择的期待观看情节对应的视频内容,将下载到的期待观看情节对应的视频内容进行缓存;Step 230: The user clicks the play icon, receives a video playback instruction, determines the resolution according to the current network status, downloads and plays the video content with the determined resolution, and simultaneously downloads the high-definition resolution and the user's pre-selected desired viewing episode For the corresponding video content, the downloaded video content corresponding to the expected viewing plot is cached;
步骤240:在检测到用户拖动播放进度条或视频播放至用户预先选择的期待观看情节对应的起始播放时间点时,读取并播放缓存的期待观看情节对应的视频内容;Step 240: When it is detected that the user drags the playback progress bar or the video is played to the start playback time point corresponding to the user's pre-selected expected viewing episode, read and play the cached video content corresponding to the expected viewing episode;
步骤250:在期待观看情节对应的视频内容播放完成后,根据当前的网络状态再次确定分辨率,下载并播放确定的分辨率的后续视频内容。Step 250: After the video content corresponding to the expected viewing episode is played, the resolution is determined again according to the current network status, and the subsequent video content with the determined resolution is downloaded and played.
示例性的,上述根据当前的网络状态确定分辨率,具体可以是:若根据当前的下载速度确定当前的网络状态为堵塞,则确定分辨率为标清分辨率,若根据当前的下载速度确定当前的网络状态为顺畅,则确定分辨率为高清分辨率。Exemplarily, the above-mentioned determination of the resolution according to the current network status may specifically be: if it is determined according to the current download speed that the current network status is congestion, then the resolution is determined to be SD resolution; if the current download speed is determined according to the current If the network status is smooth, the resolution is determined to be HD resolution.
本实施例中,通过在播放用户选择的期待观看情节之前预下载期待观看情节对应的视频内容,使得在需要播放期待观看情节时直接读取并播放预下载的期待观看情节对应的视频内容,而不需要实时的从网络侧下载期待观看情节对应的视频内容,从而使得无论当前的网络状态如何,都能够顺畅的播放期待观看情节对应的视频内容,进而提高了期待观看情节的播放质量,提升了用户观看体验。同时,本实施例根据网络状态适配分辨率,能够较大程度的保证用户的顺畅观看。In this embodiment, by pre-downloading the video content corresponding to the expected viewing episode selected by the user before playing the expected viewing episode, the video content corresponding to the pre-downloaded expected viewing episode is directly read and played when the expected viewing episode needs to be played, and There is no need to download the video content corresponding to the expected watching plot from the network side in real time, so that regardless of the current network status, the video content corresponding to the expected watching plot can be played smoothly, thereby improving the playback quality of the expected watching plot and improving the User viewing experience. At the same time, this embodiment adapts the resolution according to the network status, which can ensure the smooth viewing of the user to a large extent.
实施例三:Embodiment three:
图3为本发明实施例三提供的一种视频播放方法的流程图,该方法可以由视频播放装置来执行,该装置可以软件或硬件形式实现,该装置可以设置在终端中,如图3所示,本实施例的方法具体包括:步骤310-步骤350。Fig. 3 is a flow chart of a video playback method provided by Embodiment 3 of the present invention, the method can be executed by a video playback device, the device can be implemented in the form of software or hardware, and the device can be set in a terminal, as shown in Fig. 3 As shown, the method in this embodiment specifically includes: Step 310-Step 350.
步骤310:用户点击播放图标,接收到对视频的播放指令,根据当前的网络状态确定分辨率,下载并播放确定的分辨率的视频内容;Step 310: the user clicks the play icon, receives a video playback instruction, determines the resolution according to the current network status, downloads and plays the video content with the determined resolution;
步骤320:在播放进度条上标记有至少一个情节,接收用户在播放进度条上选择的情节,作为视频中的期待观看情节;Step 320: At least one episode is marked on the playback progress bar, and the episode selected by the user on the playback progress bar is received as an expected viewing episode in the video;
步骤330:下载高清分辨率的、用户选择的期待观看情节对应的视频内容,将下载到的期待观看情节对应的视频内容进行缓存;Step 330: Download the high-definition resolution video content corresponding to the expected viewing episode selected by the user, and cache the downloaded video content corresponding to the expected viewing episode;
步骤340:在检测到用户拖动播放进度条或视频播放至用户预先选择的期待观看情节对应的起始播放时间点时,读取并播放缓存的期待观看情节对应的视频内容;Step 340: When it is detected that the user drags the playback progress bar or the video is played to the start playback time point corresponding to the user's pre-selected expected viewing episode, read and play the cached video content corresponding to the expected viewing episode;
步骤350:在期待观看情节对应的视频内容播放完成后,根据当前的网络状态再次确定分辨率,下载并播放确定的分辨率的后续视频内容。Step 350: After the video content corresponding to the expected viewing episode is played, the resolution is determined again according to the current network status, and the subsequent video content with the determined resolution is downloaded and played.
示例性的,上述根据当前的网络状态确定分辨率,具体可以是:若根据当前的下载速度确定当前的网络状态为堵塞,则确定分辨率为标清分辨率,若根据当前的下载速度确定当前的网络状态为顺畅,则确定分辨率为高清分辨率。Exemplarily, the above-mentioned determination of the resolution according to the current network status may specifically be: if it is determined according to the current download speed that the current network status is congestion, then the resolution is determined to be SD resolution; if the current download speed is determined according to the current If the network status is smooth, the resolution is determined to be HD resolution.
本实施例中,通过在播放用户选择的期待观看情节之前预下载期待观看情节对应的视频内容,使得在需要播放期待观看情节时直接读取并播放预下载的期待观看情节对应的视频内容,而不需要实时的从网络侧下载期待观看情节对应的视频内容,从而使得无论当前的网络状态如何,都能够顺畅的播放期待观看情节对应的视频内容,进而提高了期待观看情节的播放质量,提升了用户观看体验。同时,本实施例根据网络状态适配分辨率,能够较大程度的保证用户的顺畅观看。In this embodiment, by pre-downloading the video content corresponding to the expected viewing episode selected by the user before playing the expected viewing episode, the video content corresponding to the pre-downloaded expected viewing episode is directly read and played when the expected viewing episode needs to be played, and There is no need to download the video content corresponding to the expected watching plot from the network side in real time, so that regardless of the current network status, the video content corresponding to the expected watching plot can be played smoothly, thereby improving the playback quality of the expected watching plot and improving the User viewing experience. At the same time, this embodiment adapts the resolution according to the network status, which can ensure the smooth viewing of the user to a large extent.
实施例四:Embodiment four:
参见图4,本实施例提供一种视频播放装置,可设置于终端设备中,该装置包括:Referring to Figure 4, this embodiment provides a video playback device, which can be set in a terminal device, and the device includes:
预下载单元410,用于在接收到对视频的播放指令以及接收到用户选择的所述视频中的期待观看情节后,下载具有设定分辨率的所述期待观看情节对应的视频内容;The pre-download unit 410 is configured to download the video content corresponding to the expected viewing episode with a set resolution after receiving the video playback instruction and receiving the expected viewing episode in the video selected by the user;
播放单元420,用于在检测到用户拖动播放进度条或所述视频播放至所述期待观看情节对应的起始播放时间点时,读取并播放所述期待观看情节对应的视频内容。The playback unit 420 is configured to read and play the video content corresponding to the expected viewing episode when it is detected that the user drags the playback progress bar or the video is played to the starting playback time point corresponding to the expected viewing episode.
进一步的,所述预下载单元410具体用于:Further, the pre-download unit 410 is specifically used for:
在接收到对所述视频的播放指令之前或之后,在当前显示页面上展现所述视频的情节列表,所述情节列表中包含所述视频的至少一个情节;接收用户在所述情节列表中选择的情节,作为所述视频中的期待观看情节;或者,Before or after receiving the playing instruction of the video, the plot list of the video is displayed on the current display page, and at least one plot of the video is included in the plot list; , as an expected viewing episode in said video; or,
在接收到对所述视频的播放指令之后,在播放进度条上标记至少一个情节,接收用户在所述播放进度条上选择的情节,作为所述视频中的期待观看情节。After receiving the playing instruction for the video, mark at least one episode on the playing progress bar, and receive the episode selected by the user on the playing progress bar as the expected watching episode in the video.
进一步的,该装置还包括:情节收集单元430,用于按照如下步骤确定所述至少一个情节:Further, the device further includes: a plot collection unit 430, configured to determine the at least one plot according to the following steps:
将视频提供方提供的所述视频的重要情节,作为所述至少一个情节;Using the important plot of the video provided by the video provider as the at least one plot;
收集用户历史观看的所述视频中的情节,作为所述至少一个情节;Collect plots in the video watched by the user history as the at least one plot;
将所述视频中与所述用户的兴趣爱好相关的情节,作为所述至少一个情节。A plot related to the user's hobbies in the video is used as the at least one plot.
进一步的,该装置还包括:Further, the device also includes:
分辨率确定单元440,用于确定所述设定分辨率为高清分辨率;或者,根据当前的网络状态和/或所述期待观看情节对应的播放时间段,确定所述设定分辨率。The resolution determination unit 440 is configured to determine that the set resolution is a high-definition resolution; or, determine the set resolution according to the current network status and/or the playing time period corresponding to the expected viewing plot.
进一步的,所述分辨率确定单元440具体用于:按照如下方式根据当前的网络状态和/或所述期待观看情节对应的播放时间段,确定所述设定分辨率:Further, the resolution determination unit 440 is specifically configured to: determine the set resolution according to the current network status and/or the playing time period corresponding to the expected viewing episode in the following manner:
若确定当前的网络状态为堵塞,则确定所述设定分辨率为标清分辨率,若确定当前的网络状态为顺畅,则:If it is determined that the current network state is blocked, then it is determined that the set resolution is a standard definition resolution, and if it is determined that the current network state is smooth, then:
在所述期待观看情节对应的播放时间段属于所述视频的起始播放时间段时,确定所述设定分辨率为标清分辨率;在所述期待观看情节对应的播放时间段不属于所述视频的起始播放时间段时,确定所述设定分辨率为高清分辨率。When the playing time period corresponding to the expected watching episode belongs to the initial playing time period of the video, determine that the set resolution is a standard definition resolution; when the playing time period corresponding to the expected watching episode does not belong to the During the initial playing time period of the video, it is determined that the set resolution is high-definition resolution.
进一步的,该装置还包括:Further, the device also includes:
第一分辨率适配单元450,用于在检测到用户拖动播放进度条或所述视频播放至所述期待观看情节对应的起始播放时间点之前,下载并播放确定的分辨率的后续视频内容。The first resolution adaptation unit 450 is configured to download and play a subsequent video with a determined resolution before it is detected that the user drags the playback progress bar or the video is played to the starting playback time point corresponding to the expected viewing plot content.
进一步的,该装置还包括:Further, the device also includes:
第二分辨率适配单元460,用于在读取并播放所述期待观看情节对应的视频内容之后,根据当前的网络状态确定分辨率,下载并播放确定的分辨率的后续视频内容。The second resolution adaptation unit 460 is configured to determine the resolution according to the current network status after reading and playing the video content corresponding to the desired viewing episode, and download and play subsequent video content with the determined resolution.
本实施例提供的视频播放装置可执行本发明任一实施例所提供的视频播放方法,具备执行方法相应的功能模块和有益效果。The video playing device provided in this embodiment can execute the video playing method provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method.
实施例五:Embodiment five:
本实施例提供一种终端设备,该终端设备包括实施例四所述的视频播放装置。该终端设备具体可以是PC机、智能手机、平板电脑等。This embodiment provides a terminal device, where the terminal device includes the video playing apparatus described in Embodiment 4. Specifically, the terminal device may be a PC, a smart phone, a tablet computer, and the like.
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the appended claims.
Claims (15)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510306704.6A CN104918071B (en) | 2015-06-05 | 2015-06-05 | Video broadcasting method, device and terminal device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510306704.6A CN104918071B (en) | 2015-06-05 | 2015-06-05 | Video broadcasting method, device and terminal device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN104918071A true CN104918071A (en) | 2015-09-16 |
| CN104918071B CN104918071B (en) | 2017-10-20 |
Family
ID=54086714
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510306704.6A Expired - Fee Related CN104918071B (en) | 2015-06-05 | 2015-06-05 | Video broadcasting method, device and terminal device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104918071B (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105721899A (en) * | 2016-03-21 | 2016-06-29 | 传线网络科技(上海)有限公司 | Video quality scoring method and system |
| CN105898564A (en) * | 2015-12-09 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Multimedia resource play method and device and terminal equipment based on Android platform |
| CN107948206A (en) * | 2018-01-02 | 2018-04-20 | 联想(北京)有限公司 | A kind of multi-medium data download/or the method and system uploaded |
| CN110334246A (en) * | 2019-07-08 | 2019-10-15 | 北京字节跳动网络技术有限公司 | A kind of data request processing method, apparatus, terminal device and storage medium |
| CN112423127A (en) * | 2020-11-20 | 2021-02-26 | 上海哔哩哔哩科技有限公司 | Video loading method and device |
| US11949928B2 (en) | 2020-11-20 | 2024-04-02 | Shanghai Bilibili Technology Co., Ltd. | Video loading method and device |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090006624A1 (en) * | 2007-06-29 | 2009-01-01 | Microsoft Corporation | Entertainment Access Service |
| CN102802079A (en) * | 2012-08-24 | 2012-11-28 | 广东欧珀移动通信有限公司 | Video previewing segment generating method of media player |
| CN103974142A (en) * | 2013-01-31 | 2014-08-06 | 深圳市快播科技有限公司 | Video playing method and system |
-
2015
- 2015-06-05 CN CN201510306704.6A patent/CN104918071B/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090006624A1 (en) * | 2007-06-29 | 2009-01-01 | Microsoft Corporation | Entertainment Access Service |
| CN102802079A (en) * | 2012-08-24 | 2012-11-28 | 广东欧珀移动通信有限公司 | Video previewing segment generating method of media player |
| CN103974142A (en) * | 2013-01-31 | 2014-08-06 | 深圳市快播科技有限公司 | Video playing method and system |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105898564A (en) * | 2015-12-09 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Multimedia resource play method and device and terminal equipment based on Android platform |
| CN105721899A (en) * | 2016-03-21 | 2016-06-29 | 传线网络科技(上海)有限公司 | Video quality scoring method and system |
| CN105721899B (en) * | 2016-03-21 | 2018-09-18 | 传线网络科技(上海)有限公司 | A kind of method and system of video quality score |
| CN107948206A (en) * | 2018-01-02 | 2018-04-20 | 联想(北京)有限公司 | A kind of multi-medium data download/or the method and system uploaded |
| CN110334246A (en) * | 2019-07-08 | 2019-10-15 | 北京字节跳动网络技术有限公司 | A kind of data request processing method, apparatus, terminal device and storage medium |
| CN112423127A (en) * | 2020-11-20 | 2021-02-26 | 上海哔哩哔哩科技有限公司 | Video loading method and device |
| US11949928B2 (en) | 2020-11-20 | 2024-04-02 | Shanghai Bilibili Technology Co., Ltd. | Video loading method and device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104918071B (en) | 2017-10-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104918071B (en) | Video broadcasting method, device and terminal device | |
| CN112584224B (en) | Information display and processing method, device, equipment and medium | |
| WO2018000624A1 (en) | Video playing control method and device | |
| CN103634617B (en) | Video recommending method and device in intelligent television | |
| US20130326570A1 (en) | Methods and apparatus for providing access to content | |
| CN110688571A (en) | A method, device, electronic device and storage medium for implementing a list stream | |
| US10009394B2 (en) | Techniques to broadcast live event data in real-time | |
| CN106658200A (en) | Live video sharing and obtaining methods and devices, and terminal equipment thereof | |
| WO2017121303A1 (en) | Method and apparatus for playing push information during video live broadcast | |
| US9948739B2 (en) | Techniques to aggregate and broadcast live event data in real-time | |
| WO2015090095A1 (en) | Information pushing method, device, and system | |
| CN108540868A (en) | Processing method, device, server, terminal and the storage medium of HLS live streamings | |
| US9409081B2 (en) | Methods and systems for visually distinguishing objects appearing in a media asset | |
| US20170153774A1 (en) | Method and device for displaying program information and terminal apparatus | |
| CN104936032A (en) | Method and device for playing network video | |
| US20160294903A1 (en) | Method and device for pushing resources to mobile communication terminal by smart television | |
| WO2017181597A1 (en) | Method and device for video playback | |
| CN110673774A (en) | List stream implementation method and device, electronic equipment and storage medium | |
| WO2017092422A1 (en) | Android platform-based multimedia processing method, device, and mobile terminal apparatus | |
| CN107771315A (en) | System and method for displaying and navigating content based on dynamic icon mapping | |
| CN104185064B (en) | media file identification method and device | |
| CN105744338A (en) | Video processing method and equipment | |
| CN102202039A (en) | Network video preview method and computer readable recording medium storing program | |
| US20150026711A1 (en) | Method and apparatus for video content distribution | |
| US20150221112A1 (en) | Emotion Indicators in Content |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CP01 | Change in the name or title of a patent holder | ||
| CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20171020 |