CN106921886B - Method and device for playing multimedia data of a terminal - Google Patents
Method and device for playing multimedia data of a terminal Download PDFInfo
- Publication number
- CN106921886B CN106921886B CN201510993314.0A CN201510993314A CN106921886B CN 106921886 B CN106921886 B CN 106921886B CN 201510993314 A CN201510993314 A CN 201510993314A CN 106921886 B CN106921886 B CN 106921886B
- Authority
- CN
- China
- Prior art keywords
- multimedia data
- preset
- playback
- application program
- buffering progress
- 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.)
- Active
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/43—Processing 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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4331—Caching operations, e.g. of an advertisement for later insertion during playback
-
- 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/43—Processing 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/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
-
- 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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/854—Content authoring
- H04N21/8547—Content authoring involving timestamps for synchronizing content
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
本申请实施例提供了一种终端的多媒体数据播放方法,包括:终端接收多媒体数据进行播放;当多媒体数据播放卡顿时,暂停所述多媒体数据的播放进程,并调用预置的应用程序;当满足预设恢复条件时,恢复所述多媒体数据的播放进程。本申请实施例中,当视频播放出现卡顿时,暂停视频的播放进程,并自动调用用户预先设定的其他应用程序,当满足恢复播放的条件时,自动恢复视频的播放进程。无需用户在视频播放界面与其他应用程序之间进行频繁的切换操作,以及,使得用户可以及时观看以及缓存好的视频。
An embodiment of the present application provides a method for playing multimedia data on a terminal, including: the terminal receives multimedia data and plays it; when the multimedia data is stuck in playback, suspending the playing process of the multimedia data, and calling a preset application program; When the resume condition is preset, the playback process of the multimedia data is resumed. In the embodiment of the present application, when the video playback is stuck, the playback process of the video is paused, and other application programs preset by the user are automatically called. When the conditions for resuming playback are met, the playback process of the video is automatically resumed. There is no need for the user to perform frequent switching operations between the video playback interface and other applications, and the user can watch and cache the good video in time.
Description
技术领域technical field
本申请涉及多媒体技术领域,特别是涉及一种终端的多媒体数据播放方法和一种终端的多媒体数据播放装置。The present application relates to the field of multimedia technologies, and in particular, to a method for playing multimedia data of a terminal and a device for playing multimedia data of a terminal.
背景技术Background technique
随着互联网的发展,人们在终端进行在线视频观看的情况越来越多。在线视频观看过程中,由于带宽不足将会使得视频播放不断出现卡顿的情况,影响用户的观看感受。对此,用户通常会选择暂定视频的播放,等待视频缓冲一定进程后,再继续观看。在等待缓存过程中,用户可能会切换到终端中的其他应用程序。此时,用户可能会在视频观看界面与其他应用程序之间来回切换,来确定当前的缓冲进度,或者,用户并没有在视频观看界面与其他应用程序之间来回切换,而视频早已缓冲完成。With the development of the Internet, more and more people watch online videos on terminals. In the process of online video viewing, due to insufficient bandwidth, video playback will continue to freeze, affecting the user's viewing experience. In this regard, the user usually chooses to temporarily play the video and waits for the video to be buffered for a certain process before continuing to watch. While waiting for caching, the user may switch to another application in the terminal. At this point, the user may switch back and forth between the video viewing interface and other applications to determine the current buffering progress, or the user may not switch back and forth between the video viewing interface and other applications, and the video has already been buffered.
发明内容SUMMARY OF THE INVENTION
鉴于上述问题,提出了本申请实施例以便提供一种克服上述问题或者至少部分地解决上述问题的一种终端的多媒体对象播放方法和相应的一种终端的多媒体对象播放装置。In view of the above problems, the embodiments of the present application are proposed in order to provide a terminal multimedia object playing method and a terminal multimedia object playing device which overcome the above problems or at least partially solve the above problems.
为了解决上述问题,本申请实施例公开了一种终端的多媒体数据播放方法,包括:In order to solve the above problem, an embodiment of the present application discloses a method for playing multimedia data of a terminal, including:
终端接收多媒体数据进行播放;The terminal receives the multimedia data and plays it;
当多媒体数据播放卡顿时,暂停所述多媒体数据的播放进程,并调用预置的应用程序;When the multimedia data playback is stuck, the playback process of the multimedia data is suspended, and the preset application program is called;
当满足预设恢复条件时,恢复所述多媒体数据的播放进程。When the preset resume condition is satisfied, the playback process of the multimedia data is resumed.
优选的,所述当多媒体数据播放卡顿时,暂停所述多媒体数据的播放进程,并调用预置的应用程序的步骤包括:Preferably, the steps of suspending the playback process of the multimedia data and invoking the preset application program when the multimedia data playback is stuck include:
当多媒体数据播放卡顿时,暂停所述多媒体数据的播放进程,并向用户展现预置的应用程序列表;When the multimedia data playback is stuck, the playback process of the multimedia data is suspended, and the preset application program list is presented to the user;
接收用户在所述预置的应用程序列表中选择的目标应用程序;Receive the target application program selected by the user in the preset application program list;
调用所述目标应用程序。Invoke the target application.
优选的,还包括:Preferably, it also includes:
当所述预置应用程序被调用时,获取当前多媒体数据的缓冲进度;When the preset application is called, obtain the buffering progress of the current multimedia data;
在所述预置应用程序的界面中显示所述多媒体数据的缓冲进度。The buffering progress of the multimedia data is displayed in the interface of the preset application program.
优选的,所述预设恢复条件包括:Preferably, the preset recovery conditions include:
接收到用户的恢复触发指示。A recovery trigger instruction from the user is received.
优选的,所述预设恢复条件还包括:Preferably, the preset recovery conditions further include:
所述多媒体数据的缓冲进度达到预设缓冲进度。The buffering progress of the multimedia data reaches a preset buffering progress.
优选的,所述多媒体数据具有时间戳;所述获取当前多媒体数据的缓冲进度的步骤包括:Preferably, the multimedia data has a time stamp; the step of obtaining the buffering progress of the current multimedia data includes:
按预设时间间隔监控接收到的多媒体数据的时间戳;Monitor the timestamps of received multimedia data at preset time intervals;
将当前监控得到的时间戳与播放进程暂停时的时间戳进行比较。Compare the currently monitored timestamp with the timestamp when the playback process was paused.
优选的,所述媒体数据的缓冲进度达到预设缓冲进度包括:Preferably, the buffering progress of the media data reaching the preset buffering progress includes:
当前监控得到的时间戳与播放进程暂停时的时间的间隔达到预设间隔。The interval between the currently monitored timestamp and the time when the playback process is paused reaches a preset interval.
同时,本申请实施例公开了一种终端的多媒体数据播放装置,包括:Meanwhile, an embodiment of the present application discloses a multimedia data playback device for a terminal, including:
多媒体数据接收模块,用于接收多媒体数据进行播放;A multimedia data receiving module for receiving multimedia data for playback;
调用模块,用于当多媒体数据播放卡顿时,暂停所述多媒体数据的播放进程,并调用预置的应用程序;a calling module for suspending the playback process of the multimedia data and calling a preset application program when the multimedia data playback is stuck;
恢复模块,用于当满足预设恢复条件时,恢复所述多媒体数据的播放进程。A restoration module, configured to restore the playback process of the multimedia data when a preset restoration condition is met.
优选的,所述调用模块进一步包括:Preferably, the calling module further includes:
展现子模块,用于当多媒体数据播放卡顿时,暂停所述多媒体数据的播放进程,并向用户展现预置的应用程序列表;A presentation sub-module for suspending the playback process of the multimedia data when the multimedia data is stuck, and showing the preset application program list to the user;
目标程序接收子模块,用于接收用户在所述预置的应用程序列表中选择的目标应用程序;The target program receiving submodule is used for receiving the target application program selected by the user in the preset application program list;
目标程序调用子模块,用于调用所述目标应用程序。The target program invokes the submodule for invoking the target application program.
优选的,还包括:Preferably, it also includes:
缓冲进度获取模块,用于当所述预置应用程序被调用时,获取当前多媒体数据的缓冲进度;a buffering progress obtaining module for obtaining the buffering progress of the current multimedia data when the preset application is called;
缓冲进度显示模块,用于在所述预置应用程序的界面中显示所述多媒体数据的缓冲进度。The buffering progress display module is configured to display the buffering progress of the multimedia data in the interface of the preset application program.
优选的,所述预设恢复条件包括:Preferably, the preset recovery conditions include:
接收到用户的恢复触发指示。A recovery trigger instruction from the user is received.
优选的,所述预设恢复条件还包括:Preferably, the preset recovery conditions further include:
所述多媒体数据的缓冲进度达到预设缓冲进度。The buffering progress of the multimedia data reaches a preset buffering progress.
优选的,所述多媒体数据具有时间戳;所述缓冲进度获取模块进一步包括:Preferably, the multimedia data has a time stamp; the buffering progress acquisition module further includes:
监控子模块,用于按预设时间间隔监控接收到的多媒体数据的时间戳;a monitoring sub-module for monitoring the timestamp of the received multimedia data at preset time intervals;
比较子模块,用于将当前监控得到的时间戳与播放进程暂停时的时间戳进行比较。The comparison sub-module is used to compare the timestamp obtained by the current monitoring with the timestamp when the playback process is paused.
优选的,所述媒体数据的缓冲进度达到预设缓冲进度包括:Preferably, the buffering progress of the media data reaching the preset buffering progress includes:
当前监控得到的时间戳与播放进程暂停时的时间的间隔达到预设间隔。The interval between the currently monitored timestamp and the time when the playback process is paused reaches a preset interval.
本申请实施例包括以下优点:The embodiments of the present application include the following advantages:
本申请实施例中,当视频播放出现卡顿时,暂停视频的播放进程,并自动调用用户预先设定的其他应用程序,当满足恢复播放的条件时,自动恢复视频的播放进程。无需用户在视频播放界面与其他应用程序之间进行频繁的切换操作,以及,使得用户可以及时观看已经 缓存好的视频。In the embodiment of the present application, when the video playback is stuck, the playback process of the video is paused, and other application programs preset by the user are automatically called. When the conditions for resuming playback are met, the playback process of the video is automatically resumed. There is no need for the user to perform frequent switching operations between the video playback interface and other applications, and the user can watch the video that has been cached in time.
附图说明Description of drawings
图1是本申请的一种终端的多媒体数据播放方法实施例1的步骤流程图;1 is a flow chart of steps of Embodiment 1 of a method for playing multimedia data of a terminal according to the present application;
图2是本申请的一种终端的多媒体数据播放方法实施例2的步骤流程图;2 is a flowchart of steps of Embodiment 2 of a method for playing multimedia data of a terminal according to the present application;
图3是本申请的一种终端的多媒体数据播放装置实施例1的结构框图;3 is a structural block diagram of Embodiment 1 of a multimedia data playback device for a terminal according to the present application;
图4是本申请的一种终端的多媒体数据播放装置实施例2的结构框图。FIG. 4 is a structural block diagram of Embodiment 2 of a multimedia data playback apparatus of a terminal according to the present application.
具体实施方式Detailed ways
为使本申请的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本申请作进一步详细的说明。In order to make the above objects, features and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and specific embodiments.
本申请实施例的核心构思之一在于,当多媒体数据播放出现卡顿时,暂停多媒体数据的播放进程,并自动调用用户预先设定的其他应用程序,当满足恢复播放的条件时,自动恢复多媒体数据的播放进程。One of the core concepts of the embodiments of the present application is that when the playback of multimedia data freezes, the playback process of the multimedia data is paused, and other application programs preset by the user are automatically invoked, and when the conditions for resuming playback are met, the multimedia data is automatically restored. playback process.
参照图1,示出了本申请的一种终端的多媒体数据播放方法实施例1的步骤流程图,具体可以包括如下步骤:Referring to FIG. 1, a flowchart of steps of Embodiment 1 of a method for playing multimedia data of a terminal according to the present application is shown, which may specifically include the following steps:
步骤101,终端接收多媒体数据进行播放;Step 101, the terminal receives multimedia data to play;
在本申请实施例中,多媒体数据可以包括视频数据、音频数据。终端可以包括:移动终端、个人电脑PC、智能电视等。In this embodiment of the present application, the multimedia data may include video data and audio data. The terminal may include: a mobile terminal, a personal computer PC, a smart TV, and the like.
步骤102,当多媒体数据播放卡顿时,暂停所述多媒体数据的播放进程,并调用预置的应用程序;Step 102, when the multimedia data playback is stuck, suspend the playback process of the multimedia data, and call the preset application program;
在多媒体数据播放过程中,由于带宽不足,终端从多媒体数据服务器中接收到的多媒体数据的速度将会很慢,甚至接收不到多媒体数据,此时终端中的多媒体数据的播放进程将会出现卡顿。During the playback of multimedia data, due to insufficient bandwidth, the speed of the multimedia data received by the terminal from the multimedia data server will be very slow, or even unable to receive multimedia data. At this time, the playback process of the multimedia data in the terminal will be stuck pause.
预置的应用程序可以由用户预先设定,当多媒体数据的播放进程卡顿时,用户为了消磨等待多媒体数据缓冲的时间,可能会打开游戏程序来玩一下。The preset application program can be preset by the user. When the playback process of the multimedia data is stuck, the user may open the game program to play in order to kill time waiting for the multimedia data to be buffered.
例如,当PC中播放的视频卡顿时,调用PC中的“扫雷”小游戏。For example, when the video played in the PC freezes, the "Minesweeper" mini-game in the PC is called.
步骤103,当满足预设恢复条件时,恢复所述多媒体数据的播放进程。Step 103: When the preset restoration condition is satisfied, the playback process of the multimedia data is restored.
当满足恢复播放的条件时,自动恢复多媒体数据的播放进程。无需用户在多媒体数据播放界面与其他应用程序之间进行频繁的切换操作,以及,使得用户可以及时观看以及缓存好的多媒体数据。When the conditions for resuming playback are met, the playback process of the multimedia data is automatically resumed. There is no need for the user to perform frequent switching operations between the multimedia data playing interface and other application programs, and the user can watch and cache the multimedia data in time.
作为本申请实施例的一种优选示例,步骤102具体可以包括如下子步骤:As a preferred example of the embodiment of the present application, step 102 may specifically include the following sub-steps:
子步骤S11,当多媒体数据播放卡顿时,暂停所述多媒体数据的播放进程,并向用户展现预置的应用程序列表;Sub-step S11, when the multimedia data playback is stuck, the playback process of the multimedia data is suspended, and the preset application program list is presented to the user;
应用程序列表中包括了用户预先设定的多个应用程序的选项;The application list includes options for multiple applications preset by the user;
子步骤S12,接收用户在所述预置的应用程序列表中选择的目标应用程序;Sub-step S12, receiving the target application program selected by the user in the preset application program list;
用户在应用程序列表的多个应用程序的选项中,选择需要打开的应用程序;The user selects the application that needs to be opened in the options of multiple applications in the application list;
子步骤S13,调用所述目标应用程序。Sub-step S13, calling the target application.
例如,在移动终端中播放视频的过程中出现卡顿时,暂停视频的播放进程,并向用户展现由用户预先设置的游戏应用程序列表;由用户在游戏应用程序列表中选择一个需要打开的游戏应用程序。在本申请实施例中,用户无需在视频播放卡顿时,切换到其他界面来选择其他应用程序。而是由终端自动展现应用程序列表,减少用户切换界面的操作量。For example, when a video freeze occurs in the process of playing a video on the mobile terminal, the playing process of the video is suspended, and a list of game applications preset by the user is displayed to the user; the user selects a game application that needs to be opened in the game application list. program. In this embodiment of the present application, the user does not need to switch to another interface to select other application programs when the video playback freezes. Instead, the terminal automatically displays the list of application programs, reducing the amount of operations for the user to switch the interface.
参照图2,示出了本申请的一种终端的多媒体数据播放方法实施例2的步骤流程图,具体可以包括如下步骤:Referring to FIG. 2, a flowchart of steps of Embodiment 2 of a method for playing multimedia data of a terminal according to the present application is shown, which may specifically include the following steps:
步骤201,终端接收多媒体数据进行播放;Step 201, the terminal receives multimedia data to play;
步骤202,当多媒体数据播放卡顿时,暂停所述多媒体数据的播放进程,并调用预置的应用程序;Step 202, when the multimedia data playback is stuck, suspend the playback process of the multimedia data, and call a preset application program;
作为本申请实施例的一种优选示例,所述步骤202具体可以包括如下子步骤:As a preferred example of the embodiment of the present application, the step 202 may specifically include the following sub-steps:
子步骤S21,当多媒体数据播放卡顿时,暂停所述多媒体数据的播放进程,并向用户展现预置的应用程序列表;Sub-step S21, when the multimedia data playback is stuck, suspend the playback process of the multimedia data, and present the preset application program list to the user;
子步骤S22,接收用户在所述预置的应用程序列表中选择的目标应用程序;Sub-step S22, receiving the target application program selected by the user in the preset application program list;
子步骤S23,调用所述目标应用程序。Sub-step S23, calling the target application.
步骤203,当满足预设恢复条件时,恢复所述多媒体数据的播放进程。Step 203, when a preset restoration condition is met, restore the playback process of the multimedia data.
步骤204,当所述预置应用程序被调用时,获取当前多媒体数据的缓冲进度;Step 204, when the preset application is called, obtain the buffering progress of the current multimedia data;
在终端后台,可以按一定时间间隔来获取当前多媒体数据的缓冲进度,作为本申请实施例的一种优选,所述多媒体数据具有时间戳,所述步骤204 具体可以包括如下子步骤:In the background of the terminal, the buffering progress of the current multimedia data may be acquired at certain time intervals. As a preferred embodiment of the present application, the multimedia data has a time stamp, and the step 204 may specifically include the following sub-steps:
子步骤S31,按预设时间间隔监控接收到的多媒体数据的时间戳;Sub-step S31, monitoring the time stamp of the multimedia data received at preset time intervals;
子步骤S32,将当前监控得到的时间戳与播放进程暂停时的时间戳进行比较。Sub-step S32, compare the timestamp obtained by the current monitoring with the timestamp when the playback process is paused.
目前,大部分视频文件主要包括:文件头、帧数据和索引。其中,文件头描述了视频的总体信息,如,媒体类型、播放总时长、最大码率、帧数等。索引相当于一个目录,主要保存了每个帧数据的时间戳以及帧数据在视频文件中位置的对应关系,通过帧数据的时间戳与播放总时长的比较可以确定当前的缓冲进度。At present, most video files mainly include: file header, frame data and index. Among them, the file header describes the general information of the video, such as the media type, the total playing time, the maximum bit rate, the number of frames, and so on. The index is equivalent to a directory, which mainly stores the time stamp of each frame data and the corresponding relationship of the position of the frame data in the video file. The current buffering progress can be determined by comparing the time stamp of the frame data with the total playback time.
步骤205,在所述预置应用程序的界面中显示所述多媒体数据的缓冲进度。Step 205: Display the buffering progress of the multimedia data in the interface of the preset application program.
在应用程序的界面中,可以透明化的进度条的形式显示当前多媒体数据的缓冲进度。In the interface of the application program, the buffering progress of the current multimedia data can be displayed in the form of a transparent progress bar.
作为本申请实施例的一种优选示例,所述预设恢复条件可以包括:As a preferred example of the embodiment of the present application, the preset recovery conditions may include:
接收到用户的恢复触发指示。A recovery trigger instruction from the user is received.
在本申请实施例中,可以在其他应用程序中得知当前多媒体数据的缓冲进度,使得用户可以根据缓冲情况,自行选择是否恢复播放。In the embodiment of the present application, the buffering progress of the current multimedia data can be known in other application programs, so that the user can choose whether to resume playing according to the buffering situation.
作为本申请实施例的一种优选示例,所述预设恢复条件还可以包括:As a preferred example of the embodiment of the present application, the preset recovery conditions may further include:
所述多媒体数据的缓冲进度达到预设缓冲进度。The buffering progress of the multimedia data reaches a preset buffering progress.
具体的,多媒体数据的缓冲进度达到预设缓冲进度可以为:当前监控得到的时间戳与播放进程暂停时的时间的间隔达到预设间隔。Specifically, when the buffering progress of the multimedia data reaches the preset buffering progress, the interval between the timestamp obtained by the current monitoring and the time when the playback process is paused reaches the preset interval.
监控当前获取得到的多媒体数据的时间戳,在当前监控得到的时间戳与播放进程暂停时的时间的间隔达到预设间隔时,恢复多媒体数据的播放进程。The time stamp of the currently obtained multimedia data is monitored, and when the interval between the currently monitored time stamp and the time when the playback process is paused reaches a preset interval, the playback process of the multimedia data is resumed.
预设缓冲进度可以是多媒体数据完全缓冲完成;也可以是由用户自行设定的缓冲进度,例如,缓冲的多媒体数据达到3分钟时长。The preset buffering progress may be that the multimedia data is completely buffered; it may also be a buffering progress set by the user, for example, the buffered multimedia data reaches a duration of 3 minutes.
另外,还可以由终端根据当前的带宽速度以及剩余的缓冲进度来判断,例如,当前已经缓冲了3分钟的多媒体数据,剩下4分钟的多媒体数据未缓冲,而在当前的带宽下,剩下的4分钟的多媒体数据可以在之后的播放过程中完成缓冲,则此时的缓冲进度就可以作为终端自行设定的预设缓冲进度。In addition, the terminal can also judge according to the current bandwidth speed and the remaining buffering progress. For example, the multimedia data has been buffered for 3 minutes at present, and the remaining 4 minutes of multimedia data are not buffered, and under the current bandwidth, the remaining The 4-minute multimedia data can be buffered in the subsequent playback process, and the buffering progress at this time can be used as the preset buffering progress set by the terminal itself.
需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请实施例并不受所描述的动作顺序的限制,因为依据本申请实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本申请实施例所必须的。It should be noted that, for the sake of simple description, the method embodiments are expressed as a series of action combinations, but those skilled in the art should know that the embodiments of the present application are not limited by the described action sequence, because According to the embodiments of the present application, certain steps may be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present application.
参照图3,示出了本申请的一种终端的多媒体数据播放装置实施例1的结构框图,具体可以包括如下模块:Referring to FIG. 3 , a structural block diagram of Embodiment 1 of a multimedia data playback device for a terminal according to the present application is shown, which may specifically include the following modules:
多媒体数据接收模块31,用于接收多媒体数据进行播放;The multimedia data receiving module 31 is used for receiving multimedia data to play;
调用模块32,用于当多媒体数据播放卡顿时,暂停所述多媒体数据的播放进程,并调用预置的应用程序;The calling module 32 is used for suspending the playback process of the multimedia data and calling a preset application program when the multimedia data playback is stuck;
作为本申请实施例的一种优选示例,所述调用模块32具体可以包括如下子模块:As a preferred example of the embodiment of the present application, the invoking module 32 may specifically include the following sub-modules:
展现子模块,用于当多媒体数据播放卡顿时,暂停所述多媒体数据的播放进程,并向用户展现预置的应用程序列表;A presentation sub-module for suspending the playback process of the multimedia data when the multimedia data is stuck, and showing the preset application program list to the user;
目标程序接收子模块,用于接收用户在所述预置的应用程序列表中选择的目标应用程序;The target program receiving submodule is used for receiving the target application program selected by the user in the preset application program list;
恢复模块33,用于当满足预设恢复条件时,恢复所述多媒体数据的播放进程。The restoration module 33 is configured to restore the playback process of the multimedia data when a preset restoration condition is satisfied.
参照图4,示出了本申请的一种终端的多媒体数据播放装置实施例2的结构框图,具体可以包括如下模块:Referring to FIG. 4 , a structural block diagram of Embodiment 2 of a multimedia data playback device for a terminal according to the present application is shown, which may specifically include the following modules:
多媒体数据接收模块41,用于接收多媒体数据进行播放;The multimedia data receiving module 41 is used for receiving multimedia data to play;
调用模块42,用于当多媒体数据播放卡顿时,暂停所述多媒体数据的播放进程,并调用预置的应用程序;The calling module 42 is used for suspending the playback process of the multimedia data and calling a preset application program when the multimedia data playback is stuck;
作为本申请实施例的一种优选示例,所述调用模块42具体可以包括如下子模块:As a preferred example of the embodiment of the present application, the calling module 42 may specifically include the following submodules:
展现子模块,用于当多媒体数据播放卡顿时,暂停所述多媒体数据的播放进程,并向用户展现预置的应用程序列表;A presentation sub-module for suspending the playback process of the multimedia data when the multimedia data is stuck, and showing the preset application program list to the user;
目标程序接收子模块,用于接收用户在所述预置的应用程序列表中选择的目标应用程序;The target program receiving submodule is used for receiving the target application program selected by the user in the preset application program list;
恢复模块43,用于当满足预设恢复条件时,恢复所述多媒体数据的播放进程。The restoration module 43 is configured to restore the playback process of the multimedia data when a preset restoration condition is satisfied.
缓冲进度获取模块44,用于当所述预置应用程序被调用时,获取当前多媒体数据的缓冲进度;The buffering progress obtaining module 44 is used to obtain the buffering progress of the current multimedia data when the preset application is called;
缓冲进度显示模块45,用于在所述预置应用程序的界面中显示所述多媒体数据的缓冲进度。The buffering progress display module 45 is configured to display the buffering progress of the multimedia data in the interface of the preset application program.
作为本申请实施例的一种优选示例,所述预设恢复条件可以包括:As a preferred example of the embodiment of the present application, the preset recovery conditions may include:
接收到用户的恢复触发指示。A recovery trigger instruction from the user is received.
作为本申请实施例的一种优选示例,所述预设恢复条件还可以包括:As a preferred example of the embodiment of the present application, the preset recovery conditions may further include:
所述多媒体数据的缓冲进度达到预设缓冲进度。The buffering progress of the multimedia data reaches a preset buffering progress.
在本申请实施例中,所述多媒体数据具有时间戳;所述缓冲进度获取模块44可以进一步包括如下子模块:In this embodiment of the present application, the multimedia data has a time stamp; the buffering progress acquiring module 44 may further include the following submodules:
监控子模块,用于按预设时间间隔监控接收到的多媒体数据的时间戳;a monitoring sub-module for monitoring the timestamp of the received multimedia data at preset time intervals;
比较子模块,用于将当前监控得到的时间戳与播放进程暂停时的时间戳进行比较。The comparison sub-module is used to compare the timestamp obtained by the current monitoring with the timestamp when the playback process is paused.
在本申请实施例中,所述媒体数据的缓冲进度达到预设缓冲进度可以为:In the embodiment of the present application, the buffering progress of the media data reaching the preset buffering progress may be:
当前监控得到的时间戳与播放进程暂停时的时间的间隔达到预设间隔。The interval between the currently monitored timestamp and the time when the playback process is paused reaches a preset interval.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510993314.0A CN106921886B (en) | 2015-12-24 | 2015-12-24 | Method and device for playing multimedia data of a terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510993314.0A CN106921886B (en) | 2015-12-24 | 2015-12-24 | Method and device for playing multimedia data of a terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106921886A CN106921886A (en) | 2017-07-04 |
| CN106921886B true CN106921886B (en) | 2019-12-24 |
Family
ID=59459827
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510993314.0A Active CN106921886B (en) | 2015-12-24 | 2015-12-24 | Method and device for playing multimedia data of a terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106921886B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109218804A (en) * | 2018-10-09 | 2019-01-15 | 北京奇艺世纪科技有限公司 | The method and device of preset program is inserted into video display process |
| CN110209461B (en) * | 2019-06-11 | 2023-03-24 | 北京金山安全软件有限公司 | Interface display method and device |
| CN113453064B (en) * | 2021-06-18 | 2023-02-24 | Vidaa(荷兰)国际控股有限公司 | Resource playing method and display equipment |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20080001888A (en) * | 2006-06-30 | 2008-01-04 | 엘지전자 주식회사 | Method and device for displaying temporarily stored data on TV |
| CN104010213A (en) * | 2014-06-17 | 2014-08-27 | 合一网络技术(北京)有限公司 | Video data caching method and system thereof |
| CN104581354A (en) * | 2013-10-25 | 2015-04-29 | 腾讯科技(深圳)有限公司 | Video buffering method and video buffering device |
| CN105025344A (en) * | 2015-07-22 | 2015-11-04 | 无锡天脉聚源传媒科技有限公司 | Inter-cut method and device |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060020966A1 (en) * | 2004-07-22 | 2006-01-26 | Thomas Poslinski | Program guide with integrated progress bar |
| TW200723081A (en) * | 2005-12-13 | 2007-06-16 | Universal Scient Ind Co Ltd | Circular multimedia playback progress indicator and method of indicating signals thereof |
| US8160421B2 (en) * | 2006-12-18 | 2012-04-17 | Core Wireless Licensing S.A.R.L. | Audio routing for audio-video recording |
| US9009619B2 (en) * | 2012-09-19 | 2015-04-14 | JBF Interlude 2009 Ltd—Israel | Progress bar for branched videos |
-
2015
- 2015-12-24 CN CN201510993314.0A patent/CN106921886B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20080001888A (en) * | 2006-06-30 | 2008-01-04 | 엘지전자 주식회사 | Method and device for displaying temporarily stored data on TV |
| CN104581354A (en) * | 2013-10-25 | 2015-04-29 | 腾讯科技(深圳)有限公司 | Video buffering method and video buffering device |
| CN104010213A (en) * | 2014-06-17 | 2014-08-27 | 合一网络技术(北京)有限公司 | Video data caching method and system thereof |
| CN105025344A (en) * | 2015-07-22 | 2015-11-04 | 无锡天脉聚源传媒科技有限公司 | Inter-cut method and device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106921886A (en) | 2017-07-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CA2840091C (en) | Fast start of streaming digital media playback with deferred license retrieval | |
| CN105227930B (en) | Video inspection method and device in a kind of video monitoring system | |
| CA2967326C (en) | Method and system for programmable loop recording | |
| CN101415069B (en) | A server and method for sending video played online | |
| WO2017107649A1 (en) | Video transmission method and device | |
| WO2019051938A1 (en) | Live video preservation method and device, and server, anchor terminal and medium | |
| CN106572358A (en) | Live broadcast time shift method and client | |
| EP3307408A1 (en) | Capturing asynchronous commentary to pre-recorded gameplay | |
| CN106921886B (en) | Method and device for playing multimedia data of a terminal | |
| CN104427404A (en) | Video segment extraction and play methods and devices | |
| US8682139B2 (en) | L-cut stream startup | |
| CN108270738A (en) | A kind of method for processing video frequency and the network equipment | |
| CN105553939A (en) | Method and device for determining blockage of streaming media | |
| CN104053053A (en) | Eye protection method and device based on smart TV | |
| CN106851326A (en) | A kind of playing method and device | |
| CN108156509A (en) | Video broadcasting method, device and user terminal | |
| WO2021129830A1 (en) | Video transmission method, apparatus, device and system | |
| CN105979344A (en) | Multimedia play method and player | |
| CN107690093B (en) | A video playback method and device | |
| CN104618810B (en) | A kind of the playblast method and client of multimedia messages | |
| CN107018442B (en) | A method and device for synchronous playback of video recordings | |
| WO2015018119A1 (en) | Multimedia file generation method and multimedia device | |
| CN109144354B (en) | Method and equipment for rotating player view layer | |
| CN110602442B (en) | Method for realizing real-time code stream playing control in video monitoring system | |
| CN110266706A (en) | Method and device for playing multimedia streaming data |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20220718 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |